if(!window.console||!console.firebug){var names=["log","debug","info","warn","error","assert","dir","dirxml","group","groupEnd","time","timeEnd","count","trace","profile","profileEnd"];window.console={};for(var i=0;i<names.length;++i){window.console[names[i]]=function(){}}}function loadLibrary(B){var A=document.createElement("script");A.src="../js/"+B;A.type="text/javascript";A.defer=true;document.getElementsByTagName("head")[0].appendChild(A)}function IsNumeric(C){var A="0123456789.-";var D;var B=true;if(C.length==0){return false}for(i=0;i<C.length&&B==true;i++){D=C.charAt(i);if(A.indexOf(D)==-1){B=false}}return B}function addLoadEvent(A){document.observe("dom:loaded",A)}var Cookie={set:function(A,B,C){if(C){d=new Date();d.setTime(d.getTime()+(C*1000));expiry="; expires="+d.toGMTString()}else{expiry=""}document.cookie=A+"="+B+expiry+"; path=/"},get:function(A){nameEQ=A+"=";ca=document.cookie.split(";");for(i=0;i<ca.length;i++){c=ca[i];while(c.charAt(0)==" "){c=c.substring(1,c.length)}if(c.indexOf(nameEQ)==0){return c.substring(nameEQ.length,c.length)}}return null},unset:function(A){Cookie.set(A,"",-1)}};