var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3929923&docid=68126377&x=319',
		'title': '',
		'imageId': '68126377',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929923&docid=68126380&x=319',
		'title': '',
		'imageId': '68126380',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929923&docid=68126383&x=319',
		'title': '',
		'imageId': '68126383',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929923&docid=68126386&x=319',
		'title': '',
		'imageId': '68126386',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929923&docid=68126389&x=319',
		'title': '',
		'imageId': '68126389',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929923&docid=68126392&x=319',
		'title': '',
		'imageId': '68126392',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929923&docid=68126395&x=319',
		'title': '',
		'imageId': '68126395',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929923&docid=68126398&x=319',
		'title': '',
		'imageId': '68126398',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929923&docid=68126401&x=319',
		'title': '',
		'imageId': '68126401',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929923&docid=68126408&x=319',
		'title': '',
		'imageId': '68126408',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929923&docid=68126413&x=319',
		'title': '',
		'imageId': '68126413',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3929923';

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