/*
 * Copyright(c) 2011-2015, HCS Building Automation
 * http://www.hcs-ba.nl
 */
/* 
 * Build date: 2015-01-30T16:58:10+00:00
 */
ns=function(){var f;for(var b,a,c=0,d=arguments.length;c<d;c++){a=arguments[c].split(".");b=window[a[0]]=window[a[0]]||{};a=a.slice(1);for(var e=0;e<a.length;e++)f=b[a[e]]=b[a[e]]||{},b=f}return b};
function loadApplet(b,a,c,d,e,j,g,h,i){var f=document.createElement("applet");f.setAttribute("code",a);f.setAttribute("codebase",c);d&&f.setAttribute("width",d);e&&f.setAttribute("height",e);f.setAttribute("archive",j);if(g instanceof Array)for(a=0;a<g.length;a++)c=g[a].name,d=g[a].value,e=document.createElement("param"),e.setAttribute("name",c),e.setAttribute("value",d),f.appendChild(e);if(h)f.className=h;i&&(g=document.createTextNode(i),f.appendChild(g));b.appendChild(f);return f}
function getUrlParameter(b,a){var c=a?a:window.location.href,b=b.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]"),c=RegExp("[\\?&]"+b+"=([^&#]*)").exec(c);return c==null?null:decodeURIComponent(c[1])}function isNumeric(b){return RegExp(/^\d+$/).test(b)}function parseBool(b){return isNumeric(b)?parseInt(b)!=0:(b+"").toLowerCase()==="true"}function parseFloatInp(b){return parseFloat((""+b).replace(",","."))}
function setCookie(b,a,c){var d=new Date;d.setDate(d.getDate()+c);a=escape(a)+(c==null?"":"; expires="+d.toUTCString());document.cookie=b+"="+a}function getCookie(b){for(var a=document.cookie.split(";"),c=0;c<a.length;c++){var d=a[c].substr(0,a[c].indexOf("=")),e=a[c].substr(a[c].indexOf("=")+1),d=d.replace(/^\s+|\s+$/g,"");if(d==b)return unescape(e)}return null};
