var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=179550&docid=626407&x=2428',
		'title': '',
		'imageId': '626407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179550&docid=626408&x=2428',
		'title': '',
		'imageId': '626408',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179550&docid=626409&x=2428',
		'title': '',
		'imageId': '626409',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179550&docid=626410&x=2428',
		'title': '',
		'imageId': '626410',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179550&docid=626411&x=2428',
		'title': '',
		'imageId': '626411',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179550&docid=626412&x=2428',
		'title': '',
		'imageId': '626412',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179550&docid=626413&x=2428',
		'title': '',
		'imageId': '626413',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179550&docid=626414&x=2428',
		'title': '',
		'imageId': '626414',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179550&docid=626415&x=2428',
		'title': '',
		'imageId': '626415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179550&docid=626416&x=2428',
		'title': '',
		'imageId': '626416',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179550&docid=626417&x=2428',
		'title': '',
		'imageId': '626417',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179550&docid=626418&x=2428',
		'title': '',
		'imageId': '626418',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179550&docid=626419&x=2428',
		'title': '',
		'imageId': '626419',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179550&docid=626420&x=2428',
		'title': '',
		'imageId': '626420',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179550&docid=626421&x=2428',
		'title': '',
		'imageId': '626421',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179550&docid=626422&x=2428',
		'title': '',
		'imageId': '626422',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179550&docid=626423&x=2428',
		'title': '',
		'imageId': '626423',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179550&docid=626424&x=2428',
		'title': '',
		'imageId': '626424',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179550&docid=626425&x=2428',
		'title': '',
		'imageId': '626425',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179550&docid=626426&x=2428',
		'title': '',
		'imageId': '626426',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179550&docid=626427&x=2428',
		'title': '',
		'imageId': '626427',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179550&docid=626428&x=2428',
		'title': '',
		'imageId': '626428',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179550&docid=626429&x=2428',
		'title': '',
		'imageId': '626429',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179550&docid=626430&x=2428',
		'title': '',
		'imageId': '626430',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #179550';

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