var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4005817&docid=69855974&x=5149',
		'title': '',
		'imageId': '69855974',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005817&docid=69855593&x=5149',
		'title': '',
		'imageId': '69855593',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005817&docid=69855601&x=5149',
		'title': '',
		'imageId': '69855601',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005817&docid=69855604&x=5149',
		'title': '',
		'imageId': '69855604',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005817&docid=69855611&x=5149',
		'title': '',
		'imageId': '69855611',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005817&docid=69855598&x=5149',
		'title': '',
		'imageId': '69855598',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005817&docid=69855628&x=5149',
		'title': '',
		'imageId': '69855628',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005817&docid=69855620&x=5149',
		'title': '',
		'imageId': '69855620',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005817&docid=69855632&x=5149',
		'title': '',
		'imageId': '69855632',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005817&docid=69855635&x=5149',
		'title': '',
		'imageId': '69855635',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005817&docid=69855638&x=5149',
		'title': '',
		'imageId': '69855638',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005817&docid=69855642&x=5149',
		'title': '',
		'imageId': '69855642',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005817&docid=69855648&x=5149',
		'title': '',
		'imageId': '69855648',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005817&docid=69855658&x=5149',
		'title': '',
		'imageId': '69855658',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005817&docid=69855664&x=5149',
		'title': '',
		'imageId': '69855664',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005817&docid=69855667&x=5149',
		'title': '',
		'imageId': '69855667',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005817&docid=69855670&x=5149',
		'title': '',
		'imageId': '69855670',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005817&docid=69855673&x=5149',
		'title': '',
		'imageId': '69855673',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005817&docid=69855700&x=5149',
		'title': '',
		'imageId': '69855700',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005817&docid=69855703&x=5149',
		'title': '',
		'imageId': '69855703',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005817&docid=69855624&x=5149',
		'title': '',
		'imageId': '69855624',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005817&docid=69855706&x=5149',
		'title': '',
		'imageId': '69855706',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005817&docid=69855709&x=5149',
		'title': '',
		'imageId': '69855709',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4005817';

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