var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3946906&docid=63260802&x=4028',
		'title': '',
		'imageId': '63260802',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946906&docid=63260824&x=4028',
		'title': '',
		'imageId': '63260824',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946906&docid=63260803&x=4028',
		'title': '',
		'imageId': '63260803',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946906&docid=63260813&x=4028',
		'title': '',
		'imageId': '63260813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946906&docid=63260814&x=4028',
		'title': '',
		'imageId': '63260814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946906&docid=63260804&x=4028',
		'title': '',
		'imageId': '63260804',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946906&docid=63260801&x=4028',
		'title': '',
		'imageId': '63260801',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946906&docid=63260810&x=4028',
		'title': '',
		'imageId': '63260810',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946906&docid=63260809&x=4028',
		'title': '',
		'imageId': '63260809',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946906&docid=63260812&x=4028',
		'title': '',
		'imageId': '63260812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946906&docid=63260811&x=4028',
		'title': '',
		'imageId': '63260811',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3946906';

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