var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3913606&docid=67728016&x=3744',
		'title': '',
		'imageId': '67728016',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913606&docid=67728017&x=3744',
		'title': '',
		'imageId': '67728017',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913606&docid=67728018&x=3744',
		'title': '',
		'imageId': '67728018',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913606&docid=67728019&x=3744',
		'title': '',
		'imageId': '67728019',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913606&docid=67728020&x=3744',
		'title': '',
		'imageId': '67728020',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913606&docid=67728021&x=3744',
		'title': '',
		'imageId': '67728021',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913606&docid=67728023&x=3744',
		'title': '',
		'imageId': '67728023',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913606&docid=67728022&x=3744',
		'title': '',
		'imageId': '67728022',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913606&docid=67728024&x=3744',
		'title': '',
		'imageId': '67728024',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913606&docid=67728026&x=3744',
		'title': '',
		'imageId': '67728026',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913606&docid=67728025&x=3744',
		'title': '',
		'imageId': '67728025',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3913606';

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