var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=476303&docid=2602135&x=3348',
		'title': '',
		'imageId': '2602135',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476303&docid=2602138&x=3348',
		'title': '',
		'imageId': '2602138',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476303&docid=2602144&x=3348',
		'title': '',
		'imageId': '2602144',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476303&docid=2602150&x=3348',
		'title': '',
		'imageId': '2602150',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476303&docid=2602156&x=3348',
		'title': '',
		'imageId': '2602156',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476303&docid=2602162&x=3348',
		'title': '',
		'imageId': '2602162',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476303&docid=2602168&x=3348',
		'title': '',
		'imageId': '2602168',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476303&docid=2602175&x=3348',
		'title': '',
		'imageId': '2602175',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476303&docid=2602183&x=3348',
		'title': '',
		'imageId': '2602183',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476303&docid=2602189&x=3348',
		'title': '',
		'imageId': '2602189',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476303&docid=2602194&x=3348',
		'title': '',
		'imageId': '2602194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476303&docid=2602204&x=3348',
		'title': '',
		'imageId': '2602204',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476303&docid=2602210&x=3348',
		'title': '',
		'imageId': '2602210',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476303&docid=2602215&x=3348',
		'title': '',
		'imageId': '2602215',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476303&docid=2602242&x=3348',
		'title': '',
		'imageId': '2602242',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476303&docid=2602245&x=3348',
		'title': '',
		'imageId': '2602245',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476303&docid=2602218&x=3348',
		'title': '',
		'imageId': '2602218',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476303&docid=2602221&x=3348',
		'title': '',
		'imageId': '2602221',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476303&docid=2602224&x=3348',
		'title': '',
		'imageId': '2602224',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476303&docid=2602227&x=3348',
		'title': '',
		'imageId': '2602227',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476303&docid=2602230&x=3348',
		'title': '',
		'imageId': '2602230',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476303&docid=2602236&x=3348',
		'title': '',
		'imageId': '2602236',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476303&docid=2602198&x=3348',
		'title': '',
		'imageId': '2602198',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476303&docid=2602239&x=3348',
		'title': '',
		'imageId': '2602239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #476303';

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