var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4017107&docid=70160155&x=592',
		'title': '',
		'imageId': '70160155',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017107&docid=70160152&x=592',
		'title': '',
		'imageId': '70160152',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017107&docid=70160151&x=592',
		'title': '',
		'imageId': '70160151',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017107&docid=70160153&x=592',
		'title': '',
		'imageId': '70160153',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017107&docid=70160169&x=592',
		'title': '',
		'imageId': '70160169',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017107&docid=70160467&x=592',
		'title': '',
		'imageId': '70160467',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017107&docid=70160154&x=592',
		'title': '',
		'imageId': '70160154',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017107&docid=70160468&x=592',
		'title': '',
		'imageId': '70160468',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017107&docid=70160156&x=592',
		'title': '',
		'imageId': '70160156',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017107&docid=70160173&x=592',
		'title': '',
		'imageId': '70160173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017107&docid=70160184&x=592',
		'title': '',
		'imageId': '70160184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017107&docid=70160193&x=592',
		'title': '',
		'imageId': '70160193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017107&docid=70160177&x=592',
		'title': '',
		'imageId': '70160177',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017107&docid=70160166&x=592',
		'title': '',
		'imageId': '70160166',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017107&docid=70160172&x=592',
		'title': '',
		'imageId': '70160172',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017107&docid=70160181&x=592',
		'title': '',
		'imageId': '70160181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017107&docid=70160203&x=592',
		'title': '',
		'imageId': '70160203',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017107&docid=70160206&x=592',
		'title': '',
		'imageId': '70160206',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017107&docid=70160213&x=592',
		'title': '',
		'imageId': '70160213',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017107&docid=70160210&x=592',
		'title': '',
		'imageId': '70160210',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017107&docid=70160211&x=592',
		'title': '',
		'imageId': '70160211',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017107&docid=70160216&x=592',
		'title': '',
		'imageId': '70160216',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017107&docid=70160195&x=592',
		'title': '',
		'imageId': '70160195',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017107&docid=70160194&x=592',
		'title': '',
		'imageId': '70160194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4017107';

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