var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008657&docid=69926849&x=236',
		'title': '',
		'imageId': '69926849',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008657&docid=69926862&x=236',
		'title': '',
		'imageId': '69926862',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008657&docid=69926856&x=236',
		'title': '',
		'imageId': '69926856',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008657&docid=69926851&x=236',
		'title': '',
		'imageId': '69926851',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008657&docid=69926859&x=236',
		'title': '',
		'imageId': '69926859',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008657&docid=69926860&x=236',
		'title': '',
		'imageId': '69926860',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008657&docid=69926861&x=236',
		'title': '',
		'imageId': '69926861',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008657&docid=69926853&x=236',
		'title': '',
		'imageId': '69926853',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008657&docid=69926842&x=236',
		'title': '',
		'imageId': '69926842',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008657&docid=69926843&x=236',
		'title': '',
		'imageId': '69926843',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008657&docid=69926855&x=236',
		'title': '',
		'imageId': '69926855',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008657&docid=69926844&x=236',
		'title': '',
		'imageId': '69926844',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008657&docid=69926846&x=236',
		'title': '',
		'imageId': '69926846',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008657&docid=69926847&x=236',
		'title': '',
		'imageId': '69926847',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008657&docid=69926852&x=236',
		'title': '',
		'imageId': '69926852',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008657&docid=69926857&x=236',
		'title': '',
		'imageId': '69926857',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008657&docid=69926854&x=236',
		'title': '',
		'imageId': '69926854',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008657&docid=69926848&x=236',
		'title': '',
		'imageId': '69926848',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008657&docid=69926850&x=236',
		'title': '',
		'imageId': '69926850',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008657&docid=69926865&x=236',
		'title': '',
		'imageId': '69926865',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008657&docid=69926858&x=236',
		'title': '',
		'imageId': '69926858',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008657&docid=69926863&x=236',
		'title': '',
		'imageId': '69926863',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008657&docid=69926866&x=236',
		'title': '',
		'imageId': '69926866',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008657&docid=69926867&x=236',
		'title': '',
		'imageId': '69926867',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008657';

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