var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4006245&docid=69863905&x=2748',
		'title': '',
		'imageId': '69863905',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006245&docid=69863910&x=2748',
		'title': '',
		'imageId': '69863910',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006245&docid=69863903&x=2748',
		'title': '',
		'imageId': '69863903',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006245&docid=69863906&x=2748',
		'title': '',
		'imageId': '69863906',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006245&docid=69863907&x=2748',
		'title': '',
		'imageId': '69863907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006245&docid=69863909&x=2748',
		'title': '',
		'imageId': '69863909',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006245&docid=69863902&x=2748',
		'title': '',
		'imageId': '69863902',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006245&docid=69863904&x=2748',
		'title': '',
		'imageId': '69863904',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006245&docid=69863901&x=2748',
		'title': '',
		'imageId': '69863901',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006245&docid=69863908&x=2748',
		'title': '',
		'imageId': '69863908',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006245&docid=69863911&x=2748',
		'title': '',
		'imageId': '69863911',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4006245';

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