var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4009003&docid=69936482&x=237',
		'title': '',
		'imageId': '69936482',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009003&docid=69936487&x=237',
		'title': '',
		'imageId': '69936487',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009003&docid=69936461&x=237',
		'title': '',
		'imageId': '69936461',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009003&docid=69936458&x=237',
		'title': '',
		'imageId': '69936458',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009003&docid=69936501&x=237',
		'title': '',
		'imageId': '69936501',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009003&docid=69936467&x=237',
		'title': '',
		'imageId': '69936467',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009003&docid=69936490&x=237',
		'title': '',
		'imageId': '69936490',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009003&docid=69936493&x=237',
		'title': '',
		'imageId': '69936493',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009003&docid=69936496&x=237',
		'title': '',
		'imageId': '69936496',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009003&docid=69936455&x=237',
		'title': '',
		'imageId': '69936455',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009003&docid=69936464&x=237',
		'title': '',
		'imageId': '69936464',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4009003';

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