var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008521&docid=69924357&x=228',
		'title': '',
		'imageId': '69924357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008521&docid=69924361&x=228',
		'title': '',
		'imageId': '69924361',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008521&docid=69924353&x=228',
		'title': '',
		'imageId': '69924353',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008521&docid=69924360&x=228',
		'title': '',
		'imageId': '69924360',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008521&docid=69924362&x=228',
		'title': '',
		'imageId': '69924362',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008521&docid=69924351&x=228',
		'title': '',
		'imageId': '69924351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008521&docid=69924352&x=228',
		'title': '',
		'imageId': '69924352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008521&docid=69924358&x=228',
		'title': '',
		'imageId': '69924358',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008521&docid=69924355&x=228',
		'title': '',
		'imageId': '69924355',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008521&docid=69924354&x=228',
		'title': '',
		'imageId': '69924354',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008521&docid=69924359&x=228',
		'title': '',
		'imageId': '69924359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008521&docid=69924356&x=228',
		'title': '',
		'imageId': '69924356',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008521';

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