var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3936952&docid=68005112&x=435',
		'title': '',
		'imageId': '68005112',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936952&docid=68005115&x=435',
		'title': '',
		'imageId': '68005115',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936952&docid=68005092&x=435',
		'title': '',
		'imageId': '68005092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936952&docid=68005113&x=435',
		'title': '',
		'imageId': '68005113',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936952&docid=68005091&x=435',
		'title': '',
		'imageId': '68005091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936952&docid=68005093&x=435',
		'title': '',
		'imageId': '68005093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936952&docid=68005082&x=435',
		'title': '',
		'imageId': '68005082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936952&docid=68005081&x=435',
		'title': '',
		'imageId': '68005081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936952&docid=68005079&x=435',
		'title': '',
		'imageId': '68005079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936952&docid=68005080&x=435',
		'title': '',
		'imageId': '68005080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936952&docid=68005114&x=435',
		'title': '',
		'imageId': '68005114',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3936952';

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