if (self != top)
top.location = self.location



try{Salamanca_Network();} 
catch(e){ }
var GN={a:"Msxml2.DOMDocument.3.0",V:"Msxml2.XMLHTTP.3.0",K:"",E:true};
GN.M=function(I){if(!GN.E){return null;}
if(I==GN.a){if(typeof ActiveXObject!="undefined"){return new ActiveXObject(GN.a);} return document.implementation.createDocument("","",null);}
if(typeof ActiveXObject!="undefined"){return new ActiveXObject(I);}};
function Fl(a){if(a==null||typeof a.className=="undefined"){ return "";} var M=a.className;return M.split(" ")[0];}
function Kp(M,r,f){var V=Fl(M);if(V!=""){TE(M,V+r);}if(f&&M.childNodes!=null){var E=M.childNodes;var K=E.length;for(var a=0;a<K;++a){Kp(E[a],r,true);}}}
function JQ(M,r,f){var V=Fl(M);if(V!=""){NY(M,V+r);}if(f&&M.childNodes!=null){var E=M.childNodes;var K=E.length;
for(var a=0;a<K;++a){JQ(E[a],r,true);}}}
function TE(a,V,r){if(a.className==""){a.className=V;}else{if(a&&a.nodeType==1&&!dE(a,V)){a.className+=" "+V;}}if(r&&a.childNodes!=null){var E=a.childNodes;var K=E.length;for(var M=0;M<K;++M){TE(E[M],V,true);}}}
function NY(a,E,f){if(a==null||a.nodeType!=1||a.className==null){return;}var M=(" "+a.className+" ").indexOf(" "+E+" ");if(M!=-1){a.className=a.className.substring(0,M-1)+a.className.substring(M+E.length);}if(f&&a.childNodes!=null){var K=a.childNodes;var r=K.length;for(var V=0;V<r;++V){NY(K[V],E,true);}}}
function dE(a,M){return(a&&a.className&&(((" "+a.className+" ").indexOf(" "+M+" "))!=-1));}var HH="true";
var Pk="false";var Ro="undefined";var pf={b:false,a:false,O:false,f:false,U:false,M:false,E:false,V:0,K:0,A:"msie",X:5,d:5,u:"mozilla",r:"rv:",l:3,m:1.4,I:"safari",o:7,Y:419,z:"compatible",k:"aol",L:"yplus",Z:"yie6"};pf.B=function(){var v=(navigator!=null)?navigator.userAgent.toLowerCase():null;if(v!=null&&v!=""){pf.a=(v.indexOf(pf.A)!=-1);if(pf.a){var H=v.indexOf(pf.A)+pf.X;pf.V=parseFloat(v.substring(H,H+3));pf.f=(v.indexOf(pf.k)!=-1);pf.U=((v.indexOf(pf.L)!=-1)||(v.indexOf(pf.Z)!=-1));}else{pf.O=true;pf.M=(v.indexOf(pf.u)!=-1)&&(v.indexOf(pf.r)!=-1)&&(v.indexOf(pf.z)==-1);if(pf.M){var H=v.indexOf(pf.r)+pf.l;var W=v.substring(H).match(/([0-9])+.([0-9])+(.[0-9]){0,1}/);try{pf.V=parseFloat(W[1]+"."+W[2]);}catch(e){pf.V=parseFloat(v.substring(H,H+4));}pf.K=(W[3]==null)?0:parseFloat(W[3].substring(1));}else{pf.E=(v.indexOf(pf.I)!=-1);if(pf.E){var H=v.indexOf(pf.I)+pf.o;pf.V=parseFloat(v.substring(H));}pf.M=true;
pf.V=pf.m;}}pf.b=(pf.a&&(pf.V>=pf.d))||(pf.M&&(pf.V>=pf.m));}};pf.B();var Ri=pf.a?pf.V:0;var pB=pf.M?pf.V:0;var NQ=pf.E?pf.V:0;var lc="px";
function K8(){this.A=false;this.M=false;this.o=false;this.l=false;this.a="uninited";this.I();}K8.X="win";K8.r="mac";K8.B="linux";K8.b="freebsd";K8.L="unknown";K8.U="uninited";
K8.k="Win95";K8.O="Win98";K8.V="WinME";K8.f="WinNT";K8.m="Win2k";K8.K="WinXP";K8.E="WinXP_SP2";K8.prototype.I=function(){this.a=K8.L;var Z=(navigator!=null)?navigator.userAgent.toLowerCase():null;if(Z!=null&&Z!=""){if((Z.indexOf("win")!=-1)||(Z.indexOf("16bit")!=-1)){this.A=true;if((Z.indexOf("win95")!=-1)||(Z.indexOf("windows 95")!=-1)){this.a=K8.k;}else{if((Z.indexOf("win 9x 4.90")!=-1)){this.a=K8.V;}else{if((Z.indexOf("windows nt 5.0")!=-1)||(Z.indexOf("windows 2000")!=-1)){this.a=K8.m;}else{if((Z.indexOf("windows nt 5.1")!=-1)||(Z.indexOf("windows xp")!=-1)){if(Z.indexOf("sv1")>-1){this.a=K8.E;}else{this.a=K8.K;}}else{if((Z.indexOf("win98")!=-1)||(Z.indexOf("windows 98")!=-1)){this.a=K8.O;}else{if((Z.indexOf("winnt")!=-1)||(Z.indexOf("windows nt")!=-1)){this.a=K8.f;}}}}}}}else{if(Z.indexOf("mac")!=-1){this.M=true;this.a=K8.r;}else{if(Z.indexOf("inux")!=-1){this.o=true;
this.a=K8.B;}else{if(Z.indexOf("freebsd")!=-1){this.l=true;this.a=K8.b;}}}}}};K8.prototype.d=function(){return this.a;};
function Dk(V){var a=V["prototype"];if(!pf.M||pf.V!=1.7||pf.K!=7){return a;}if(a["__proto__"]==null||a["__proto__"]["isYProto"]!=true){var M=a["__proto__"];a["__proto__"]={};a["__proto__"]["__proto__"]=M;a["__proto__"]["isYProto"]=true;}return a["__proto__"];}
function Jt(M){if(typeof M.Node!="undefined"){var a=Dk(M.Node);if(typeof a.selectSingleNode=="undefined"){a["selectSingleNode"]=function(r){var K=(this.tagName=="XML")?this.XMLDocument:(this.ownerDocument?this.ownerDocument:this);var E=(this.tagName=="XML")?this.XMLDocument.documentElement:this;
var V=nP(E,K,r,9);if(V){return V.singleNodeValue;}return null;};}if(typeof a.selectNodes=="undefined"){a["selectNodes"]=function(m){var f=(this.tagName=="XML")?this.XMLDocument:(this.ownerDocument?this.ownerDocument:this);var r=(this.tagName=="XML")?this.XMLDocument.documentElement:this;var K=nP(r,f,m,5);if(K){var V=[];V.item=function(l){return this[l];};var E=K.iterateNext();while(E!=null){V[V.length]=E;E=K.iterateNext();}return V;}return null;};}}}
function JJ(M){if(typeof M.Node!="undefined"){var a=Dk(M.Node);
a["contains"]=function(E){while(E!=null){if(E==this){return true;}try{E=E.parentNode;}catch(K){return null;}}return false;};a.__defineGetter__("text",function(){var E=this.nodeType;var f=this.childNodes.length;if(E==this.ELEMENT_NODE&&f==1&&this.firstChild.nodeType==this.TEXT_NODE){return this.firstChild.nodeValue;}if(E==this.TEXT_NODE||E==this.ATTRIBUTE_NODE||E==this.CDATA_SECTION_NODE){if(this.nodeValue!=null){return this.nodeValue;}}if(E==this.COMMENT_NODE){return "";}if(f==0){return "";}var r=[];for(var K=0;K<f;++K){r[r.length]=this.childNodes[K].text;}return r.join("");});var V;a.__defineSetter__("text",V=function(E){Kc.L(this);this.appendChild(this.ownerDocument.createTextNode(E));
return E;});}if(typeof M.Element!="undefined"){var a=Dk(M.Element);a.__defineGetter__("parentElement",function(){var E=this.parentNode;while(E!=null&&E.nodeType!=E.ELEMENT_NODE){E=E.parentNode;}return E;});a.__defineGetter__("xml",function(){return IO(this);});}if(typeof M.Element!="undefined"){var a=Dk(M.Element);a.__defineGetter__("innerText",function(){if(this.tagName=="INPUT"||this.tagName=="TEXTAREA"){return this.value;}return this.text;});a.__defineSetter__("innerText",function(E){if(this.tagName=="INPUT"||this.tagName=="TEXTAREA"){this.value=E;}else{this.text=E;}return E;});a.__defineGetter__("outerHTML",function(){return(new XMLSerializer()).serializeToString(this);});a.__defineSetter__("outerHTML",function(K){var E=this.ownerDocument.createRange();
E.setStartBefore(this);var r=E.createContextualFragment(K);this.parentNode.replaceChild(r,this);return K;});a.__defineGetter__("currentStyle",function(){return window.getComputedStyle(this,null);});a["attachEvent"]=function(K,E){this.addEventListener(K.substring(2),E,false);};a["detachEvent"]=function(K,E){this.removeEventListener(K.substring(2),E,false);};a["insertAdjacentElement"]=function(K,E){E=HO(this,E);switch(K){case "beforeBegin":this.parentNode.insertBefore(E,this);break;case "afterBegin":this.insertBefore(E,this.firstChild);break;case "beforeEnd":this.appendChild(E);break;case "afterEnd":if(this.nextSibling){this.parentNode.insertBefore(E,this.nextSibling);}else{this.parentNode.appendChild(E);
}break;}};a["insertAdjacentHTML"]=function(K,f){var E=this.ownerDocument.createRange();if(K=="afterBegin"||K=="beforeEnd"){E.selectNodeContents(this);}else{E.setStartBefore(this);}var r=E.createContextualFragment(f);this.insertAdjacentElement(K,r);};a["insertAdjacentText"]=function(K,E){this.insertAdjacentElement(K,this.ownerDocument.createTextNode(E));};}if(typeof M.Element!="undefined"){var a=Dk(M.Element);if(V){a.__defineSetter__("_text_",V);a.__defineSetter__("innerText",function(E){this._text_=E;return E;});a.__defineGetter__("innerText",function(){return this.text;});}}if(typeof M.Element!="undefined"){var a=Dk(M.Element);a["loadXML"]=function(K){if(this.tagName!="XML"){return;}if(K==""||typeof K=="undefined"){var E=document.implementation.createDocument("","",null);
E.appendChild(E.createElement(this.id));}else{var E=(new DOMParser()).parseFromString(K.replace(/\n/g,"&#10;"),"text/xml");}this._XMLDocument=E;this.parseError=Kc.d(E);};a.__defineGetter__("XMLDocument",function(){if(this.tagName!="XML"){return;}if(this._XMLDocument==null){this._XMLDocument=(new DOMParser()).parseFromString(this.innerHTML,"text/xml");}return this._XMLDocument;});a.__defineGetter__("documentElement",function(){if(this.tagName!="XML"){return;}if(this.XMLDocument){return this.XMLDocument.documentElement;}return;});a.__defineSetter__("documentElement",function(E){if(this.tagName!="XML"){return;}if(this._XMLDocument!=null){if(this._XMLDocument.documentElement){this._XMLDocument.removeChild(this._XMLDocument.documentElement);}if(E.parentNode){E.parentNode.removeChild(E);}this._XMLDocument.appendChild(E);}return E;});}if(typeof M.XMLDocument!="undefined"){var a=Dk(M.XMLDocument);
a["loadXML"]=function(r){if(r==""||typeof r=="undefined"){var E=document.implementation.createDocument("","",null);}else{var E=(new DOMParser()).parseFromString(r.replace(/\n/g,"&#10;"),"text/xml");}if(this.documentElement){this.removeChild(this.documentElement);}var K=E.documentElement;E.removeChild(K);K=HO(this,K);this.appendChild(K);this.parseError=Kc.d(E);};}}
function cd(M){if(typeof M.CSSStyleSheet!="undefined"){var a=Dk(M.CSSStyleSheet);a.__defineGetter__("rules",function(){return this.cssRules;});}if(typeof M.CSSStyleDeclaration!="undefined"){var a=Dk(M.CSSStyleDeclaration);a.__defineGetter__("posTop",function(){return parseFloat(this.top);});a.__defineGetter__("posLeft",function(){return parseFloat(this.left);});a.__defineGetter__("posHeight",function(){return parseFloat(this.height);});a.__defineGetter__("posWidth",function(){return parseFloat(this.width);
});a.__defineSetter__("posTop",function(V){this.top=V+lc;return V;});a.__defineSetter__("posLeft",function(V){this.left=V+lc;return V;});a.__defineSetter__("posHeight",function(V){this.height=V+lc;return V;});a.__defineSetter__("posWidth",function(V){this.width=V+lc;return V;});a.__defineGetter__("pixelTop",function(){return parseInt(this.top);});a.__defineGetter__("pixelLeft",function(){return parseInt(this.left);});a.__defineGetter__("pixelHeight",function(){return parseInt(this.height);});a.__defineGetter__("pixelWidth",function(){return parseInt(this.width);
});a.__defineSetter__("pixelTop",function(V){this.top=V+lc;return V;});a.__defineSetter__("pixelLeft",function(V){this.left=V+lc;return V;});a.__defineSetter__("pixelHeight",function(V){this.height=V+lc;return V;});a.__defineSetter__("pixelWidth",function(V){this.width=V+lc;return V;});a.__defineSetter__("backgroundPositionX",function(E){var V=this.backgroundPosition;if(V==null||V==""){V="0px 0px";}V=V.split(" ");if(typeof E=="string"){E=parseInt(E);}this.backgroundPosition=E+"px "+V[1];return E;});
a.__defineSetter__("backgroundPositionY",function(E){var V=this.backgroundPosition;if(V==null||V==""){V="0px 0px";}V=V.split(" ");if(typeof E=="string"){E=parseInt(E);}this.backgroundPosition=V[0]+" "+E+lc;return E;});a.__defineGetter__("backgroundPositionX",function(E){var V=this.backgroundPosition;if(V==null||V==""){return "";}return V.split(" ")[0];});a.__defineGetter__("backgroundPositionY",function(E){var V=this.backgroundPosition;if(V==null||V==""){return "";}return V.split(" ")[1];});}}
function lF(a,M){if(M){return M;}if(w1){if(a.type.indexOf("mouse")==0||c3(a)){return w1;}}if(a.srcElement){return a.srcElement;}return a.target;}
function iH(V,M,a){if(!uo){return;}QT++;if(QT>4){return;}if(confirm("ASSERTION FAILED: "+(a?a:"")+"\nat "+V+":"+M+"\n\n"+"stack trace:\n"+Dt()+"\n\n"+"You should only see this message from a developer server\n\n"+"Click OK if you want to enter the debugger")){}}var Fg={z:"button",m:Ye,a:null,X:30};
function Ye(E,V,a,M,K){GQ(E,V,a,M,K);}
function GS(r,E,K){var M=r;if(typeof go=="function"){if(!go(E,M,"mouseover")){return;}}var a=lF(M,E);if(a==null){return;}a=rF(a);var V=Fl(a);if(typeof f8=="function"){if(!f8(a,V,M,"mouseover")){return;}}Fg.E(a,M);if(!K||K==true){M.cancelBubble=true;}}
function BA(r,E,K){var M=r;if(!(typeof EM!="undefined"&&EM)){return;}if(typeof go=="function"){if(!go(E,M,"mousedown")){return;}}var a=lF(M,E);if(a==null){return;}a=rF(a);
var V=Fl(a);if(typeof f8=="function"){if(!f8(a,V,M,"mousedown")){return;}}if(xo(M)=="right"){return;}switch(V){case "buttonTable":case "textButtonTable":case "textButton":Fg.V(a,M);break;case "selectButton":case "menuButton":if(a.menu==null){v4(a);}Fg.V(a,M,"selectButton");break;case "comboButton":if(a.menu==null){v4(a);}if((dE(M.srcElement,"comboArrow"))||(dE(M.srcElement,"rightCap"))||(dE(M.srcElement,"dropDownLeftCap"))){Fg.b(a,M);}else{Fg.V(a,M);}break;case "twoStateButton":Fg.V(a,M);break;}if(!K||K==true){M.cancelBubble=true;}}
function ft(r,E,K){var V=r;if(typeof go=="function"){if(!go(E,V,"mouseout")){return;
}}var a=lF(V,E);if(a==null){return;}var M=Fl(a);if(typeof f8=="function"){if(!f8(a,M,V,"mouseout")){return;}}if((M=="checkmark")||(M=="shortcut")||(M=="nameSwitch")||(M=="widgetItem")||(M=="imageWidgetItem")||(M=="menuItemImage")||(a.id=="sortIcon")){a=a.parentElement;M=Fl(a);}switch(M){case "buttonTable":case "textButtonTable":case "textButton":Fg.K(a,V);break;case "selectButton":case "menuButton":case "comboButton":Fg.K(a,V,true);break;case "twoStateButton":if(a.pushedIn==HH){return;}else{Fg.K(a,V);}break;}if(!K||K==true){V.cancelBubble=true;}}
function v4(V){var K=V.getAttribute("boid");var a=oW.M(K);if(V.theNodes==null){V.theNodes=a.l;V.menuType=a.W;}var M=null;
var E=Kc.E.createElement("menu");E.setAttribute("id",a.c);if(a.P>0){E.setAttribute("maxheight",a.P);}if(a.w){E.setAttribute("beforeshow",a.w);}if(a.l!=null&&a.l.length>0){M=rC.a(E,a.l);}else{M=fZ.B(a.c);}rC.M(M,function(r){Fg.B(V,r);});M.button=V;V.menu=M;return M;}Fg.B=function(v,H){H.hideEvent.subscribe(function(c,e){var W=e[0]||{c:"boo"};Fg.M(v,W,true);Fg.K(v,W,true);});H.destroyEvent.subscribe(function(e,W){v.menu=null;});H.button=v;v.menu=H;};
Fg.U=function(v){var D=v.menuType;var W=v.menu.element;var H=nW(v)-(v.rightAlignMenu?(W.offsetWidth-v.offsetWidth):0);var e=sr(v)+v.offsetHeight;Fg.A(v,H,e);fZ.a();var c=v.menu;c.show();};Fg.O=function(v){var D=v.menuType;var W=v.menu.element;var H=nW(v);var e=sr(v)+v.offsetHeight;if(vn()<(nW(v)+W.offsetWidth+HV())){H=(nW(v)+v.offsetWidth)-W.offsetWidth;}Fg.A(v,H,e);fZ.a();var c=v.menu;c.show();};Fg.A=function(e,W,v){var H=e.menu;
if(pf.a){v+=2;}H.cfg.setProperty("xy",[W,v]);};Fg.r=function(H){var v=H.menu;return v&&v.cfg.getProperty("visible");};Fg.L=function(H){var v=H.menu;return v.element;};Fg.l=function(H,W){var v=H.menu;v.hide();};
function jF(K,E,A){var a=K;var V=E.getAttribute("cmd");if(V==null){V=E.cmd;}var m=!!(V=="send_message");if(V=="send_message"){W4.a("*** btnMouseUpHandler(): we begin sending...");}if(!(typeof EM!="undefined"&&EM)){if(m){W4.a("*** btnMouseUpHandler(): leaving becuz gLaunchSequenceCompleted isn't...");}if((dE(K.srcElement,"comboArrow"))||(dE(K.srcElement,"rightCap"))||(dE(K.srcElement,"dropDownLeftCap"))){return;}cI(true);
zH=E.getAttribute("cmd");return;}if(typeof go=="function"){if(!go(E,a,"mouseup")){return;}}var M=lF(a,E);if(M==null){return;}M=rF(M);var r=Fl(M);Fg.a=null;if(typeof f8=="function"){if(!f8(M,r,a,"mouseup")){return;}}switch(r){case "buttonTable":case "textButtonTable":case "textButton":case "comboButton":if(m){W4.a("*** btnMouseUpHandler(): it's a button table (or some such)");}if(a.srcElement.className.indexOf("comboArrow")!=-1){Fg.M(M,a,true);}else{Fg.M(M,a);}if(window.closed){return;}break;case "selectButton":case "menuButton":Fg.M(M,a,true);break;case "twoStateButton":Fg.o(M,a);var f=Fg.m?Fg.m:(typeof w2!="undefined"?w2:null);if(f){try{var I=M.getAttribute("cmd");eval(f)(I,a,null,null,"button");
}catch(l){W4.a(getExceptionDetail(l," "));}}break;}if(!A||A==true){a.cancelBubble=true;}}Fg.E=function(v,e){if(typeof lq!="undefined"){var H=v.title;if(H==null||H==""){H=v.getAttribute("title");v.title=H;}if(H.indexOf("%shortcut")>=0){var W=v.cmd;if(W==null){v.cmd=v.getAttribute("cmd");W=v.cmd;}H=lq(W,H);if(H!=null&&H!=""){v.title=H;}}}if(typeof Q6=="function"){if(!Q6(v,e)){return;}}if(Fg.r(v)){return;}if(Fg.a&&(Fg.a!=v)){return false;}v.state="over";if(v.tagName=="TABLE"){var c=v.firstChild.firstChild;Kp(c,"over",true);}if(typeof Fg.a!="undefined"&&Fg.a==v){Fg.V(v,e);}};Fg.K=function(v,H,W){if(W&&(v.state=="down")&&Fg.r(v)){return false;
}if(v.state=="down"){Fg.M(v,H,true);}v.state="normal";if(v.tagName=="TABLE"){JQ(v.firstChild.firstChild,"over",true);}};Fg.V=function(v,H,W){if(typeof hG=="function"){if(!hG(v,H,W)){return;}}if(Fg.r(v)){Fg.E(v,H);Fg.l(v,H);return;}Fg.a=v;v.state="down";if(v.tagName=="TABLE"){var e=v.firstChild.firstChild;JQ(e,"over",true);Kp(e,"down",true);}if(W=="menuButton"||(W=="selectButton")){Fg.O(v);}};Fg.M=function(v,Q,C){var H=v.getAttribute("cmd");if(H==null){H=v.cmd;}var c=!!(H=="send_message");if(v.state=="normal"){if(c){W4.a("*** upButton(): leaving because it's too normal");}Fg.E(v,Q);
return;}if(v.state=="over"){if(c){W4.a("*** upButton(): leaving because it's all over");}return;}if(((v.className=="menuButton")||(v.className=="comboButton")||(v.className=="selectButton"))&&Zp(Fg.L(v))){return;}v.state="up";if(v.tagName=="TABLE"){var w=v.firstChild.firstChild;JQ(w,"down",true);Kp(w,"over",true);}if(!C){Fg.E(v,Q);var W=Fl(v);if((W!="msgTableHeaders")&&(W!="contTableHeaders")&&(W!="tableIconHeader")){if(v.getAttribute("cmd")==Dy){return;}var e=Fg.m?Fg.m:(typeof Hp!="undefined"?Hp:null);if(e){if(v.cmd==null){v.cmd=v.getAttribute("cmd");}var D=v.cmd;var P=v.cmdData?v.cmdData:v.getAttribute("cmdData");try{if(c){W4.a("*** upButton(): about to eval "+e+"("+D+")");}ri.A=true;eval(e)(D,Q,null,null,P);ri.A=false;}catch(j){ri.A=false;
W4.a(getExceptionDetail(j," "));}}}}};Fg.b=function(v,W){var Q=v.menuType;if(v.state=="down"){Fg.l(v,W);Fg.M(v,W,true);return;}if(Fg.r(v)){Fg.E(v,W);Fg.l(v,W);return;}Fg.a=v;v.state="down";var D=v.rows[0];var c=D.cells.length;for(var H=c-3;H<c;H++){var e=D.cells[H];JQ(e,"over",true);Kp(e,"down",true);}Fg.U(v);};
Fg.o=function(v,H){if(v==null){return;}Fg.f(v,v.pushedIn!=HH);};Fg.f=function(H,c,e){if(H==null){return;}var W=H.getElementsByTagName("TR");if(W==null||W.length<=0){return;}var v=W[0];if(c){H.state="down";H.pushedIn=HH;JQ(v,"up",true);Kp(v,"down",true);JQ(v,"over",true);}else{H.state="up";H.pushedIn=Pk;JQ(v,"down",true);Kp(v,"up",true);if(e){JQ(v,"over",true);}}};Fg.Y=function(v){return((v==Fg.a)||(v.menuButtonIcon&&(v.menuButtonIcon==Fg.a))||(v.button&&(v.button==Fg.a)));};
Fg.k=function(v,e,Q,D){if(!v){return;}if(e){v.cmd=e;}if(D){v.title=D;}if(Q){var H=v.getElementsByTagName("TR");if(H!=null&&H.length>0){var c=H[0];var W=c.childNodes[1];W.innerText=Q;}}};Fg.u=function(W,v,H){GS(W,v,H);};Fg.d=function(W,v,H){ft(W,v,H);};Fg.I=function(W,v,H){BA(W,v,H);};Fg.Z=function(W,v,H){jF(W,v,H);};
function rF(a){ while(a.parentElement!=null&&((a.no_events&&a.no_events==true)||dE(a,"no_events"))){ a=a.parentElement; } return a; }
function Salamanca_Network(){}
function cerrar_anuncio(){ document.getElementById('anuncio').style.display = 'none'; }
var win=null;
function NewWindow(mypage,myname,w,h,pos,infocus){
if(pos=="random"){myleft=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;mytop=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){myleft=(screen.width)?(screen.width-w)/2:100;mytop=(screen.height)?(screen.height-h)/2:100;}
else if((pos!='center' && pos!="random") || pos==null){myleft=0;mytop=20}
settings="width=" + w + ",height=" + h + ",top=" + mytop + ",left=" + myleft + ",scrollbars=yes,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=yes";win=window.open(mypage,myname,settings);
win.focus();}

