var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4089632&docid=71926654&x=5915',
		'title': '',
		'imageId': '71926654',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089632&docid=71926653&x=5915',
		'title': '',
		'imageId': '71926653',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089632&docid=71926646&x=5915',
		'title': '',
		'imageId': '71926646',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089632&docid=71926652&x=5915',
		'title': '',
		'imageId': '71926652',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089632&docid=71926649&x=5915',
		'title': '',
		'imageId': '71926649',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089632&docid=71926645&x=5915',
		'title': '',
		'imageId': '71926645',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089632&docid=71926651&x=5915',
		'title': '',
		'imageId': '71926651',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089632&docid=71926650&x=5915',
		'title': '',
		'imageId': '71926650',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089632&docid=71926647&x=5915',
		'title': '',
		'imageId': '71926647',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089632&docid=71926644&x=5915',
		'title': '',
		'imageId': '71926644',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089632&docid=71926648&x=5915',
		'title': '',
		'imageId': '71926648',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4089632';

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