var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975318&docid=69153908&x=4348',
		'title': '',
		'imageId': '69153908',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975318&docid=69153909&x=4348',
		'title': '',
		'imageId': '69153909',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975318&docid=69153910&x=4348',
		'title': '',
		'imageId': '69153910',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975318&docid=69153911&x=4348',
		'title': '',
		'imageId': '69153911',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975318&docid=69153912&x=4348',
		'title': '',
		'imageId': '69153912',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975318&docid=69153913&x=4348',
		'title': '',
		'imageId': '69153913',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975318&docid=69153914&x=4348',
		'title': '',
		'imageId': '69153914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975318&docid=69153916&x=4348',
		'title': '',
		'imageId': '69153916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975318&docid=69153923&x=4348',
		'title': '',
		'imageId': '69153923',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975318&docid=69153924&x=4348',
		'title': '',
		'imageId': '69153924',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975318&docid=69153925&x=4348',
		'title': '',
		'imageId': '69153925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975318&docid=69153951&x=4348',
		'title': '',
		'imageId': '69153951',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975318&docid=69153968&x=4348',
		'title': '',
		'imageId': '69153968',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975318&docid=69154046&x=4348',
		'title': '',
		'imageId': '69154046',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975318&docid=69154047&x=4348',
		'title': '',
		'imageId': '69154047',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975318&docid=69154091&x=4348',
		'title': '',
		'imageId': '69154091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975318&docid=69154203&x=4348',
		'title': '',
		'imageId': '69154203',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975318&docid=69154204&x=4348',
		'title': '',
		'imageId': '69154204',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975318&docid=69154205&x=4348',
		'title': '',
		'imageId': '69154205',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975318&docid=69154206&x=4348',
		'title': '',
		'imageId': '69154206',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975318&docid=69154224&x=4348',
		'title': '',
		'imageId': '69154224',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975318&docid=69154247&x=4348',
		'title': '',
		'imageId': '69154247',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975318&docid=69154248&x=4348',
		'title': '',
		'imageId': '69154248',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975318';

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