var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4005226&docid=69843892&x=1634',
		'title': '',
		'imageId': '69843892',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005226&docid=69843905&x=1634',
		'title': '',
		'imageId': '69843905',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005226&docid=69843920&x=1634',
		'title': '',
		'imageId': '69843920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005226&docid=69843923&x=1634',
		'title': '',
		'imageId': '69843923',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005226&docid=69843929&x=1634',
		'title': '',
		'imageId': '69843929',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005226&docid=69843960&x=1634',
		'title': '',
		'imageId': '69843960',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005226&docid=69843977&x=1634',
		'title': '',
		'imageId': '69843977',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005226&docid=69844024&x=1634',
		'title': '',
		'imageId': '69844024',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005226&docid=69844055&x=1634',
		'title': '',
		'imageId': '69844055',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005226&docid=69844064&x=1634',
		'title': '',
		'imageId': '69844064',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005226&docid=69844067&x=1634',
		'title': '',
		'imageId': '69844067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4005226';

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