var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4003943&docid=69810056&x=2117',
		'title': '',
		'imageId': '69810056',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003943&docid=69809208&x=2117',
		'title': '',
		'imageId': '69809208',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003943&docid=69809205&x=2117',
		'title': '',
		'imageId': '69809205',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003943&docid=69809202&x=2117',
		'title': '',
		'imageId': '69809202',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003943&docid=69809204&x=2117',
		'title': '',
		'imageId': '69809204',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003943&docid=69809201&x=2117',
		'title': '',
		'imageId': '69809201',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003943&docid=69809209&x=2117',
		'title': '',
		'imageId': '69809209',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003943&docid=69809200&x=2117',
		'title': '',
		'imageId': '69809200',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003943&docid=69809206&x=2117',
		'title': '',
		'imageId': '69809206',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003943&docid=69809207&x=2117',
		'title': '',
		'imageId': '69809207',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003943&docid=69809210&x=2117',
		'title': '',
		'imageId': '69809210',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003943&docid=69809203&x=2117',
		'title': '',
		'imageId': '69809203',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4003943';

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