var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3998547&docid=69668636&x=4148',
		'title': '',
		'imageId': '69668636',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998547&docid=69668579&x=4148',
		'title': '',
		'imageId': '69668579',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998547&docid=69668575&x=4148',
		'title': '',
		'imageId': '69668575',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998547&docid=69668590&x=4148',
		'title': '',
		'imageId': '69668590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998547&docid=69668565&x=4148',
		'title': '',
		'imageId': '69668565',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998547&docid=69668612&x=4148',
		'title': '',
		'imageId': '69668612',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998547&docid=69668623&x=4148',
		'title': '',
		'imageId': '69668623',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998547&docid=69668628&x=4148',
		'title': '',
		'imageId': '69668628',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998547&docid=69668580&x=4148',
		'title': '',
		'imageId': '69668580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998547&docid=69668610&x=4148',
		'title': '',
		'imageId': '69668610',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998547&docid=69668618&x=4148',
		'title': '',
		'imageId': '69668618',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998547&docid=69668626&x=4148',
		'title': '',
		'imageId': '69668626',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998547&docid=69668617&x=4148',
		'title': '',
		'imageId': '69668617',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998547&docid=69668600&x=4148',
		'title': '',
		'imageId': '69668600',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998547&docid=69668596&x=4148',
		'title': '',
		'imageId': '69668596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998547&docid=69668627&x=4148',
		'title': '',
		'imageId': '69668627',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998547&docid=69668591&x=4148',
		'title': '',
		'imageId': '69668591',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998547&docid=69668622&x=4148',
		'title': '',
		'imageId': '69668622',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998547&docid=69668566&x=4148',
		'title': '',
		'imageId': '69668566',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998547&docid=69668589&x=4148',
		'title': '',
		'imageId': '69668589',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998547&docid=69668607&x=4148',
		'title': '',
		'imageId': '69668607',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998547&docid=69668606&x=4148',
		'title': '',
		'imageId': '69668606',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998547&docid=69668608&x=4148',
		'title': '',
		'imageId': '69668608',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998547&docid=69668637&x=4148',
		'title': '',
		'imageId': '69668637',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998547&docid=69668581&x=4148',
		'title': '',
		'imageId': '69668581',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998547&docid=69668630&x=4148',
		'title': '',
		'imageId': '69668630',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998547&docid=69668635&x=4148',
		'title': '',
		'imageId': '69668635',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998547&docid=69668583&x=4148',
		'title': '',
		'imageId': '69668583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998547&docid=69668573&x=4148',
		'title': '',
		'imageId': '69668573',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998547&docid=69668585&x=4148',
		'title': '',
		'imageId': '69668585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998547&docid=69668586&x=4148',
		'title': '',
		'imageId': '69668586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998547&docid=69668567&x=4148',
		'title': '',
		'imageId': '69668567',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998547&docid=69668597&x=4148',
		'title': '',
		'imageId': '69668597',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998547&docid=69668569&x=4148',
		'title': '',
		'imageId': '69668569',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998547&docid=69668571&x=4148',
		'title': '',
		'imageId': '69668571',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998547&docid=69668578&x=4148',
		'title': '',
		'imageId': '69668578',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3998547';

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