var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4033329&docid=70540765&x=1532',
		'title': '',
		'imageId': '70540765',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033329&docid=70540769&x=1532',
		'title': '',
		'imageId': '70540769',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033329&docid=70540770&x=1532',
		'title': '',
		'imageId': '70540770',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033329&docid=70540771&x=1532',
		'title': '',
		'imageId': '70540771',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033329&docid=70540772&x=1532',
		'title': '',
		'imageId': '70540772',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033329&docid=70540773&x=1532',
		'title': '',
		'imageId': '70540773',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033329&docid=70540774&x=1532',
		'title': '',
		'imageId': '70540774',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033329&docid=70540775&x=1532',
		'title': '',
		'imageId': '70540775',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033329&docid=70540776&x=1532',
		'title': '',
		'imageId': '70540776',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033329&docid=70540777&x=1532',
		'title': '',
		'imageId': '70540777',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033329&docid=70540778&x=1532',
		'title': '',
		'imageId': '70540778',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4033329';

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