var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4018792&docid=70185081&x=4653',
		'title': '',
		'imageId': '70185081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018792&docid=70185088&x=4653',
		'title': '',
		'imageId': '70185088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018792&docid=70185089&x=4653',
		'title': '',
		'imageId': '70185089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018792&docid=70185077&x=4653',
		'title': '',
		'imageId': '70185077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018792&docid=70185078&x=4653',
		'title': '',
		'imageId': '70185078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018792&docid=70185091&x=4653',
		'title': '',
		'imageId': '70185091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018792&docid=70185082&x=4653',
		'title': '',
		'imageId': '70185082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018792&docid=70185087&x=4653',
		'title': '',
		'imageId': '70185087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018792&docid=70185080&x=4653',
		'title': '',
		'imageId': '70185080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018792&docid=70185076&x=4653',
		'title': '',
		'imageId': '70185076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018792&docid=70185085&x=4653',
		'title': '',
		'imageId': '70185085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018792&docid=70185084&x=4653',
		'title': '',
		'imageId': '70185084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018792&docid=70185090&x=4653',
		'title': '',
		'imageId': '70185090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018792&docid=70185079&x=4653',
		'title': '',
		'imageId': '70185079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018792&docid=70185083&x=4653',
		'title': '',
		'imageId': '70185083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018792&docid=70185086&x=4653',
		'title': '',
		'imageId': '70185086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4018792';

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