var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008533&docid=69924680&x=1831',
		'title': '',
		'imageId': '69924680',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008533&docid=69924696&x=1831',
		'title': '',
		'imageId': '69924696',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008533&docid=69924686&x=1831',
		'title': '',
		'imageId': '69924686',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008533&docid=69924689&x=1831',
		'title': '',
		'imageId': '69924689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008533&docid=69924694&x=1831',
		'title': '',
		'imageId': '69924694',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008533&docid=69924700&x=1831',
		'title': '',
		'imageId': '69924700',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008533&docid=69924699&x=1831',
		'title': '',
		'imageId': '69924699',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008533&docid=69924685&x=1831',
		'title': '',
		'imageId': '69924685',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008533&docid=69924697&x=1831',
		'title': '',
		'imageId': '69924697',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008533&docid=69924693&x=1831',
		'title': '',
		'imageId': '69924693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008533&docid=69924682&x=1831',
		'title': '',
		'imageId': '69924682',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008533&docid=69924678&x=1831',
		'title': '',
		'imageId': '69924678',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008533&docid=69924677&x=1831',
		'title': '',
		'imageId': '69924677',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008533&docid=69924695&x=1831',
		'title': '',
		'imageId': '69924695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008533&docid=69924681&x=1831',
		'title': '',
		'imageId': '69924681',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008533&docid=69924692&x=1831',
		'title': '',
		'imageId': '69924692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008533&docid=69924698&x=1831',
		'title': '',
		'imageId': '69924698',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008533&docid=69924684&x=1831',
		'title': '',
		'imageId': '69924684',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008533&docid=69924683&x=1831',
		'title': '',
		'imageId': '69924683',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008533&docid=69924687&x=1831',
		'title': '',
		'imageId': '69924687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008533&docid=69924688&x=1831',
		'title': '',
		'imageId': '69924688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008533&docid=69924691&x=1831',
		'title': '',
		'imageId': '69924691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008533&docid=69924690&x=1831',
		'title': '',
		'imageId': '69924690',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008533&docid=69924679&x=1831',
		'title': '',
		'imageId': '69924679',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008533';

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