var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3934289&docid=66083638&x=2534',
		'title': '',
		'imageId': '66083638',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934289&docid=66083631&x=2534',
		'title': '',
		'imageId': '66083631',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934289&docid=66083632&x=2534',
		'title': '',
		'imageId': '66083632',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934289&docid=66083634&x=2534',
		'title': '',
		'imageId': '66083634',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934289&docid=66083633&x=2534',
		'title': '',
		'imageId': '66083633',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934289&docid=66083639&x=2534',
		'title': '',
		'imageId': '66083639',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934289&docid=66083636&x=2534',
		'title': '',
		'imageId': '66083636',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934289&docid=66083640&x=2534',
		'title': '',
		'imageId': '66083640',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934289&docid=66083641&x=2534',
		'title': '',
		'imageId': '66083641',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934289&docid=66083642&x=2534',
		'title': '',
		'imageId': '66083642',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934289&docid=66083643&x=2534',
		'title': '',
		'imageId': '66083643',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934289&docid=66083646&x=2534',
		'title': '',
		'imageId': '66083646',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934289&docid=66083645&x=2534',
		'title': '',
		'imageId': '66083645',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934289&docid=66083635&x=2534',
		'title': '',
		'imageId': '66083635',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934289&docid=66083637&x=2534',
		'title': '',
		'imageId': '66083637',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934289&docid=66083644&x=2534',
		'title': '',
		'imageId': '66083644',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3934289';

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