var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3961635&docid=68844596&x=3259',
		'title': '',
		'imageId': '68844596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961635&docid=68844601&x=3259',
		'title': '',
		'imageId': '68844601',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961635&docid=68844600&x=3259',
		'title': '',
		'imageId': '68844600',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961635&docid=68844598&x=3259',
		'title': '',
		'imageId': '68844598',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961635&docid=68844599&x=3259',
		'title': '',
		'imageId': '68844599',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961635&docid=68844597&x=3259',
		'title': '',
		'imageId': '68844597',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961635&docid=68844606&x=3259',
		'title': '',
		'imageId': '68844606',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961635&docid=68844605&x=3259',
		'title': '',
		'imageId': '68844605',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961635&docid=68844604&x=3259',
		'title': '',
		'imageId': '68844604',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961635&docid=68844603&x=3259',
		'title': '',
		'imageId': '68844603',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961635&docid=68844602&x=3259',
		'title': '',
		'imageId': '68844602',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961635&docid=68844595&x=3259',
		'title': '',
		'imageId': '68844595',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3961635';

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