var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4088499&docid=71748726&x=448',
		'title': '',
		'imageId': '71748726',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088499&docid=71748727&x=448',
		'title': '',
		'imageId': '71748727',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088499&docid=71748728&x=448',
		'title': '',
		'imageId': '71748728',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088499&docid=71748722&x=448',
		'title': '',
		'imageId': '71748722',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088499&docid=71748721&x=448',
		'title': '',
		'imageId': '71748721',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088499&docid=71748725&x=448',
		'title': '',
		'imageId': '71748725',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088499&docid=71748723&x=448',
		'title': '',
		'imageId': '71748723',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088499&docid=71748724&x=448',
		'title': '',
		'imageId': '71748724',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088499&docid=71748720&x=448',
		'title': '',
		'imageId': '71748720',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088499&docid=71748729&x=448',
		'title': '',
		'imageId': '71748729',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088499&docid=71748730&x=448',
		'title': '',
		'imageId': '71748730',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4088499';

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