var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3996789&docid=69288547&x=4419',
		'title': '',
		'imageId': '69288547',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996789&docid=69288548&x=4419',
		'title': '',
		'imageId': '69288548',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996789&docid=69288550&x=4419',
		'title': '',
		'imageId': '69288550',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996789&docid=69288551&x=4419',
		'title': '',
		'imageId': '69288551',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996789&docid=69288552&x=4419',
		'title': '',
		'imageId': '69288552',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996789&docid=69288557&x=4419',
		'title': '',
		'imageId': '69288557',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996789&docid=69288561&x=4419',
		'title': '',
		'imageId': '69288561',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996789&docid=69288562&x=4419',
		'title': '',
		'imageId': '69288562',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996789&docid=69288571&x=4419',
		'title': '',
		'imageId': '69288571',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996789&docid=69288569&x=4419',
		'title': '',
		'imageId': '69288569',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996789&docid=69288570&x=4419',
		'title': '',
		'imageId': '69288570',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996789&docid=69288574&x=4419',
		'title': '',
		'imageId': '69288574',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996789&docid=69288577&x=4419',
		'title': '',
		'imageId': '69288577',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996789&docid=69288580&x=4419',
		'title': '',
		'imageId': '69288580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996789&docid=69288583&x=4419',
		'title': '',
		'imageId': '69288583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996789&docid=69288549&x=4419',
		'title': '',
		'imageId': '69288549',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3996789';

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