var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3932571&docid=68190996&x=299',
		'title': '',
		'imageId': '68190996',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932571&docid=68190990&x=299',
		'title': '',
		'imageId': '68190990',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932571&docid=68190997&x=299',
		'title': '',
		'imageId': '68190997',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932571&docid=68190991&x=299',
		'title': '',
		'imageId': '68190991',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932571&docid=68190994&x=299',
		'title': '',
		'imageId': '68190994',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932571&docid=68190995&x=299',
		'title': '',
		'imageId': '68190995',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932571&docid=68190993&x=299',
		'title': '',
		'imageId': '68190993',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932571&docid=68190998&x=299',
		'title': '',
		'imageId': '68190998',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932571&docid=68190999&x=299',
		'title': '',
		'imageId': '68190999',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932571&docid=68190992&x=299',
		'title': '',
		'imageId': '68190992',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3932571';

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