var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3953366&docid=68658822&x=1510',
		'title': '',
		'imageId': '68658822',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953366&docid=68658823&x=1510',
		'title': '',
		'imageId': '68658823',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953366&docid=68658824&x=1510',
		'title': '',
		'imageId': '68658824',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953366&docid=68658825&x=1510',
		'title': '',
		'imageId': '68658825',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953366&docid=68658827&x=1510',
		'title': '',
		'imageId': '68658827',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953366&docid=68658826&x=1510',
		'title': '',
		'imageId': '68658826',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953366&docid=68658830&x=1510',
		'title': '',
		'imageId': '68658830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953366&docid=68658833&x=1510',
		'title': '',
		'imageId': '68658833',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953366&docid=68658841&x=1510',
		'title': '',
		'imageId': '68658841',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953366&docid=68658840&x=1510',
		'title': '',
		'imageId': '68658840',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953366&docid=68658842&x=1510',
		'title': '',
		'imageId': '68658842',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953366&docid=68658845&x=1510',
		'title': '',
		'imageId': '68658845',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953366&docid=68658848&x=1510',
		'title': '',
		'imageId': '68658848',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953366&docid=68658853&x=1510',
		'title': '',
		'imageId': '68658853',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953366&docid=68658854&x=1510',
		'title': '',
		'imageId': '68658854',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953366&docid=68658859&x=1510',
		'title': '',
		'imageId': '68658859',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3953366';

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