var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4061491&docid=69917707&x=2436',
		'title': '',
		'imageId': '69917707',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061491&docid=69917709&x=2436',
		'title': '',
		'imageId': '69917709',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061491&docid=69917710&x=2436',
		'title': '',
		'imageId': '69917710',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061491&docid=69917711&x=2436',
		'title': '',
		'imageId': '69917711',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061491&docid=69917712&x=2436',
		'title': '',
		'imageId': '69917712',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061491&docid=69917713&x=2436',
		'title': '',
		'imageId': '69917713',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061491&docid=69917714&x=2436',
		'title': '',
		'imageId': '69917714',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061491&docid=69917715&x=2436',
		'title': '',
		'imageId': '69917715',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061491&docid=69917716&x=2436',
		'title': '',
		'imageId': '69917716',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061491&docid=69917717&x=2436',
		'title': '',
		'imageId': '69917717',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061491&docid=69917718&x=2436',
		'title': '',
		'imageId': '69917718',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4061491';

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