var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010415&docid=69969787&x=2252',
		'title': '',
		'imageId': '69969787',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010415&docid=69969780&x=2252',
		'title': '',
		'imageId': '69969780',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010415&docid=69969781&x=2252',
		'title': '',
		'imageId': '69969781',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010415&docid=69969779&x=2252',
		'title': '',
		'imageId': '69969779',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010415&docid=69969782&x=2252',
		'title': '',
		'imageId': '69969782',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010415&docid=69969785&x=2252',
		'title': '',
		'imageId': '69969785',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010415&docid=69969784&x=2252',
		'title': '',
		'imageId': '69969784',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010415&docid=69969783&x=2252',
		'title': '',
		'imageId': '69969783',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010415&docid=69969778&x=2252',
		'title': '',
		'imageId': '69969778',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010415&docid=69969786&x=2252',
		'title': '',
		'imageId': '69969786',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010415';

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