var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3900676&docid=67416486&x=4648',
		'title': '',
		'imageId': '67416486',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900676&docid=67416488&x=4648',
		'title': '',
		'imageId': '67416488',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900676&docid=67416489&x=4648',
		'title': '',
		'imageId': '67416489',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900676&docid=67416490&x=4648',
		'title': '',
		'imageId': '67416490',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900676&docid=67416491&x=4648',
		'title': '',
		'imageId': '67416491',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900676&docid=67416492&x=4648',
		'title': '',
		'imageId': '67416492',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900676&docid=67416493&x=4648',
		'title': '',
		'imageId': '67416493',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900676&docid=67416494&x=4648',
		'title': '',
		'imageId': '67416494',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900676&docid=67416495&x=4648',
		'title': '',
		'imageId': '67416495',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900676&docid=67416496&x=4648',
		'title': '',
		'imageId': '67416496',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900676&docid=67416497&x=4648',
		'title': '',
		'imageId': '67416497',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900676&docid=67416498&x=4648',
		'title': '',
		'imageId': '67416498',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900676&docid=67416499&x=4648',
		'title': '',
		'imageId': '67416499',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900676&docid=67416500&x=4648',
		'title': '',
		'imageId': '67416500',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900676&docid=67416501&x=4648',
		'title': '',
		'imageId': '67416501',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900676&docid=67416502&x=4648',
		'title': '',
		'imageId': '67416502',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900676&docid=67416503&x=4648',
		'title': '',
		'imageId': '67416503',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900676&docid=67416504&x=4648',
		'title': '',
		'imageId': '67416504',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900676&docid=67416505&x=4648',
		'title': '',
		'imageId': '67416505',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900676&docid=67416506&x=4648',
		'title': '',
		'imageId': '67416506',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3900676';

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