var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3938211&docid=68323565&x=3720',
		'title': '',
		'imageId': '68323565',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938211&docid=68323564&x=3720',
		'title': '',
		'imageId': '68323564',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938211&docid=68323569&x=3720',
		'title': '',
		'imageId': '68323569',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938211&docid=68323572&x=3720',
		'title': '',
		'imageId': '68323572',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938211&docid=68323562&x=3720',
		'title': '',
		'imageId': '68323562',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938211&docid=68323567&x=3720',
		'title': '',
		'imageId': '68323567',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938211&docid=68323571&x=3720',
		'title': '',
		'imageId': '68323571',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938211&docid=68323570&x=3720',
		'title': '',
		'imageId': '68323570',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938211&docid=68323568&x=3720',
		'title': '',
		'imageId': '68323568',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938211&docid=68323563&x=3720',
		'title': '',
		'imageId': '68323563',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938211&docid=68323561&x=3720',
		'title': '',
		'imageId': '68323561',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938211&docid=68323566&x=3720',
		'title': '',
		'imageId': '68323566',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3938211';

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