var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015857&docid=70106474&x=2952',
		'title': '',
		'imageId': '70106474',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015857&docid=70106471&x=2952',
		'title': '',
		'imageId': '70106471',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015857&docid=70106477&x=2952',
		'title': '',
		'imageId': '70106477',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015857&docid=70106480&x=2952',
		'title': '',
		'imageId': '70106480',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015857&docid=70106483&x=2952',
		'title': '',
		'imageId': '70106483',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015857&docid=70106488&x=2952',
		'title': '',
		'imageId': '70106488',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015857&docid=70106495&x=2952',
		'title': '',
		'imageId': '70106495',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015857&docid=70106494&x=2952',
		'title': '',
		'imageId': '70106494',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015857&docid=70106501&x=2952',
		'title': '',
		'imageId': '70106501',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015857&docid=70106498&x=2952',
		'title': '',
		'imageId': '70106498',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015857&docid=70106489&x=2952',
		'title': '',
		'imageId': '70106489',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015857&docid=70106445&x=2952',
		'title': '',
		'imageId': '70106445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015857&docid=70106450&x=2952',
		'title': '',
		'imageId': '70106450',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015857&docid=70106447&x=2952',
		'title': '',
		'imageId': '70106447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015857&docid=70106446&x=2952',
		'title': '',
		'imageId': '70106446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015857&docid=70106449&x=2952',
		'title': '',
		'imageId': '70106449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015857&docid=70106448&x=2952',
		'title': '',
		'imageId': '70106448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015857&docid=70106464&x=2952',
		'title': '',
		'imageId': '70106464',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015857&docid=70106453&x=2952',
		'title': '',
		'imageId': '70106453',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015857&docid=70106456&x=2952',
		'title': '',
		'imageId': '70106456',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015857&docid=70106463&x=2952',
		'title': '',
		'imageId': '70106463',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015857&docid=70106465&x=2952',
		'title': '',
		'imageId': '70106465',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015857&docid=70106469&x=2952',
		'title': '',
		'imageId': '70106469',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015857';

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