var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4023142&docid=70302180&x=5934',
		'title': '',
		'imageId': '70302180',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023142&docid=70302178&x=5934',
		'title': '',
		'imageId': '70302178',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023142&docid=70302184&x=5934',
		'title': '',
		'imageId': '70302184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023142&docid=70321436&x=5934',
		'title': '',
		'imageId': '70321436',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023142&docid=70321381&x=5934',
		'title': '',
		'imageId': '70321381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023142&docid=70302182&x=5934',
		'title': '',
		'imageId': '70302182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023142&docid=70302183&x=5934',
		'title': '',
		'imageId': '70302183',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023142&docid=70302179&x=5934',
		'title': '',
		'imageId': '70302179',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023142&docid=70302181&x=5934',
		'title': '',
		'imageId': '70302181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023142&docid=70302185&x=5934',
		'title': '',
		'imageId': '70302185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023142&docid=70302177&x=5934',
		'title': '',
		'imageId': '70302177',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023142&docid=70302186&x=5934',
		'title': '',
		'imageId': '70302186',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4023142';

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