var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3979100&docid=69237503&x=1843',
		'title': '',
		'imageId': '69237503',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979100&docid=69237497&x=1843',
		'title': '',
		'imageId': '69237497',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979100&docid=69237504&x=1843',
		'title': '',
		'imageId': '69237504',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979100&docid=69237499&x=1843',
		'title': '',
		'imageId': '69237499',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979100&docid=69237496&x=1843',
		'title': '',
		'imageId': '69237496',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979100&docid=69237498&x=1843',
		'title': '',
		'imageId': '69237498',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979100&docid=69237506&x=1843',
		'title': '',
		'imageId': '69237506',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979100&docid=69237502&x=1843',
		'title': '',
		'imageId': '69237502',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979100&docid=69237505&x=1843',
		'title': '',
		'imageId': '69237505',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979100&docid=69237500&x=1843',
		'title': '',
		'imageId': '69237500',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979100&docid=69237501&x=1843',
		'title': '',
		'imageId': '69237501',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979100&docid=69237507&x=1843',
		'title': '',
		'imageId': '69237507',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3979100';

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