var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3925004&docid=68032749&x=3853',
		'title': '',
		'imageId': '68032749',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925004&docid=68032750&x=3853',
		'title': '',
		'imageId': '68032750',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925004&docid=68032751&x=3853',
		'title': '',
		'imageId': '68032751',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925004&docid=68032758&x=3853',
		'title': '',
		'imageId': '68032758',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925004&docid=68032765&x=3853',
		'title': '',
		'imageId': '68032765',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925004&docid=68032762&x=3853',
		'title': '',
		'imageId': '68032762',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925004&docid=68032763&x=3853',
		'title': '',
		'imageId': '68032763',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925004&docid=68032764&x=3853',
		'title': '',
		'imageId': '68032764',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925004&docid=68032761&x=3853',
		'title': '',
		'imageId': '68032761',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925004&docid=68032759&x=3853',
		'title': '',
		'imageId': '68032759',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925004&docid=68032760&x=3853',
		'title': '',
		'imageId': '68032760',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925004&docid=68032766&x=3853',
		'title': '',
		'imageId': '68032766',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925004&docid=68032788&x=3853',
		'title': '',
		'imageId': '68032788',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925004&docid=68032786&x=3853',
		'title': '',
		'imageId': '68032786',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925004&docid=68032785&x=3853',
		'title': '',
		'imageId': '68032785',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925004&docid=68032787&x=3853',
		'title': '',
		'imageId': '68032787',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925004&docid=68032790&x=3853',
		'title': '',
		'imageId': '68032790',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925004&docid=68032789&x=3853',
		'title': '',
		'imageId': '68032789',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925004&docid=59270415&x=3853',
		'title': '',
		'imageId': '59270415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925004&docid=59270407&x=3853',
		'title': '',
		'imageId': '59270407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3925004';

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