var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3961976&docid=68854884&x=58',
		'title': '',
		'imageId': '68854884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961976&docid=68854876&x=58',
		'title': '',
		'imageId': '68854876',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961976&docid=68854877&x=58',
		'title': '',
		'imageId': '68854877',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961976&docid=68854883&x=58',
		'title': '',
		'imageId': '68854883',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961976&docid=68854880&x=58',
		'title': '',
		'imageId': '68854880',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961976&docid=68854882&x=58',
		'title': '',
		'imageId': '68854882',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961976&docid=68854881&x=58',
		'title': '',
		'imageId': '68854881',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961976&docid=68854879&x=58',
		'title': '',
		'imageId': '68854879',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961976&docid=68854878&x=58',
		'title': '',
		'imageId': '68854878',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961976&docid=68854875&x=58',
		'title': '',
		'imageId': '68854875',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3961976';

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