var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008300&docid=69917399&x=4242',
		'title': '',
		'imageId': '69917399',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008300&docid=69917401&x=4242',
		'title': '',
		'imageId': '69917401',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008300&docid=69917402&x=4242',
		'title': '',
		'imageId': '69917402',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008300&docid=69917403&x=4242',
		'title': '',
		'imageId': '69917403',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008300&docid=69917404&x=4242',
		'title': '',
		'imageId': '69917404',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008300&docid=69917405&x=4242',
		'title': '',
		'imageId': '69917405',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008300&docid=69917406&x=4242',
		'title': '',
		'imageId': '69917406',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008300&docid=69917407&x=4242',
		'title': '',
		'imageId': '69917407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008300&docid=69917408&x=4242',
		'title': '',
		'imageId': '69917408',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008300&docid=69917409&x=4242',
		'title': '',
		'imageId': '69917409',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008300&docid=69917410&x=4242',
		'title': '',
		'imageId': '69917410',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008300&docid=69917411&x=4242',
		'title': '',
		'imageId': '69917411',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008300';

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