var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3929233&docid=68113947&x=3743',
		'title': '',
		'imageId': '68113947',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929233&docid=68113946&x=3743',
		'title': '',
		'imageId': '68113946',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929233&docid=68113948&x=3743',
		'title': '',
		'imageId': '68113948',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929233&docid=68113945&x=3743',
		'title': '',
		'imageId': '68113945',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929233&docid=68113949&x=3743',
		'title': '',
		'imageId': '68113949',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929233&docid=68113941&x=3743',
		'title': '',
		'imageId': '68113941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929233&docid=68113942&x=3743',
		'title': '',
		'imageId': '68113942',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929233&docid=68113944&x=3743',
		'title': '',
		'imageId': '68113944',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929233&docid=68113950&x=3743',
		'title': '',
		'imageId': '68113950',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929233&docid=68113951&x=3743',
		'title': '',
		'imageId': '68113951',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929233&docid=68113952&x=3743',
		'title': '',
		'imageId': '68113952',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3929233';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
