var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3958592&docid=68788313&x=545',
		'title': '',
		'imageId': '68788313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958592&docid=68788315&x=545',
		'title': '',
		'imageId': '68788315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958592&docid=68788316&x=545',
		'title': '',
		'imageId': '68788316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958592&docid=68788317&x=545',
		'title': '',
		'imageId': '68788317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958592&docid=68788318&x=545',
		'title': '',
		'imageId': '68788318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958592&docid=68788320&x=545',
		'title': '',
		'imageId': '68788320',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958592&docid=68788321&x=545',
		'title': '',
		'imageId': '68788321',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958592&docid=68788319&x=545',
		'title': '',
		'imageId': '68788319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958592&docid=68788322&x=545',
		'title': '',
		'imageId': '68788322',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958592&docid=68788323&x=545',
		'title': '',
		'imageId': '68788323',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958592&docid=68788324&x=545',
		'title': '',
		'imageId': '68788324',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3958592';

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