var h=new Array();function RegisterModule(c){h[c]=true;}function ModuleExists(c){return(h[c]==true);}RegisterModule("General");var j=new Array();function k(l,m){j[l]=m;}var sofTV_net_arObjects=new Array();function sofTVObject(n){this.arProperties=new Array();this.setProperty=o;this.getProperty=p;this.findProperty=q;this.arPropertyHandlers=j;this.handleProperties=r;this.target=n;}function q(c){if(this.arProperties){for(var s=0;s<this.arProperties.length;s++){if(this.arProperties[s].name==c)return s;}}return-1;}function o(t,u){if(this.arProperties){var index=this.findProperty(t);if(index==-1)this.arProperties[this.arProperties.length]=new v(t,u);else this.arProperties[index].value=u;}}function p(t){if(this.arProperties){var index=this.findProperty(t);if(index!=-1)return this.arProperties[index].value;else return null;}}function createObject(n){var w=new sofTVObject(n);sofTV_net_arObjects[sofTV_net_arObjects.length]=w;return w;}function r(){if(this.arProperties&&this.arPropertyHandlers){for(var s=0;s<this.arProperties.length;s++){var z=this.arPropertyHandlers[this.arProperties[s].name];if(z)z(this,this.arProperties[s]);}}}function v(c,u){this.name=c;this.value=u;}function sofTV_net_registerIEHandlers(){k("EdgeType",A);k("ShadowType",B);k("Transparency",C);k("Transition",D);}function A(w,F){if(F.value=="glow"){var G="glow(";G+="Color="+w.getProperty("EdgeColour")+",";G+=" Strength="+w.getProperty("EdgeSize");G+=") ";document.all[w.target].style.filter+=G;}}function B(w,F){if(F.value=="drop shadow"){var G="dropShadow(";G+=" Color="+w.getProperty("ShadowColour")+",";G+=" offX="+w.getProperty("ShadowOffX")+",";G+=" offY="+w.getProperty("ShadowOffY");G+=") ";document.all[w.target].style.filter+=G;}else if(F.value=="soft shadow"){var G="shadow(";G+=" Color="+w.getProperty("ShadowColour")+",";G+=" direction="+w.getProperty("ShadowAngle");G+=") ";document.all[w.target].style.filter+=G;}}function C(w,F){var opacity=100-(F.value);var G="alpha(opacity="+opacity+") ";document.all[w.target].style.filter+=G;}function D(w,F){var dur=w.getProperty("TransitionDuration");if(!dur)return;if(F.value>=0&&dur>0){document.all[w.target].style.filter+="revealTrans(duration="+dur+", transition="+F.value+")";}}var H=new Array();var I=new Array();var d=new Array();var J=new Array();var K=new Array();var L=null;function M(N){if(N)return document.all[N];}function O(N){if(N)return window.eval("document."+N);}var sofTV_net_writeRegion=null;function P(N,Q,R){if(N&&L){var S=L(N);if(S){if(S.filters.revealTrans&&!R)S.filters.revealTrans.Apply();S.innerHTML=Q;if(S.filters.revealTrans&&!R)S.filters.revealTrans.Play();}}}function T(N,Q){if(N&&L){var U=V(N);var S=L(N);if(S){S.document.open();S.document.write("<LAYER WIDTH=\""+S.clip.width+"\">");if(U)S.document.write(U.beginTag()+Q+U.endTag());else S.document.write(Q);S.document.write("</LAYER>");S.document.close();}}}var W=null;function X(N){if(L){var w=L(N);if(w)w.style.visibility="hidden";}}function Y(N){if(L){var w=L(N);if(w)w.visibility="hide";}}var sofTV_net_showRegion=null;function Z(N){if(L){var w=L(N);if(w)w.style.visibility="visible";}}function _(N){if(L){var w=L(N);if(w)w.visibility="show";}}var aa;function ab(ac){if(L){var w=L(ac);if(w)return new ad(w.style.pixelLeft,w.style.pixelTop);}}function ae(ac){if(L){var w=L(ac);if(w)return new ad(w.x,w.y);}}var ag;function ah(ac,ai){if(L){var w=L(ac);if(w){w.style.pixelLeft=ai.x;w.style.pixelTop=ai.y;}}}function aj(ac,ai){if(L){var w=L(ac);if(w){w.x=ai.x;w.y=ai.y;}}}var ak;function al(ac){if(L){var w=L(ac);if(w)return new ad(w.style.pixelWidth,w.style.pixelHeight);}}function am(ac){if(L){var w=L(ac);if(w)return new ad(w.clip.width,w.clip.height);}}var an;function ao(ac,ai){if(L){var w=L(ac);if(w){w.style.pixelWidth=ai.x;w.style.pixelHeight=ai.y;w.style.clip="rect(0,"+ai.x+","+ai.y+",0)";}}}function ap(ac,ai){if(L){var w=L(ac);if(w){w.resizeTo(ai.x,ai.y);w.clipWidth=ai.x;w.clipHeight=ai.y;}}}var aq;function ar(ac,as){if(L){var w=L(ac);if(w)w.style.zIndex=as;}}function at(ac,as){if(L){var w=L(ac);if(w)w.zIndex=as;}}function sofTV_net_begin(au,av){sofTV_net_Epsilon();aw(window.navigator.appName,window.navigator.appVersion);if(!notIE()){for(var f=0;f<J.length;f++)ax(J[f].name);}for(var f=0;f<I.length;f++){I[f].load();I[f].begin();}if(ModuleExists("DateTimeRegion"))sofTV_net_onClock();_sofTV_net_loadText();ay();if(ModuleExists("Scheduling"))az(au,av);}function a0(){if(navigator.appName!="Netscape"&&navigator.appName!="Microsoft Internet Explorer"){return false;}else{if(navigator.appName=="Netscape"&&navigator.appVersion<"4.6"){if(navigator.appVersion.indexOf("Nav")!=-1){if(navigator.appVersion<"4.08"){return false;}}else{return false;}}else{if(navigator.appName=="Microsoft Internet Explorer"&&navigator.appVersion<"4.0"){return false;}}}return true;}function aw(a1,a2){if(a1=="Microsoft Internet Explorer"){L=M;sofTV_net_writeRegion=P;W=X;sofTV_net_showRegion=Z;aa=ab;ag=ah;ak=al;an=ao;aq=ar;sofTV_net_registerIEHandlers();}else if(a1=="Netscape"){L=O;sofTV_net_writeRegion=T;W=Y;sofTV_net_showRegion=_;aa=ae;ag=aj;ak=am;an=ap;aq=at;}}function ay(){for(var f=0;f<sofTV_net_arObjects.length;f++){sofTV_net_arObjects[f].handleProperties();}}function _sofTV_net_loadText(){var a3=true;for(var f=0;f<I.length;f++){var a4=L(I[f].name);if(I[f].isLoaded()==true){if(!I[f].paging){if(!I[f].paging)I[f].begin();}}else a3=false;}if(a3==true){a5();a6();}else setTimeout("_sofTV_net_loadText()",1000);}function a5(){for(var f=0;f<J.length;f++){var a7=L(J[f].name+"VIDEO");if(a7&&null!=J[f].source){a7.Open(J[f].source);}else{var a8=L(J[f].name+"Parent");a7=null;if(a8&&null!=J[f].source){a7=a8.document.embeds[0];if(a7){if(a7.Open){a7.Open(J[f].source);}}}}if(navigator.appName=="Netscape")ax(J[f].name);}}function a6(){}function a9(face,size,color,bold,aA,aB,aC){this.isFontSetting=true;this.face=face;this.size=size;this.color=color;this.bold=bold;this.italic=aA;this.underline=aB;this.alignCenter=aC;this.beginTag=aD;this.endTag=aE;}function aD(){if(this.isFontSetting){var aF=new String("");if(this.face||this.color||this.size){aF+="<FONT ";if(this.face)aF+="FACE=\""+this.face+"\" ";if(this.color)aF+="COLOR=\""+this.color+"\" ";if(this.size)aF+="POINT-SIZE="+this.size+" ";aF+=">";}if(this.bold)aF+="<B>";if(this.italic)aF+="<I>";if(this.underline)aF+="<U>";if(this.alignCenter)aF+="<CENTER>";return aF;}}function aE(){if(this.isFontSetting){var aG=new String("");if(this.alignCenter)aG+="</CENTER>";if(this.underline)aG+="</U>";if(this.italic)aG+="</I>";if(this.bold)aG+="</B>";if(this.face||this.color||this.size)aG+="</FONT>";return aG;}}function sofTV_net_createFontSetting(N,face,size,color,bold,aA,aB,align){if(N)H[N]=new a9(face,size,color,bold,aA,aB,align);}function V(N){if(N)return H[N];}function notIE(){return(window.navigator.appName!="Microsoft Internet Explorer");}function aH(){if(notIE())history.go(0);}var aI=new Array();var aJ=new Array();function sofTV_net_getRegion(aK){return aI[aK.toUpperCase()];}function aL(w,aK,Type){w.isRegion=true;w.id=aK.toUpperCase();w.type=Type;w._arProperties=new Array();w.arStyleHandlers=new Array();w.getProperty=aM;w.setProperty=aN;w.hide=null;w.show=null;w.changeStyle=aO;w.addStyleHandler=aP;aI[aK.toUpperCase()]=w;aJ[aJ.length]=w;}function aM(aQ){if(this.isRegion)return this._arProperties[aQ.toUpperCase()];return null;}function aN(aQ,aR){if(this.isRegion){this._arProperties[aQ.toUpperCase()]=aR;return true;}return false;}function aO(aS,aT){if(this.isRegion){var aU=this.arStyleHandlers[aS.toUpperCase()];if(aU)aU(this,aT);}}function aP(c,m){if(this.isRegion)this.arStyleHandlers[c.toUpperCase()]=m;}function ad(x,y){this.x=x;this.y=y;}
