var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4032472&docid=70322366&x=2553',
		'title': '',
		'imageId': '70322366',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032472&docid=70322356&x=2553',
		'title': '',
		'imageId': '70322356',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032472&docid=70322368&x=2553',
		'title': '',
		'imageId': '70322368',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032472&docid=70322360&x=2553',
		'title': '',
		'imageId': '70322360',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032472&docid=70322358&x=2553',
		'title': '',
		'imageId': '70322358',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032472&docid=70322357&x=2553',
		'title': '',
		'imageId': '70322357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032472&docid=70322371&x=2553',
		'title': '',
		'imageId': '70322371',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032472&docid=70322359&x=2553',
		'title': '',
		'imageId': '70322359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032472&docid=70322367&x=2553',
		'title': '',
		'imageId': '70322367',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032472&docid=70322362&x=2553',
		'title': '',
		'imageId': '70322362',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032472&docid=70322361&x=2553',
		'title': '',
		'imageId': '70322361',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032472&docid=70322364&x=2553',
		'title': '',
		'imageId': '70322364',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032472&docid=70322370&x=2553',
		'title': '',
		'imageId': '70322370',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032472&docid=70322365&x=2553',
		'title': '',
		'imageId': '70322365',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032472&docid=70322363&x=2553',
		'title': '',
		'imageId': '70322363',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032472&docid=70322369&x=2553',
		'title': '',
		'imageId': '70322369',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032472&docid=70322372&x=2553',
		'title': '',
		'imageId': '70322372',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4032472';

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