var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4053216&docid=71070519&x=3335',
		'title': '',
		'imageId': '71070519',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053216&docid=71070517&x=3335',
		'title': '',
		'imageId': '71070517',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053216&docid=71070513&x=3335',
		'title': '',
		'imageId': '71070513',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053216&docid=71070518&x=3335',
		'title': '',
		'imageId': '71070518',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053216&docid=71070514&x=3335',
		'title': '',
		'imageId': '71070514',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053216&docid=71070515&x=3335',
		'title': '',
		'imageId': '71070515',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053216&docid=71070520&x=3335',
		'title': '',
		'imageId': '71070520',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053216&docid=71070516&x=3335',
		'title': '',
		'imageId': '71070516',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053216&docid=71070521&x=3335',
		'title': '',
		'imageId': '71070521',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4053216';

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