var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3998276&docid=69662975&x=4343',
		'title': '',
		'imageId': '69662975',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998276&docid=69662976&x=4343',
		'title': '',
		'imageId': '69662976',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998276&docid=69662977&x=4343',
		'title': '',
		'imageId': '69662977',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998276&docid=69662155&x=4343',
		'title': '',
		'imageId': '69662155',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998276&docid=69662157&x=4343',
		'title': '',
		'imageId': '69662157',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998276&docid=69662154&x=4343',
		'title': '',
		'imageId': '69662154',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998276&docid=69662158&x=4343',
		'title': '',
		'imageId': '69662158',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998276&docid=69662156&x=4343',
		'title': '',
		'imageId': '69662156',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998276&docid=69662188&x=4343',
		'title': '',
		'imageId': '69662188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998276&docid=69662187&x=4343',
		'title': '',
		'imageId': '69662187',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998276&docid=69662189&x=4343',
		'title': '',
		'imageId': '69662189',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998276&docid=69662190&x=4343',
		'title': '',
		'imageId': '69662190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998276&docid=69662191&x=4343',
		'title': '',
		'imageId': '69662191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998276&docid=69662206&x=4343',
		'title': '',
		'imageId': '69662206',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998276&docid=69662205&x=4343',
		'title': '',
		'imageId': '69662205',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998276&docid=69662782&x=4343',
		'title': '',
		'imageId': '69662782',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998276&docid=69662781&x=4343',
		'title': '',
		'imageId': '69662781',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998276&docid=69662780&x=4343',
		'title': '',
		'imageId': '69662780',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998276&docid=69662783&x=4343',
		'title': '',
		'imageId': '69662783',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3998276';

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