var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4082075&docid=71357902&x=3823',
		'title': '',
		'imageId': '71357902',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4082075&docid=71357900&x=3823',
		'title': '',
		'imageId': '71357900',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4082075&docid=71357901&x=3823',
		'title': '',
		'imageId': '71357901',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4082075&docid=71357903&x=3823',
		'title': '',
		'imageId': '71357903',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4082075&docid=71357905&x=3823',
		'title': '',
		'imageId': '71357905',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4082075&docid=71357906&x=3823',
		'title': '',
		'imageId': '71357906',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4082075&docid=71357907&x=3823',
		'title': '',
		'imageId': '71357907',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4082075&docid=71357908&x=3823',
		'title': '',
		'imageId': '71357908',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4082075&docid=71357909&x=3823',
		'title': '',
		'imageId': '71357909',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4082075';

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