var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3965149&docid=68931485&x=4625',
		'title': '',
		'imageId': '68931485',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965149&docid=68931493&x=4625',
		'title': '',
		'imageId': '68931493',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965149&docid=68931490&x=4625',
		'title': '',
		'imageId': '68931490',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965149&docid=68931491&x=4625',
		'title': '',
		'imageId': '68931491',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965149&docid=68931492&x=4625',
		'title': '',
		'imageId': '68931492',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965149&docid=68931484&x=4625',
		'title': '',
		'imageId': '68931484',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965149&docid=68931487&x=4625',
		'title': '',
		'imageId': '68931487',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965149&docid=68931488&x=4625',
		'title': '',
		'imageId': '68931488',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965149&docid=68931486&x=4625',
		'title': '',
		'imageId': '68931486',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965149&docid=68931483&x=4625',
		'title': '',
		'imageId': '68931483',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965149&docid=68931494&x=4625',
		'title': '',
		'imageId': '68931494',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965149&docid=68931489&x=4625',
		'title': '',
		'imageId': '68931489',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3965149';

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