var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4072241&docid=71507257&x=2710',
		'title': '',
		'imageId': '71507257',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072241&docid=71507241&x=2710',
		'title': '',
		'imageId': '71507241',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072241&docid=71507244&x=2710',
		'title': '',
		'imageId': '71507244',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072241&docid=71507242&x=2710',
		'title': '',
		'imageId': '71507242',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072241&docid=71507243&x=2710',
		'title': '',
		'imageId': '71507243',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072241&docid=71507245&x=2710',
		'title': '',
		'imageId': '71507245',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072241&docid=71507246&x=2710',
		'title': '',
		'imageId': '71507246',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072241&docid=71507247&x=2710',
		'title': '',
		'imageId': '71507247',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072241&docid=71507248&x=2710',
		'title': '',
		'imageId': '71507248',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072241&docid=71507250&x=2710',
		'title': '',
		'imageId': '71507250',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072241&docid=71507256&x=2710',
		'title': '',
		'imageId': '71507256',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4072241';

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