var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4067400&docid=71420087&x=3155',
		'title': '',
		'imageId': '71420087',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067400&docid=71420071&x=3155',
		'title': '',
		'imageId': '71420071',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067400&docid=71420104&x=3155',
		'title': '',
		'imageId': '71420104',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067400&docid=71420116&x=3155',
		'title': '',
		'imageId': '71420116',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067400&docid=71420119&x=3155',
		'title': '',
		'imageId': '71420119',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067400&docid=71420120&x=3155',
		'title': '',
		'imageId': '71420120',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067400&docid=71420121&x=3155',
		'title': '',
		'imageId': '71420121',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067400&docid=71420122&x=3155',
		'title': '',
		'imageId': '71420122',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067400&docid=71420123&x=3155',
		'title': '',
		'imageId': '71420123',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067400&docid=71420126&x=3155',
		'title': '',
		'imageId': '71420126',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067400&docid=71420127&x=3155',
		'title': '',
		'imageId': '71420127',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4067400';

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