var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4011456&docid=69992229&x=93',
		'title': '',
		'imageId': '69992229',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011456&docid=69992222&x=93',
		'title': '',
		'imageId': '69992222',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011456&docid=69992216&x=93',
		'title': '',
		'imageId': '69992216',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011456&docid=69992227&x=93',
		'title': '',
		'imageId': '69992227',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011456&docid=69992233&x=93',
		'title': '',
		'imageId': '69992233',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011456&docid=69992228&x=93',
		'title': '',
		'imageId': '69992228',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011456&docid=69992220&x=93',
		'title': '',
		'imageId': '69992220',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011456&docid=69992218&x=93',
		'title': '',
		'imageId': '69992218',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011456&docid=69992217&x=93',
		'title': '',
		'imageId': '69992217',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011456&docid=69992221&x=93',
		'title': '',
		'imageId': '69992221',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011456&docid=69992231&x=93',
		'title': '',
		'imageId': '69992231',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011456&docid=69992226&x=93',
		'title': '',
		'imageId': '69992226',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011456&docid=69992223&x=93',
		'title': '',
		'imageId': '69992223',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011456&docid=69992224&x=93',
		'title': '',
		'imageId': '69992224',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011456&docid=69992219&x=93',
		'title': '',
		'imageId': '69992219',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011456&docid=69992234&x=93',
		'title': '',
		'imageId': '69992234',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011456&docid=69992225&x=93',
		'title': '',
		'imageId': '69992225',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011456&docid=69992230&x=93',
		'title': '',
		'imageId': '69992230',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011456&docid=69992232&x=93',
		'title': '',
		'imageId': '69992232',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011456&docid=69992235&x=93',
		'title': '',
		'imageId': '69992235',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4011456';

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