var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4090772&docid=71965947&x=4946',
		'title': '',
		'imageId': '71965947',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090772&docid=71965948&x=4946',
		'title': '',
		'imageId': '71965948',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090772&docid=71965945&x=4946',
		'title': '',
		'imageId': '71965945',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090772&docid=71965942&x=4946',
		'title': '',
		'imageId': '71965942',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090772&docid=71965946&x=4946',
		'title': '',
		'imageId': '71965946',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090772&docid=71965941&x=4946',
		'title': '',
		'imageId': '71965941',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090772&docid=71965944&x=4946',
		'title': '',
		'imageId': '71965944',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090772&docid=71965943&x=4946',
		'title': '',
		'imageId': '71965943',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4090772';

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