var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4051803&docid=71037127&x=3417',
		'title': '',
		'imageId': '71037127',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051803&docid=71037128&x=3417',
		'title': '',
		'imageId': '71037128',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051803&docid=71037132&x=3417',
		'title': '',
		'imageId': '71037132',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051803&docid=71037133&x=3417',
		'title': '',
		'imageId': '71037133',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051803&docid=71037140&x=3417',
		'title': '',
		'imageId': '71037140',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051803&docid=71037144&x=3417',
		'title': '',
		'imageId': '71037144',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051803&docid=71037150&x=3417',
		'title': '',
		'imageId': '71037150',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051803&docid=71037153&x=3417',
		'title': '',
		'imageId': '71037153',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051803&docid=71037159&x=3417',
		'title': '',
		'imageId': '71037159',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051803&docid=71037170&x=3417',
		'title': '',
		'imageId': '71037170',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051803&docid=71037175&x=3417',
		'title': '',
		'imageId': '71037175',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4051803';

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