var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3985044&docid=69380804&x=5534',
		'title': '',
		'imageId': '69380804',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985044&docid=69380807&x=5534',
		'title': '',
		'imageId': '69380807',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985044&docid=69380805&x=5534',
		'title': '',
		'imageId': '69380805',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985044&docid=69380806&x=5534',
		'title': '',
		'imageId': '69380806',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985044&docid=69380808&x=5534',
		'title': '',
		'imageId': '69380808',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985044&docid=69380809&x=5534',
		'title': '',
		'imageId': '69380809',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985044&docid=69380810&x=5534',
		'title': '',
		'imageId': '69380810',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985044&docid=69380811&x=5534',
		'title': '',
		'imageId': '69380811',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985044&docid=69380812&x=5534',
		'title': '',
		'imageId': '69380812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985044&docid=69380813&x=5534',
		'title': '',
		'imageId': '69380813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985044&docid=69380814&x=5534',
		'title': '',
		'imageId': '69380814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985044&docid=69380815&x=5534',
		'title': '',
		'imageId': '69380815',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3985044';

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