var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008541&docid=69924890&x=4233',
		'title': '',
		'imageId': '69924890',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008541&docid=69924893&x=4233',
		'title': '',
		'imageId': '69924893',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008541&docid=69924896&x=4233',
		'title': '',
		'imageId': '69924896',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008541&docid=69924911&x=4233',
		'title': '',
		'imageId': '69924911',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008541&docid=69924932&x=4233',
		'title': '',
		'imageId': '69924932',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008541&docid=69924941&x=4233',
		'title': '',
		'imageId': '69924941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008541&docid=69924944&x=4233',
		'title': '',
		'imageId': '69924944',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008541&docid=69924950&x=4233',
		'title': '',
		'imageId': '69924950',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008541&docid=69924956&x=4233',
		'title': '',
		'imageId': '69924956',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008541&docid=69924965&x=4233',
		'title': '',
		'imageId': '69924965',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008541&docid=69924968&x=4233',
		'title': '',
		'imageId': '69924968',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008541&docid=69924974&x=4233',
		'title': '',
		'imageId': '69924974',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008541';

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