var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3866905&docid=66580910&x=2336',
		'title': '',
		'imageId': '66580910',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866905&docid=66580913&x=2336',
		'title': '',
		'imageId': '66580913',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866905&docid=66580914&x=2336',
		'title': '',
		'imageId': '66580914',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866905&docid=66580915&x=2336',
		'title': '',
		'imageId': '66580915',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866905&docid=66580916&x=2336',
		'title': '',
		'imageId': '66580916',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866905&docid=66580920&x=2336',
		'title': '',
		'imageId': '66580920',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866905&docid=66580917&x=2336',
		'title': '',
		'imageId': '66580917',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866905&docid=66580918&x=2336',
		'title': '',
		'imageId': '66580918',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866905&docid=66580919&x=2336',
		'title': '',
		'imageId': '66580919',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866905&docid=66580912&x=2336',
		'title': '',
		'imageId': '66580912',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866905&docid=66580911&x=2336',
		'title': '',
		'imageId': '66580911',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3866905';

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