var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4003892&docid=69807827&x=1338',
		'title': '',
		'imageId': '69807827',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003892&docid=69807828&x=1338',
		'title': '',
		'imageId': '69807828',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003892&docid=69807834&x=1338',
		'title': '',
		'imageId': '69807834',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003892&docid=69807843&x=1338',
		'title': '',
		'imageId': '69807843',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003892&docid=69807848&x=1338',
		'title': '',
		'imageId': '69807848',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003892&docid=69807856&x=1338',
		'title': '',
		'imageId': '69807856',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003892&docid=69807884&x=1338',
		'title': '',
		'imageId': '69807884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003892&docid=69807885&x=1338',
		'title': '',
		'imageId': '69807885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003892&docid=69807886&x=1338',
		'title': '',
		'imageId': '69807886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003892&docid=69807887&x=1338',
		'title': '',
		'imageId': '69807887',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003892&docid=69807888&x=1338',
		'title': '',
		'imageId': '69807888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003892&docid=69807892&x=1338',
		'title': '',
		'imageId': '69807892',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4003892';

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