var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4060111&docid=71259769&x=211',
		'title': '',
		'imageId': '71259769',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060111&docid=71259771&x=211',
		'title': '',
		'imageId': '71259771',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060111&docid=71259757&x=211',
		'title': '',
		'imageId': '71259757',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060111&docid=71259763&x=211',
		'title': '',
		'imageId': '71259763',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060111&docid=71259764&x=211',
		'title': '',
		'imageId': '71259764',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060111&docid=71259765&x=211',
		'title': '',
		'imageId': '71259765',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060111&docid=71259775&x=211',
		'title': '',
		'imageId': '71259775',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060111&docid=71259760&x=211',
		'title': '',
		'imageId': '71259760',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060111&docid=71259767&x=211',
		'title': '',
		'imageId': '71259767',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060111&docid=71259758&x=211',
		'title': '',
		'imageId': '71259758',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060111&docid=71259773&x=211',
		'title': '',
		'imageId': '71259773',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060111&docid=71259770&x=211',
		'title': '',
		'imageId': '71259770',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060111&docid=71259776&x=211',
		'title': '',
		'imageId': '71259776',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060111&docid=71259759&x=211',
		'title': '',
		'imageId': '71259759',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060111&docid=71259772&x=211',
		'title': '',
		'imageId': '71259772',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060111&docid=71259774&x=211',
		'title': '',
		'imageId': '71259774',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060111&docid=71259768&x=211',
		'title': '',
		'imageId': '71259768',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060111&docid=71259761&x=211',
		'title': '',
		'imageId': '71259761',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060111&docid=71259766&x=211',
		'title': '',
		'imageId': '71259766',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060111&docid=71259762&x=211',
		'title': '',
		'imageId': '71259762',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4060111';

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