var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3984194&docid=69357883&x=1839',
		'title': '',
		'imageId': '69357883',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984194&docid=69357888&x=1839',
		'title': '',
		'imageId': '69357888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984194&docid=69357886&x=1839',
		'title': '',
		'imageId': '69357886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984194&docid=69357890&x=1839',
		'title': '',
		'imageId': '69357890',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984194&docid=69357891&x=1839',
		'title': '',
		'imageId': '69357891',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984194&docid=69357892&x=1839',
		'title': '',
		'imageId': '69357892',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984194&docid=69357893&x=1839',
		'title': '',
		'imageId': '69357893',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984194&docid=69357894&x=1839',
		'title': '',
		'imageId': '69357894',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984194&docid=69357895&x=1839',
		'title': '',
		'imageId': '69357895',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984194&docid=69357896&x=1839',
		'title': '',
		'imageId': '69357896',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984194&docid=69357897&x=1839',
		'title': '',
		'imageId': '69357897',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984194&docid=69357898&x=1839',
		'title': '',
		'imageId': '69357898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3984194';

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