var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010728&docid=69979622&x=214',
		'title': '',
		'imageId': '69979622',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010728&docid=69979618&x=214',
		'title': '',
		'imageId': '69979618',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010728&docid=69979630&x=214',
		'title': '',
		'imageId': '69979630',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010728&docid=69979626&x=214',
		'title': '',
		'imageId': '69979626',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010728&docid=69979620&x=214',
		'title': '',
		'imageId': '69979620',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010728&docid=69979631&x=214',
		'title': '',
		'imageId': '69979631',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010728&docid=69979629&x=214',
		'title': '',
		'imageId': '69979629',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010728&docid=69979633&x=214',
		'title': '',
		'imageId': '69979633',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010728&docid=69979625&x=214',
		'title': '',
		'imageId': '69979625',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010728&docid=69979627&x=214',
		'title': '',
		'imageId': '69979627',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010728&docid=69979624&x=214',
		'title': '',
		'imageId': '69979624',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010728&docid=69979621&x=214',
		'title': '',
		'imageId': '69979621',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010728&docid=69979628&x=214',
		'title': '',
		'imageId': '69979628',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010728&docid=69979632&x=214',
		'title': '',
		'imageId': '69979632',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010728&docid=69979623&x=214',
		'title': '',
		'imageId': '69979623',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010728&docid=69979619&x=214',
		'title': '',
		'imageId': '69979619',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010728';

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