var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3956100&docid=68728181&x=2234',
		'title': '',
		'imageId': '68728181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956100&docid=68728183&x=2234',
		'title': '',
		'imageId': '68728183',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956100&docid=68728178&x=2234',
		'title': '',
		'imageId': '68728178',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956100&docid=68728175&x=2234',
		'title': '',
		'imageId': '68728175',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956100&docid=68728177&x=2234',
		'title': '',
		'imageId': '68728177',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956100&docid=68728184&x=2234',
		'title': '',
		'imageId': '68728184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956100&docid=68728185&x=2234',
		'title': '',
		'imageId': '68728185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956100&docid=68728176&x=2234',
		'title': '',
		'imageId': '68728176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956100&docid=68728174&x=2234',
		'title': '',
		'imageId': '68728174',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956100&docid=68728186&x=2234',
		'title': '',
		'imageId': '68728186',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956100&docid=68728182&x=2234',
		'title': '',
		'imageId': '68728182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956100&docid=68728180&x=2234',
		'title': '',
		'imageId': '68728180',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3956100';

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