var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3974351&docid=69131715&x=3137',
		'title': '',
		'imageId': '69131715',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974351&docid=69131706&x=3137',
		'title': '',
		'imageId': '69131706',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974351&docid=69131705&x=3137',
		'title': '',
		'imageId': '69131705',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974351&docid=69131714&x=3137',
		'title': '',
		'imageId': '69131714',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974351&docid=69131709&x=3137',
		'title': '',
		'imageId': '69131709',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974351&docid=69131710&x=3137',
		'title': '',
		'imageId': '69131710',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974351&docid=69131708&x=3137',
		'title': '',
		'imageId': '69131708',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974351&docid=69131713&x=3137',
		'title': '',
		'imageId': '69131713',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974351&docid=69131712&x=3137',
		'title': '',
		'imageId': '69131712',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974351&docid=69131711&x=3137',
		'title': '',
		'imageId': '69131711',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974351&docid=69131707&x=3137',
		'title': '',
		'imageId': '69131707',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3974351';

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