var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008790&docid=69930017&x=4548',
		'title': '',
		'imageId': '69930017',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008790&docid=69930012&x=4548',
		'title': '',
		'imageId': '69930012',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008790&docid=69930020&x=4548',
		'title': '',
		'imageId': '69930020',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008790&docid=69930022&x=4548',
		'title': '',
		'imageId': '69930022',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008790&docid=69930025&x=4548',
		'title': '',
		'imageId': '69930025',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008790&docid=69930007&x=4548',
		'title': '',
		'imageId': '69930007',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008790&docid=69930006&x=4548',
		'title': '',
		'imageId': '69930006',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008790&docid=69930014&x=4548',
		'title': '',
		'imageId': '69930014',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008790&docid=69930019&x=4548',
		'title': '',
		'imageId': '69930019',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008790&docid=69930008&x=4548',
		'title': '',
		'imageId': '69930008',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008790&docid=69930011&x=4548',
		'title': '',
		'imageId': '69930011',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008790&docid=69930015&x=4548',
		'title': '',
		'imageId': '69930015',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008790&docid=69930023&x=4548',
		'title': '',
		'imageId': '69930023',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008790&docid=69930018&x=4548',
		'title': '',
		'imageId': '69930018',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008790&docid=69930009&x=4548',
		'title': '',
		'imageId': '69930009',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008790&docid=69930024&x=4548',
		'title': '',
		'imageId': '69930024',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008790&docid=69930010&x=4548',
		'title': '',
		'imageId': '69930010',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008790&docid=69930021&x=4548',
		'title': '',
		'imageId': '69930021',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008790&docid=69930013&x=4548',
		'title': '',
		'imageId': '69930013',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008790&docid=69930016&x=4548',
		'title': '',
		'imageId': '69930016',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008790';

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