var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4028428&docid=70413183&x=4335',
		'title': '',
		'imageId': '70413183',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028428&docid=70413184&x=4335',
		'title': '',
		'imageId': '70413184',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028428&docid=70413185&x=4335',
		'title': '',
		'imageId': '70413185',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028428&docid=70413186&x=4335',
		'title': '',
		'imageId': '70413186',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028428&docid=70413187&x=4335',
		'title': '',
		'imageId': '70413187',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028428&docid=70413188&x=4335',
		'title': '',
		'imageId': '70413188',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028428&docid=70413189&x=4335',
		'title': '',
		'imageId': '70413189',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028428&docid=70413190&x=4335',
		'title': '',
		'imageId': '70413190',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028428&docid=70413191&x=4335',
		'title': '',
		'imageId': '70413191',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028428&docid=70413192&x=4335',
		'title': '',
		'imageId': '70413192',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028428&docid=70413193&x=4335',
		'title': '',
		'imageId': '70413193',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4028428';

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