var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3922375&docid=65429080&x=2341',
		'title': '',
		'imageId': '65429080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922375&docid=65429081&x=2341',
		'title': '',
		'imageId': '65429081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922375&docid=65429082&x=2341',
		'title': '',
		'imageId': '65429082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922375&docid=65429085&x=2341',
		'title': '',
		'imageId': '65429085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922375&docid=65429086&x=2341',
		'title': '',
		'imageId': '65429086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922375&docid=65429087&x=2341',
		'title': '',
		'imageId': '65429087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922375&docid=65429088&x=2341',
		'title': '',
		'imageId': '65429088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922375&docid=65429089&x=2341',
		'title': '',
		'imageId': '65429089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922375&docid=65429090&x=2341',
		'title': '',
		'imageId': '65429090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922375&docid=65429091&x=2341',
		'title': '',
		'imageId': '65429091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922375&docid=65429092&x=2341',
		'title': '',
		'imageId': '65429092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922375&docid=65429093&x=2341',
		'title': '',
		'imageId': '65429093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922375&docid=65429094&x=2341',
		'title': '',
		'imageId': '65429094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922375&docid=65429095&x=2341',
		'title': '',
		'imageId': '65429095',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922375&docid=65429096&x=2341',
		'title': '',
		'imageId': '65429096',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922375&docid=65429097&x=2341',
		'title': '',
		'imageId': '65429097',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922375&docid=65429098&x=2341',
		'title': '',
		'imageId': '65429098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922375&docid=65429099&x=2341',
		'title': '',
		'imageId': '65429099',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922375&docid=65429100&x=2341',
		'title': '',
		'imageId': '65429100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922375&docid=65429101&x=2341',
		'title': '',
		'imageId': '65429101',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922375&docid=65429102&x=2341',
		'title': '',
		'imageId': '65429102',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922375&docid=65429103&x=2341',
		'title': '',
		'imageId': '65429103',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922375&docid=65429104&x=2341',
		'title': '',
		'imageId': '65429104',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922375&docid=65429105&x=2341',
		'title': '',
		'imageId': '65429105',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922375&docid=65429106&x=2341',
		'title': '',
		'imageId': '65429106',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922375&docid=65429107&x=2341',
		'title': '',
		'imageId': '65429107',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922375&docid=65429079&x=2341',
		'title': '',
		'imageId': '65429079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922375&docid=65429109&x=2341',
		'title': '',
		'imageId': '65429109',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922375&docid=65429108&x=2341',
		'title': '',
		'imageId': '65429108',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3922375';

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