var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4083822&docid=71785898&x=4557',
		'title': '',
		'imageId': '71785898',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083822&docid=71785899&x=4557',
		'title': '',
		'imageId': '71785899',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083822&docid=71785900&x=4557',
		'title': '',
		'imageId': '71785900',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083822&docid=71785901&x=4557',
		'title': '',
		'imageId': '71785901',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083822&docid=71785902&x=4557',
		'title': '',
		'imageId': '71785902',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083822&docid=71785903&x=4557',
		'title': '',
		'imageId': '71785903',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083822&docid=71785904&x=4557',
		'title': '',
		'imageId': '71785904',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083822&docid=71785905&x=4557',
		'title': '',
		'imageId': '71785905',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083822&docid=71785906&x=4557',
		'title': '',
		'imageId': '71785906',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083822&docid=71785909&x=4557',
		'title': '',
		'imageId': '71785909',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083822&docid=71785917&x=4557',
		'title': '',
		'imageId': '71785917',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4083822';

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