var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010365&docid=69968422&x=3133',
		'title': '',
		'imageId': '69968422',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010365&docid=69968421&x=3133',
		'title': '',
		'imageId': '69968421',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010365&docid=69968420&x=3133',
		'title': '',
		'imageId': '69968420',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010365&docid=69968419&x=3133',
		'title': '',
		'imageId': '69968419',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010365&docid=69968423&x=3133',
		'title': '',
		'imageId': '69968423',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010365&docid=70253080&x=3133',
		'title': '',
		'imageId': '70253080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010365&docid=70253082&x=3133',
		'title': '',
		'imageId': '70253082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010365&docid=70253081&x=3133',
		'title': '',
		'imageId': '70253081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010365&docid=70253078&x=3133',
		'title': '',
		'imageId': '70253078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010365&docid=70253084&x=3133',
		'title': '',
		'imageId': '70253084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010365&docid=70253079&x=3133',
		'title': '',
		'imageId': '70253079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010365&docid=70253083&x=3133',
		'title': '',
		'imageId': '70253083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010365';

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