var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=179552&docid=626465&x=3635',
		'title': '',
		'imageId': '626465',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179552&docid=626466&x=3635',
		'title': '',
		'imageId': '626466',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179552&docid=626467&x=3635',
		'title': '',
		'imageId': '626467',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179552&docid=626468&x=3635',
		'title': '',
		'imageId': '626468',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179552&docid=626469&x=3635',
		'title': '',
		'imageId': '626469',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179552&docid=626470&x=3635',
		'title': '',
		'imageId': '626470',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179552&docid=626471&x=3635',
		'title': '',
		'imageId': '626471',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179552&docid=626472&x=3635',
		'title': '',
		'imageId': '626472',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179552&docid=626473&x=3635',
		'title': '',
		'imageId': '626473',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179552&docid=626474&x=3635',
		'title': '',
		'imageId': '626474',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179552&docid=626475&x=3635',
		'title': '',
		'imageId': '626475',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179552&docid=626476&x=3635',
		'title': '',
		'imageId': '626476',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179552&docid=626477&x=3635',
		'title': '',
		'imageId': '626477',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179552&docid=626478&x=3635',
		'title': '',
		'imageId': '626478',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179552&docid=626479&x=3635',
		'title': '',
		'imageId': '626479',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179552&docid=626480&x=3635',
		'title': '',
		'imageId': '626480',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179552&docid=626481&x=3635',
		'title': '',
		'imageId': '626481',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179552&docid=626482&x=3635',
		'title': '',
		'imageId': '626482',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179552&docid=626483&x=3635',
		'title': '',
		'imageId': '626483',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179552&docid=626484&x=3635',
		'title': '',
		'imageId': '626484',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179552&docid=626485&x=3635',
		'title': '',
		'imageId': '626485',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179552&docid=626486&x=3635',
		'title': '',
		'imageId': '626486',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179552&docid=626487&x=3635',
		'title': '',
		'imageId': '626487',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179552&docid=626488&x=3635',
		'title': '',
		'imageId': '626488',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #179552';

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