var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3961484&docid=68841839&x=5846',
		'title': '',
		'imageId': '68841839',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961484&docid=68841840&x=5846',
		'title': '',
		'imageId': '68841840',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961484&docid=68841841&x=5846',
		'title': '',
		'imageId': '68841841',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961484&docid=68841842&x=5846',
		'title': '',
		'imageId': '68841842',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961484&docid=68841843&x=5846',
		'title': '',
		'imageId': '68841843',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961484&docid=68841850&x=5846',
		'title': '',
		'imageId': '68841850',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961484&docid=68841851&x=5846',
		'title': '',
		'imageId': '68841851',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961484&docid=68841852&x=5846',
		'title': '',
		'imageId': '68841852',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961484&docid=68841865&x=5846',
		'title': '',
		'imageId': '68841865',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961484&docid=68841877&x=5846',
		'title': '',
		'imageId': '68841877',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961484&docid=68841838&x=5846',
		'title': '',
		'imageId': '68841838',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3961484';

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