var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4038626&docid=70690430&x=2725',
		'title': '',
		'imageId': '70690430',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038626&docid=70690432&x=2725',
		'title': '',
		'imageId': '70690432',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038626&docid=70690433&x=2725',
		'title': '',
		'imageId': '70690433',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038626&docid=70690434&x=2725',
		'title': '',
		'imageId': '70690434',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038626&docid=70690435&x=2725',
		'title': '',
		'imageId': '70690435',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038626&docid=70690436&x=2725',
		'title': '',
		'imageId': '70690436',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038626&docid=70690441&x=2725',
		'title': '',
		'imageId': '70690441',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038626&docid=70690437&x=2725',
		'title': '',
		'imageId': '70690437',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038626&docid=70690440&x=2725',
		'title': '',
		'imageId': '70690440',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038626&docid=70690438&x=2725',
		'title': '',
		'imageId': '70690438',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038626&docid=70690439&x=2725',
		'title': '',
		'imageId': '70690439',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4038626';

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