var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3930603&docid=68139483&x=143',
		'title': '',
		'imageId': '68139483',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930603&docid=68139486&x=143',
		'title': '',
		'imageId': '68139486',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930603&docid=68139489&x=143',
		'title': '',
		'imageId': '68139489',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930603&docid=68139492&x=143',
		'title': '',
		'imageId': '68139492',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930603&docid=68139495&x=143',
		'title': '',
		'imageId': '68139495',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930603&docid=68139498&x=143',
		'title': '',
		'imageId': '68139498',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930603&docid=68139501&x=143',
		'title': '',
		'imageId': '68139501',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930603&docid=68139504&x=143',
		'title': '',
		'imageId': '68139504',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930603&docid=68139507&x=143',
		'title': '',
		'imageId': '68139507',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930603&docid=68139510&x=143',
		'title': '',
		'imageId': '68139510',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930603&docid=68139513&x=143',
		'title': '',
		'imageId': '68139513',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930603&docid=68139516&x=143',
		'title': '',
		'imageId': '68139516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3930603';

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