var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3986664&docid=69420144&x=4442',
		'title': '',
		'imageId': '69420144',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986664&docid=69420135&x=4442',
		'title': '',
		'imageId': '69420135',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986664&docid=69420146&x=4442',
		'title': '',
		'imageId': '69420146',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986664&docid=69420145&x=4442',
		'title': '',
		'imageId': '69420145',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986664&docid=69420136&x=4442',
		'title': '',
		'imageId': '69420136',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986664&docid=69420139&x=4442',
		'title': '',
		'imageId': '69420139',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986664&docid=69420140&x=4442',
		'title': '',
		'imageId': '69420140',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986664&docid=69494664&x=4442',
		'title': '',
		'imageId': '69494664',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986664&docid=69494665&x=4442',
		'title': '',
		'imageId': '69494665',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986664&docid=69420141&x=4442',
		'title': '',
		'imageId': '69420141',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986664&docid=69420142&x=4442',
		'title': '',
		'imageId': '69420142',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986664&docid=69420143&x=4442',
		'title': '',
		'imageId': '69420143',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3986664';

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