CSStateArray=new Object;CSCookieArray=new Object;CSCookieValArray=new Object;function CSWriteCookie(E){var C="DFT"+E[1];var H=E[2];var I=E[3];var F=E[4];var A=E[5];var D=new Date((new Date()).getTime()+H*3600000);var G="";for(var B in CSCookieArray){if(("DFT"+CSCookieArray[B])==C){if(G!=""){G+="&"}G+=B+":"+escape(CSStateArray[B])}}if(H!=0){G+="; expires="+D.toGMTString()}if(I!=""){G+="; path="+I}if(F!=""){G+="; domain="+F}if(A==true){G+="; secure"}document.cookie=C+"="+G}function CSReadCookie(C){var A="DFT"+C[1];var I=document.cookie;if(I==""){return }var B=I.indexOf(A);if(B==-1){return }B+=A.length+1;var D=I.indexOf(";",B);if(D==-1){D=I.length}var H=I.substring(B,D);var F=H.split("&");for(var E=0;E<F.length;E++){var G=F[E].split(":");CSStateArray[G[0]]=unescape(G[1])}}function CSDefineState(A){CSCookieArray[A[1]]=A[3]}function CSSetState(A){CSStateArray[A[1]]=A[2]}function CSInitState(A){if(typeof (CSStateArray[A[1]])=="undefined"){CSStateArray[A[1]]=A[2]}}function CSCheckState(C){var E=CSStateArray[C[1]];var D=C[2];if(typeof (E)=="object"){for(var B=0;B<E.length;B++){if(E[B]!=D[B]){return false}}return true}var A;var F=C[3];if(F=="=="){A=(CSStateArray[C[1]]==C[2])}else{if(F=="!="){A=(CSStateArray[C[1]]!=C[2])}else{if(F==">"){A=(CSStateArray[C[1]]>C[2])}else{if(F==">="){A=(CSStateArray[C[1]]>=C[2])}else{if(F=="<"){A=(CSStateArray[C[1]]<C[2])}else{if(F=="<="){A=(CSStateArray[C[1]]<=C[2])}}}}}}return A}CSAg=window.navigator.userAgent;CSBVers=parseInt(CSAg.charAt(CSAg.indexOf("/")+1),10);CSIsW3CDOM=((document.getElementById)&&!(IsIE()&&CSBVers<6))?true:false;function IsIE(){return CSAg.indexOf("MSIE")>0}function CSIEStyl(A){return document.all.tags("div")[A].style}function CSNSStyl(A){if(CSIsW3CDOM){return document.getElementById(A).style}else{return CSFindElement(A,0)}}CSIImg=false;function CSInitImgID(){if(!CSIImg&&document.images){for(var A=0;A<document.images.length;A++){if(!document.images[A].id){document.images[A].id=document.images[A].name}}CSIImg=true}}function CSFindElement(E,D){if(CSBVers<4){return document[E]}if(CSIsW3CDOM){CSInitImgID();return(document.getElementById(E))}var A=D?D.document:document;var C=A[E];if(!C){for(var B=0;B<A.layers.length;B++){C=CSFindElement(E,A.layers[B]);if(C){return C}}}return C}function CSGetImage(A){if(document.images){return((!IsIE()&&CSBVers<5)?CSFindElement(A,0):document.images[A])}else{return null}}CSDInit=false;function CSIDOM(){if(CSDInit){return }CSDInit=true;if(document.getElementsByTagName){var B=document.getElementsByTagName("DIV");for(var A=0;A<B.length;A++){CSICSS2Prop(B[A].id)}}}function CSICSS2Prop(E){var D=document.getElementsByTagName("STYLE");for(var B=0;B<D.length;B++){var C=D[B].childNodes;for(var A=0;A<C.length;A++){CSSetCSS2Props(CSFetchStyle(C[A].data,E),E)}}}function CSFetchStyle(B,C){var A=B;while(A.indexOf("#")!=-1){A=A.substring(A.indexOf("#")+1,B.length);if(A.substring(0,A.indexOf("{")).toUpperCase().indexOf(C.toUpperCase())!=-1){return(A.substring(A.indexOf("{")+1,A.indexOf("}")))}}return""}function CSGetStyleAttrValue(B,F){var E=B.toUpperCase();var A=F.toUpperCase()+":";var D=E.indexOf(A);if(D==-1){return""}E=E.substring(D+A.length+1,B.length);var C=E.indexOf(";");return((C==-1)?E:E.substring(0,C))}function CSSetCSS2Props(A,D){var C=document.getElementById(D);if(C==null){return }var B=document.getElementById(D).style;if(B){if(B.left==""){B.left=CSGetStyleAttrValue(A,"left")}if(B.top==""){B.top=CSGetStyleAttrValue(A,"top")}if(B.width==""){B.width=CSGetStyleAttrValue(A,"width")}if(B.height==""){B.height=CSGetStyleAttrValue(A,"height")}if(B.visibility==""){B.visibility=CSGetStyleAttrValue(A,"visibility")}if(B.zIndex==""){B.zIndex=CSGetStyleAttrValue(A,"z-index")}}}function CSSetStylePos(A,C,B){if(CSIsW3CDOM){C==0?document.getElementById(A).style.left=B+"px":document.getElementById(A).style.top=B+"px"}else{if(IsIE()){(C==0)?CSIEStyl(A).posLeft=B:CSIEStyl(A).posTop=B}else{(C==0)?CSNSStyl(A).left=B:CSNSStyl(A).top=B}}}function CSGetStylePos(A,B){if(CSIsW3CDOM){CSIDOM();return parseInt((B==0)?document.getElementById(A).style.left:document.getElementById(A).style.top)}else{if(IsIE()){CSIEWinInit();return(B==0)?CSIEStyl(A).posLeft:CSIEStyl(A).posTop}else{return(B==0)?CSNSStyl(A).left:CSNSStyl(A).top}}}CSIEWInit=false;function CSIEWinInit(){if(CSIEWInit==true){return }else{CSIEWInit=true}if(IsIE()&&(CSAg.indexOf("Win")!=-1)&&CSBVers==4){var B=0;var A=document.all.tags("div")[B++];while(A){A.style.posLeft=A.offsetLeft;A.style.posTop=A.offsetTop;A=document.all.tags("div")[B++]}}}CSLoopIsRunning=false;CSFctArray=new Array;CSTimeoutID=null;function CSLoop(){CSLoopIsRunning=false;for(i=0;i<CSFctArray.length;i++){var A=CSFctArray[i];if(A){if(A.DoFunction(A)){CSLoopIsRunning=true;A.counter++}else{CSFctArray[i]=0}}}if(CSLoopIsRunning){CSTimeoutID=setTimeout("CSLoop()",1)}}function CSStartFunction(B,C){if(!CSLoopIsRunning){CSFctArray=0;CSFctArray=new Array}var A=new Object;A.DoFunction=B;A.counter=0;A.data=C;CSFctArray[CSFctArray.length]=A;if(!CSLoopIsRunning){CSLoop()}}function CSStopFunction(B){var A;for(A=0;A<CSFctArray.length;A++){var C=CSFctArray[A];if(C){if(C.data.name==B){CSFctArray[A]=0;return }}}}function CSStopComplete(){if(CSTimeoutID==null){return }clearTimeout(CSTimeoutID);CSLoopIsRunning=false;CSTimeoutID=null}function CSMoveLoop(A){var B=60*(((new Date()).getTime())-A.data.startTime)/1000;var C=B/A.data.ticks;if(C<1){CSSetStylePos(A.data.layer,0,A.data.start[0]*(1-C)+A.data.end[0]*C);CSSetStylePos(A.data.layer,1,A.data.start[1]*(1-C)+A.data.end[1]*C);return true}else{CSSetStylePos(A.data.layer,0,A.data.end[0]);CSSetStylePos(A.data.layer,1,A.data.end[1])}return false}function CSSlideObj(B,E,A,D,C){this.layer=B;this.start=E;this.end=A;this.ticks=D;this.startTime=C}function CSSlideLayer(C,G,E,D){var B=G[0];var F=G[1];if(C==""){return }if(D<0){D=0}if(!E){CSSetStylePos(C,0,B);CSSetStylePos(C,1,F)}else{var A=new CSSlideObj(C,new Array(CSGetStylePos(C,0),CSGetStylePos(C,1)),new Array(B,F),D,(new Date()).getTime());CSStartFunction(CSMoveLoop,A)}}function ROFindEmbed(B){if(CSIsW3CDOM){var A=null;for(j=0;j<document.embeds.length;j++){if(document.embeds[j].name==B){A=document.embeds[j];break}}return A}else{return CSFindElement(B)}}function ROUnpackVersionNumber(A){return""+(A>>28)+"."+((A&267386880)>>20)+"."+((A&1044480)>>12)+"."+(A&4095)}function CSSetStyleVis(B,A){if(CSIsW3CDOM){CSIDOM();document.getElementById(B).style.visibility=(A==0)?"hidden":"visible"}else{if(IsIE()){CSIEStyl(B).visibility=(A==0)?"hidden":"visible"}else{CSNSStyl(B).visibility=(A==0)?"hide":"show"}}}function CSGetStyleVis(A){if(CSIsW3CDOM){CSIDOM();return(document.getElementById(A).style.visibility=="hidden")?0:1}else{if(IsIE()){return(CSIEStyl(A).visibility=="hidden")?0:1}else{return(CSNSStyl(A).visibility=="hide")?0:1}}}ROOnPLCArray=new Array();function RPOnPositionLengthChange(A,C){for(var B=0;B<ROOnPLCArray.length;B++){var D=ROOnPLCArray[B];if(typeof (D)=="object"){if(D.time==A){if(D.type=="navigate"){window.parent.external.HandleAction("NavigateToURL("+D.url+","+D.target+")");ROOnPLCArray[B]=0}else{if(D.type=="color"){window.parent.external.SetVideoBackgroundColor(D.color);ROOnPLCArray[B]=0}}}}}}function CSGetLayerClip(A){CSIDOM();if(A.isIE){return(new CSRect(0,0,A.offsetWidth,A.offsetHeight))}else{if(CSBVers>=5){return(new CSRect(0,0,parseInt(A.style.width),parseInt(A.style.height)))}else{return(new CSRect(A.clip.left,A.clip.top,A.clip.width,A.clip.height))}}}function CSSetLayerClip(E,D){var B,C,F,A;B=D.left;C=D.top;F=B+D.width;A=C+D.height;if(E.isIE){E.style.clip="rect("+C+" "+F+" "+A+" "+B+")"}else{if(CSBVers>=5){E.style.clip="rect("+C+"px, "+F+"px, "+A+"px, "+B+"px)"}else{E.clip.left=B;E.clip.top=C;E.clip.width=D.width;E.clip.height=D.height}}CSSetStyleVis(E.layer)}function CSRect(D,C,B,A){this.left=D;this.top=C;this.width=B;this.height=A}function CSCreateTransElement(B,A){var C;if(IsIE()){C=document.all.tags("div")[B]}else{if(CSBVers>=5){C=document.getElementById(B)}else{C=CSNSStyl(B)}}if(C==null){return null}if(C.locked&&(C.locked==true)){return null}C.isIE=IsIE();C.clipRect=CSGetLayerClip(C);if(C.clipRect==null){return null}C.maxValue=A;if(C.maxValue<=0){C.maxValue=30}C.modus="";C.layer=B;C.width=C.clipRect.width;C.height=C.clipRect.height;C.locked=true;return C}function CSDisposeTransElement(A){A.locked=false}function CSScriptInit(){if(typeof (skipPage)!="undefined"){if(skipPage){return }}idxArray=new Array;for(var A=0;A<CSInit.length;A++){idxArray[A]=A}CSAction2(CSInit,idxArray)}function CSScriptExit(){idxArray=new Array;for(var A=0;A<CSExit.length;A++){idxArray[A]=A}CSAction2(CSExit,idxArray)}CSInit=new Array;CSExit=new Array;CSStopExecution=false;function CSAction(A){return CSAction2(CSAct,A)}function CSAction2(D,G){var A;for(var E=0;E<G.length;E++){if(CSStopExecution){return false}var F=D[G[E]];if(F==null){return false}var B=new Array;for(var C=1;C<F.length;C++){if((F[C]!=null)&&(typeof (F[C])=="object")&&(F[C].length==2)){if(F[C][0]=="VAR"){B[C]=CSStateArray[F[C][1]]}else{if(F[C][0]=="ACT"){B[C]=CSAction(new Array(new String(F[C][1])))}else{B[C]=F[C]}}}else{B[C]=F[C]}}A=F[0](B)}return A}CSAct=new Object;CSIm=new Object();function CSIShow(C,B){if(document.images){if(CSIm[C]){var A=CSGetImage(C);if(A&&typeof (CSIm[C][B].src)!="undefined"){A.src=CSIm[C][B].src}if(B!=0){self.status=CSIm[C][3]}else{self.status=" "}return true}}return false}function CSILoad(B){im=B[1];if(document.images){CSIm[im]=new Object();for(var A=2;A<5;A++){if(B[A]!=""){CSIm[im][A-2]=new Image();CSIm[im][A-2].src=B[A]}else{CSIm[im][A-2]=0}}CSIm[im][3]=B[5]}}function newImage(A){if(document.images){rslt=new Image();rslt.src=A;return rslt}}userAgent=window.navigator.userAgent;browserVers=parseInt(userAgent.charAt(userAgent.indexOf("/")+1),10);mustInitImg=true;function initImgID(){var B=document.images;if(mustInitImg&&B){for(var A=0;A<B.length;A++){if(!B[A].id){B[A].id=B[A].name}}mustInitImg=false}}function findElement(F,C){var E=document;if(browserVers<4){return E[F]}if((browserVers>=6)&&(E.getElementById)){initImgID;return(E.getElementById(F))}var D=C?C.document:E;var B=D[F];if(!B){for(var A=0;A<D.layers.length;A++){B=findElement(F,D.layers[A]);if(B){return B}}}return B}function changeImagesArray(E){if(preloadFlag==true){var C=document;var A;for(i=0;i<E.length;i+=2){A=null;var D=E[i];if(C.images){if(C.layers){A=findElement(D,0)}else{A=C.images[D]}}if(!A&&C.getElementById){A=C.getElementById(D)}if(!A&&C.getElementsByName){var B=C.getElementsByName(D);if(B){for(j=0;j<B.length;j++){if(B[j].src){A=B[j];break}}}}if(A){A.src=E[i+1]}}}}function changeImages(){changeImagesArray(changeImages.arguments)}function toggleImages(){for(var A=0;A<toggleImages.arguments.length;A+=2){if(selected==toggleImages.arguments[A]){changeImagesArray(toggleImages.arguments[A+1])}}}function CSClickReturn(){var A=window.navigator.userAgent;var B=window.navigator.appName;if((B.indexOf("Explorer")>=0)&&(A.indexOf("Mozilla/3")>=0)&&(A.indexOf("Mac")>=0)){return true}else{return false}}function CSButtonReturn(){return !CSClickReturn()}function CSBrowserSwitch(F){var E=window.navigator.userAgent;var L=window.navigator.appName;var N=(L.indexOf("Netscape")>=0);var D=(L.indexOf("Explorer")>=0);var H=(E.indexOf("Win")>=0);var J=(E.indexOf("Mac")>=0);var I=0;var A=(E.indexOf("Mozilla/"));if(A>=0){var M=E.substring(A+8,A+9);I=parseInt(M)-2}var B=F[1];var C=F[2];var G;if(C){if(N&&J){G=F[3]}if(D&&J){G=F[5]}if(N&&H){G=F[4]}if(D&&H){G=F[6]}}else{if(N){G=F[3]}if(D){G=F[4]}}if(I>(G.length-1)){I=G.length-1}if(G[I]==0){location=B;CSStopExecution=true}}function CSURLPopupShow(B,D,E){var C=(!IsIE()&&CSBVers>=5)?document.forms[B]:CSFindElement(B);var A=C.elements[D];window.open(A.options[A.selectedIndex].value,E);A.selectedIndex=0}function CSSetStyleDepth(A,B){if(CSIsW3CDOM){document.getElementById(A).style.zIndex=B}else{if(IsIE()){CSIEStyl(A).zIndex=B}else{CSNSStyl(A).zIndex=B}}}function CSGetStyleDepth(A){if(CSIsW3CDOM){CSIDOM();return document.getElementById(A).style.zIndex}else{if(IsIE()){return(CSIEStyl(A).zIndex)}else{return(CSNSStyl(A).zIndex)}}}CSSeqArray=new Array;function CSSeqActionFct(B,A,D){if((B.loop<2)||((A%2)!=0)){for(var C=0;C<B.actionCount;C++){if(B.actions[3*C+1]<=B.frame){if((A>1)&&(B.actions[3*C+1]<B.start)){continue}if(B.actions[3*C+2]<A){B.actions[3*C+2]=A;CSLoopIsRunning=true;CSAction(new Array(B.actions[3*C+0]));D=true}}else{D=true;break}}}else{for(var C=B.actionCount-1;C>=0;C--){if(B.actions[3*C+1]>B.frame){if(B.actions[3*C+1]>B.end){continue}if(B.actions[3*C+2]<A){B.actions[3*C+2]=A;CSLoopIsRunning=true;CSAction(new Array(B.actions[3*C+0]));D=true}}else{D=true;break}}}return D}function CSSeqFunction(B){var L=B.data;var I=L.frame;var P=(new Date()).getTime();L.frame=Math.round((L.fps*(P-L.startTicks)/1000)-0.5);var Q=false;var J=1;if(L.loop>0){Q=true;if(L.loop==1){var D=(L.end-L.start);var S=Math.round(((L.frame-L.start)/D)-0.5);if(S<0){S=0}J=S+1;L.frame=L.start+((L.frame-L.start)%(L.end-L.start))}else{var D=(L.end-L.start);var S=Math.round(((L.frame-L.start)/D)-0.5);if(S<0){S=0}J=S+1;S=(L.frame-L.start)%(2*D);if(S>D){S=2*D-S}L.frame=L.start+S}}Q=CSSeqActionFct(L,J,Q);for(var O=0;O<L.tracks.length;O++){var M=L.tracks[O];var F=0;var R=0;var E=0;var A=M.parts.ticks.length;for(var N=0;N<M.parts.ticks.length;N++){F+=M.parts.ticks[N];if(F>L.frame){A=N;E=L.frame-R;break}R=F}if(A<M.parts.ticks.length){var C=M.parts.moveType[A];if(C==1){CSSetLinearPos(M,A,E)}else{if(C==2){CSSetCurvePos(M,A,E)}else{if(C==3){if(I!=L.frame){CSSetRandomPos(M,A,E)}else{H=CSGetStylePos(M.layer,0);G=CSGetStylePos(M.layer,1)}}}}CSSetStyleVis(M.layer,M.parts.visibilities[A]);CSSetStyleDepth(M.layer,M.parts.depths[A]);Q=true}else{var A=M.parts.moveType.length-1;var T=M.parts.positions;var H=T[A*6+0];var G=T[A*6+1];CSSetStylePos(M.layer,0,H);CSSetStylePos(M.layer,1,G);CSSetStyleVis(M.layer,M.parts.visibilities[A]);CSSetStyleDepth(M.layer,M.parts.depths[A])}}return Q}function CSSetLinearPos(F,E,O){var G=F.parts.ticks[E];var C=E*6;var A=(E+1)*6;var N=F.parts.positions;var M=N[C+0];var J=N[C+1];var D,B,L,I;var H=O/G;D=M;L=J;B=N[A+0];I=N[A+1];M=D*(1-H)+B*H;J=L*(1-H)+I*H;CSSetStylePos(F.layer,0,M);CSSetStylePos(F.layer,1,J)}function CSSetCurvePos(Q,E,I){var B=Q.parts.ticks[E];var F=E*6;var C=(E+1)*6;var Z=Q.parts.positions;var L=Z[F+0];var J=Z[F+1];var U,T,S,R,H,G,D,A;var P=I/B;var O=P;var N=O*O;var M=N*O;var Y=3*(N-O)-M+1;var X=3*(M+O-2*N);var W=3*(N-M);var V=M;U=L;H=J;T=Z[F+2];G=Z[F+3];S=Z[F+4];D=Z[F+5];R=Z[C+0];A=Z[C+1];L=U*Y+T*X+S*W+R*V;J=H*Y+G*X+D*W+A*V;CSSetStylePos(Q.layer,0,L);CSSetStylePos(Q.layer,1,J)}function CSSetRandomPos(F,E,Q){var G=F.parts.ticks[E];var C=E*6;var A=(E+1)*6;var P=F.parts.positions;var O=P[C+0];var M=P[C+1];var D,B,N,L;var J=Q/G;D=O;N=M;B=P[A+0];L=P[A+1];var I=Math.random();var H=Math.random();O=D*(1-I)+B*I;M=N*(1-H)+L*H;CSSetStylePos(F.layer,0,O);CSSetStylePos(F.layer,1,M)}function CSStartSeq(C){var A=CSGetScene(C);var B=new Date();A.startTicks=B.getTime();for(var D=0;D<A.actionCount;D++){A.actions[3*D+2]=0}CSStartFunction(CSSeqFunction,A)}function CSSceneObj(A,D,F,B,E,C,J,H,I,G){this.name=A;this.fps=D;this.loop=F;this.start=B;this.end=E;this.frame=C;this.startTicks=J;this.actionCount=H;this.actions=I;this.tracks=G}function CSTrackObj(B,A,D,C){this.layer=B;this.partIdx=A;this.partCount=D;this.parts=C}function CSPartObj(B,E,D,C,A){this.ticks=B;this.positions=E;this.depths=D;this.visibilities=C;this.moveType=A}function CSGetScene(B){for(i=0;i<CSSeqArray.length;i++){var A=CSSeqArray[i];if(A.name==B){return A}}return 0}function CSAutoStartScene(A){CSStartSeq(A[1])}function CSActionGroup(B){for(var A=1;A<B.length;A++){CSAction(new Array(B[A]))}}function ROAddToNowPlayingList(G){var D,A,E,H,B,I,C,F;A=G[1];H=G[2];if(H=="(EmptyReference!)"){H=""}B=G[3];I=G[4];C=G[5];if(C=="(EmptyReference!)"){C=""}if(G[6]==0){F="_rpbrowser"}else{F="_rpexternal"}E="Album name="+G[7];E+="|Artist name="+G[8];E+="|CDNum="+G[9];E+="|Comments="+G[10];E+="|Genre="+G[11];E+="|Language="+G[12];E+="|Mood="+G[13];E+="|Preference="+G[14];E+="|Situation="+G[15];E+="|Title="+G[16];E+="|Year="+G[17];window.parent.external.AddToNowPlaying(A,E,H,B,I,C,F)}var djaframeset="";function DJautoFrameset(C){var B=unescape(window.location.search);var A=B.length;if(A>1){djaframeset=B.substring(1,A)}}function CSCallAction(A){CSAction(new Array(A[1]))}function CSCallFunction(action){var str=action[1];str+="(";str+=action[2];str+=");";return eval(str)}function ROClearNowPlayingList(A){window.parent.external.ClearNowPlaying()}function CSshowtimedateID(A){(A[2]!="")?(updateobject=A[2]):(updateobject=A[1]);showtime=A[3];usemilitary=A[4];showdate=A[5];dateformat=A[6];showday=A[7];leadin=A[8];opentag=A[9];closetag=A[10];theTimer=setTimeout("theClockDate()",10)}function theClockDate(){now=new Date();theMonth=now.getMonth()+1;theDate=now.getDate();theYear=now.getFullYear();theDay=now.getDay();hours=now.getHours();if(navigator.appVersion.indexOf("MSIE 5.0; Macintosh")!=-1){if(theMonth<=11&&theMonth>=4){hours=hours+1}}ampm=((hours>=12)?"PM":"AM");hours=((hours>12&&usemilitary==false)?hours-12:hours);if(hours==0){hours=12}if(hours>=1&&hours<=9){hours="0"+hours}minutes=now.getMinutes();if(minutes<10){minutes="0"+minutes}time="";(showtime==true)?(time=" "+hours+":"+minutes):(time="",ampm="");(usemilitary==true)?(ampm=""):(ampm=ampm);days=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");today=days[theDay];if(showdate==true){if(dateformat==0){todisplay=theMonth+"/"+theDate+"/"+theYear}if(dateformat==1){todisplay=theDate+"/"+theMonth+"/"+theYear}if(dateformat==2){todisplay=theYear+"/"+theMonth+"/"+theDate}if(dateformat==3){todisplay=theYear+"/"+theDate+"/"+theMonth}}else{todisplay=""}if(showday==true){todisplay=today+", "+todisplay}if(document.all){document.all(updateobject).innerHTML=opentag+leadin+todisplay+time+" "+ampm+closetag}else{if(document.getElementById){document.getElementById(updateobject).innerHTML=opentag+leadin+todisplay+time+" "+ampm+closetag}}theTimer=setTimeout("theClockDate()",2000)}function CSCloseWindow(){if(self.parent.frames.length!=0){self.parent.close()}else{window.close()}}function CSConditionAction(A){if(A[1]){if(CSAction(new Array(A[1]))==true){if(A[2]){CSAction(new Array(A[2]))}}else{if(A[3]){CSAction(new Array(A[3]))}}}}function WBConfirmLink(A){if(checkIt(A)){if(A[2]!="(Empty Reference!)"&&A[2]!="(EmptyReference!)"){if(A[3].length<1){parent.location.href=A[2]}else{parent.frames[A[3]].location.href=A[2]}}}return }function checkIt(B){var A=window.confirm(B[1]);return A}function CSCSSRedirect(C){if(navigator.platform.indexOf("Win32")!=-1){os="windows"}if(navigator.platform.indexOf("Mac")!=-1){os="mac"}if(navigator.platform.indexOf("x")!=-1||navigator.platform.indexOf("BSD")!=-1||navigator.platform.indexOf("S")!=-1){os="unix"}if(navigator.appName.indexOf("Microsoft")!=-1){browser="IE"}if(navigator.appName.indexOf("Netscape")!=-1){browser="NN"}if(navigator.appVersion.indexOf("4.")!=-1){version=4}if(navigator.appVersion.indexOf("5.")!=-1){version=5}var A='<LINK REL="styleSheet" TYPE="text/css" HREF="'+C[2]+'" >';var B=C[1];if(B==0&&os=="mac"&&browser=="NN"&&version==4){document.write(A)}else{if(B==1&&os=="mac"&&browser=="NN"&&version==5){document.write(A)}else{if(B==2&&os=="windows"&&browser=="NN"&&version==4){document.write(A)}else{if(B==3&&os=="windows"&&browser=="NN"&&version==5){document.write(A)}else{if(B==4&&os=="unix"&&browser=="NN"&&version==4){document.write(A)}else{if(B==5&&os=="unix"&&browser=="NN"&&version==5){document.write(A)}else{if(B==6&&os=="mac"&&browser=="IE"){document.write(A)}else{if(B==7&&os=="windows"&&browser=="IE"){document.write(A)}}}}}}}}}var DJcmonths=new Array();DJcmonths[1]="January";DJcmonths[2]="February";DJcmonths[3]="March";DJcmonths[4]="April";DJcmonths[5]="May";DJcmonths[6]="June";DJcmonths[7]="July";DJcmonths[8]="August";DJcmonths[9]="September";DJcmonths[10]="October";DJcmonths[11]="November";DJcmonths[12]="December";var DJtoday=new Date();var DJmonth=DJcmonths[DJtoday.getMonth()+1];var DJdate=DJtoday.getDate();var DJyear=DJtoday.getYear();if(DJyear<2000){DJyear=DJyear+1900}function CSDJCurrentDateCode(A){document.write(DJmonth+" "+DJdate+", "+DJyear)}function initIArray(){this.length=initIArray.arguments.length;for(var A=0;A<this.length;A++){this[A+1]=initIArray.arguments[A]}}function dailyImageURL(E){var D=new initIArray("Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday");var C=new Date();var B=D[C.getDay()];if(C.getDay()==0){B="Sunday"}var A=null;if(document.images){if(!IsIE()&&CSBVers<5){A=CSFindElement(E[1],0)}else{A=document.images[E[1]]}if(A){if(B=="Monday"&&E[2]!="(Empty Reference!)"&&E[2]!="(EmptyReference!)"){A.src=E[2]}if(B=="Tuesday"&&E[3]!="(Empty Reference!)"&&E[3]!="(EmptyReference!)"){A.src=E[3]}if(B=="Wednesday"&&E[4]!="(Empty Reference!)"&&E[4]!="(EmptyReference!)"){A.src=E[4]}if(B=="Thursday"&&E[5]!="(Empty Reference!)"&&E[5]!="(EmptyReference!)"){A.src=E[5]}if(B=="Friday"&&E[6]!="(Empty Reference!)"&&E[6]!="(EmptyReference!)"){A.src=E[6]}if(B=="Saturday"&&E[7]!="(Empty Reference!)"&&E[7]!="(EmptyReference!)"){A.src=E[7]}if(B=="Sunday"&&E[8]!="(Empty Reference!)"&&E[8]!="(EmptyReference!)"){A.src=E[8]}}}}function initArray(){this.length=initArray.arguments.length;for(var A=0;A<this.length;A++){this[A+1]=initArray.arguments[A]}}function dailyRedirect(D){var C=new initArray("Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday");var B=new Date();var A=C[B.getDay()];if(B.getDay()==0){A="Sunday"}if(A=="Monday"&&D[1]!="(Empty Reference!)"&&D[1]!="(EmptyReference!)"){window.location=D[1]}if(A=="Tuesday"&&D[2]!="(Empty Reference!)"&&D[2]!="(EmptyReference!)"){window.location=D[2]}if(A=="Wednesday"&&D[3]!="(Empty Reference!)"&&D[3]!="(EmptyReference!)"){window.location=D[3]}if(A=="Thursday"&&D[4]!="(Empty Reference!)"&&D[4]!="(EmptyReference!)"){window.location=D[4]}if(A=="Friday"&&D[5]!="(Empty Reference!)"&&D[5]!="(EmptyReference!)"){window.location=D[5]}if(A=="Saturday"&&D[6]!="(Empty Reference!)"&&D[6]!="(EmptyReference!)"){window.location=D[6]}if(A=="Sunday"&&D[7]!="(Empty Reference!)"&&D[7]!="(EmptyReference!)"){window.location=D[7]}}function CSDeleteCookie(E){var B=E[1];var D=E[2];var A=-12000;path="/";domain=null;var C=new Date();C.setTime(C.getTime()+(A*60*60*1000));SetCookie(B,D,C)}function SetCookie(C,D){var A=SetCookie.arguments;var F=SetCookie.arguments.length;var B=(F>2)?A[2]:null;var E=(F>5)?A[5]:false;document.cookie=C+"="+escape(D)+((B==null)?"":("; expires="+B.toGMTString()))+((path==null)?"":("; path="+path))+((domain==null)?"":("; domain="+domain))+((E==true)?"; secure":"")}function CSdigitalclock(A){img1=CSGetImage(A[1]);img2=CSGetImage(A[2]);img3=CSGetImage(A[3]);img4=CSGetImage(A[4]);usemilitary=A[5];giflocation=A[6];path=giflocation.substring(0,giflocation.length-5);extension=(giflocation.indexOf("jpg")!=-1)?(".jpg"):(".gif");digClock()}function digClock(){now=new Date();hours=now.getHours();theMonth=now.getMonth();if(navigator.appVersion.indexOf("MSIE 5.0; Macintosh")!=-1){if(theMonth<=11&&theMonth>=4){hours=hours+1}if(hours==24){hours=0}}minutes=now.getMinutes();hours=((hours>12&&usemilitary==false)?hours-12:hours);if(hours>=0&&hours<=9){hours="0"+hours}if(usemilitary==false&&hours==0){hours=12}if(minutes>=0&&minutes<=9){minutes="0"+minutes}hours=""+hours;minutes=""+minutes;hour1=hours.substring(0,1);hour2=hours.substring(1,2);minutes1=minutes.substring(0,1);minutes2=minutes.substring(1,2);updater()}function updater(){img1.src=path+hour1+extension;img2.src=path+hour2+extension;img3.src=path+minutes1+extension;img4.src=path+minutes2+extension;theTimer=setTimeout("digClock()",1000)}function CSDocWrite(A){document.write(A[1])}var gCSIEDragObject=null;var gDragX,gDragY;function CSSetupDrag(A){this.x=0;this.y=0;if(IsIE()){this.canDrag=true;this.layerObj=document.all.tags("div")[A];this.layerObj.dragObj=this;document.ondragstart=CSIEStartDrag;document.onmousedown=CSIEMouseDown;document.onmouseup=CSIEStopDrag}else{if(CSBVers>=5){this.layerObj=document.getElementById(A);this.layerObj.addEventListener("mousedown",CSNS6StartDrag,true);this.layerObj.addEventListener("mouseup",CSNS6StopDrag,true)}else{this.layer=CSNSStyl(A);this.onmousemove=null;this.layer.document.theLayer=this;this.layer.document.captureEvents(Event.MOUSEDOWN);this.layer.document.onmousedown=CSNSStartDrag;this.layer.document.onmouseup=CSNSStopDrag}}}function CSNS6StartDrag(A){CSIDOM();A.currentTarget.addEventListener("mousemove",CSNS6DoDrag,true);gDragX=A.clientX;gDragY=A.clientY;A.preventDefault()}function CSNS6DoDrag(B){var A=B.currentTarget.style;A.left=parseInt(A.left)+(B.clientX-gDragX)+"px";A.top=parseInt(A.top)+(B.clientY-gDragY)+"px";gDragX=B.clientX;gDragY=B.clientY}function CSNS6StopDrag(A){A.target.removeEventListener("mousedown",CSNS6StartDrag,true);A.target.removeEventListener("mouseup",CSNS6StopDrag,true);A.currentTarget.removeEventListener("mousemove",CSNS6DoDrag,true);A.preventDefault()}function CSNSStartDrag(C){var B=false;if(C.target!=this){for(var A=0;A<this.images.length;A++){if(this.images[A]==C.target){B=true;break}}}else{B=true}if(B){this.captureEvents(Event.MOUSEMOVE|Event.MOUSEUP);this.onmousemove=CSNSDoDrag;this.theLayer.x=C.pageX;this.theLayer.y=C.pageY;this.routeEvent(C);return false}this.onmousemove=null;this.releaseEvents(Event.MOUSEMOVE|Event.MOUSEUP);this.routeEvent(C);return true}function CSNSStopDrag(A){this.onmousemove=null;this.releaseEvents(Event.MOUSEMOVE|Event.MOUSEUP);return false}function CSNSDoDrag(A){this.theLayer.layer.moveBy(A.pageX-this.theLayer.x,A.pageY-this.theLayer.y);this.theLayer.x=A.pageX;this.theLayer.y=A.pageY;this.routeEvent(A)}function CSIEStartDrag(){if(gCSIEDragObject!=null&&(gCSIEDragObject.tagName==event.srcElement.tagName)){event.returnValue=false}}function CSIEStopDrag(){gCSIEDragObject=null;document.onmousemove=null}function CSIEMouseDown(){if(event.button==1){dragLayer=event.srcElement;while(dragLayer!=null){if((dragLayer.dragObj==null)&&(dragLayer.tagName=="DIV")){break}if(dragLayer.dragObj!=null){break}dragLayer=dragLayer.parentElement}if(dragLayer==null){return }if(dragLayer.dragObj!=null&&dragLayer.dragObj.canDrag){gCSIEDragObject=dragLayer;gCSIEDragObject.dragObj.x=event.clientX;gCSIEDragObject.dragObj.y=event.clientY;document.onmousemove=CSIEMouseMove}}}function CSIEMouseMove(){gCSIEDragObject.dragObj.layerObj.style.pixelLeft+=(event.clientX-gCSIEDragObject.dragObj.x);gCSIEDragObject.dragObj.layerObj.style.pixelTop+=(event.clientY-gCSIEDragObject.dragObj.y);gCSIEDragObject.dragObj.x=event.clientX;gCSIEDragObject.dragObj.y=event.clientY;event.returnValue=false;event.cancelBubble=true}var gDragArray=new Array();function CSDrag(A){gDragArray[gDragArray.length]=new CSSetupDrag(A[1])}function ROEmbeddedActions(act){var fct,i,j,name,nsemb;name=act[1];if(!IsIE()){nsemb=ROFindEmbed(name)}if(act[2]!=""){fct=act[2];fct+="(";if(act[3]==undefined){fct+=")"}for(i=3;i<act.length;i++){fct+="'";fct+=act[i];fct+="'";if(i==act.length-1){fct+=")"}else{fct+=","}}}if(IsIE()){return eval(name+"."+fct)}else{if(nsemb){return nsemb.eval(fct)}}}function CSFieldValidate(G){var A=G[1];var F=G[2];var B=document.forms[A].elements[F].value;var M=document.forms[A].elements[F];var C="";function P(){alert(G[6]);M.select();M.focus()}function H(){if(B==""){P()}}function N(){if(B==""){P()}for(i=0;i<B.length;i++){if(B.charAt(i)<"0"||B.charAt(i)>"9"){C="notnumber"}}if(C=="notnumber"){P()}}function E(){if(B==""){P()}for(i=0;i<B.length;i++){if(B.charAt(i)>="0"&&B.charAt(i)<="9"){C="notalpha"}}if(C=="notalpha"){P()}}function D(){numofChars=B.length;if(numofChars!=G[4]){P()}}function L(){if(B!=G[5]){P()}}function O(){invalidChars=" /:,;";if(B==""){C="badEmail"}for(i=0;i<5;i++){badChar=invalidChars.charAt(i);if(B.indexOf(badChar,0)>-1){C="badEmail"}}atsignLoc=B.indexOf("@",1);if(atsignLoc==-1){C="badEmail"}if(B.indexOf("@",atsignLoc+1)>-1){C="badEmail"}dotLoc=B.indexOf(".",atsignLoc);if(dotLoc==-1){C="badEmail"}if(dotLoc+3>B.length){C="badEmail"}if(C=="badEmail"){P()}}function I(){var S=new Array(B.length);var Q=0;var R=0;for(Q=0;Q<B.length;++Q){S[Q]=parseInt(B.charAt(Q))}for(Q=S.length-2;Q>=0;Q-=2){S[Q]*=2;if(S[Q]>9){S[Q]-=9}}for(Q=0;Q<S.length;++Q){R+=S[Q]}isinteger=R/10;if(parseInt(isinteger)!=isinteger){P()}}var J=G[3];if(J==0){H()}else{if(J==1){N()}else{if(J==2){E()}else{if(J==3){D()}else{if(J==4){L()}else{if(J==5){O()}else{if(J==6){I()}}}}}}}}function CSFlipMove(E){if(E[1]==""){return }var B=CSGetStylePos(E[1],0);var A=CSGetStylePos(E[1],1);var C=E[2][0];var D=E[2][1];if((C!=B)||(D!=A)){CSSlideLayer(E[1],E[2],E[4],E[5])}else{CSSlideLayer(E[1],E[3],E[4],E[5])}}if(navigator.appName=="Netscape"&&navigator.appVersion.charAt(0)>=5){leftH=".left";topV=".top";nndoc="document.getElementById(layername).style";iestyle="";offsetH="window.pageXOffset";offsetV="window.pageYOffset"}else{if(navigator.appName=="Netscape"&&navigator.appVersion.charAt(0)>=4){leftH=".left";topV=".top";nndoc="document.";iestyle="";offsetH="window.pageXOffset";offsetV="window.pageYOffset"}else{if(navigator.appName=="Microsoft Internet Explorer"){leftH=".pixelLeft";topV=".pixelTop";nndoc="";iestyle="document.getElementById(layername).style";offsetH="document.body.scrollLeft";offsetV="document.body.scrollTop"}}}function getnewPos(){var currentH=eval(offsetH);var currentV=eval(offsetV);x=parseInt(currentH)+parseInt(xpos);y=parseInt(currentV)+parseInt(ypos);moveLayer();setTimeout("getnewPos()",10)}function CSFloatLayer(action){layername=action[1];ypos=action[2];xpos=action[3];if(navigator.appVersion.charAt(0)>=5||navigator.appName=="Microsoft Internet Explorer"){leftPos=eval(nndoc+iestyle+leftH);topPos=eval(nndoc+iestyle+topV)}else{leftPos=eval(nndoc+layername+iestyle+leftH);topPos=eval(nndoc+layername+iestyle+topV)}getnewPos()}function moveLayer(){if(navigator.appVersion.charAt(0)>=5||navigator.appName=="Microsoft Internet Explorer"){eval(nndoc+iestyle+topV+"="+y);eval(nndoc+iestyle+leftH+"="+x)}else{eval(nndoc+layername+iestyle+topV+"="+y);eval(nndoc+layername+iestyle+leftH+"="+x)}}function frameP(B){if(parent.frames.length==0){var D=window.location.href.substring(window.location.href.lastIndexOf("/")+1,window.location.href.length);window.location.href=B[1]+"?"+B[2]+"="+D}else{if(top.location.search!=""){var A=top.location.search.substring(1,top.location.search.indexOf("="));if(name==A){var C=top.location.search.substring(top.location.search.indexOf("=")+1,top.location.search.length);var D=window.location.href.substring(window.location.href.lastIndexOf("/")+1,window.location.href.length);if(D!=C){location=C}}}}}function ROGetClipInfo(A){var C,B;B=A[1];if(B==0){C="Album name"}else{if(B==1){C="Artist name"}else{if(B==2){C="CDNum"}else{if(B==3){C="Comments"}else{if(B==4){C="Genre"}else{if(B==5){C="Language"}else{if(B==6){C="Mood"}else{if(B==7){C="Preference"}else{if(B==8){C="Situation"}else{if(B==9){C="Title"}else{if(B==10){C="Year"}else{return""}}}}}}}}}}}return window.parent.external.GetClipInfo(C)}function CSGetFormElementValue(C){var B=C[1];var A=C[2];return document.forms[B].elements[A].value}function ROGetInstalledComponents(){return window.parent.external.InstalledComponents}function CSGetLayerPos(C){var B=C[1];var A=CSGetStylePos(B,0);var D=CSGetStylePos(B,1);return new Array(A,D)}function ROGetPlayerProperty(A){var C,B;B=A[1];if(B==0){C="APIVERSION"}else{if(B==1){C="BANDWIDTH"}else{if(B==2){C="COUNTRYID"}else{if(B==3){C="DISTRIBUTION"}else{if(B==4){C="INSTALLPATH"}else{if(B==5){C="LANGUAGEID"}else{if(B==6){C="LANGUAGEPREFERENCE"}else{if(B==7){C="OSNAME"}else{if(B==8){C="PRODUCTNAME"}else{if(B==9){C="PRODUCTVERSION"}else{if(B==10){C="REGIONDATE"}else{return""}}}}}}}}}}}return window.parent.external.PlayerProperty(C)}function ROGetPlayerState(){var A,B;B=window.parent.external.GetPlayerState();switch(B){case 0:A="Stopped";break;case 1:A="Contacting";break;case 2:A="Buffering";break;case 3:A="Playing";break;case 4:A="Paused";break;case 5:A="Seeking";break;default:A="";break}return A}function ROGetVersionNumber(C){var D,E,B,A,F,G;F=C[1];if(F==0&&C[2]==""){A=window.parent.external.RealPlayerVersion}else{if(F==1){D="audp"}else{if(F==2){D="DBCMpg1"}else{if(F==3){D="Flash"}else{if(F==4){D="GF"}else{if(F==5){D="GFJP"}else{if(F==6){D="imgp"}else{if(F==7){D="MP3PL"}else{if(F==8){D="MPGA"}else{if(F==9){D="PNG"}else{if(F==10){D="RA"}else{if(F==11){D="RealTxt"}else{if(F==12){D="RichFX"}else{if(F==13){D="RPix"}else{if(F==14){D="RV"}else{if(F==15){D="sdp"}else{if(F==16){D="vidp"}}}}}}}}}}}}}}}}if(C[2]!=""){D=C[2]}B=C[3];E=C[4];A=window.parent.external.ComponentVersion(D+":"+B+"."+E)}G=C[5];if(G){A=ROUnpackVersionNumber(A)}return A}function CSGoBack1(){history.back()}function CSGotoLink(B){if(B[2].length){var A=false;for(i=0;i<parent.frames.length;i++){if(parent.frames[i].name==B[2]){A=true;break}}if(A==true){parent.frames[B[2]].location=B[1]}else{window.open(B[1],B[2],"")}}else{location=B[1]}}function ROHandleAction(A){var C,B;B=A[1];if(B==0){C="CD"}else{if(B==1){C="MyDevices"}else{if(B==2){C="NowPlaying"}else{if(B==3){C="Radio"}else{if(B==4){C="ShowEqualizer"}else{if(B==5){C="Web"}else{return }}}}}}window.parent.external.HandleAction(C)}function CSIdleObject(A){this.conditionAction=A[2];this.trueAction=A[3];this.falseAction=A[4];this.exitIdleIfTrue=A[1];this.lastState=false}function CSIdleAction(A){idleObj=new CSIdleObject(A);CSStartFunction(CSDoIdle,idleObj)}function CSDoIdle(B){idleObject=B.data;if(idleObject.conditionAction){gCurrentIdleObject=idleObject;var A=CSAction(new Array(idleObject.conditionAction));if(A==true&&idleObject.lastState==false){idleObject.lastState=A;if(idleObject.trueAction){CSAction(new Array(idleObject.trueAction));if(idleObject.exitIdleIfTrue==true){return false}}}else{if(A==false&&idleObject.lastState==true){idleObject.lastState=false;if(idleObject.falseAction){CSAction(new Array(idleObject.falseAction))}}}}return true}function CSDJCheckFolder(A){myDJFullPath=document.location.pathname;myDJFileArray=myDJFullPath.split("/");if(myDJFileArray.length>1){myDJFolder=myDJFileArray[myDJFileArray.length-2];if(myDJFolder==A[1]){return true}}return false}function CSDJCheckFile(A){myDJFullPath=document.location.href;myDJFileArray=myDJFullPath.split("/");myDJFile=myDJFileArray[myDJFileArray.length-1];if(myDJFile==A[1]){return true}else{return false}}function CSLayerIntersect(D){var G,J,B,M,E,I,A,L;if(IsIE()){var F=document.all.tags("div")[D[1]];var C=document.all.tags("div")[D[2]];G=F.style.pixelLeft;J=F.style.pixelTop;B=F.offsetWidth+G;M=F.offsetHeight+J;E=C.style.pixelLeft;I=C.style.pixelTop;A=C.offsetWidth+E;L=C.offsetHeight+I}else{var F=CSNSStyl(D[1]);var C=CSNSStyl(D[2]);if(CSBVers>=5){CSIDOM();G=parseInt(F.left);J=parseInt(F.top);B=parseInt(F.width)+G;M=parseInt(F.height)+J;E=parseInt(C.left);I=parseInt(C.top);A=parseInt(C.width)+E;L=parseInt(C.height)+I}else{G=F.x;J=F.y;B=F.clip.width+G;M=F.clip.height+J;E=C.x;I=C.y;A=C.clip.width+E;L=C.clip.height+I}}var N=(B<A?B:A)-(G>E?G:E);var H=(M<L?M:L)-(J>I?J:I);return((N>=0)&&(H>=0))}function DJintoFrameset(E){var D=E[1];var H="";var G="";var F="";var A="";var B=0;var C="";if(parent.frames.length>0){H=parent.location.pathname;if(H.lastIndexOf("\\")!=-1){G=H.substring(H.lastIndexOf("\\")+1,H.length)}else{if(H.lastIndexOf("/")!=-1){G=H.substring(H.lastIndexOf("/")+1,H.length)}else{G=H}}}if(D.lastIndexOf("\\")!=-1){F=D.substring(D.lastIndexOf("\\")+1,D.length)}else{if(D.lastIndexOf("/")!=-1){F=D.substring(D.lastIndexOf("/")+1,D.length)}else{F=D}}if(F.length>0){if(parent.frames.length==0||G!=F||(top!=parent&&E[2])){if(E[3]){A=E[1]}else{A=E[1]+"?"+escape(window.location.href)}if(!E[2]){window.location.replace(A)}else{top.location.replace(A)}}else{if(parent.djaframeset&&parent.djaframeset!=""&&!E[3]){A=parent.djaframeset;parent.djaframeset="";window.location.replace(A)}}}}function CSKeePress(B){desiredKey1=B[1];calledAction1=B[2];desiredKey2=B[3];calledAction2=B[4];desiredKey3=B[5];calledAction3=B[6];desiredKey4=B[7];calledAction4=B[8];if(document.layers){document.captureEvents(Event.KEYPRESS)}document.onkeydown=A;function A(D){D=(D)?D:(window.event)?window.event:"";if(D){var C="";if(D.which){C=D.which}else{C=event.keyCode}alphaNum=String.fromCharCode(C).toLowerCase();if(desiredKey1==alphaNum){CSAction(new Array(calledAction1))}if(desiredKey2==alphaNum){CSAction(new Array(calledAction2))}if(desiredKey3==alphaNum){CSAction(new Array(calledAction3))}if(desiredKey4==alphaNum){CSAction(new Array(calledAction4))}}}A()}CSCurrentPressedKey=-1;function CSKeyPress(B){var A;if(IsIE()){CSCurrentPressedKey=event.keyCode}else{CSCurrentPressedKey=B.which}}document.onkeypress=CSKeyPress;function CSKeyCompare(B){var A=(B[1]==CSCurrentPressedKey);if(A){CSCurrentPressedKey=-1}return A}function CSPAKkillframe(){if(self.parent.frames.length!=0){self.parent.location=document.location}}function CSshowdate(A){form=A[1];elem=A[2];modified=new Date(document.lastModified);theMonth=modified.getMonth()+1;theDate=modified.getDate();theYear=(navigator.appVersion.indexOf("3.0")!=-1)?(modified.getYear()):(modified.getFullYear());theDay=modified.getDay();days=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");modified=new Date(document.lastModified);today=days[theDay];if(A[3]==0){todisplay=theMonth+"/"+theDate+"/"+theYear}if(A[3]==1){todisplay=theDate+"/"+theMonth+"/"+theYear}if(A[3]==2){todisplay=theYear+"/"+theMonth+"/"+theDate}if(A[3]==3){todisplay=theYear+"/"+theDate+"/"+theMonth}if(A[4]==true){todisplay=today+", "+todisplay}if(form!=""||elem!=""){document.forms[form].elements[elem].value=todisplay}if(A[5]==false){alert(todisplay)}}function CSshowdateID(A){(A[2]!="")?(updateobject=A[2]):(updateobject=A[1]);modified=new Date(document.lastModified);theMonth=modified.getMonth()+1;theDate=modified.getDate();theYear=(navigator.appVersion.indexOf("3.0")!=-1)?(modified.getYear()):(modified.getFullYear());theDay=modified.getDay();days=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");today=days[theDay];if(A[3]==0){todisplay=theMonth+"/"+theDate+"/"+theYear}if(A[3]==1){todisplay=theDate+"/"+theMonth+"/"+theYear}if(A[3]==2){todisplay=theYear+"/"+theMonth+"/"+theDate}if(A[3]==3){todisplay=theYear+"/"+theDate+"/"+theMonth}if(A[4]==true){todisplay=today+", "+todisplay}if(document.all){document.all(updateobject).innerHTML=A[6]+A[5]+todisplay+A[7]}else{if(document.getElementById){document.getElementById(updateobject).innerHTML=A[6]+A[5]+todisplay+A[7]}}}var myLayer=false;var offSetX=1;var offSetY=1;function CSMouseFollow(C,B,A){myLayer=C[1];if(B){offSetX=B}if(A){offSetY=A}if(navigator.appName=="Netscape"){document.captureEvents(Event.MOUSEMOVE)}else{if(navigator.appVersion.indexOf("Mac")!=-1){offSetX=offSetX-18}}document.onmousemove=mouseLayer}function mouseLayer(A){if(navigator.appName=="Netscape"&&navigator.appVersion.charAt(0)>=5){document.getElementById(myLayer).style.left=(A.pageX+offSetX);document.getElementById(myLayer).style.top=(A.pageY+offSetY)}else{if(navigator.appName=="Netscape"){document.layers[myLayer].moveBy((A.pageX+offSetX)-document.layers[myLayer].left,(A.pageY+offSetY)-document.layers[myLayer].top);return true}else{document.all[myLayer].style.pixelLeft=(event.x+offSetX);document.all[myLayer].style.pixelTop=(event.y+offSetY);event.cancelBubble=true;event.returnValue=false}}}function CSMoveBy(A){x=CSGetStylePos(A[1],0);y=CSGetStylePos(A[1],1);x+=parseInt(A[2]);y+=parseInt(A[3]);x=CSSetStylePos(A[1],0,x);y=CSSetStylePos(A[1],1,y)}function CSMoveTo(A){CSSlideLayer(A[1],A[2],A[3],A[4])}function CSHistoryGo(A){history.go(A[1])}function RONavigateToURL(A){var F,D,C,B;C=A[1];D=A[2];if(D==0){F="_rpbrowser"}else{F="_rpexternal"}B=A[3]*1000;if(B>0){var E=new Object();E.type="navigate";E.time=B;E.url=C;E.target=F;if(ROOnPLCArray){ROOnPLCArray[ROOnPLCArray.length]=E}}else{window.parent.external.HandleAction("NavigateToURL("+C+","+F+")")}}function CSFixFct(){var B=document;var A=window;if(B.cs.csFix.w!=A.innerWidth||B.cs.csFix.h!=A.innerHeight){B.location=B.location}}function CSNSFix(B){var C=document;var A=window;if((navigator.appName=="Netscape")&&(parseInt(navigator.appVersion)==4)){if(typeof C.cs=="undefined"){C.cs=new Object;C.cs.csFix=new Object}else{if(CSIsFrame(A)==true){CSFixFct()}}C.cs.csFix.w=A.innerWidth;C.cs.csFix.h=A.innerHeight;window.onresize=CSFixFct}}function CSIsFrame(B){var A=B.parent;if(A=="undefined"){return false}for(i=0;i<A.frames.length;i++){if(B==A.frames[i]){return true}}return false}function CSOpenAlert(A){alert(A[1])}function CSOpenWindow(B){var A="";A=A+"width="+B[3];A=A+",height="+B[4];A=A+",resizable="+(B[5]?"yes":"no");A=A+",scrollbars="+(B[6]?"yes":"no");A=A+",menubar="+(B[7]?"yes":"no");A=A+",toolbar="+(B[8]?"yes":"no");A=A+",directories="+(B[9]?"yes":"no");A=A+",location="+(B[10]?"yes":"no");A=A+",status="+(B[11]?"yes":"no");window.open(B[1],B[2],A)}function CSOpenFullWindow(B){var A="";if(B[12]){A=A+"width="+screen.availWidth;A=A+",height="+screen.availHeight}else{A=A+"width="+B[3];A=A+",height="+B[4]}A=A+",resizable="+(B[5]?"yes":"no");A=A+",scrollbars="+(B[6]?"yes":"no");A=A+",menubar="+(B[7]?"yes":"no");A=A+",toolbar="+(B[8]?"yes":"no");A=A+",directories="+(B[9]?"yes":"no");A=A+",location="+(B[10]?"yes":"no");A=A+",status="+(B[11]?"yes":"no");if(B[12]){A=A+",left=0";A=A+",top=0"}else{if(B[13]){A=A+",left="+B[13]}if(B[14]){A=A+",top="+B[14]}}window.open(B[1],B[2],A)}function CSOpenWindowPrompt(E){var C=self.location.href;var A=prompt("Enter a new width:","");if(A!=null){var D=prompt("Enter a new height:","")}var B="";B=B+"width="+A;B=B+",height="+D;B=B+",resizable="+(E[1]?"yes":"no");B=B+",scrollbars="+(E[2]?"yes":"no");B=B+",menubar="+(E[3]?"yes":"no");B=B+",toolbar="+(E[4]?"yes":"no");B=B+",directories="+(E[5]?"yes":"no");B=B+",location="+(E[6]?"yes":"no");B=B+",status="+(E[7]?"yes":"no");if(A==null||D==null){return null}else{window.open(C,"testwin",B)}}var actn1="";var actn2="";var pass="";var z=23;var y=28;iCounter=3;if(Array){var f=new Array();var K=new Array();var base=new Array("0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z")}function inc(){iCounter--;if(iCounter>0){if(confirm("\nPassword is incorrect.\n\n\n\nRetry?")){Check()}}else{alert("Access Denied")}}function Check(){pass=prompt("Enter your password.","");if(pass==null||pass==""){alert("You did not enter a password!");if(pass==""){Check()}}else{var B=(pass.length)+1;for(l=1;l<B;l++){K[l]=pass.charAt(l)}var A=0;for(y=1;y<B;y++){for(x=0;x<62;x++){if(K[y]==base[x]){A+=f[x];A*=y}}}if(A==parseInt(actn1)){go()}else{inc()}}}function go(){alert(actn2);location.href=pass+".html"}function PVpassword(A){if(Array){actn1=A[1];actn2=A[2];z=23;y=28;for(x=0;x<10;x++){f[x]=x<<9;f[x]+=23}for(x=10;x<36;x++){y=y<<1;v=Math.sqrt(y);v=parseInt(v,16);v+=5;f[x]=v;y++}for(x=36;x<62;x++){z=z<<1;v=Math.sqrt(z);v=parseInt(v,16);v+=74;f[x]=v;z++}iCounter=3;Check()}}function CSPDFredirect(A){if(navigator.mimeTypes&&navigator.mimeTypes["application/pdf"]&&navigator.mimeTypes["application/pdf"].enabledPlugin){location.href=A[1]}else{if(navigator.appName=="Microsoft Internet Explorer"){x=confirm("The page you are trying to view requires the Adobe Portable Document Format (.PDF) browser plug-in or the Adobe Acrobat Reader application. We could not detect if your browser has this plug-in installed. To attempt to view the page anyway, click OK. Otherwise click CANCEL to view an alternate page");if(x==true){location.href=A[1]}}else{x=confirm("Your browser may not be able to display PDF files. To attempt to view the PDF page anyway, click OK. Otherwise click CANCEL to view an alternate page");if(x==true){location.href=A[1]}}}}function ROPlayClip(I){var F,A,G,J,B,L,C,H,E,M;A=I[1];J=I[2];if(J=="(EmptyReference!)"){J=""}B=I[3];L=I[4];C=I[5];if(C=="(EmptyReference!)"){C=""}if(I[6]==0){H="_rpbrowser"}else{H="_rpexternal"}E=I[7]*1000;if(E>0){var D=new Object();D.type="navigate";D.time=E;D.url=C;C="";D.target=H;if(ROOnPLCArray){ROOnPLCArray[ROOnPLCArray.length]=D}}M=I[8];G="Album name="+I[9];G+="|Artist name="+I[10];G+="|CDNum="+I[11];G+="|Comments="+I[12];G+="|Genre="+I[13];G+="|Language="+I[14];G+="|Mood="+I[15];G+="|Preference="+I[16];G+="|Situation="+I[17];G+="|Title="+I[18];G+="|Year="+I[19];window.parent.external.PlayClip(A,G,J,B,L,C,H,M)}function CSPlayScene(A){CSStartSeq(A[1])}var CSLastSound=null;function CSPlaySound(action){if(eval("document."+action[1])!=null){if(CSLastSound!=null&&CSLastSound!=action[1]){eval("document."+CSLastSound+".stop()")}CSLastSound=action[1];if(window.navigator.userAgent.indexOf("MSIE")>0){eval("document."+CSLastSound+".run()")}else{eval("document."+CSLastSound+".play(true)")}}else{alert("The current Plug-In cannot be controlled by JavaScript. Please try using LiveAudio or a compatible Plug-In!")}}CSImages=new Array();function CSPreloadImage(A){if(document.images){CSImages[CSImages.length]=new Image();CSImages[CSImages.length-1].src=A[1]}}function ROPreloadURL(A){ROPreloadURLArray[ROPreloadURLArray.length]=A[1]}ROPreloadURLArray=new Array();function RPOnPreload(){for(var A=0;A<ROPreloadURLArray.length;A++){if(ROPreloadURLArray[A]!=0){window.parent.external.PreloadURL(ROPreloadURLArray[A]);ROPreloadURLArray[A]=0}}}function CSprintdocument(A){if(navigator.appName.indexOf("Microsoft")!=-1&&navigator.platform.indexOf("Mac")!=-1||navigator.appVersion.indexOf("3.0")!=-1){alert("Please use your browser's print command to print this document.")}else{(A[1]!="")?(parent.frames[A[1]].print()):(parent.print())}}function DJPrintPage(A){if(A[1]){top.focus();top.print()}else{window.focus();window.print()}}function CSRandomLinks(B){var A=0;if(B[2]!="(Empty Reference!)"&&B[2]!="(EmptyReference!)"){++A}if(B[3]!="(Empty Reference!)"&&B[3]!="(EmptyReference!)"){++A}if(B[4]!="(Empty Reference!)"&&B[4]!="(EmptyReference!)"){++A}if(B[5]!="(Empty Reference!)"&&B[5]!="(EmptyReference!)"){++A}if(B[6]!="(Empty Reference!)"&&B[6]!="(EmptyReference!)"){++A}if(B[7]!="(Empty Reference!)"&&B[7]!="(EmptyReference!)"){++A}if(parent.frames.length>0){if(B[1].length>0){parent.frames[B[1]].location=B[Math.floor(Math.random()*A)+2]}}else{if(B[1].length>0){window.open(B[Math.floor(Math.random()*A)+2],B[1],"")}}if(B[1].length==0){top.location=B[Math.floor(Math.random()*A)+2]}}function CSRandomImg(C){var A=CSGetImage(C[1]);if(A){var D=Math.floor(Math.random()*10);var B=D-(Math.floor(D/3)*3);A.src=C[B+2]}}function getCookie(A){tempString=A+"=";if(document.cookie.length>0){start=document.cookie.indexOf(tempString);if(start!=-1){end=document.cookie.indexOf(";",start);if(end==-1){end=document.cookie.length}start+=tempString.length;return unescape(document.cookie.substring(start,end))}}}function setCookie(B,C,A){cookieExpires=new Date;cookieExpires.setMonth(cookieExpires.getMonth()+6);document.cookie=B+"="+escape(C)+";expires="+cookieExpires.toGMTString()}function testCookie(A){if(getCookie(A)){return(getCookie(A))}else{return false}}function CSredPrompt(D){var C=D[5];if(testCookie(D[5])&&D[4]==true){location.href=getCookie(D[5])}else{var A=0}function B(){alert(D[3]);A=1;var F=prompt(D[1],D[2]);if(F==D[6]){setCookie(D[5],D[7]);location.href=D[7]}else{if(F==D[8]){setCookie(D[5],D[9]);location.href=D[9]}else{if(F==D[10]){setCookie(D[5],D[11]);location.href=D[11]}else{if(F==D[12]){setCookie(D[5],D[13]);location.href=D[13]}else{if(F==D[15]){setCookie(D[5],D[16]);location.href=D[16]}else{if(F==D[2]){B()}else{if(F==null){return }else{B()}}}}}}}}if(A==0){var E=prompt(D[1],D[2]);if(E==D[6]){setCookie(D[5],D[7]);location.href=D[7]}else{if(E==D[8]){setCookie(D[5],D[9]);location.href=D[9]}else{if(E==D[10]){setCookie(D[5],D[11]);location.href=D[11]}else{if(E==D[12]){setCookie(D[5],D[13]);location.href=D[13]}else{if(E==D[14]){setCookie(D[5],D[15]);location.href=D[15]}else{if(E==D[2]){B()}else{if(E==null){return }else{B()}}}}}}}}}function CSResizeWindow(A){if(navigator.appVersion.charAt(0)>=4){window.resizeTo(A[1],A[2])}}function CSScrollDown(B){if(navigator.appVersion.charAt(0)>=4){var A=0;if(B[2]>0){while(A<B[1]){window.scrollBy(0,B[2]);A=A+B[2]}}}}function CSScrollLeft(B){if(navigator.appVersion.charAt(0)>=4){var A=0;if(B[2]>0){while(A<B[1]){window.scrollBy(-B[2],0);A=A+B[2]}}}}function CSScrollRight(B){if(navigator.appVersion.charAt(0)>=4){var A=0;if(B[2]>0){while(A<B[1]){window.scrollBy(B[2],0);A=A+B[2]}}}}function CSScrollUp(B){if(navigator.appVersion.charAt(0)>=4){var A=0;if(B[2]>0){while(A<B[1]){window.scrollBy(0,-B[2]);A=A+B[2]}}}}function CSScrollstatus(B){phrase=B[1];speed=B[2];(B[3]!=true)?delay=setTimeout("CSScrollleftidle()",20):delay=setTimeout("CSScrollrightidle()",20);var A;leftphrase="                                                                                                 "+phrase;charnum=leftphrase.length;stringnum=leftphrase.length;size=leftphrase.length+1}function CSScrollrightidle(){stringnum--;(stringnum!=0)?window.status=leftphrase.substring(charnum,stringnum):stringnum=charnum;delay=setTimeout("CSScrollrightidle()",speed)}function CSScrollleftidle(){thestring=leftphrase.substring(0,1);leftphrase+=thestring;leftphrase=leftphrase.substring(1,size);window.status=leftphrase.substring(0,size);delay=setTimeout("CSScrollleftidle()",speed)}function CSSearchEngine(D){var C=D[1];var B=D[2];var E;if(D[3]==true){E=D[4]}else{E=document.forms[C].elements[B].value}var A=D[5];if(A==0){engine="http://search.adobe.com/cgi-bin/query?mss=simple&pg=q&what=web&fmt=.&where=www_search_main&superq="+E+"&rd=all&q="+E+"&x=39&y=10"}else{if(A==1){engine="http://www.altavista.digital.com/cgi-bin/query?pg=q&what=web&fmt=.&q="+E}else{if(A==2){engine="http://groups.google.com/groups?q="+E+"&hl=en&lr=&safe=off&btnG=Google+Search&site=groups"}else{if(A==3){engine="http://www.excite.com/search.gw?trace=a&search="+E}else{if(A==4){engine="http://www.search.hotbot.com/hResult.html?SM=MC&MT="+E+"&DV=7&RG=.com&DC=10&DE=2&OPs=MDRTP&_v=2&DU=days&SW=web&search.x=23&search.y=8"}else{if(A==5){engine="http://www.google.com/search?q="+E+"&btnG=Google+Search"}else{if(A==6){engine="http://search.msn.com/results.asp?RS=CHECKED&FORM=MSNH&v=1&q="+E}else{if(A==7){engine="http://www.lycos.com/cgi-bin/pursuit?query="+E+"&matchmode=and&cat=lycos&x=33&y=10"}else{if(A==8){engine="http://shopper.cnet.com/shopping/search/results/1,10214,0-1257,00.html?tag=st%2Esh%2E1257%2Esbsr&qt="+E+"&cn=&ca=1257"}else{if(A==9){engine="http://search.excite.com/search.gw?c=web&lk=webcrawler&onload=&s="+E}else{if(A==10){engine="http://search.yahoo.com/bin/search?p="+E}}}}}}}}}}}if(E==""){alert("Please enter a search keyword!")}else{newWindow=window.open(engine,D[6],"toolbar,location,directories,status,menubar,scrollbars,resizable=1")}}function CSSetStateToCode(action){eval(action[3]+" = CSStateArray[action[1]]")}function CSSetBackColor(A){document.bgColor=A[1]}function CSSetImageURL(B){var A=CSGetImage(B[1]);if(A){A.src=B[2]}}function CSSetStatus(A){self.status=A[1]}function ROSetVideoBackgroundColor(A){var C,B;B="#";B+=A[1];C=A[2]*1000;if(C>0){var D=new Object();D.type="color";D.time=C;D.color=B;if(ROOnPLCArray){ROOnPLCArray[ROOnPLCArray.length]=D}}else{window.parent.external.SetVideoBackgroundColor(B)}}function CSSetStateWithCode(action){CSStateArray[action[1]]=eval(action[3])}function ROShowArtistInfo(B){var A;if(B[1]==true){A=1}else{A=0}window.parent.external.HandleAction("ShowArtistInfo("+A+")")}function ROShowPreferences(A){var C,B;B=A[1];C="ShowPreferences(";if(B==0){C+="General,General"}else{if(B==1){C+="Connection,Connection"}else{if(B==2){C+="Connection,Playback Settings"}else{if(B==3){C+="Connection,Internet Settings"}else{if(B==4){C+="Connection,Proxy"}else{if(B==5){C+="Connection,Network Transports"}else{if(B==6){C+="My Library,My Library"}else{if(B==7){C+="My Library,Advanced My Library"}else{if(B==8){C+="CD,CD"}else{if(B==9){C+="CD,Advanced CD"}else{if(B==10){C+="Devices,Devices"}else{if(B==11){C+="Accessories,Accessories"}else{if(B==12){C+="Media Types,Media Types"}else{if(B==13){C+="Content,Content"}else{if(B==14){C+="Hardware,Hardware"}else{if(B==15){C+="AutoUpdate,AutoUpdate"}else{return }}}}}}}}}}}}}}}}C+=")";window.parent.external.HandleAction(C)}function CSShowHide(B){if(B[1]==""){return }var A=B[2];if(A==0){CSSetStyleVis(B[1],0)}else{if(A==1){CSSetStyleVis(B[1],1)}else{if(A==2){if(CSGetStyleVis(B[1])==0){CSSetStyleVis(B[1],1)}else{CSSetStyleVis(B[1],0)}}}}}function CSSlideNewWindow(C){var A="";if(C[7]||C[8]||C[9]==true){A=C[4]-125}else{A=C[4]}var B="";B=B+"width="+C[3];B=B+",height="+A;B=B+",resizable="+(C[5]?"yes":"no");B=B+",scrollbars="+(C[6]?"yes":"no");B=B+",menubar="+(C[7]?"yes":"no");B=B+",toolbar="+(C[8]?"yes":"no");B=B+",directories="+(C[9]?"yes":"no");B=B+",location="+(C[10]?"yes":"no");B=B+",status="+(C[11]?"yes":"no");if(navigator.appVersion.charAt(0)>=4){var I=screen.width-20;var D=screen.height;var F=C[3];var H=C[4];var G=(I-F)/2;var E="";if(C[7]||C[8]||C[9]==true){E=(D-H)/3}else{E=(D-H)/2.5}}newwindow=window.open(C[1],C[2],B);newwindow.focus();if(navigator.appVersion.charAt(0)>=4){for(width1=1;width1<G;width1=width1+10){newwindow.moveTo(width1,E)}}}SSnumimg=1;SSsens2=-1;SSsens3=-1;function CSSlideShow(A){SSmax=A[2];SSimgNom=A[1];SSloop=A[4];SSsens=A[3];SSpalin=A[5];var B=null;if(document.images){if(!IsIE()&&CSBVers<5){B=CSFindElement(SSimgNom,0)}else{B=document.images[SSimgNom]}SSstr=B.src;SSn=SSstr.length;SSp=SSn-6;SSpstr=SSstr.substring(0,SSp);SSnimg=SSstr.substring(SSp,SSp+2);SSformat=SSstr.substring(SSp+2,SSn);if(SSformat==".jpg"||SSformat==".JPG"||SSformat==".gif"||SSformat==".GIF"){}else{alert("Image extension must be .jpg or .gif (case sensitive). Images must be numbered 01, 02 ...")}slide(SSmax,SSformat,SSpstr,SSnimg,SSimgNom,SSloop,SSpalin)}}function slide(G,E,C,B,F,A,D){if(SSsens2==true){SSsens=true}if(SSsens2==false){SSsens=false}if(SSsens==true){SSsuite=SSnumimg-1;if(SSnumimg>G){SSsuite=G}if(SSnumimg<=1&A==true&D!=true){SSsuite=G}if(SSnumimg<=1&A==true&D==true){if(SSsens2==-1&SSsens3==-1){SSsuite=G;SSsens3=1}else{SSsuite=SSnumimg+1;SSsens2=false}}if(SSnumimg<=1&A!=true&D!=true){if(SSsens2==-1&SSsens3==-1){SSsuite=G;SSsens3=1}else{SSsuite=SSnumimg;SSfini()}}}else{G=G-1;SSsuite=SSnumimg+1;if(SSnumimg>G&A==true&D!=true){SSsuite=1}if(SSnumimg>G&A==true&D==true){SSsuite=SSnumimg-1;SSsens2=true}if(SSnumimg>G&A!=true&D!=true){SSsuite=SSnumimg;SSfini()}if(SSnumimg<1){SSsuite=1}}SSnumimg=SSsuite;if(SSsuite<10){SSaller="0"+SSsuite}else{SSaller=SSsuite}SSsource=C+SSaller+E;var H=null;if(document.images){if(!IsIE()&&CSBVers<5){H=CSFindElement(F,0)}else{H=document.images[F]}if(H){H.src=SSsource}}}function SSfini(){}SSnumimg=1;SSsens2=-1;SSsens3=-1;function CSDJSlideShow(A){SSmax=A[2];SSimgNom=A[1];SSloop=A[4];SSsens=A[3];SSpalin=A[5];var B=null;if(document.images){if(!IsIE()&&CSBVers<5){B=CSFindElement(SSimgNom,0)}else{B=document.images[SSimgNom]}SSstr=B.src;SSn=SSstr.length;SSp=SSn-7;SSpstr=SSstr.substring(0,SSp);SSnimg=SSstr.substring(SSp,SSp+3);SSformat=SSstr.substring(SSp+3,SSn);if(SSformat==".jpg"||SSformat==".JPG"||SSformat==".gif"||SSformat==".GIF"){}else{alert("Image extension must be .jpg or .gif (case sensitive). Images must be numbered 001, 002 ...")}slideDJ(SSmax,SSformat,SSpstr,SSnimg,SSimgNom,SSloop,SSpalin)}}function slideDJ(G,E,C,B,F,A,D){if(SSsens2==true){SSsens=true}if(SSsens2==false){SSsens=false}if(SSsens==true){SSsuite=SSnumimg-1;if(SSnumimg>G){SSsuite=G}if(SSnumimg<=1&A==true&D!=true){SSsuite=G}if(SSnumimg<=1&A==true&D==true){if(SSsens2==-1&SSsens3==-1){SSsuite=G;SSsens3=1}else{SSsuite=SSnumimg+1;SSsens2=false}}if(SSnumimg<=1&A!=true&D!=true){if(SSsens2==-1&SSsens3==-1){SSsuite=G;SSsens3=1}else{SSsuite=SSnumimg;SSDJfini()}}}else{G=G-1;SSsuite=SSnumimg+1;if(SSnumimg>G&A==true&D!=true){SSsuite=1}if(SSnumimg>G&A==true&D==true){SSsuite=SSnumimg-1;SSsens2=true}if(SSnumimg>G&A!=true&D!=true){SSsuite=SSnumimg;SSfini()}if(SSnumimg<1){SSsuite=1}}SSnumimg=SSsuite;if(SSsuite<10){SSaller="00"+SSsuite}else{if(SSsuite<100){SSaller="0"+SSsuite}else{SSaller=SSsuite}}SSsource=C+SSaller+E;var H=null;if(document.images){if(!IsIE()&&CSBVers<5){H=CSFindElement(F,0)}else{H=document.images[F]}if(H){H.src=SSsource}}}function SSDJfini(){}function CSSlideShowAuto(B){SSAfini=0;SSAnumimg=0;SSAmax=B[2];SSAimgNom=B[1];SSAtemps=B[3]*1000;if(B[4]==true){SSAstop=true}else{SSAstop=false}var A=null;if(document.images){if(!IsIE()&&CSBVers<5){A=CSFindElement(SSAimgNom,0)}else{A=document.images[SSAimgNom]}str=A.src;n=str.length;p=n-6;SSApstr=str.substring(0,p);SSAnimg=str.substring(p,p+2);SSAformat=str.substring(p+2,n);if(SSAformat==".jpg"||SSAformat==".JPG"||SSAformat==".gif"||SSAformat==".GIF"){}else{alert("Image extension must be .jpg or .gif (case sensitive). Images must use 2 digit naming starting with 01, 02 ... plus extension")}if(SSAnimg.substring(0,1)=="0"){SSAnumimg=Number(SSAnimg.substring(1,2))}else{SSAnumimg=Number(SSAnimg)}SSAtempo(SSAmax,SSAimgNom,SSAtemps,SSAstop,SSApstr,SSAnimg,SSAformat)}}function SSAtempo(A,C,E,G,F,D,B){setTimeout("slideAuto(SSAmax,SSAimgNom,SSAstop,SSApstr,SSAnimg,SSAformat)",E)}function slideAuto(A,D,G,F,E,C){if(SSAfini==1){SSAnumimg=SSAnumimg-2;CSSlideShowAutoPause()}else{A=A-1;SSAsuite=SSAnumimg+1;if(SSAnumimg>A){SSAsuite=1;if(G==true){SSAfini=1}else{SSAfini=0}}if(SSAnumimg<1){SSAsuite=1}SSAnumimg=SSAsuite;if(SSAsuite<10){SSAaller="0"+SSAsuite}else{SSAaller=SSAsuite}SSAsource=F+SSAaller+C;var B=null;if(document.images){if(!IsIE()&&CSBVers<5){B=CSFindElement(D,0)}else{B=document.images[D]}if(B){B.src=SSAsource}}SSAtempo(A,D,SSAtemps,G,F,E,C)}}function CSSlideShowAutoPause(){}function CSDJSlideShowAuto(B){SSAfini=0;SSAnumimg=0;SSAmax=B[2];SSAimgNom=B[1];SSAtemps=B[3]*1000;if(B[4]==true){SSAstop=true}else{SSAstop=false}var A=null;if(document.images){if(!IsIE()&&CSBVers<5){A=CSFindElement(SSAimgNom,0)}else{A=document.images[SSAimgNom]}str=A.src;n=str.length;p=n-7;SSApstr=str.substring(0,p);SSAnimg=str.substring(p,p+3);SSAformat=str.substring(p+3,n);if(SSAformat==".jpg"||SSAformat==".JPG"||SSAformat==".gif"||SSAformat==".GIF"){}else{alert("Image extension must be .jpg or .gif (case sensitive). Images must use 3 digit naming starting with 001, 002 ... plus extension")}if(SSAnimg.substring(0,1)=="0"){if(SSAnimg.substring(1,2)=="0"){SSAnumimg=Number(SSAnimg.substring(2,3))}else{SSAnumimg=Number(SSAnimg.substring(1,3))}}else{SSAnumimg=Number(SSAnimg)}SSDJAtempo(SSAmax,SSAimgNom,SSAtemps,SSAstop,SSApstr,SSAnimg,SSAformat)}}function SSDJAtempo(A,C,E,G,F,D,B){setTimeout("slideDJAuto(SSAmax,SSAimgNom,SSAstop,SSApstr,SSAnimg,SSAformat)",E)}function slideDJAuto(A,D,G,F,E,C){if(SSAfini==1){SSAnumimg=SSAnumimg-2;CSDJSlideShowAutoPause()}else{A=A-1;SSAsuite=SSAnumimg+1;if(SSAnumimg>A){SSAsuite=1;if(G==true){SSAfini=1}else{SSAfini=0}}if(SSAnumimg<1){SSAsuite=1}SSAnumimg=SSAsuite;if(SSAsuite<10){SSAaller="00"+SSAsuite}else{if(SSAsuite<100){SSAaller="0"+SSAsuite}else{SSAaller=SSAsuite}}SSAsource=F+SSAaller+C;var B=null;if(document.images){if(!IsIE()&&CSBVers<5){B=CSFindElement(D,0)}else{B=document.images[D]}if(B){B.src=SSAsource}}SSDJAtempo(A,D,SSAtemps,G,F,E,C)}}function CSDJSlideShowAutoPause(){}function CSSlideShowAutoStop(A){if(SSAfini==0){SSAfini=1}else{SSAfini=0}SSAnumimg=SSAnumimg+2;slideAuto(SSAmax,SSAimgNom,SSAstop,SSApstr,SSAnimg,SSAformat)}function CSDJSlideShowAutoStop(A){if(SSAfini==0){SSAfini=1}else{SSAfini=0}SSAnumimg=SSAnumimg+2;slideDJAuto(SSAmax,SSAimgNom,SSAstop,SSApstr,SSAnimg,SSAformat)}var DJold=new Array();function DJmoveNewPos(A){if(document.all){x=document.body.scrollLeft+DJold[A].originX;y=document.body.scrollTop+DJold[A].originY}else{x=window.pageXOffset+DJold[A].originX;y=window.pageYOffset+DJold[A].originY}d1=x-DJold[A].x;d2=y-DJold[A].y;DJold[A].x=DJold[A].x+(x-DJold[A].x)*DJold[A].smooth;DJold[A].y=DJold[A].y+(y-DJold[A].y)*DJold[A].smooth;CSSetStylePos(DJold[A].oldLayer,0,DJold[A].x);CSSetStylePos(DJold[A].oldLayer,1,DJold[A].y);setTimeout("DJmoveNewPos("+A+")",10)}function DJSmoothFloatLayer(B){var A=B[2][0];var C=B[2][1];DJold[DJold.length]=new Array();t=DJold.length-1;DJold[t].oldLayer=B[1];CSSetStylePos(DJold[t].oldLayer,0,A);CSSetStylePos(DJold[t].oldLayer,1,C);DJold[t].x=A;DJold[t].y=C;DJold[t].originX=A;DJold[t].originY=C;DJold[t].smooth=1/B[3];setTimeout("DJmoveNewPos("+t+")",10)}function CSSnippetCode(action){eval(action[1])}function CSStopAll(A){CSStopComplete()}function CSStopScene(A){CSStopFunction(A[1])}function CSStopSound(action){if(eval("document."+action[1])!=null){eval("document."+action[1]+".stop()")}}function DJSS(E,J,D,G,H){this.image=E;this.max=J;this.speed=D;this.loop=G;this.rev=H;this.paused=1;this.id=null;var B=null;if(document.images){if(!IsIE()&&CSBVers<5){B=CSFindElement(E,0)}else{B=document.images[E]}var I=B.src;var C=I.length;var A=C-7;this.pre=I.substring(0,A);this.ext=I.substring(A+3,C);var F=I.substring(A,A+3);if(F.substring(0,1)=="0"){if(F.substring(1,2)=="0"){this.num=Number(F.substring(2,3))}else{this.num=Number(F.substring(1,3))}}else{this.num=Number(F)}}}var DJSSvars=new Array();function DJSSstart(B){DJSSvars[B[1]]=new DJSS(B[1],B[2],B[3]*1000,B[4],B[5]);if(B[6]){var A="DJSSplay('"+B[1]+"')";DJSSvars[B[1]].id=setTimeout(A,B[3]*1000);DJSSvars[B[1]].paused=0}}function DJSSshow(C){var A="";var B=null;if(DJSSvars[C].num<10){A="00"+DJSSvars[C].num}else{if(DJSSvars[C].num<100){A="0"+DJSSvars[C].num}else{A=DJSSvars[C].num}}A=DJSSvars[C].pre+A+DJSSvars[C].ext;if(document.images){if(!IsIE()&&CSBVers<5){B=CSFindElement(C,0)}else{B=document.images[C]}if(B){B.src=A}}}function DJSSplay(A){if(DJSSvars[A].rev){if(--DJSSvars[A].num<1){if(DJSSvars[A].loop){DJSSvars[A].num=DJSSvars[A].max}else{DJSSvars[A].num++;return }}}else{if(++DJSSvars[A].num>DJSSvars[A].max){if(DJSSvars[A].loop){DJSSvars[A].num=1}else{DJSSvars[A].num--;return }}}DJSSshow(A);temp="DJSSplay('"+A+"')";DJSSvars[A].id=setTimeout(temp,DJSSvars[A].speed);DJSSvars[A].paused=0}function DJSSgoto(A){if(A[2]==0){DJSSvars[A[1]].num=A[3]}else{if(A[2]==-2){DJSSvars[A[1]].num=1}else{if(A[2]==2){DJSSvars[A[1]].num=DJSSvars[A[1]].max}else{if(A[2]==-1){if(--DJSSvars[A[1]].num<1){if(DJSSvars[A[1]].loop){DJSSvars[A[1]].num=DJSSvars[A[1]].max}else{DJSSvars[A[1]].num++;return }}}else{if(A[2]==1){if(++DJSSvars[A[1]].num>DJSSvars[A[1]].max){if(DJSSvars[A[1]].loop){DJSSvars[A[1]].num=1}else{DJSSvars[A[1]].num--;return }}}}}}}DJSSshow(A[1])}function DJSSif(A){if(A[2]==0&&DJSSvars[A[1]].paused){return true}else{if(A[2]==1&&DJSSvars[A[1]].num==A[3]){return true}else{if(A[2]==2&&DJSSvars[A[1]].num<A[3]){return true}else{if(A[2]==3&&DJSSvars[A[1]].num>A[3]){return true}else{if(A[2]==4&&DJSSvars[A[1]].speed==A[4]){return true}else{if(A[2]==5&&DJSSvars[A[1]].speed<A[4]){return true}else{if(A[2]==6&&DJSSvars[A[1]].speed>A[4]){return true}}}}}}}return false}function DJSSpause(A){if(DJSSvars[A[1]].paused==1){DJSSplay(A[1])}else{clearTimeout(DJSSvars[A[1]].id);DJSSvars[A[1]].paused=1}}function DJSSrev(A){if(A[2]==-1){if(++DJSSvars[A[1]].rev>1){DJSSvars[A[1]].rev=0}}else{DJSSvars[A[1]].rev=A[2]}}function DJSSspeed(A){if(A[3]){DJSSvars[A[1]].speed+=A[2]*1000;if(DJSSvars[A[1]].speed<100){DJSSvars[A[1]].speed=100}}else{DJSSvars[A[1]].speed=Math.abs(A[2]*1000)}}function CSSVGredirect(A){if(navigator.mimeTypes&&navigator.mimeTypes["image/svg-xml"]&&navigator.mimeTypes["image/svg-xml"].enabledPlugin){location.href=A[1]}else{if(navigator.appName=="Microsoft Internet Explorer"){x=confirm("The page you are trying to view requires the Adobe Scaling Vector Graphics (.SVG) browser plug-in. We could not detect if your browser has this plug-in installed. To attempt to view the page anyway, click OK. Otherwise click CANCEL to view an alternate page");if(x==true){location.href=A[1]}}else{if(A[2]==true){alert(A[3])}}}}function CSSWFredirect(A){if(navigator.mimeTypes&&navigator.mimeTypes["application/x-shockwave-flash"]&&navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin){location.href=A[1]}else{if(navigator.appName=="Microsoft Internet Explorer"){x=confirm("The page you are trying to view requires the Macromedia Flash (.SWF) browser plug-in. We could not detect if your browser has this plug-in installed. To attempt to view the page anyway, click OK. Otherwise click CANCEL to view an alternate page");if(x==true){location.href=A[1]}}else{if(A[2]==true){alert(A[3])}}}}function CSPAKtrg2frames(A){parent.frames[A[1]].location.href=A[2];parent.frames[A[3]].location.href=A[4]}function CSPakRemote(A){if(TRversion()){if(A[2].length<1){opener.location.href=A[1]}else{opener.parent.frames[A[2]].location.href=A[1]}}return }function TRversion(){return(navigator.appName.indexOf("Netscape")>=0&&parseInt(navigator.appVersion.charAt(0))>=3)||(navigator.appName.indexOf("Explorer")>=0&&parseInt(navigator.appVersion.charAt(0))>=3)}function CStextswapID(A){(A[2]!="")?(updateobject=A[2]):(updateobject=A[1]);(A[5]==true)?(whichfunction="disappear()"):(whichfunction="revert()");if(document.all){originaltext=document.all(updateobject).innerHTML}if(document.getElementById){originaltext=document.getElementById(updateobject).innerHTML}timeout=(A[4]!="")?(A[4]*1000):0;if(document.getElementById){originaltext=document.getElementById(updateobject).innerHTML}timeout=(A[4]!="")?(A[4]*1000):0;if(document.all){document.all(updateobject).innerHTML=A[6]+A[3]+A[7];if(timeout!=0){setTimeout(whichfunction,timeout)}}else{if(document.getElementById){document.getElementById(updateobject).innerHTML=A[6]+A[3]+A[7];if(timeout!=0){setTimeout(whichfunction,timeout)}}}}function disappear(){if(document.all){document.all(updateobject).innerHTML="<div id=updateobject></div>"}else{if(document.getElementById){document.getElementById(updateobject).innerHTML=""}}}function revert(){if(document.all){document.all(updateobject).innerHTML=originaltext}else{if(document.getElementById){document.getElementById(updateobject).innerHTML=originaltext}}}function timeRedirect(D){var B=new Date();var A=B.getHours();var C=D[1];if(C>=12){C=C-12}if(D[2]==true){C+=12}if(A<C&&D[4]!="(Empty Reference!)"&&D[4]!="(EmptyReference!)"&&D[3]==true){window.location=D[4]}if(A>=C&&D[6]!="(Empty Reference!)"&&D[6]!="(EmptyReference!)"&&D[5]==true){window.location=D[6]}}function CSTimeout(C){var A=false;if(typeof (gCurrentIdleObject)=="undefined"){return A}if(gCurrentIdleObject.lastTime){var B=new Date();if(B.getTime()>=gCurrentIdleObject.lastTime){if(B.getTime()>=gCurrentIdleObject.nextTime){gCurrentIdleObject.lastTime=B.getTime()+C[1]*1000;gCurrentIdleObject.nextTime=gCurrentIdleObject.lastTime+C[1]*1000;return false}return true}}else{var B=new Date();gCurrentIdleObject.lastTime=B.getTime()+C[1]*1000;gCurrentIdleObject.nextTime=gCurrentIdleObject.lastTime+C[1]*1000}return A}function CSvisits(action){mycookie=action[8];cookieExpires=new Date;cookieExpires.setMonth(cookieExpires.getMonth()+12);visits=eval(cookieVal(mycookie));visits++;document.cookie=mycookie+"="+visits+";expires="+cookieExpires.toGMTString();function cookieVal(cookieName){thisCookie=document.cookie.split("; ");for(i=0;i<thisCookie.length;i++){if(cookieName==thisCookie[i].split("=")[0]){return thisCookie[i].split("=")[1]}}return 0}if(visits==1&&action[1]==true){alert(action[2])}else{if(action[5]==true){alert(action[3]+" "+visits)}}if(action[6]==true){if(visits==action[7]){alert(action[4])}}}function CSVisitorCookie(F){resultat="visitor";cookiename=F[1];goUrl=F[2];var B=cookiename+"=";var E=B.length;var A=document.cookie.length;var D=0;while(D<A){var C=D+E;if(document.cookie.substring(D,C)==B){return CSVisitorGetCookie(C)}D=document.cookie.indexOf(" ",D)+1;if(D==0){break}}VisitorSetCookie(cookiename);return null}function CSVisitorGetCookie(B){var A=document.cookie.indexOf(";",B);if(A==-1){A=document.cookie.length}valeur=unescape(document.cookie.substring(B,A));if(valeur==resultat){VisitorGotoLink(goUrl)}else{VisitorSetCookie(cookiename)}}function VisitorGotoLink(A){location=A}function VisitorSetCookie(B){var D="visitor";var A=500*24;path="/";domain=null;var C=new Date();C.setTime(C.getTime()+(A*60*60*1000));SetCookie(B,D,C)}function SetCookie(C,D){var A=SetCookie.arguments;var F=SetCookie.arguments.length;var B=(F>2)?A[2]:null;var E=(F>5)?A[5]:false;document.cookie=C+"="+escape(D)+((B==null)?"":("; expires="+B.toGMTString()))+((path==null)?"":("; path="+path))+((domain==null)?"":("; domain="+domain))+((E==true)?"; secure":"")}function CSStartWipe(C){var B=CSCreateTransElement(C[1],C[2]);if(B==null){return }var A=C[3];if(A=="_inLeft"){B.steps=B.clipRect.width/B.maxValue;B.modus="in"}else{if(A=="_inRight"){B.steps=B.clipRect.width/B.maxValue;B.modus="in"}else{if(A=="_outLeft"){B.steps=B.clipRect.width/B.maxValue;B.modus="out"}else{if(A=="_outRight"){B.steps=B.clipRect.width/B.maxValue;B.modus="out"}else{if(A=="_inTop"){B.steps=B.clipRect.height/B.maxValue;B.modus="in"}else{if(A=="_inBottom"){B.steps=B.clipRect.height/B.maxValue;B.modus="in"}else{if(A=="_outTop"){B.steps=B.clipRect.height/B.maxValue;B.modus="out"}else{if(A=="_outBottom"){B.steps=B.clipRect.height/B.maxValue;B.modus="out"}else{if(A=="_inCenter"){B.HSteps=B.clipRect.width/B.maxValue;B.VSteps=B.clipRect.height/B.maxValue;B.modus="in"}else{if(A=="_outCenter"){B.HSteps=B.clipRect.width/B.maxValue;B.VSteps=B.clipRect.height/B.maxValue;B.modus="out"}}}}}}}}}}if(B.modus==""){return }B.currentValue=0;B.glDir=C[3];CSStartFunction(CSDoWipe,B)}function CSDoWipe(D){var B=D.data;if(B==null){return false}if(B.currentValue==B.maxValue){CSFinishWipe(B);return false}var C=new CSRect(B.clipRect.left,B.clipRect.top,B.clipRect.width,B.clipRect.height);var A=B.glDir;if(A=="_inLeft"){C.left=C.width-B.currentValue*B.steps}else{if(A=="_inTop"){C.top=C.height-B.currentValue*B.steps}else{if(A=="_inRight"){C.width=B.currentValue*B.steps}else{if(A=="_inBottom"){C.height=B.currentValue*B.steps}else{if(A=="_outLeft"){C.width=C.width-B.currentValue*B.steps}else{if(A=="_outTop"){C.height=C.height-B.currentValue*B.steps}else{if(A=="_outRight"){C.left=B.currentValue*B.steps}else{if(A=="_outBottom"){C.top=B.currentValue*B.steps}else{if(A=="_inCenter"){C=CSCenterRectIn(B,C)}else{if(A=="_outCenter"){C=CSCenterRectOut(B,C)}}}}}}}}}}CSSetLayerClip(B,C);B.currentValue+=1;return true}function CSFinishWipe(A){if(A.modus=="in"){CSSetLayerClip(A,A.clipRect)}else{A.clipRect=new CSRect(0,0,A.width,A.height);CSSetLayerClip(A,A.clipRect);CSSetStyleVis(A.layer,0)}CSDisposeTransElement(A)}function CSCenterRectIn(A,B){var D=A.currentValue*A.HSteps/2;var C=A.currentValue*A.VSteps/2;B.left=Math.round(B.left+B.width/2-D);B.top=Math.round(B.top+B.height/2-C);B.width=Math.round(D*2);B.height=Math.round(C*2);return B}function CSCenterRectOut(A,B){var D=A.currentValue*A.HSteps/2;var C=A.currentValue*A.VSteps/2;B.left+=Math.round(D);B.top+=Math.round(C);B.width-=Math.round(D*2);B.height-=Math.round(C*2);return B}function CSshowtime(B){message=B[1];military=B[2];offset=B[3];dst=B[4];statuscheck=B[5];formcheck=B[6];form=B[7];elem=B[8];var A=0;theTimer=setTimeout("theClock()",10)}function theClock(){clearTimeout(theTimer);var C=new Date();var B=C.toGMTString();time_string=B.split(" ");hm=time_string[4];hm_string=hm.split(":");var A=hm_string[0]-0;var G=" A.M.";if(dst==true){dstoffset=1}A=A+offset+dst;if(A<0){A+=24}if(A>11&&A<24){G=" P.M."}if(A>12&&military==false){A-=12}var D=C.getMinutes();var F=""+((A>12)?A-12:A);if(F==0){F=12}var E=""+((A>23)?A-24:A);F+=((D<10)?":0":":")+D;F+=G;E+=((D<10)?":0":":")+D;if(military==false){WorldTime=message+F}else{WorldTime=message+E}if(statuscheck==true){window.status=WorldTime}if(formcheck==true){document.forms[form].elements[elem].value=WorldTime}theTimer=setTimeout("theClock()",5000)};