function formvisu(){ /* var formlog=''; formlog+=''; formlog+=''; formlog+=''; formlog+='
vous devez être inscrit ou abonné :
login'; formlog+='
mot de passe
'; formlog+='
'; x = document.getElementById("tdlog") ; x.innerHTML=formlog; */ x = document.getElementById("ttlogin") ; x.style.display = 'InLine' ; } // set the popup window width and height var windowW=480; // wide g_fIsSP2 = (window.navigator.userAgent.indexOf("SV1") != -1); if (g_fIsSP2) { //This browser is Internet Explorer in SP2. var windowH=255; } else { //This browser is not Internet Explorer in SP2. var windowH=235; } // high // set vertical offset if you want the popup // to rise above or stop below screen bottom; var Yoffset=0 ; // in pixels, negative values allowed // set the vertical motion parameters var windowStep=2 ;// move increment (pixels) var moveSpeed=10 ;// move speed (larger is slower) // set the horizontal positioning of the window // choices are left, center, right Xmode="right"; // in left or right Xmode, set any offset from // the screen edge here, if desired Xoffset=35; // set the url of the page to show in the popup var urlPop = "player.php"; // set the title of the page var title = "RADIO POP MODERNE"; // set this to true if the popup should close // upon leaving the launching page; else, false var autoclose = true; // ============================ // do not edit below this line // ============================ var windowX = (screen.width/2)-(windowW/2); if (Xmode=="left") windowX=0+Xoffset; if (Xmode=="right") windowX=screen.availWidth-Xoffset-windowW; var windowY = (screen.availHeight); var windowYstop = windowY-windowH-Yoffset; var windowYnow = windowY; s = "width="+windowW+",height="+windowH; var beIE = document.all?true:false; if(navigator.appVersion.indexOf('Mac')>=0){ os = 'mac'; }else{ os = 'win'; } var g_fIsSP2 = false; function openPeeker(){ if ((beIE)&&(os=='win')){ // alert(os); // PFW = window.open("","popFrameless","channelmode=no,fullscreen=no,statusbar=no,toolbar=no,statusbar=no,status=no, scrollbars='no',"+s); PFW = window.open("","popFrameless","channelmode=no,fullscreen=no,statusbar=no,toolbar=no,statusbar=no,status=no, scrollbars='no',"+s); PFW.blur(); window.focus(); PFW.resizeTo(windowW,windowH); PFW.moveTo(windowX,windowY); var frameString=""; frameString+=""; frameString+=""+title+""; frameString+=""; frameString+=""; frameString+=""; frameString+=""; PFW.document.open(); PFW.document.write(frameString) PFW.document.close() } else { PFW=window.open('player-other.php',"popFrameless","channelmode=no,fullscreen=no,statusbar=no,toolbar=no,statusbar=no,status=no,width=500,height=235") PFW.blur() window.focus() PFW.moveTo(windowX,windowY) } PFW.focus() movePFW(); } function movePFW(){ if (document.all){ if (windowYnow>=windowYstop){ PFW.moveTo(windowX,windowYnow); PFW.focus(); windowYnow=windowYnow-windowStep; timer=setTimeout("movePFW()",moveSpeed); }else{ clearTimeout(timer); PFW.moveTo(windowX,windowYstop); PFW.focus(); } }else{ PFW.moveTo(windowX,windowYstop); } }