var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4014119&docid=70060125&x=1738',
		'title': '',
		'imageId': '70060125',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014119&docid=70060131&x=1738',
		'title': '',
		'imageId': '70060131',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014119&docid=70060134&x=1738',
		'title': '',
		'imageId': '70060134',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014119&docid=70060138&x=1738',
		'title': '',
		'imageId': '70060138',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014119&docid=70060142&x=1738',
		'title': '',
		'imageId': '70060142',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014119&docid=70060145&x=1738',
		'title': '',
		'imageId': '70060145',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014119&docid=70060258&x=1738',
		'title': '',
		'imageId': '70060258',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014119&docid=70060283&x=1738',
		'title': '',
		'imageId': '70060283',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014119&docid=70060255&x=1738',
		'title': '',
		'imageId': '70060255',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014119&docid=70060149&x=1738',
		'title': '',
		'imageId': '70060149',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014119&docid=70060155&x=1738',
		'title': '',
		'imageId': '70060155',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4014119';

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