var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4028409&docid=70412101&x=2320',
		'title': '',
		'imageId': '70412101',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028409&docid=70412106&x=2320',
		'title': '',
		'imageId': '70412106',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028409&docid=70412098&x=2320',
		'title': '',
		'imageId': '70412098',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028409&docid=70412102&x=2320',
		'title': '',
		'imageId': '70412102',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028409&docid=70412105&x=2320',
		'title': '',
		'imageId': '70412105',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028409&docid=70412100&x=2320',
		'title': '',
		'imageId': '70412100',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028409&docid=70412096&x=2320',
		'title': '',
		'imageId': '70412096',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028409&docid=70412099&x=2320',
		'title': '',
		'imageId': '70412099',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028409&docid=70412097&x=2320',
		'title': '',
		'imageId': '70412097',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028409&docid=70412104&x=2320',
		'title': '',
		'imageId': '70412104',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028409&docid=70412103&x=2320',
		'title': '',
		'imageId': '70412103',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4028409';

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