var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013539&docid=70046843&x=3131',
		'title': '',
		'imageId': '70046843',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013539&docid=70046835&x=3131',
		'title': '',
		'imageId': '70046835',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013539&docid=70046838&x=3131',
		'title': '',
		'imageId': '70046838',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013539&docid=70046844&x=3131',
		'title': '',
		'imageId': '70046844',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013539&docid=70046806&x=3131',
		'title': '',
		'imageId': '70046806',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013539&docid=70046832&x=3131',
		'title': '',
		'imageId': '70046832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013539&docid=70046825&x=3131',
		'title': '',
		'imageId': '70046825',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013539&docid=70046799&x=3131',
		'title': '',
		'imageId': '70046799',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013539&docid=70046813&x=3131',
		'title': '',
		'imageId': '70046813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013539&docid=70046824&x=3131',
		'title': '',
		'imageId': '70046824',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013539&docid=70046808&x=3131',
		'title': '',
		'imageId': '70046808',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013539&docid=70046816&x=3131',
		'title': '',
		'imageId': '70046816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013539&docid=70046830&x=3131',
		'title': '',
		'imageId': '70046830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013539&docid=70046807&x=3131',
		'title': '',
		'imageId': '70046807',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013539&docid=70046819&x=3131',
		'title': '',
		'imageId': '70046819',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013539&docid=70046831&x=3131',
		'title': '',
		'imageId': '70046831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013539&docid=70046786&x=3131',
		'title': '',
		'imageId': '70046786',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013539&docid=70046790&x=3131',
		'title': '',
		'imageId': '70046790',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013539&docid=70046789&x=3131',
		'title': '',
		'imageId': '70046789',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013539&docid=70046787&x=3131',
		'title': '',
		'imageId': '70046787',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013539&docid=70046788&x=3131',
		'title': '',
		'imageId': '70046788',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013539&docid=70046793&x=3131',
		'title': '',
		'imageId': '70046793',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013539&docid=70046849&x=3131',
		'title': '',
		'imageId': '70046849',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013539&docid=70046851&x=3131',
		'title': '',
		'imageId': '70046851',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013539';

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