var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4080453&docid=71716886&x=4628',
		'title': '',
		'imageId': '71716886',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080453&docid=71716887&x=4628',
		'title': '',
		'imageId': '71716887',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080453&docid=71716889&x=4628',
		'title': '',
		'imageId': '71716889',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080453&docid=71716888&x=4628',
		'title': '',
		'imageId': '71716888',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080453&docid=71716907&x=4628',
		'title': '',
		'imageId': '71716907',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080453&docid=71716917&x=4628',
		'title': '',
		'imageId': '71716917',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080453&docid=71716918&x=4628',
		'title': '',
		'imageId': '71716918',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080453&docid=71716919&x=4628',
		'title': '',
		'imageId': '71716919',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080453&docid=71716920&x=4628',
		'title': '',
		'imageId': '71716920',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080453&docid=71716884&x=4628',
		'title': '',
		'imageId': '71716884',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080453&docid=71716885&x=4628',
		'title': '',
		'imageId': '71716885',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4080453';

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