var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013449&docid=70043910&x=5549',
		'title': '',
		'imageId': '70043910',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013449&docid=70043911&x=5549',
		'title': '',
		'imageId': '70043911',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013449&docid=70043912&x=5549',
		'title': '',
		'imageId': '70043912',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013449&docid=70043913&x=5549',
		'title': '',
		'imageId': '70043913',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013449&docid=70043914&x=5549',
		'title': '',
		'imageId': '70043914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013449&docid=70043915&x=5549',
		'title': '',
		'imageId': '70043915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013449&docid=70043916&x=5549',
		'title': '',
		'imageId': '70043916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013449&docid=70043917&x=5549',
		'title': '',
		'imageId': '70043917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013449&docid=70043918&x=5549',
		'title': '',
		'imageId': '70043918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013449&docid=70043919&x=5549',
		'title': '',
		'imageId': '70043919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013449&docid=70043920&x=5549',
		'title': '',
		'imageId': '70043920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013449';

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