var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010262&docid=69485698&x=2122',
		'title': '',
		'imageId': '69485698',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010262&docid=69485705&x=2122',
		'title': '',
		'imageId': '69485705',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010262&docid=69485706&x=2122',
		'title': '',
		'imageId': '69485706',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010262&docid=69485704&x=2122',
		'title': '',
		'imageId': '69485704',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010262&docid=69485695&x=2122',
		'title': '',
		'imageId': '69485695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010262&docid=69485696&x=2122',
		'title': '',
		'imageId': '69485696',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010262&docid=69485697&x=2122',
		'title': '',
		'imageId': '69485697',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010262&docid=69485699&x=2122',
		'title': '',
		'imageId': '69485699',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010262&docid=69485700&x=2122',
		'title': '',
		'imageId': '69485700',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010262&docid=69485701&x=2122',
		'title': '',
		'imageId': '69485701',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010262&docid=69485703&x=2122',
		'title': '',
		'imageId': '69485703',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010262&docid=69485702&x=2122',
		'title': '',
		'imageId': '69485702',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010262';

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";
	})
}
