var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=179602&docid=626976&x=3624',
		'title': '',
		'imageId': '626976',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179602&docid=626977&x=3624',
		'title': '',
		'imageId': '626977',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179602&docid=626978&x=3624',
		'title': '',
		'imageId': '626978',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179602&docid=626979&x=3624',
		'title': '',
		'imageId': '626979',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179602&docid=626980&x=3624',
		'title': '',
		'imageId': '626980',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179602&docid=626981&x=3624',
		'title': '',
		'imageId': '626981',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179602&docid=626982&x=3624',
		'title': '',
		'imageId': '626982',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179602&docid=626983&x=3624',
		'title': '',
		'imageId': '626983',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179602&docid=626984&x=3624',
		'title': '',
		'imageId': '626984',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179602&docid=626985&x=3624',
		'title': '',
		'imageId': '626985',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179602&docid=626986&x=3624',
		'title': '',
		'imageId': '626986',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179602&docid=626987&x=3624',
		'title': '',
		'imageId': '626987',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179602&docid=626988&x=3624',
		'title': '',
		'imageId': '626988',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179602&docid=626989&x=3624',
		'title': '',
		'imageId': '626989',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179602&docid=626990&x=3624',
		'title': '',
		'imageId': '626990',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179602&docid=626991&x=3624',
		'title': '',
		'imageId': '626991',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #179602';

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