var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3891178&docid=67174855&x=2128',
		'title': '',
		'imageId': '67174855',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891178&docid=67174856&x=2128',
		'title': '',
		'imageId': '67174856',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891178&docid=67174857&x=2128',
		'title': '',
		'imageId': '67174857',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891178&docid=67174858&x=2128',
		'title': '',
		'imageId': '67174858',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891178&docid=67174859&x=2128',
		'title': '',
		'imageId': '67174859',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891178&docid=67174861&x=2128',
		'title': '',
		'imageId': '67174861',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891178&docid=67174862&x=2128',
		'title': '',
		'imageId': '67174862',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891178&docid=67174863&x=2128',
		'title': '',
		'imageId': '67174863',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891178&docid=67174864&x=2128',
		'title': '',
		'imageId': '67174864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891178&docid=67174865&x=2128',
		'title': '',
		'imageId': '67174865',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891178&docid=67174866&x=2128',
		'title': '',
		'imageId': '67174866',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891178&docid=67174867&x=2128',
		'title': '',
		'imageId': '67174867',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3891178';

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