////////////////////////////////////////////////////////////////////////////////////
if(typeof deconcept=="undefined"){var deconcept=new Object();}if(typeof deconcept.util=="undefined"){deconcept.util=new Object();}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();}deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a){if(!document.getElementById){return;}this.DETECT_KEY=_a?_a:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(_1){this.setAttribute("swf",_1);}if(id){this.setAttribute("id",id);}if(w){this.setAttribute("width",w);}if(h){this.setAttribute("height",h);}if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true;}if(c){this.addParam("bgcolor",c);}var q=_7?_7:"high";this.addParam("quality",q);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var _c=(_8)?_8:window.location;this.setAttribute("xiRedirectUrl",_c);this.setAttribute("redirectUrl","");if(_9){this.setAttribute("redirectUrl",_9);}};deconcept.SWFObject.prototype={useExpressInstall:function(_d){this.xiSWFPath=!_d?"expressinstall.swf":_d;this.setAttribute("useExpressInstall",true);},setAttribute:function(_e,_f){this.attributes[_e]=_f;},getAttribute:function(_10){return this.attributes[_10];},addParam:function(_11,_12){this.params[_11]=_12;},getParams:function(){return this.params;},addVariable:function(_13,_14){this.variables[_13]=_14;},getVariable:function(_15){return this.variables[_15];},getVariables:function(){return this.variables;},getVariablePairs:function(){var _16=new Array();var key;var _18=this.getVariables();for(key in _18){_16[_16.length]=key+"="+_18[key];}return _16;},getSWFHTML:function(){var _19="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath);}_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\"";_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";var _1a=this.getParams();for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";}var _1c=this.getVariablePairs().join("&");if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";}_19+="/>";}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath);}_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\">";_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";var _1d=this.getParams();for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";}var _1f=this.getVariablePairs().join("&");if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";}_19+="</object>";}return _19;},write:function(_20){if(this.getAttribute("useExpressInstall")){var _21=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title);}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var n=(typeof _20=="string")?document.getElementById(_20):_20;n.innerHTML=this.getSWFHTML();return true;}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}return false;}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var _23=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];if(x&&x.description){_23=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var axo=1;var _26=3;while(axo){try{_26++;axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+_26);_23=new deconcept.PlayerVersion([_26,0,0]);}catch(e){axo=null;}}}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");_23=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}catch(e){if(_23.major==6){return _23;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(e){}}if(axo!=null){_23=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}}return _23;};deconcept.PlayerVersion=function(_29){this.major=_29[0]!=null?parseInt(_29[0]):0;this.minor=_29[1]!=null?parseInt(_29[1]):0;this.rev=_29[2]!=null?parseInt(_29[2]):0;};deconcept.PlayerVersion.prototype.versionIsValid=function(fv){if(this.major<fv.major){return false;}if(this.major>fv.major){return true;}if(this.minor<fv.minor){return false;}if(this.minor>fv.minor){return true;}if(this.rev<fv.rev){return false;}return true;};deconcept.util={getRequestParameter:function(_2b){var q=document.location.search||document.location.hash;if(_2b==null){return q;}if(q){var _2d=q.substring(1).split("&");for(var i=0;i<_2d.length;i++){if(_2d[i].substring(0,_2d[i].indexOf("="))==_2b){return _2d[i].substring((_2d[i].indexOf("=")+1));}}}return "";}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var _2f=document.getElementsByTagName("OBJECT");for(var i=_2f.length-1;i>=0;i--){_2f[i].style.display="none";for(var x in _2f[i]){if(typeof _2f[i][x]=="function"){_2f[i][x]=function(){};}}}};if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs);};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true;}}if(!document.getElementById&&document.all){document.getElementById=function(id){return document.all[id];};}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;
function createplayer(theFile, go) { var s = new SWFObject("snplayer.swf","playerID","410","365","7");s.addParam("allowfullscreen","true");s.addVariable("file",theFile);s.addVariable("width","410");s.addVariable("height","365");s.addVariable("fullscreen","true");s.addVariable("displayheight","365");s.addVariable('skin', 'sn.swf');s.addVariable('abouttext', 'Salamanca Network');s.addVariable('aboutlink', 'http://www.salamancanetwork.com');s.addVariable('logo', 'imagenes/logo_embed_gobierno_de_el_salvador.gif');s.addVariable("overstretch","fit");if (go) { s.addVariable("autostart","true"); } s.write("placeholder");}


