var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4067281&docid=71424355&x=4617',
		'title': '',
		'imageId': '71424355',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067281&docid=71424350&x=4617',
		'title': '',
		'imageId': '71424350',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067281&docid=71424354&x=4617',
		'title': '',
		'imageId': '71424354',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067281&docid=71424360&x=4617',
		'title': '',
		'imageId': '71424360',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067281&docid=71424353&x=4617',
		'title': '',
		'imageId': '71424353',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067281&docid=71424358&x=4617',
		'title': '',
		'imageId': '71424358',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067281&docid=71424356&x=4617',
		'title': '',
		'imageId': '71424356',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067281&docid=71424352&x=4617',
		'title': '',
		'imageId': '71424352',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067281&docid=71424357&x=4617',
		'title': '',
		'imageId': '71424357',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067281&docid=71424351&x=4617',
		'title': '',
		'imageId': '71424351',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067281&docid=71424359&x=4617',
		'title': '',
		'imageId': '71424359',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4067281';

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