var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=179592&docid=626896&x=3944',
		'title': '',
		'imageId': '626896',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179592&docid=626897&x=3944',
		'title': '',
		'imageId': '626897',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179592&docid=626898&x=3944',
		'title': '',
		'imageId': '626898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179592&docid=626899&x=3944',
		'title': '',
		'imageId': '626899',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179592&docid=626900&x=3944',
		'title': '',
		'imageId': '626900',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179592&docid=626901&x=3944',
		'title': '',
		'imageId': '626901',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179592&docid=626902&x=3944',
		'title': '',
		'imageId': '626902',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179592&docid=626903&x=3944',
		'title': '',
		'imageId': '626903',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179592&docid=626904&x=3944',
		'title': '',
		'imageId': '626904',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179592&docid=626905&x=3944',
		'title': '',
		'imageId': '626905',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179592&docid=626906&x=3944',
		'title': '',
		'imageId': '626906',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179592&docid=626907&x=3944',
		'title': '',
		'imageId': '626907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179592&docid=626908&x=3944',
		'title': '',
		'imageId': '626908',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179592&docid=626909&x=3944',
		'title': '',
		'imageId': '626909',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179592&docid=626910&x=3944',
		'title': '',
		'imageId': '626910',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179592&docid=626911&x=3944',
		'title': '',
		'imageId': '626911',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179592&docid=626912&x=3944',
		'title': '',
		'imageId': '626912',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179592&docid=626913&x=3944',
		'title': '',
		'imageId': '626913',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179592&docid=626914&x=3944',
		'title': '',
		'imageId': '626914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179592&docid=626915&x=3944',
		'title': '',
		'imageId': '626915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179592&docid=626916&x=3944',
		'title': '',
		'imageId': '626916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179592&docid=626917&x=3944',
		'title': '',
		'imageId': '626917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #179592';

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