var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3940698&docid=67775286&x=2446',
		'title': '',
		'imageId': '67775286',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940698&docid=67775289&x=2446',
		'title': '',
		'imageId': '67775289',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940698&docid=67775292&x=2446',
		'title': '',
		'imageId': '67775292',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940698&docid=67775290&x=2446',
		'title': '',
		'imageId': '67775290',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940698&docid=67775293&x=2446',
		'title': '',
		'imageId': '67775293',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940698&docid=67775291&x=2446',
		'title': '',
		'imageId': '67775291',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940698&docid=67775304&x=2446',
		'title': '',
		'imageId': '67775304',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940698&docid=67775305&x=2446',
		'title': '',
		'imageId': '67775305',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940698&docid=67775306&x=2446',
		'title': '',
		'imageId': '67775306',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940698&docid=67775307&x=2446',
		'title': '',
		'imageId': '67775307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940698&docid=67775308&x=2446',
		'title': '',
		'imageId': '67775308',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940698&docid=67775309&x=2446',
		'title': '',
		'imageId': '67775309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3940698';

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