var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4007030&docid=69881704&x=4930',
		'title': '',
		'imageId': '69881704',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007030&docid=69881700&x=4930',
		'title': '',
		'imageId': '69881700',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007030&docid=69881710&x=4930',
		'title': '',
		'imageId': '69881710',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007030&docid=69881702&x=4930',
		'title': '',
		'imageId': '69881702',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007030&docid=69881708&x=4930',
		'title': '',
		'imageId': '69881708',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007030&docid=69881705&x=4930',
		'title': '',
		'imageId': '69881705',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007030&docid=69881706&x=4930',
		'title': '',
		'imageId': '69881706',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007030&docid=69881703&x=4930',
		'title': '',
		'imageId': '69881703',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007030&docid=69881701&x=4930',
		'title': '',
		'imageId': '69881701',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007030&docid=69881709&x=4930',
		'title': '',
		'imageId': '69881709',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007030&docid=69881707&x=4930',
		'title': '',
		'imageId': '69881707',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4007030';

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