var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4018339&docid=70194485&x=243',
		'title': '',
		'imageId': '70194485',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018339&docid=70194476&x=243',
		'title': '',
		'imageId': '70194476',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018339&docid=70194493&x=243',
		'title': '',
		'imageId': '70194493',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018339&docid=70194496&x=243',
		'title': '',
		'imageId': '70194496',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018339&docid=70194488&x=243',
		'title': '',
		'imageId': '70194488',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018339&docid=70194494&x=243',
		'title': '',
		'imageId': '70194494',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018339&docid=70194487&x=243',
		'title': '',
		'imageId': '70194487',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018339&docid=70194484&x=243',
		'title': '',
		'imageId': '70194484',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018339&docid=70194497&x=243',
		'title': '',
		'imageId': '70194497',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018339&docid=70194477&x=243',
		'title': '',
		'imageId': '70194477',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018339&docid=70194490&x=243',
		'title': '',
		'imageId': '70194490',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018339&docid=70194478&x=243',
		'title': '',
		'imageId': '70194478',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018339&docid=70194486&x=243',
		'title': '',
		'imageId': '70194486',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018339&docid=70194480&x=243',
		'title': '',
		'imageId': '70194480',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018339&docid=70194479&x=243',
		'title': '',
		'imageId': '70194479',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018339&docid=70194495&x=243',
		'title': '',
		'imageId': '70194495',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018339&docid=70194491&x=243',
		'title': '',
		'imageId': '70194491',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018339&docid=70194489&x=243',
		'title': '',
		'imageId': '70194489',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018339&docid=70194481&x=243',
		'title': '',
		'imageId': '70194481',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018339&docid=70194492&x=243',
		'title': '',
		'imageId': '70194492',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018339&docid=70194482&x=243',
		'title': '',
		'imageId': '70194482',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018339&docid=70194483&x=243',
		'title': '',
		'imageId': '70194483',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018339&docid=59270415&x=243',
		'title': '',
		'imageId': '59270415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018339&docid=59270407&x=243',
		'title': '',
		'imageId': '59270407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4018339';

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