var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3961477&docid=68842424&x=1335',
		'title': '',
		'imageId': '68842424',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961477&docid=68842425&x=1335',
		'title': '',
		'imageId': '68842425',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961477&docid=68842423&x=1335',
		'title': '',
		'imageId': '68842423',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961477&docid=68842422&x=1335',
		'title': '',
		'imageId': '68842422',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961477&docid=68842419&x=1335',
		'title': '',
		'imageId': '68842419',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961477&docid=68842420&x=1335',
		'title': '',
		'imageId': '68842420',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961477&docid=68842429&x=1335',
		'title': '',
		'imageId': '68842429',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961477&docid=68842428&x=1335',
		'title': '',
		'imageId': '68842428',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961477&docid=68842421&x=1335',
		'title': '',
		'imageId': '68842421',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961477&docid=68842426&x=1335',
		'title': '',
		'imageId': '68842426',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961477&docid=68842427&x=1335',
		'title': '',
		'imageId': '68842427',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3961477';

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