//////////////////////////////////////////////
// COPYRIGHT KREATECK INTERNATIONA: 2011    //
// All Right Reserved                       //
// Copyright (c) 2011 Luis Coronado         //
// http://www.kreateck.com/                 //
// Date: 2011-07-13                         //
// Revision: 1.00                           //
//////////////////////////////////////////////
var jKmlReadyProcess=false;var jKmlReadyCheck=false;var A3=0;var nKDialogId=1;var X6=null;var jKmlMobile=false;var njKmlAjaxNo=1;jKmlCheckBrowser();(function(){var window=this,_jKml=window.jKml,_K=window.K,_$=window.$,jKml=window.jKml=window.K=window.$=function(A1,AX){return new jKml.fn.init(A1,AX);};jKml.fn=jKml.prototype={init:function(F,AX){this.X8=F;this.X9=true;this.e=A$(AX,F);if(this.e){return this;}return null;},dialog:function(O,AZ){if(this==null){return null;}if(typeof O=="string"){O=O.toUpperCase();if(O=="CLOSE"){this.remove();}else if(O=="OPEN"){this.e.show();}else if(O=="DESTROY"){jKmlDialogClose(AZ,true);}}else{return jKmlDialogCreate(this.e,O);}return null;},xmlParser:function(Ai){var AB=null;if(window.DOMParser){var A_=new DOMParser;AB=A_.parseFromString(Ai,"text/xml");}else{AB=new ActiveXObject("Microsoft.XMLDOM");AB.async="false";AB.loadXML(Ai);}return AB;},event:function(Al,H){if(this==null){return null;}if(this.e){if(this.e.addEventListener){this.e.addEventListener(Al,H,false);return true;}else if(this.e.attachEvent){this.e.attachEvent(Al,H);return true;}}return false;},ready:function(H){if(jKmlReadyProcess==true){H();}else{if(document.c==null){document.c=new Array;}document.c[document.c.length]=H;}},Obj:function(){if(this==null){return null;}return this.e;},Id:function(lpNewId){if(this==null){return null;}if(this.e){if(lpNewId){this.e.id=lpNewId;}return this.e.id;}return null;},checked:function(){if(this==null){return null;}if(this.e){if(this.e.checked){return this.e.checked;}}return null;},show:function(){if(this==null){return null;}if(this.e){if(this.e.style){this.e.style.display="block";}}},hide:function(){if(this==null){return null;}if(this.e){if(this.e.style){this.e.style.display="none";}}},find:function(W,H){if(W){W=AD(this.e,W,H);}return this;},addStyle:function(lpStyles){var $Header=document.getElementsByTagName("head")[0];var MyStyle=document.createElement("style");MyStyle.type="text/css";if(MyStyle.styleSheet){MyStyle.styleSheet.cssText=lpStyles;}else{var tt1=document.createTextNode(lpStyles);MyStyle.appendChild(tt1);}$Header.appendChild(MyStyle);},append:function(R){if(this==null){return null;}if(R&&R!=""){var M=this.e;var P=null;var Ak=false;if(M){if(M.nodeName=="TABLE"){var AA=M.getElementsByTagName("TBODY");if(typeof AA!="undefined"){if(typeof AA[0]!="undefined"){M=AA[0];}}if(M.nodeName!="TBODY"){AA=document.createElement("tbody");M=M.appendChild(AA);}}if(typeof R=="object"){if(R.e){R=R.e;}P=R;}else{try{P=document.createElement("div");var AO=R.toUpperCase();AO=this.ltrim(AO);if(AO.indexOf("<TR")==0||AO.indexOf("<TD")==0){P.innerHTML="<TABLE>"+R+"</TABLE>";P=P.firstChild;}else{P.innerHTML=R;}if(P.firstChild){if(P.firstChild.nodeName=="TBODY"){P=P.firstChild;}}}catch(error){P=document.createElement(R);}Ak=true;}Aj(M,P);if(Ak==true){A9(R);}return P;}return M;}return null;},parent:function(){if(this==null){return null;}if(this.e){var l=A8(this.e);if(l){return new jKml.fn.init(l,null);}}return null;},width:function(nNewWidth){if(this==null){return null;}var w=0;if(this.e){if(this.e.width){w=this.e.width;}else if(this.e.clientWidth){w=this.e.clientWidth;}else{w=this.css("width");}}if(typeof w=="string"){w=parseInt(w,10);}return w;},height:function(nNewHeight){if(this==null){return null;}var h=0;if(this.e){if(this.e.height){h=this.e.height;}else if(this.e.clientHeight){h=this.e.clientHeight;}else{h=this.css("Height");}}if(typeof h=="string"){h=parseInt(h,10);}return h;},empty:function(){if(this==null){return null;}if(this.e){while(this.e.firstChild){this.e.removeChild(this.e.firstChild);}if(this.e.innerHTML!=""){if(this.e.nodeName!="TABLE"){this.e.innerHTML="";}}if(this.e.textContent){this.e.textContent="";}if(this.e.text){this.e.text="";}if(this.e.value){this.e.value="";}return this;}return null;},text:function(){if(this==null){return null;}return this.val();},html:function(AW){if(this==null){return null;}if(this.e){if(AW||AW==""){this.empty();this.append(AW);}return this.e.innerHTML;}},XL:function(){if(this==null){return null;}var v=1;if(document.body.getBoundingClientRect){var Au=document.body.getBoundingClientRect();var Aw=Au.right-Au.left;var A2=document.body.offsetWidth;v=Math.round(Aw/A2*100)/100;}return v;},scrollTop:function(nScrollPosNew){if(this==null){return null;}var nScrollPos=0;var G=this.e;if(jKmlMobile==true&&X7=="AP"){G=window;}if(typeof G.pageYOffset!="undefined"){nScrollPos=G.pageYOffset;if(typeof nScrollPosNew!="undefined"){G.pageYOffset=nScrollPosNew;}}else if(typeof G.scrollTop!="undefined"){nScrollPos=G.scrollTop;if(typeof nScrollPosNew!="undefined"){G.scrollTop=nScrollPosNew;}}else if(typeof G.screenTop!="undefined"){nScrollPos=G.screenTop;if(typeof nScrollPosNew!="undefined"){G.screenTop=nScrollPosNew;}}return nScrollPos;},scrollLeft:function(nScrollPosNew){if(this==null){return null;}var nScrollPos=0;var G=this.e;if(jKmlMobile==true&&X7=="AP"){G=window;}if(G==null){G=window;}if(typeof G.pageXOffset!="undefined"){nScrollPos=G.pageXOffset;if(typeof nScrollPosNew!="undefined"){G.pageXOffset=nScrollPosNew;}}else if(typeof G.scrollLeft!="undefined"){nScrollPos=G.scrollLeft;if(typeof nScrollPosNew!="undefined"){G.scrollLeft=nScrollPosNew;}}else if(typeof G.screenLeft!="undefined"){nScrollPos=G.screenLeft;if(typeof nScrollPosNew!="undefined"){G.screenLeft=nScrollPosNew;}}return nScrollPos;},PosY:function(V){if(this==null){return null;}var Q=-1;var G=this.e;if(G){if(V||V==0){this.css("top",V);Q=V;}else{if(typeof G.offsetTop!="undefined"){Q=G.offsetTop;if(typeof G.offsetParent!="unknown"){while((G=G.offsetParent)!=null){Q+=G.offsetTop;}}}else{if(G.container!=null){Q=G.container.pageY+G.y;}else{Q=G.y;}}}}return Q;},PosX:function(V){if(this==null){return null;}var S=-1;var G=this.e;if(G){if(V||V==0){this.css("left",V);S=V;}else{if(typeof G.offsetLeft!="undefined"){S=G.offsetLeft;if(typeof G.offsetParent!="unknown"){while((G=G.offsetParent)!=null){S+=G.offsetLeft;}}}else{if(G.container!=null){S=G.container.pageX+G.x;}else{S=G.x;}}}}return S;},center:function(XI){if(this==null){return null;}if(this.e){var b=this.parent();var v=this.XL();if(b){var S=Math.round((b.width()-this.width())/2)+b.scrollLeft()/v;S=S<0||isNaN(S)?"auto":S+"px";this.css("margin-left",S);if(XI==true){var Q=Math.round((b.height()-this.height())/2)+b.scrollTop()/v;Q=Q<0||isNaN(Q)?"auto":Q+"px";this.css("top",Q);}}}},css:function(_,D){if(this==null){return null;}var AC=null;if(_){if(this.e){if(this.e.style){var B=$(this.e.style);if(typeof _=="object"){for(var C in _){B.attr(C,_[name]);}}else{AC=B.attr(_,D);}}}}return AC;},attr:function(C,D){if(this==null){return null;}if(this.e){if(C){var lpCurrValue=null;if(X7=="MS"){C=C=="margin-left"?"marginLeft":C;}else{C=C=="marginLeft"?"margin-left":C;}if(this.e[C]){lpCurrValue=this.e[C];}else if(typeof this.e.getAttribute!="undefined"){lpCurrValue=this.e.getAttribute(C);}else if(typeof this.e.getPropertyValue!="undefined"){lpCurrValue=this.e.getPropertyValue(C);lpCurrValue=this.e[C];}else{lpCurrValue=this.e[C];}if(D||D==false){if(C=="width"||C=="height"||C=="top"||C=="left"){if(typeof D=="string"){if(D.indexOf("px")<0){D=D+"px";}}else{D=D+"px";}}if(lpCurrValue!=D){if(this.e[C]){this.e[C]=D;}else if(typeof this.e.setAttribute!="undefined"){this.e.setAttribute(C,D);}else if(typeof this.e.setProperty!="undefined"){this.e.setProperty(C,D,null);if(D!=this.e[C]){this.e[C]=D;}}else{this.e[C]=D;}}}return lpCurrValue;}}return null;},removeAttr:function(BA){if(this==null){return null;}if(this.e){this.e.removeAttribute(BA);}},select:function(AS){if(this==null){return null;}if(this.e){if(this.e.nodeName=="SELECT"){var AC="";if(this.e.selectedIndex>=0){AC=this.e.options[this.e.selectedIndex];}if(AS){for(var t=0;t<this.e.options.length;t++){if(this.e.options[t].value==AS){this.e.selectedIndex=t;}}}else if(AS==""){if(this.e.length>0){this.e.selectedIndex=0;}else{this.e.selectedIndex=-1;}}return AC;}}return null;},valFloat:function(a){var XG=0;if(typeof a!="undefined"){XG=a;}else{XG=this.val();}XG=parseFloat(XG);if(isNaN(XG)==true){XG=0;}return XG;},val:function(D){if(this==null){return null;}var XF=null;if(this.e){if(D==""&&this.e.nodeName!="SELECT"){XF=this.empty();}else{if(this.e.nodeName=="INPUT"||this.e.nodeName=="TEXTAREA"){if(typeof D!="undefined"){this.e.value=D;}XF=this.e.value;}else if(this.e.nodeName=="SELECT"){XF=this.select(D).value;}else if(this.e.innerHTML){XF=this.html(D);}else if(this.e.text){if(typeof D!="undefined"){this.e.text=D;}XF=this.e.text;}else if(this.e.textContent){if(typeof D!="undefined"){this.e.textContent=D;}XF=this.e.textContent;}}}if(XF==null){XF="";}return XF;},each:function(H){if(this==null){return null;}if(this.e){A6(this.e,H);}return null;},addClass:function(N){if(this==null){return null;}Ad(this.e,N);A7(this.e,N);return null;},removeClass:function(N){if(this==null){return null;}if(N==null){if(this.attr("findType")=="2"){N=this.attr("findName");if(N){N=N.replace(/\./g,"");}}}Ad(this.e,N);return null;},hasClass:function(T){if(this==null){return null;}return Aa(this.e,T);},trim:function(AE,U){if(this==null){return null;}return this.ltrim(this.rtrim(AE,U),U);},ltrim:function(AE,U){if(this==null){return null;}if(AE){U=U||"\\s";return AE.replace(new RegExp("^["+U+"]+","g"),"");}return AE;},rtrim:function rtrim(AE,U){if(this==null){return null;}if(AE){U=U||"\\s";return AE.replace(new RegExp("["+U+"]+$","g"),"");}return AE;},ajax:function(At,Ap,Ab,AL,q,p,AR,n){if(this==null){return null;}jKmlAjax(this.e,At,Ap,Ab,AL,q,p,AR,n);return null;},data:function(g,a){if(this==null){return null;}if(this.e){if(this.e.KQueue==null){this.e.KQueue=new Array;}if(g){if(typeof a!="undefined"){this.e.KQueue[g]=a;}return this.e.KQueue[g];}}return null;},removeData:function(g){if(this==null){return null;}if(this.e){this.e.KQueue.splice(g,1);}return null;},remove:function(){if(this==null){return null;}if(this.e){this.empty();var b=this.e.parentNode;if(b){b.removeChild(this.e);}}}};jKml.fn.init.prototype=jKml.fn;this.X8=null;this.e=null;this.X9=false;this.kQueue=null;this.c=null;this.BH=X7;})();function A8(B){if(B){if(B.parentNode){return B.parentNode;}else if(B.parentElement){return B.parentElement;}}return null;}function Aj(M,o){if(o.firstChild){while(o.firstChild){M.appendChild(o.firstChild);}}else if(o.nodeName!="TBODY"){return M.appendChild(o);}return o;}function A$(B,F){var I=null;if(typeof F==="string"){if(B){if(B.X9){B=B.e;}}var lpTmpSelector=$().trim(F);if(lpTmpSelector.charAt(0)=="<"&&lpTmpSelector.charAt(lpTmpSelector.length-1)==">"){var M=document.createElement("DIV");if(M){M.innerHTML=F;I=M.firstChild;$(M).remove();}if(B){Aj(B,I);}B=I;}else{B=AD(B,F,null);}}else if(F){if(F.X9){B=F.e;}else{B=F;}}else{if(X7=="MS"){B=document.documentElement;}else{B=document.body;}}return B;}function Aa(B,T){var AM=new Array;var AU=0;if(T&&B){T=T.replace(/\./g," ");T=jKml.trim(T);AM=T.split(" ");if(B.className){var lpObjclass=B.className;lpObjclass=jKml.trim(lpObjclass);if(lpObjclass){var N=lpObjclass.split(" ");AU=0;for(var j=0;j<N.length;j++){for(var k=0;k<AM.length;k++){if(N[j]==AM[k]){AU++;if(AU==AM.length){return true;}}}}}}}return false;}function A7(B,N){var s,t;if(B&&N){var Ae=$().trim(N).split(",");for(t=0;t<Ae.length;t++){B.className+=" "+Ae[t];}}}function Ad(B,N){var s,t,u;u=0;if(B&&N){if(typeof B.className!="undefined"){var AN=$().trim(B.className).split(" ");var Ah=$().trim(N).split(",");if(typeof AN!="undefined"){if(typeof Ah!="undefined"){for(t=0;t<Ah.length;t++){for(s=0;s<AN.length;s++){if(AN[s]==Ah[t]){AN.splice(s,1);s=s-1;u++;}}}if(u>0){B.className=AN.join(" ");}}}}}}function A6(B,H){var AJ=null;var Af=null;var Ac=null;var AU=0;AJ=B;if(B){if(B.length){for(t=0;t<B.length;t++){H.call(B[t]);}}else{Af=$(AJ).attr("findType");switch(Af){case"2":var An=$(AJ).attr("findName");var l=Ag;if(An&&l){var lpElements=null;if(typeof l.elements!="undefined"){lpElements=l.elements;}else{lpElements=l.getElementsByTagName("*");}if(lpElements){for(var i=0;i<lpElements.length;i++){var cElement=lpElements[i];if(Aa(lpElements[i],An)==true){H.call(lpElements[i]);AU++;}}}}break;case"3":var XT=$(AJ).attr("findName");if(XT){XT=XT.toUpperCase();while(B!=null){if(B.tagName){Ac=B.tagName.toUpperCase();if(Ac==XT){H.call(B);AU++;}}B=B.nextSibling;}}break;default:;}if(AU==0){H.call(B);}}}}var Ag=null;function AD(B,C,H){var I=null;var x=C.search(" ");var F="";var AH=0;if(B==null||B==undefined){B=document;}if(x>0){F=C.substr(0,x);C=C.substr(x+1);}else{F=C;C="";}if(F){switch(F.charAt(0)){case"#":F=F.substr(1);I=A0(B,F);AH="l";break;case".":I=Ay(B,F);AH="2";break;default:I=Ax(B,F);AH="3";break;}if(I){$(I).attr("findType",AH);$(I).attr("findName",F);Ag=B;}if(C!=""){if(I){B=I;I=null;if(B.length){x=0;while(x<B.length&&I==null){I=AD(B[x],C,H);x=x+1;}}else if(B.nextSibling){while(B!=null&&I==null){I=AD(B,C,H);B=B.nextSibling;}}else{I=AD(B,C,H);}}}if(C==""){if(I){if(H){H(I);}}}}return I;}function A0(B,W){try{return B.getElementById(W);}catch(error){B=A4(B,"id",W);if(B){return B;}}if(document.getElementById){return document.getElementById(W);}else if(document.all){return window.document.all[W];}else if(document.layers){return window.document.layers[W];}return null;}function Ay(B,T){var lpElements=null;if(T&&B){if(typeof B.elements!="undefined"){lpElements=B.elements;}else if(typeof B.getElementsByTagName!="undefined"){lpElements=B.getElementsByTagName("*");}if(lpElements){for(var i=0;i<lpElements.length;i++){if(Aa(lpElements[i],T)==true){return lpElements[i];}}}}return null;}function Ax(B,XT){if(typeof B.getElementsByTagName!="undefined"){B=B.getElementsByTagName(XT);if(B){return B[0];}}return null;}function A4(B,A5,a){var lpElements=null;if(a&&B){if(typeof B.elements!="undefined"){lpElements=B.elements;}else if(typeof B.getElementsByTagName!="undefined"){lpElements=B.getElementsByTagName("*");}if(lpElements){for(var i=0;i<lpElements.length;i++){var cElement=lpElements[i];if(cElement[A5]==a){return lpElements[i];}}}}return null;}function jKmlCSS(B,F,g,D){if(B){var AK=new Array;var AG=null;var t=0;if(document.styleSheets[0].cssRules){AK=document.styleSheets[0].cssRules;}else if(document.styleSheets[0].rules){AK=document.styleSheets[0].rules;}for(t in AK){AG=AK[t];if(AG.BI==F){if(D){AG.style[g]=D;}return AG.style[g];break;}}}}function A9(lpHtml){var lpRecurses=/<script\b[\s\S]*?>([\s\S]*?)<\/script/gi;var lpMatch;while((lpMatch=lpRecurses.exec(lpHtml))){eval(lpMatch[1]);}}function jKmlAjax(B,At,Ap,Ab,AL,q,p,AR,n,bSSL){var lpXmlResponse=null;var lpDataFromCache=null;if(B){B.nAjaxNo=njKmlAjaxNo++;B.f=null;B.r=Ab;B.q=q;B.p=p;B.AR=AR;B.n=n;B.nTries=0;if(AL){if(B.r.indexOf("?")<0){B.r+="?";}B.r+=AL;}if(B.q){B.q(B.id,B.nAjaxNo);}if(B.Ajax.Av==false){lpDataFromCache=$().data(escape(B.r));if(lpDataFromCache){if(B.n){B.n(B.id,B.nAjaxNo);}if(B.p){lpXmlResponse=$().xmlParser(lpDataFromCache);if(lpXmlResponse!=null){B.f=lpXmlResponse.getElementsByTagName("ROOT")[0];}B.p(B,B.f,lpDataFromCache);}return;}}jKmlAjax_Call(B);}}function jKmlAjax_Call(B){if(B){if(X7=="MS"){B.xhr=new ActiveXObject("Microsoft.XMLHTTP");}else{B.xhr=new XMLHttpRequest;}B.xhr.onreadystatechange=function(){jKmlAjax_Machine(B);};B.xhr.open("GET",B.r,true);B.xhr.send(null);B.f=null;B.nTries++;}}function jKmlAjax_Machine(B){var lpXmlResponse=null;if(B){switch(B.xhr.readyState){case 0:break;case 1:break;case 2:break;case 3:break;case 4:if(B.xhr.status==200&&B.xhr.responseText!=""){if(B.f==null){if(B.xhr.responseXML){B.f=B.xhr.responseXML.getElementsByTagName("ROOT")[0];}else{lpXmlResponse=$().xmlParser(B.xhr.responseText);if(lpXmlResponse!=null){B.f=lpXmlResponse.getElementsByTagName("ROOT")[0];}}}if(B.n){B.n(B.id,B.nAjaxNo);}if(B.p){if(B.Ajax.Av==false){$().data(escape(B.r),B.xhr.responseText);}B.p(B,B.f,B.xhr.responseText);}}else{if(B.nTries<5){jKmlAjax_Call(B);}else{if(B.n){B.n(B.id,B.nAjaxNo);}if(B.AR){B.AR(B,B.xhr,B.xhr.status,"Error");}}}break;default:;}}}function jKmlPreventScroll(lpEvent){lpEvent.preventDefault();}function jKmlDialogCreate(AF,O){var d=null;var Aq=0;var AZ=null;var nWidth=700;var Aq=430;var HB="";var z="";var J=null;var lpzCaptionBar=null;var lpzIconClose="Icon_Close";var lpzBkgFrame="FrameLG";if(AF){AF=$(AF);if(AF.e){var AT=false;var AI=false;var Az=false;var BD=false;var As="";var Ar=false;z="DIALOG_"+nKDialogId;d=$("<div/>");d.addClass("KOverlay Hidden");$().append(d.e);if(jKmlMobile==true){d.css("height",$().Obj().scrollHeight+"px");}else{d.PosY($().scrollTop()+"px");}J=$("<div></div>");J.addClass("KDialog");for(var C in O){if(C=="title"){AT=true;As=O[C];}else if(C=="close"){AT=true;Az=true;}else if(C=="id"){z=O[C];}else if(C=="modal"){AI=true;}else if(C=="autoOpen"){Ar=true;}else if(C=="closeOnEscape"){}else if(C=="width"){nWidth=O[C];}else if(C=="height"){Aq=O[C];}else if(C=="captionBar"){lpzCaptionBar=O[C];}else if(C=="IconClose"){lpzIconClose=O[C];}else if(C=="frameBkg"){lpzBkgFrame=O[C];}else{J.css(C,O[C]);}}J.css("width",nWidth);J.css("height",Aq);J.Id(z);if(AI==true){d.Id(z+"_OVERLAY");d.removeClass("Hidden");X6=$("body").css("overflow","hidden");}else{d.remove();}AZ=$();AZ.append(J.e);if(jKmlMobile==true){J.center(true);J.PosY($().scrollTop()+"px");}else{J.center(true);}if(Ar==true){J.show();}HB="<div>"+Html_ShadowFrameStart(lpzBkgFrame);HB+="<div id=\"CAPTION_"+nKDialogId+"\"></div>";HB+="<div id=\"CONTENT_"+nKDialogId+"\"></div>";HB+=Html_ShadowFrameEnd(lpzBkgFrame)+"</div>";$(J).append(HB);if(AT==true){$("#CAPTION_"+nKDialogId).append(Html_Bar_Navigation(As,null,"javascript:jKmlDialogClose('"+z+"',true);",lpzCaptionBar,null,lpzIconClose));}J.Content=$("#CONTENT_"+nKDialogId);J.Content.css("overflow","auto");Aq=parseInt(J.css("height"))-(J.Content.PosY()-J.PosY(),10);J.Content.css("height",Aq);J.Content.append(AF.e);nKDialogId=nKDialogId+1;}}return J;}function jKmlDialogClose(z,AI){var J=$("#"+z);if(J){J.remove();}$("#"+z+"_OVERLAY").remove();$("body").css("overflow",X6);}function jKmlCheckIfReady(){if(jKmlReadyCheck==true){return;}if(document.addEventListener){if(document.readyState=="loading"){if(A3++<5){var t=setTimeout("jKmlCheckIfReady()",100);return;}}jKmlReadyCheck=true;jKmlOnReady();}else if(document.attachEvent){jKmlReadyCheck=true;if(document.documentElement.doScroll&&window==window.top){(function(){if(jKmlReadyProcess){return;}try{document.documentElement.doScroll("left");}catch(error){setTimeout(arguments.callee,0);return;}jKmlOnReady();})();}}}function jKmlCheckBrowser(){var cUserAgent=navigator.userAgent.toLowerCase();if(navigator.appName=="Microsoft Internet Explorer"){X7="MS";}else if(/chrome\/4/.test(cUserAgent)==true){X7="CR";}else if(/webkit/.test(cUserAgent)==true){X7="SA";}else if(/opera/.test(cUserAgent)==true){X7="OP";}else if((/mozilla/.test(cUserAgent)&&!/(compatible|webkit)/.test(cUserAgent))==true){X7="MO";}if(cUserAgent.indexOf("iphone")!=-1){X7="AP";jKmlMobile=true;}else if(cUserAgent.indexOf("ipad")!=-1){X7="AP";jKmlMobile=true;}else if(cUserAgent.indexOf("ipod")!=-1){X7="AP";jKmlMobile=true;}else if(cUserAgent.indexOf("mobile")!=-1){jKmlMobile=true;}else{jKmlMobile=false;}return jKmlMobile;}function jKmlOnReady(){jKmlReadyProcess=true;if(document.c){while(document.c.length>0){var H=document.c[0];document.c.splice(0,1);H();}}}var jKml=$();jKmlCheckIfReady();function jKmlSwitchProtocol(lpNewProtocol){if(location.protocol.toLowerCase()!=lpNewProtocol){if(lpNewProtocol=="https:"){location.href=location.href.replace("http:","https:");}else{location.href=location.href.replace("https:","http:");}}}var jKmlReadyProcess=false;var j
