var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3986324&docid=69410658&x=3820',
		'title': '',
		'imageId': '69410658',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986324&docid=69410665&x=3820',
		'title': '',
		'imageId': '69410665',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986324&docid=69410659&x=3820',
		'title': '',
		'imageId': '69410659',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986324&docid=69410657&x=3820',
		'title': '',
		'imageId': '69410657',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986324&docid=69410664&x=3820',
		'title': '',
		'imageId': '69410664',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986324&docid=69410663&x=3820',
		'title': '',
		'imageId': '69410663',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986324&docid=69410661&x=3820',
		'title': '',
		'imageId': '69410661',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986324&docid=69410660&x=3820',
		'title': '',
		'imageId': '69410660',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986324&docid=69410662&x=3820',
		'title': '',
		'imageId': '69410662',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986324&docid=69410666&x=3820',
		'title': '',
		'imageId': '69410666',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3986324';

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