var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3910589&docid=67652887&x=1920',
		'title': '',
		'imageId': '67652887',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910589&docid=67652888&x=1920',
		'title': '',
		'imageId': '67652888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910589&docid=67652890&x=1920',
		'title': '',
		'imageId': '67652890',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910589&docid=67652891&x=1920',
		'title': '',
		'imageId': '67652891',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910589&docid=67652892&x=1920',
		'title': '',
		'imageId': '67652892',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910589&docid=67652893&x=1920',
		'title': '',
		'imageId': '67652893',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910589&docid=67652894&x=1920',
		'title': '',
		'imageId': '67652894',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910589&docid=67652895&x=1920',
		'title': '',
		'imageId': '67652895',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910589&docid=67652896&x=1920',
		'title': '',
		'imageId': '67652896',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910589&docid=67652897&x=1920',
		'title': '',
		'imageId': '67652897',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910589&docid=67652898&x=1920',
		'title': '',
		'imageId': '67652898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3910589';

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