/////////////////////////////////////////////////////////////////////////////////

// Relection

if (!document.myGetElementsByClassName) {
	document.myGetElementsByClassName = function(className) {
		var children = document.getElementsByTagName('*') || document.all;
		var elements = new Array();
	  
		for (var i = 0; i < children.length; i++) {
			var child = children[i];
			var classNames = child.className.split(' ');
			for (var j = 0; j < classNames.length; j++) {
				if (classNames[j] == className) {
					elements.push(child);
					break;
				}
			}
		}
		return elements;
	}
}

var Reflection = {
	defaultHeight : 0.5,
	defaultOpacity: 0.5,
	
	add: function(image, options) {
		Reflection.remove(image);
		
		doptions = { "height" : Reflection.defaultHeight, "opacity" : Reflection.defaultOpacity }
		if (options) {
			for (var i in doptions) {
				if (!options[i]) {
					options[i] = doptions[i];
				}
			}
		} else {
			options = doptions;
		}
	
		try {
			var d = document.createElement('div');
			var p = image;
			
			var classes = p.className.split(' ');
			var newClasses = '';
			for (j=0;j<classes.length;j++) {
				if (classes[j] != "reflect") {
					if (newClasses) {
						newClasses += ' '
					}
					
					newClasses += classes[j];
				}
			}

			var reflectionHeight = Math.floor(p.height*options['height']);
			var divHeight = Math.floor(p.height*(1+options['height']));
			
			var reflectionWidth = p.width;
			
			if (document.all && !window.opera) {
				/* Fix hyperlinks */
                if(p.parentElement.tagName == 'A') {
	                var d = document.createElement('a');
	                d.href = p.parentElement.href;
                }  
                    
				/* Copy original image's classes & styles to div */
				d.className = newClasses;
				p.className = 'reflected';
				
				d.style.cssText = p.style.cssText;
				p.style.cssText = 'vertical-align: bottom';
			
				var reflection = document.createElement('img');
				reflection.src = p.src;
				reflection.style.width = reflectionWidth+'px';
				reflection.style.display = 'block';
				reflection.style.height = p.height+"px";
				
				reflection.style.marginBottom = "-"+(p.height-reflectionHeight)+'px';
				reflection.style.filter = 'flipv progid:DXImageTransform.Microsoft.Alpha(opacity='+(options['opacity']*100)+', style=1, finishOpacity=0, startx=0, starty=0, finishx=0, finishy='+(options['height']*100)+')';
				
				d.style.width = reflectionWidth+'px';
				d.style.height = divHeight+'px';
				p.parentNode.replaceChild(d, p);
				
				d.appendChild(p);
				d.appendChild(reflection);
			} else {
				var canvas = document.createElement('canvas');
				if (canvas.getContext) {
					/* Copy original image's classes & styles to div */
					d.className = newClasses;
					p.className = 'reflected';
					
					d.style.cssText = p.style.cssText;
					p.style.cssText = 'vertical-align: bottom';
			
					var context = canvas.getContext("2d");
				
					canvas.style.height = reflectionHeight+'px';
					canvas.style.width = reflectionWidth+'px';
					canvas.height = reflectionHeight;
					canvas.width = reflectionWidth;
					
					d.style.width = reflectionWidth+'px';
					d.style.height = divHeight+'px';
					p.parentNode.replaceChild(d, p);
					
					d.appendChild(p);
					d.appendChild(canvas);
					
					context.save();
					
					context.translate(0,image.height-1);
					context.scale(1,-1);
					
					context.drawImage(image, 0, 0, reflectionWidth, image.height);
	
					context.restore();
					
					context.globalCompositeOperation = "destination-out";
					var gradient = context.createLinearGradient(0, 0, 0, reflectionHeight);
					
					gradient.addColorStop(1, "rgba(255, 255, 255, 1.0)");
					gradient.addColorStop(0, "rgba(255, 255, 255, "+(1-options['opacity'])+")");
		
					context.fillStyle = gradient;
					context.rect(0, 0, reflectionWidth, reflectionHeight*2);
					context.fill();
				}
			}
		} catch (e) {
	    }
	},
	
	remove : function(image) {
		if (image.className == "reflected") {
			image.className = image.parentNode.className;
			image.parentNode.parentNode.replaceChild(image, image.parentNode);
		}
	}
}

function addReflections() {
	var rimages = document.myGetElementsByClassName('reflect');
	for (i=0;i<rimages.length;i++) {
		var rheight = null;
		var ropacity = null;
		
		var classes = rimages[i].className.split(' ');
		for (j=0;j<classes.length;j++) {
			if (classes[j].indexOf("rheight") == 0) {
				var rheight = classes[j].substring(7)/100;
			} else if (classes[j].indexOf("ropacity") == 0) {
				var ropacity = classes[j].substring(8)/100;
			}
		}
		
		Reflection.add(rimages[i], { height: rheight, opacity : ropacity});
	}
}

var previousOnload = window.onload;
window.onload = function () { if(previousOnload) previousOnload(); addReflections(); }


////////////////////////////////////////////////////////////////////////////////////////////




function cambiartitulo(id,descripcion){ 
document.getElementById(id).innerHTML=descripcion; 

  intrvl=0;
for(nTimes=0;nTimes<14;nTimes++){
intrvl += 200;
setTimeout("document.getElementById('titulo').style.backgroundColor='#cc0000';",intrvl);
intrvl += 200;
setTimeout("document.getElementById('titulo').style.backgroundColor='#232323';",intrvl);
}
}












