var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3923478&docid=68005956&x=445',
		'title': '',
		'imageId': '68005956',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923478&docid=68005957&x=445',
		'title': '',
		'imageId': '68005957',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923478&docid=68005950&x=445',
		'title': '',
		'imageId': '68005950',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923478&docid=68005959&x=445',
		'title': '',
		'imageId': '68005959',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923478&docid=68005958&x=445',
		'title': '',
		'imageId': '68005958',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923478&docid=68005954&x=445',
		'title': '',
		'imageId': '68005954',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923478&docid=68005963&x=445',
		'title': '',
		'imageId': '68005963',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923478&docid=68005960&x=445',
		'title': '',
		'imageId': '68005960',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923478&docid=68005952&x=445',
		'title': '',
		'imageId': '68005952',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923478&docid=68005962&x=445',
		'title': '',
		'imageId': '68005962',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923478&docid=68005965&x=445',
		'title': '',
		'imageId': '68005965',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923478&docid=68005961&x=445',
		'title': '',
		'imageId': '68005961',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923478&docid=68005953&x=445',
		'title': '',
		'imageId': '68005953',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923478&docid=68005955&x=445',
		'title': '',
		'imageId': '68005955',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923478&docid=68005951&x=445',
		'title': '',
		'imageId': '68005951',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923478&docid=68005964&x=445',
		'title': '',
		'imageId': '68005964',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3923478';

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