var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4009025&docid=69936996&x=1559',
		'title': '',
		'imageId': '69936996',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009025&docid=69937000&x=1559',
		'title': '',
		'imageId': '69937000',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009025&docid=69936995&x=1559',
		'title': '',
		'imageId': '69936995',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009025&docid=69937002&x=1559',
		'title': '',
		'imageId': '69937002',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009025&docid=69937004&x=1559',
		'title': '',
		'imageId': '69937004',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009025&docid=69937003&x=1559',
		'title': '',
		'imageId': '69937003',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009025&docid=69937001&x=1559',
		'title': '',
		'imageId': '69937001',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009025&docid=69936994&x=1559',
		'title': '',
		'imageId': '69936994',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009025&docid=69936993&x=1559',
		'title': '',
		'imageId': '69936993',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009025&docid=69936997&x=1559',
		'title': '',
		'imageId': '69936997',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009025&docid=69936998&x=1559',
		'title': '',
		'imageId': '69936998',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009025&docid=69936999&x=1559',
		'title': '',
		'imageId': '69936999',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4009025';

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