var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013428&docid=70049034&x=2210',
		'title': '',
		'imageId': '70049034',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013428&docid=70049037&x=2210',
		'title': '',
		'imageId': '70049037',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013428&docid=70049044&x=2210',
		'title': '',
		'imageId': '70049044',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013428&docid=70049041&x=2210',
		'title': '',
		'imageId': '70049041',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013428&docid=70049042&x=2210',
		'title': '',
		'imageId': '70049042',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013428&docid=70049035&x=2210',
		'title': '',
		'imageId': '70049035',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013428&docid=70049043&x=2210',
		'title': '',
		'imageId': '70049043',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013428&docid=70049040&x=2210',
		'title': '',
		'imageId': '70049040',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013428&docid=70049036&x=2210',
		'title': '',
		'imageId': '70049036',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013428&docid=70049038&x=2210',
		'title': '',
		'imageId': '70049038',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013428&docid=70049039&x=2210',
		'title': '',
		'imageId': '70049039',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013428';

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