﻿if(typeof deconcept=="undefined")var deconcept={};if(typeof deconcept.util=="undefined")deconcept.util={};if(typeof deconcept.SWFObjectUtil=="undefined")deconcept.SWFObjectUtil={}; deconcept.SWFObject=function(a,b,c,d,e,f,g,h,j,k){if(document.getElementById){this.DETECT_KEY=k?k:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params={};this.variables={};this.attributes=[];a&&this.setAttribute("swf",a);b&&this.setAttribute("id",b);c&&this.setAttribute("width",c);d&&this.setAttribute("height",d);e&&this.setAttribute("version",new deconcept.PlayerVersion(e.toString().split(".")));this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion(); if(!window.opera&&document.all&&this.installedVer.major>7)deconcept.SWFObject.doPrepUnload=true;f&&this.addParam("bgcolor",f);this.addParam("quality",g?g:"high");this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);this.setAttribute("xiRedirectUrl",h?h:window.location);this.setAttribute("redirectUrl","");j&&this.setAttribute("redirectUrl",j)}}; deconcept.SWFObject.prototype={useExpressInstall:function(a){this.xiSWFPath=!a?"expressinstall.swf":a;this.setAttribute("useExpressInstall",true)},setAttribute:function(a,b){this.attributes[a]=b},getAttribute:function(a){return this.attributes[a]},addParam:function(a,b){this.params[a]=b},getParams:function(){return this.params},addVariable:function(a,b){this.variables[a]=b},getVariable:function(a){return this.variables[a]},getVariables:function(){return this.variables},getVariablePairs:function(){var a= [],b,c=this.getVariables();for(b in c)a[a.length]=b+"="+c[b];return a},getSWFHTML:function(){var a="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath)}a='<embed type="application/x-shockwave-flash" src="'+this.getAttribute("swf")+'" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'"';a+=' id="'+this.getAttribute("id")+'" name="'+ this.getAttribute("id")+'" ';var b=this.getParams(),c;for(c in b)a+=[c]+'="'+b[c]+'" ';b=this.getVariablePairs().join("&");if(b.length>0)a+='flashvars="'+b+'"';a+="/>"}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath)}a='<object id="'+this.getAttribute("id")+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'">';a+='<param name="movie" value="'+ this.getAttribute("swf")+'" />';b=this.getParams();for(c in b)a+='<param name="'+c+'" value="'+b[c]+'" />';b=this.getVariablePairs().join("&");if(b.length>0)a+='<param name="flashvars" value="'+b+'" />';a+="</object>"}return a},write:function(a){if(this.getAttribute("useExpressInstall"))if(this.installedVer.versionIsValid(new deconcept.PlayerVersion([6,0,65]))&&!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"))){(typeof a=="string"?document.getElementById(a):a).innerHTML=this.getSWFHTML();return true}else this.getAttribute("redirectUrl")!=""&&document.location.replace(this.getAttribute("redirectUrl"));return false}}; deconcept.SWFObjectUtil.getPlayerVersion=function(){var a=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var b=navigator.plugins["Shockwave Flash"];if(b&&b.description)a=new deconcept.PlayerVersion(b.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."))}else if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){b=1;for(var c=3;b;)try{c++;b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+c);a=new deconcept.PlayerVersion([c, 0,0])}catch(d){b=null}}else{try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(e){try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");a=new deconcept.PlayerVersion([6,0,21]);b.AllowScriptAccess="always"}catch(f){if(a.major==6)return a}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(g){}}if(b!=null)a=new deconcept.PlayerVersion(b.GetVariable("$version").split(" ")[1].split(","))}return a}; deconcept.PlayerVersion=function(a){this.major=a[0]!=null?parseInt(a[0]):0;this.minor=a[1]!=null?parseInt(a[1]):0;this.rev=a[2]!=null?parseInt(a[2]):0};deconcept.PlayerVersion.prototype.versionIsValid=function(a){if(this.major<a.major)return false;if(this.major>a.major)return true;if(this.minor<a.minor)return false;if(this.minor>a.minor)return true;if(this.rev<a.rev)return false;return true}; deconcept.util={getRequestParameter:function(a){var b=document.location.search||document.location.hash;if(a==null)return b;if(b){b=b.substring(1).split("&");for(var c=0;c<b.length;c++)if(b[c].substring(0,b[c].indexOf("="))==a)return b[c].substring(b[c].indexOf("=")+1)}return""}};deconcept.SWFObjectUtil.cleanupSWFs=function(){for(var a=document.getElementsByTagName("OBJECT"),b=a.length-1;b>=0;b--){a[b].style.display="none";for(var c in a[b])if(typeof a[b][c]=="function")a[b][c]=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(a){return document.all[a]}; var getQueryParamValue=deconcept.util.getRequestParameter,FlashObject=deconcept.SWFObject,SWFObject=deconcept.SWFObject;function createObject(){return navigator.appName=="Microsoft Internet Explorer"?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest} var http=createObject(),nocache=0,timeouttick=9500,serv_ip_temp="91.121.8.4",streamer="rtmp://"+serv_ip_temp+"/flvplayback",scaleparams_h264="exactfit",buffersize_tv_h264="2",buffersize_vod_h264="2",serv_h264_ip="91.121.8.4",streamer_h264="rtmp://"+serv_h264_ip+"/flvplayback",max_slots="",scaleparams="exactfit",vmodeh="100%",vmodew="100%",buffersize_tv="2",buffersize_vod="2",channel="ch3"; function toggleTv_muted(a){var b=new SWFObject("http://www.rlife.fr/inc/mediaplayer53.swf","mpl",vmodew,vmodeh,"10,0,42,34");b.addParam("allowscriptaccess","always");b.addParam("allowfullscreen","true");b.addParam("wmode","opaque");b.addVariable("stretching",scaleparams);b.addVariable("streamer",streamer);b.addVariable("displayclick","fullscreen");b.addVariable("quality","true");b.addVariable("id","mpl");b.addVariable("logo","none");b.addVariable("playlistfile","http://www.rlife.fr/inc/playlist-live.php?channel="+ a);b.addVariable("backcolor","000000");b.addVariable("frontcolor","CCCCCC");b.addVariable("lightcolor","CCCCCC");b.addVariable("screencolor","000000");b.addVariable("height",vmodeh);b.addVariable("width",vmodew);b.addVariable("shuffle","false");b.addVariable("controlbar","none");b.addVariable("autostart","true");b.addVariable("repeat","list");b.addVariable("bufferlength",buffersize_tv);b.addVariable("mute","true");b.addVariable("volume","20");b.addVariable("linktarget","_self");b.write("player1")} function toggleTv(a){var b=new SWFObject("http://www.rlife.fr/inc/mediaplayer53.swf","mpl",vmodew,vmodeh,"10,0,42,34");b.addParam("allowscriptaccess","always");b.addParam("allowfullscreen","true");b.addParam("wmode","opaque");b.addVariable("stretching",scaleparams);b.addVariable("streamer",streamer);b.addVariable("displayclick","fullscreen");b.addVariable("quality","true");b.addVariable("id","mpl");b.addVariable("logo","none");b.addVariable("playlistfile","http://www.rlife.fr/inc/playlist-live.php?channel="+ a);b.addVariable("backcolor","000000");b.addVariable("frontcolor","CCCCCC");b.addVariable("lightcolor","CCCCCC");b.addVariable("screencolor","000000");b.addVariable("height",vmodeh);b.addVariable("width",vmodew);b.addVariable("shuffle","false");b.addVariable("controlbar","none");b.addVariable("autostart","true");b.addVariable("repeat","list");b.addVariable("bufferlength",buffersize_tv);b.addVariable("volume","20");b.addVariable("linktarget","_self");b.write("player1")} function getvid(a){s1=new SWFObject("http://www.rlife.fr/inc/vodplayer53.swf","mpl",vmodew,vmodeh,"10,0,42,34");s1.addParam("allowscriptaccess","always");s1.addParam("allowfullscreen","true");s1.addParam("wmode","opaque");s1.addVariable("stretching",scaleparams);s1.addVariable("streamer",streamer);s1.addVariable("displayclick","fullscreen");s1.addVariable("quality","true");s1.addVariable("id","mpl");s1.addVariable("logo","none");s1.addVariable("playlistfile","http://www.rlife.fr/inc/playlist-vod.php?vidid="+ a);s1.addVariable("backcolor","000000");s1.addVariable("frontcolor","CCCCCC");s1.addVariable("lightcolor","CCCCCC");s1.addVariable("screencolor","000000");s1.addVariable("height",vmodeh);s1.addVariable("width",vmodew);s1.addVariable("shuffle","false");s1.addVariable("controlbar","over");s1.addVariable("autostart","true");s1.addVariable("repeat","list");s1.addVariable("bufferlength",buffersize_vod);s1.addVariable("volume","20");s1.addVariable("linktarget","_self");s1.write("player1")} function toggleLive(a){var b=new SWFObject("http://www.rlife.fr/inc/mediaplayer53.swf","mpl",vmodew,vmodeh,"10,0,42,34");b.addParam("allowscriptaccess","always");b.addParam("allowfullscreen","true");b.addParam("wmode","opaque");b.addVariable("stretching",scaleparams_h264);b.addVariable("streamer",streamer_h264);b.addVariable("displayclick","fullscreen");b.addVariable("quality","true");b.addVariable("id","mpl");b.addVariable("logo","none");b.addVariable("playlistfile","http://www.rlife.fr/inc/playlist-live-h264.php?channel="+ a);b.addVariable("backcolor","000000");b.addVariable("frontcolor","CCCCCC");b.addVariable("lightcolor","CCCCCC");b.addVariable("screencolor","000000");b.addVariable("height",vmodeh);b.addVariable("width",vmodew);b.addVariable("shuffle","false");b.addVariable("controlbar","none");b.addVariable("autostart","true");b.addVariable("repeat","list");b.addVariable("bufferlength",buffersize_tv_h264);b.addVariable("volume","20");b.addVariable("linktarget","_self");b.write("player1")} function getvidh264(a){s1=new SWFObject("http://www.rlife.fr/inc/vodplayer53.swf","mpl",vmodew,vmodeh,"10,0,42,34");s1.addParam("allowscriptaccess","always");s1.addParam("allowfullscreen","true");s1.addParam("wmode","opaque");s1.addVariable("stretching",scaleparams_h264);s1.addVariable("streamer",streamer_h264);s1.addVariable("displayclick","fullscreen");s1.addVariable("quality","true");s1.addVariable("id","mpl");s1.addVariable("logo","none");s1.addVariable("playlistfile","http://www.rlife.fr/inc/playlist-vod-h264.php?vidid="+ a);s1.addVariable("backcolor","000000");s1.addVariable("frontcolor","CCCCCC");s1.addVariable("lightcolor","CCCCCC");s1.addVariable("screencolor","000000");s1.addVariable("height",vmodeh);s1.addVariable("width",vmodew);s1.addVariable("shuffle","false");s1.addVariable("controlbar","over");s1.addVariable("autostart","true");s1.addVariable("repeat","list");s1.addVariable("bufferlength",buffersize_vod_h264);s1.addVariable("volume","20");s1.addVariable("linktarget","_self");s1.write("player1")} var currentVolume=20,currentState="NONE",previousState="NONE",currentItem=-1,previousItem=-1,player=null;function playerReady(a){player=window.document[a.id];addListeners()}function addListeners(){if(player){player.addControllerListener("ITEM","itemListener");player.addModelListener("STATE","stateListener");player.addControllerListener("VOLUME","volumeListener")}else setTimeout("addListeners()",100)}function volumeListener(a){currentVolume=a.percentage} function itemListener(a){if(a.index!=currentItem){previousItem=currentItem;currentItem=a.index;getPlaylistData(currentItem)}}function getPlaylistData(a){var b=null;if(b=player.getPlaylist()){var c="";c+=""+b[a].title;if(a=document.getElementById("now_playing"))a.innerHTML=c}}function stateListener(a){currentState=a.newstate;previousState=a.oldstate;currentState=="BUFFERING"&&getPlaylistData(currentItem)}function close_x(a){clean_div(a)} function gg_tr(a){try{_gat._getTracker("UA-12284728-1")._trackPageview(a)}catch(b){}}var lurl="http://www.rlife.fr",l_min='<img src="img/l_min.gif"/>';function hp_ck(){http&&http.abort()}function no_cach(){nocache=Math.random()} function set_w(a,b,c){hide_div("v_m_l");document.getElementById(a).style.width=b+"px";document.getElementById(a).style.height=c+"px";document.getElementById("size_toggle").innerHTML="<a href=\"javascript:set_n('"+a+'\', 560, 320);"><img src="'+lurl+'/img/v_size_m_bt.png" alt="R\u00e9duire l\'\u00e9cran" title="R\u00e9duire l\'\u00e9cran"/></a>';document.getElementById("v_m_m_t").style.width="830px";document.getElementById("v_m_m_t").style.height="415px"} function set_n(a,b,c){document.getElementById(a).style.width=b+"px";document.getElementById(a).style.height=c+"px";show_div("v_m_l");document.getElementById("size_toggle").innerHTML="<a href=\"javascript:set_w('"+a+'\', 830, 453);"><img src="'+lurl+'/img/v_size_p_bt.png" alt="Agrandir l\'\u00e9cran" title="Agrandir l\'\u00e9cran"/></a>';document.getElementById("v_m_m_t").style.width="560px";document.getElementById("v_m_m_t").style.height="280px"} function set_divbg(a){document.getElementById(a).style.background="url(http://www.rlife.fr/img/backnight.jpg) top center no-repeat"}function v_cat_out_trans(a){document.getElementById(a).className="v_m_l_cat2"}function v_cat_out_black(a){document.getElementById(a).className="v_m_l_cat1"}function v_cat_over(a){document.getElementById(a).className="v_cat_over"}function clean_div(a){document.getElementById(a).innerHTML=""}function clear_val(a){document.getElementById(a).value=""} function show_div(a){document.getElementById(a).className="divShow"}function hide_div(a){document.getElementById(a).className="divHide"}function show(a){document.getElementById(a).className="divShow";document.getElementById("selecthideshow_"+a).innerHTML="<strong><a href=\"javascript:hide('"+a+'\')" class="selecthideshowstyle"> - </a></strong>'} function hide(a){document.getElementById(a).className="divHide";document.getElementById("selecthideshow_"+a).innerHTML="<a href=\"javascript:show('"+a+'\')" class="selecthideshowstyle"> + </a>'}function set_nodebg(a,b){document.getElementById(a+"_go").style.background=b}function show_node(a){set_nodebg(a,"#6e85b5");document.getElementById(a+"_focus").className="divShow_node"}function hide_node(a){set_nodebg(a,"");document.getElementById(a+"_focus").className="divHide_node"} function gowallfeed_share(a,b,c,d){FB.Connect.showPermissionDialog("offline_access",getvidinfo_share(a,b,c,d),false,[c])}function toggle_profil(){hp_ck();clean_div("dyn_menu");document.getElementById("dyn_menu").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/toggle_menu_profile.php?nocache="+nocache);http.onreadystatechange=function(){gtoggle_profil()};http.send(null)} function gtoggle_profil(){if(http.readyState==4){var a=http.responseText;document.getElementById("dyn_menu").innerHTML=a;http.status==200&&toggle_menu_profil()}}function toggle_menu_profil(){hp_ck();document.getElementById("dyncont").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/toggle_profil.php?nocache="+nocache);http.onreadystatechange=function(){gtoggle_menu_profil()};http.send(null)} function gtoggle_menu_profil(){if(http.readyState==4){var a=http.responseText;document.getElementById("dyncont").innerHTML=a;http.status==200&&gg_tr("/profil")}}function toggle_menu_tikts(){hp_ck();document.getElementById("dyncont").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/toggle_tikts.php?nocache="+nocache);http.onreadystatechange=function(){gtoggle_menu_profil()};http.send(null)} function gtoggle_menu_profil(){if(http.readyState==4){var a=http.responseText;document.getElementById("dyncont").innerHTML=a;http.status==200&&gg_tr("/billeterie")}}function toggle_menu_amis(){hp_ck();document.getElementById("dyncont").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/toggle_amis.php?nocache="+nocache);http.onreadystatechange=function(){gtoggle_menu_amis()};http.send(null)} function gtoggle_menu_amis(){if(http.readyState==4){var a=http.responseText;document.getElementById("dyncont").innerHTML=a;http.status==200&&t_frds()}} function select_chan(){hp_ck();var a=document.getElementById("chanvids").value,b="ch"+a;player.sendEvent("STOP");document.getElementById("v_m_m_b_r").innerHTML='<div id="v_ipre" name="v_ipre"></div>\t<div id="v_inn" name="v_inn"><span id="comvid_div"><a href="javascript:getvid_live(\''+a+'\')">Live Chat</a></span></div>\t<div id="v_ipost" name="v_ipost"></div>\t<div id="v_ipre" name="v_ipre"></div>\t<div id="v_inn" name="v_inn"><span id="sharevid_div" name="sharevid_div"><a href="javascript:getvidinfo_liveshare(\''+a+ '\')">J\'aime !</a></span></div>\t<div id="v_ipost" name="v_ipost"></div>\t<div id="v_ipre" name="v_ipre"></div>\t<div id="v_inn" name="v_inn"><span id="sharevid_div"><a href="http://apps.facebook.com/rouen-life-tv/invite-vod.php?channel=ch'+a+'&fb_force_mode=fbml" target="_blank">Recommander</a></div>\t<div id="v_ipost" name="v_ipost"></div>\t <div id="v_ipre" name="v_ipre"></div>\t<div id="v_inn" name="v_inn">Partager !</div><div id="v_ipost" name="v_ipost"></div>';toggleTv(b);FB_RequireFeatures(["XFBML"], function(){FB.Facebook.init("0599a0fa368dcd42f8a2d4f76b1aecfd","../../receiver.html")});gg_tr("/AUDIOVIDEO/chan/"+b)}function toggle_Tv(a){hp_ck();clean_div("dyn_menu");document.getElementById("dyncont").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/toggle_tv.php?channel="+a+"&nocache="+nocache);http.onreadystatechange=function(){gettoggle_Tv(a)};http.send(null)} function gettoggle_Tv(a){if(http.readyState==4){var b=http.responseText;document.getElementById("dyncont").innerHTML=b;if(http.status==200){toggleTv(a);FB_RequireFeatures(["XFBML"],function(){FB.Facebook.init("0599a0fa368dcd42f8a2d4f76b1aecfd","../../receiver.html")});gg_tr("/AUDIOVIDEO/chan/"+a)}}} function toggle_vidid(a){hp_ck();clean_div("dyn_menu");document.getElementById("dyncont").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/toggle_vidid.php?vidid="+a+"&nocache="+nocache);http.onreadystatechange=function(){gettoggle_vidid(a)};http.send(null)}function gettoggle_vidid(a){if(http.readyState==4){var b=http.responseText;document.getElementById("dyncont").innerHTML=b;http.status==200&&toggle_vidin(a,"","","")}} function toggle_vidid_cloud(a){hp_ck();document.getElementById("dyncont_cloud").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/toggle_vidid_cloud.php?vidid="+a+"&nocache="+nocache);http.onreadystatechange=function(){gettoggle_vidid_cloud(a)};http.send(null)}function gettoggle_vidid_cloud(a){if(http.readyState==4){var b=http.responseText;document.getElementById("dyncont_cloud").innerHTML=b;http.status==200&&toggle_vidin_cloud(a,"","","")}} function toggle_Live(a){hp_ck();document.getElementById("dyncont").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/toggle_tv_h264.php?channel="+a+"&nocache="+nocache);http.onreadystatechange=function(){gettoggle_Live(a)};http.send(null)}function gettoggle_Live(a){if(http.readyState==4){var b=http.responseText;document.getElementById("dyncont").innerHTML=b;http.status==200&&toggleLive(a)}} function toggle_events(){hp_ck();clean_div("dyn_menu");document.getElementById("dyncont").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/toggle_events.php?nocache="+nocache);http.onreadystatechange=function(){gettoggle_events()};http.send(null)}function gettoggle_events(){if(http.readyState==4){var a=http.responseText;document.getElementById("dyncont").innerHTML=a;if(http.status==200){get_u_events_start("attending","0","3");gg_tr("/AGENDA")}}} function toggle_menu_who(){hp_ck();clean_div("dyn_menu");document.getElementById("dyn_menu").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/toggle_menu_who.php?nocache="+nocache);http.onreadystatechange=function(){gtoggle_menu_who()};http.send(null)}function gtoggle_menu_who(){if(http.readyState==4){var a=http.responseText;document.getElementById("dyn_menu").innerHTML=a;if(http.status==200){toggle_who();gg_tr("/GUIDE")}}} function toggle_menu_dwho(){hp_ck();clean_div("dyn_menu");document.getElementById("dyn_menu").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/toggle_menu_who.php?nocache="+nocache);http.onreadystatechange=function(){gtoggle_menu_dwho()};http.send(null)}function gtoggle_menu_dwho(){if(http.readyState==4){var a=http.responseText;document.getElementById("dyn_menu").innerHTML=a}} function toggle_who(){hp_ck();document.getElementById("dyncont").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/toggle_who.php?nocache="+nocache);http.onreadystatechange=function(){gettoggle_who()};http.send(null)}function gettoggle_who(){if(http.readyState==4){var a=http.responseText;document.getElementById("dyncont").innerHTML=a;http.status==200&&loadgmap_glob("1","49.442844","1.086223","who_map_first","13")}} function toggle_sub_who(){hp_ck();document.getElementById("dyncont_sub_who").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/toggle_sub_who.php?nocache="+nocache);http.onreadystatechange=function(){gettoggle_sub_who()};http.send(null)}function gettoggle_sub_who(){if(http.readyState==4){var a=http.responseText;document.getElementById("dyncont_sub_who").innerHTML=a;http.status==200&&loadgmap_glob("1","49.442844","1.086223","who_map_first","12")}} function toggle_cgu(){hp_ck();clean_div("dyn_menu");document.getElementById("dyncont").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/toggle_cgu.php?nocache="+nocache);http.onreadystatechange=function(){gtoggle_cgu()};http.send(null)}function gtoggle_cgu(){if(http.readyState==4){var a=http.responseText;document.getElementById("dyncont").innerHTML=a;http.status==200&&gg_tr("/CGU")}} function toggle_contact(){hp_ck();clean_div("dyn_menu");document.getElementById("dyncont").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/toggle_ctct.php?nocache="+nocache);http.onreadystatechange=function(){gtoggle_contact()};http.send(null)}function gtoggle_contact(){if(http.readyState==4){var a=http.responseText;document.getElementById("dyncont").innerHTML=a;http.status==200&&gg_tr("/CONTACT")}} function validatetikt(a){var b=document.getElementById("stikt_owner_fname_"+a),c=document.getElementById("stikt_owner_lname_"+a),d=document.getElementById("stikt_owner_email_"+a),e=/^([a-zA-Z_\u00e1\u00e9\u00ed\u00f3\u00e4\u00ebi\u00f6\u00fc\u00fa\u00e0\u00e8\u00ec\u00f9\u00ea\u00e2\u00ee\u00f4\u00fb-])+$/,f=/^([a-zA-Z0-9_.-])+@(([a-zA-Z0-9-])+.)+([a-zA-Z0-9]{2,4})+$/,g=/^[\s]+$/;if(b.value==""||g.test(b.value)||!e.test(b.value)){alert("Entrez un pr\u00e9nom");b.focus()}else if(c.value==""||g.test(c.value)|| !e.test(c.value)){alert("Entrez un nom");c.focus()}else if(d.value==""||g.test(d.value)||!f.test(d.value)){alert("Entrez une adresse email valide");d.focus()}else tikt_activate(a)}function Rem_El(a){var b=document.getElementById("up_inf_m_tikt");a=document.getElementById("tikt_"+a);b.removeChild(a);tikt_list_active()} function tikt_activate(a){hp_ck();var b=document.getElementById("stikt_owner_fname_"+a).value,c=document.getElementById("stikt_owner_lname_"+a).value,d=document.getElementById("stikt_owner_email_"+a).value;document.getElementById("tikt_"+a).innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/tikt_activate.php?tiktval="+a+"&stikt_owner_fname="+b+"&stikt_owner_lname="+c+"&stikt_owner_email="+d+"&nocache="+nocache);http.onreadystatechange=function(){gtikt_activate(a)};http.send(null)} function gtikt_activate(a){if(http.readyState==4){var b=http.responseText;document.getElementById("tikt_"+a).innerHTML=b;if(http.status==200){Rem_El(a);gg_tr("/activate-tikt")}}}function tikt_list_active(){hp_ck();document.getElementById("up_inf_m_tikt_activ").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/tikt_list_active.php?nocache="+nocache);http.onreadystatechange=function(){gtikt_list_active()};http.send(null)} function gtikt_list_active(){if(http.readyState==4){var a=http.responseText;document.getElementById("up_inf_m_tikt_activ").innerHTML=a}} function validateFields(){var a=document.getElementById("ctct_name");document.getElementById("ctct_pseudo");var b=document.getElementById("ctct_email");document.getElementById("ctct_tel");var c=document.getElementById("ctct_msg"),d=/^([a-zA-Z0-9_.-])+@(([a-zA-Z0-9-])+.)+([a-zA-Z0-9]{2,4})+$/,e=/^[\s]+$/;if(c.value==""||e.test(c.value)){alert("Merci d'entrer le message");c.focus()}else if(b.value==""||!d.test(b.value)){alert("Merci d'entrer une adresse email valide");b.focus()}else if(a.value==""){alert("Merci d'entrer un nom"); a.focus()}else ctct_send()} function ctct_send(){hp_ck();clean_div("dyn_menu");var a=document.getElementById("ctct_name").value,b=document.getElementById("ctct_pseudo").value,c=document.getElementById("ctct_email").value,d=document.getElementById("ctct_tel").value,e=document.getElementById("ctct_msg").value;document.getElementById("bod_inn_float_ctct").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/ctct_send.php?ctct_name="+a+"&ctct_pseudo="+b+"&ctct_email="+c+"&ctct_tel="+d+"&ctct_msg="+e+"&nocache="+nocache);http.onreadystatechange= function(){gctct_send()};http.send(null)}function gctct_send(){if(http.readyState==4){var a=http.responseText;document.getElementById("bod_inn_float_ctct").innerHTML=a;http.status==200&&gg_tr("/ctct-msg-sent")}}function toggle_news(){hp_ck();clean_div("dyn_menu");document.getElementById("dyncont").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/toggle_news.php?nocache="+nocache);http.onreadystatechange=function(){gettoggle_news()};http.send(null)} function gettoggle_news(){if(http.readyState==4){var a=http.responseText;document.getElementById("dyncont").innerHTML=a;http.status==200&&FB_RequireFeatures(["XFBML"],function(){FB.Facebook.init("0599a0fa368dcd42f8a2d4f76b1aecfd","../../receiver.html")})}}function toggle_who_map(){hp_ck();document.getElementById("dyncont_sub_who").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/toggle_who_map.php?nocache="+nocache);http.onreadystatechange=function(){gettoggle_who_map()};http.send(null)} function gettoggle_who_map(){if(http.readyState==4){var a=http.responseText;document.getElementById("dyncont_sub_who").innerHTML=a;if(http.status==200){loadgmap_glob("1","49.442844","1.086223","map_glob","13");gg_tr("/GUIDE/Mode-carte")}}} function toggle_listing(a,b){hp_ck();document.getElementById("dyncont_sub_who").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/toggle_who_listing.php?cat_id="+a+"&query_start_at="+b+"&nocache="+nocache);http.onreadystatechange=function(){gettoggle_listing()};http.send(null)}function gettoggle_listing(){if(http.readyState==4){var a=http.responseText;document.getElementById("dyncont_sub_who").innerHTML=a}} function get_u_events_start(a,b,c){hp_ck();document.getElementById("dyncont_events1").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/get_featured_events.php?rsvp_type="+a+"&query_start_at="+b+"&query_limit_nb="+c+"&nocache="+nocache);http.onreadystatechange=function(){getget_u_events_start()};http.send(null)} function getget_u_events_start(){if(http.readyState==4){var a=http.responseText;document.getElementById("dyncont_events1").innerHTML=a;http.status==200&&get_u_events_others("unsure","0","6")}}function get_u_events(a,b,c){hp_ck();document.getElementById("dyncont_events1").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/get_featured_events.php?rsvp_type="+a+"&query_start_at="+b+"&query_limit_nb="+c+"&nocache="+nocache);http.onreadystatechange=function(){getget_u_events()};http.send(null)} function getget_u_events(){if(http.readyState==4){var a=http.responseText;document.getElementById("dyncont_events1").innerHTML=a}}function get_u_events_others(a,b,c){hp_ck();document.getElementById("dyncont_events2").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/get_other_events.php?rsvp_type="+a+"&query_start_at="+b+"&query_limit_nb="+c+"&nocache="+nocache);http.onreadystatechange=function(){getget_u_events_others()};http.send(null)} function getget_u_events_others(){if(http.readyState==4){var a=http.responseText;document.getElementById("dyncont_events2").innerHTML=a}}function toggle_event(a){hp_ck();document.getElementById("dyncont").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/toggle_event.php?nocache="+nocache);http.onreadystatechange=function(){gettoggle_event(a)};http.send(null)} function gettoggle_event(a){if(http.readyState==4){var b=http.responseText;document.getElementById("dyncont").innerHTML=b;http.status==200&&get_that_event_first(a)}}function get_that_event_first(a){hp_ck();document.getElementById("dyncont_event").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/get_thatfeat_event.php?ev_eid="+a+"&nocache="+nocache);http.onreadystatechange=function(){getget_that_event_first()};http.send(null)} function getget_that_event_first(){if(http.readyState==4){var a=http.responseText;document.getElementById("dyncont_event").innerHTML=a;http.status==200&&get_u_events_side_first("attending","0","1","1")}} function get_u_events_side_first(a,b,c,d){hp_ck();document.getElementById("dyncont_event_side"+d).innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/get_side_events.php?rsvp_type="+a+"&query_start_at="+b+"&query_limit_nb="+c+"&div_nb="+d+"&nocache="+nocache);http.onreadystatechange=function(){getget_u_events_side_first(d)};http.send(null)} function getget_u_events_side_first(a){if(http.readyState==4){var b=http.responseText;document.getElementById("dyncont_event_side"+a).innerHTML=b;http.status==200&&get_u_events_side("unsure","0","1","2")}}function get_that_event(a){hp_ck();document.getElementById("dyncont_event").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/get_thatfeat_event.php?ev_eid="+a+"&nocache="+nocache);http.onreadystatechange=function(){getget_that_event()};http.send(null)} function getget_that_event(){if(http.readyState==4){var a=http.responseText;document.getElementById("dyncont_event").innerHTML=a}}function get_u_events_side(a,b,c,d){hp_ck();document.getElementById("dyncont_event_side"+d).innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/get_side_events.php?rsvp_type="+a+"&query_start_at="+b+"&query_limit_nb="+c+"&div_nb="+d+"&nocache="+nocache);http.onreadystatechange=function(){getget_u_events_side(d)};http.send(null)} function getget_u_events_side(a){if(http.readyState==4){var b=http.responseText;document.getElementById("dyncont_event_side"+a).innerHTML=b}}function get_u_top10(a,b,c){hp_ck();document.getElementById("top10_holder"+c).innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/get_u_top10.php?query_start_at="+a+"&query_limit_nb="+b+"&div_nb="+c+"&nocache="+nocache);http.onreadystatechange=function(){getget_u_top10(c)};http.send(null)} function getget_u_top10(a){if(http.readyState==4){var b=http.responseText;document.getElementById("top10_holder"+a).innerHTML=b}} function get_who_newmap(a,b,c,d,e,f,g,h){hp_ck();document.getElementById("get_who_map"+c).innerHTML=l_min;loadgmap_glob(d,e,f,g,h);no_cach();http.open("get",lurl+"/inc/get_who_newmap.php?query_start_at="+a+"&query_limit_nb="+b+"&div_nb="+c+"&scat_id="+d+"&latin="+e+"&lngin="+f+"&map_div="+g+"&zoom_start="+h+"&nocache="+nocache);http.onreadystatechange=function(){getget_who_newmap(c)};http.send(null)} function getget_who_newmap(a){if(http.readyState==4){var b=http.responseText;document.getElementById("get_who_map"+a).innerHTML=b}}function Get_context_cine(a,b){hp_ck();document.getElementById("dyncont_news").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/get_news_context_cine.php?user_fb_id="+a+"&sessionkey="+b+"&nocache="+nocache);http.onreadystatechange=function(){getGet_context_cine()};http.send(null)} function getGet_context_cine(){if(http.readyState==4){var a=http.responseText;document.getElementById("dyncont_news").innerHTML=a}}function Get_cine_news(a,b,c){hp_ck();document.getElementById("cine_cont").innerHTML=l_min;document.getElementById("cine_cont_scraped").innerHTML="";no_cach();http.open("get",lurl+"/inc/get_rss_cine.php?user_fb_id="+a+"&sessionkey="+b+"&cine_id="+c+"&nocache="+nocache);http.onreadystatechange=function(){getGet_cine_news()};http.send(null)} function getGet_cine_news(){if(http.readyState==4){var a=http.responseText;document.getElementById("cine_cont").innerHTML=a}}function Get_cine_scrap(a,b,c,d){hp_ck();document.getElementById("cine_cont_scraped").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/get_rss_cine_scraped.php?user_fb_id="+a+"&sessionkey="+b+"&cine_id="+c+"&movie_tag="+d+"&nocache="+nocache);http.onreadystatechange=function(){getGet_cine_scrap()};http.send(null)} function getGet_cine_scrap(){if(http.readyState==4){var a=http.responseText;document.getElementById("cine_cont_scraped").innerHTML=a}}function Get_context_meteo(a,b){hp_ck();document.getElementById("dyncont_news").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/get_news_context_meteo.php?user_fb_id="+a+"&sessionkey="+b+"&nocache="+nocache);http.onreadystatechange=function(){getGet_context_meteo()};http.send(null)} function getGet_context_meteo(){if(http.readyState==4){var a=http.responseText;document.getElementById("dyncont_news").innerHTML=a}}function Get_meteo_news(a,b,c){hp_ck();document.getElementById("meteo_cont").innerHTML=l_min;document.getElementById("meteo_cont_scraped").innerHTML="";no_cach();http.open("get",lurl+"/inc/get_rss_meteo.php?user_fb_id="+a+"&sessionkey="+b+"&meteotown_id="+c+"&nocache="+nocache);http.onreadystatechange=function(){getGet_meteo_news()};http.send(null)} function getGet_meteo_news(){if(http.readyState==4){var a=http.responseText;document.getElementById("meteo_cont").innerHTML=a}}function Get_meteo_scrap(a,b,c,d){hp_ck();document.getElementById("meteo_cont_scraped").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/get_rss_meteo_scraped.php?user_fb_id="+a+"&sessionkey="+b+"&meteotown_id="+c+"&meteo_tagdate="+d+"&nocache="+nocache);http.onreadystatechange=function(){getGet_meteo_scrap()};http.send(null)} function getGet_meteo_scrap(){if(http.readyState==4){var a=http.responseText;document.getElementById("meteo_cont_scraped").innerHTML=a}}function Get_context_sport(a,b){hp_ck();document.getElementById("dyncont_news").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/get_news_context_sport.php?user_fb_id="+a+"&sessionkey="+b+"&nocache="+nocache);http.onreadystatechange=function(){getGet_context_sport()};http.send(null)} function getGet_context_sport(){if(http.readyState==4){var a=http.responseText;document.getElementById("dyncont_news").innerHTML=a}}function Get_sport_news(a,b,c){hp_ck();document.getElementById("sport_cont").innerHTML=l_min;document.getElementById("sport_cont_scraped").innerHTML="";no_cach();http.open("get",lurl+"/inc/get_rss_sport.php?user_fb_id="+a+"&sessionkey="+b+"&sport_id="+c+"&nocache="+nocache);http.onreadystatechange=function(){getGet_sport_news()};http.send(null)} function getGet_sport_news(){if(http.readyState==4){var a=http.responseText;document.getElementById("sport_cont").innerHTML=a}}function get_vid_cat(a,b){hp_ck();document.getElementById(b).innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/get_vid_listing_scat_vid.php?vid_cat_id="+a+"&div="+b+"&nocache="+nocache);http.onreadystatechange=function(){getget_vid_cat(b)};http.send(null)}function getget_vid_cat(a){if(http.readyState==4){var b=http.responseText;document.getElementById(a).innerHTML=b}} function toggle_vid(a,b,c,d){hp_ck();player.sendEvent("STOP");document.getElementById("v_m_m_b_r").innerHTML='<div id="v_ipre" name="v_ipre"></div>\t<div id="v_inn" name="v_inn"><span id="comvid_div"><a href="javascript:getvid_com(\''+a+"','"+b+"','"+c+"','"+d+'\')">Commentaires</a></span></div>\t<div id="v_ipost" name="v_ipost"></div>\t<div id="v_ipre" name="v_ipre"></div>\t<div id="v_inn" name="v_inn"><span id="sharevid_div" name="sharevid_div"><a href="javascript:getvidinfo_share(\''+a+"','"+b+ "','"+c+"','"+d+'\')">J\'aime !</a></span></div>\t<div id="v_ipost" name="v_ipost"></div>\t<div id="v_ipre" name="v_ipre"></div>\t<div id="v_inn" name="v_inn"><span id="sharevid_div"><a href="http://apps.facebook.com/rouen-life-tv/invite-vod.php?vidid='+a+"&chanvids="+b+'&fb_force_mode=fbml" target="_blank">Recommander</a></div>\t<div id="v_ipost" name="v_ipost"></div>\t <div id="v_ipre" name="v_ipre"></div>\t<div id="v_inn" name="v_inn">Partager !</div><div id="v_ipost" name="v_ipost"></div>';document.getElementById("v_m_l").innerHTML= l_min;getvid(a);no_cach();http.open("get",lurl+"/inc/getvidinfo.php?vidid="+a+"&fb_user_id="+c+"&sessionkey="+d+"&nocache="+nocache);http.onreadystatechange=function(){gettoggle_vid(a,b,c,d)};http.send(null)}function gettoggle_vid(a){if(http.readyState==4){var b=http.responseText;document.getElementById("v_m_l").innerHTML=b;if(http.status==200){FB_RequireFeatures(["XFBML"],function(){FB.Facebook.init("0599a0fa368dcd42f8a2d4f76b1aecfd","../../receiver.html")});gg_tr("/AUDIOVIDEO/vidid-"+a)}}} function toggle_vidin(a,b,c,d){hp_ck();document.getElementById("v_m_m_b_r").innerHTML='<div id="v_ipre" name="v_ipre"></div>\t<div id="v_inn" name="v_inn"><span id="comvid_div"><a href="javascript:getvid_com(\''+a+"','"+b+"','"+c+"','"+d+'\')">Commentaires</a></span></div>\t<div id="v_ipost" name="v_ipost"></div>\t<div id="v_ipre" name="v_ipre"></div>\t<div id="v_inn" name="v_inn"><span id="sharevid_div" name="sharevid_div"><a href="javascript:getvidinfo_share(\''+a+"','"+b+"','"+c+"','"+d+'\')">J\'aime !</a></span></div>\t<div id="v_ipost" name="v_ipost"></div>\t<div id="v_ipre" name="v_ipre"></div>\t<div id="v_inn" name="v_inn"><span id="sharevid_div"><a href="http://apps.facebook.com/rouen-life-tv/invite-vod.php?vidid='+ a+"&chanvids="+b+'&fb_force_mode=fbml" target="_blank">Recommander</a></div>\t<div id="v_ipost" name="v_ipost"></div>\t <div id="v_ipre" name="v_ipre"></div>\t<div id="v_inn" name="v_inn">Partager !</div><div id="v_ipost" name="v_ipost"></div>';document.getElementById("v_m_l").innerHTML=l_min;getvid(a);no_cach();http.open("get",lurl+"/inc/getvidinfo.php?vidid="+a+"&fb_user_id="+c+"&sessionkey="+d+"&nocache="+nocache);http.onreadystatechange=function(){gettoggle_vidin(a,b,c,d)};http.send(null)} function gettoggle_vidin(a){if(http.readyState==4){var b=http.responseText;document.getElementById("v_m_l").innerHTML=b;if(http.status==200){FB_RequireFeatures(["XFBML"],function(){FB.Facebook.init("0599a0fa368dcd42f8a2d4f76b1aecfd","../receiver.html")});gg_tr("/AUDIOVIDEO/vidid-"+a)}}} function toggle_vidin_cloud(a,b,c,d){hp_ck();document.getElementById("v_m_l").innerHTML=l_min;getvid(a);no_cach();http.open("get",lurl+"/inc/getvidinfo.php?vidid="+a+"&fb_user_id="+c+"&sessionkey="+d+"&nocache="+nocache);http.onreadystatechange=function(){gettoggle_vidin_cloud(a,b,c,d)};http.send(null)} function gettoggle_vidin_cloud(a){if(http.readyState==4){var b=http.responseText;document.getElementById("v_m_l").innerHTML=b;if(http.status==200){FB_RequireFeatures(["XFBML"],function(){FB.Facebook.init("0599a0fa368dcd42f8a2d4f76b1aecfd","../receiver.html")});gg_tr("/AUDIOVIDEO/vidid-"+a)}}} function getvid_com(a,b,c,d){hp_ck();document.getElementById("v_m_m_com").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/getvidid_com.php?vidid="+a+"&chanvids="+b+"&fb_user_id="+c+"&sessionkey="+d+"&nocache="+nocache);http.onreadystatechange=function(){getgetvid_com(a,b,c,d)};http.send(null)} function getgetvid_com(a){if(http.readyState==4){var b=http.responseText;document.getElementById("v_m_m_com").innerHTML=b;if(http.status==200){FB_RequireFeatures(["XFBML"],function(){FB.Facebook.init("0599a0fa368dcd42f8a2d4f76b1aecfd","../receiver.html")});gg_tr("/AUDIOVIDEO/VIDEO/voir-coms-vidid-"+a)}}} function getvid_live(a){hp_ck();document.getElementById("v_m_m_com").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/getvidid_live.php?prechannel="+a+"&nocache="+nocache);http.onreadystatechange=function(){getgetvid_live(a)};http.send(null)} function getgetvid_live(a){if(http.readyState==4){var b=http.responseText;document.getElementById("v_m_m_com").innerHTML=b;if(http.status==200){FB_RequireFeatures(["XFBML"],function(){FB.Facebook.init("0599a0fa368dcd42f8a2d4f76b1aecfd","../receiver.html")});gg_tr("/AUDIOVIDEO/VIDEO/v-live-chat-ch"+a)}}} function getvidinfo_share(a,b,c,d){hp_ck();no_cach();http.open("get",lurl+"/inc/getvidid_share.php?vidid="+a+"&chanvids="+b+"&fb_user_id="+c+"&sessionkey="+d+"&nocache="+nocache);http.onreadystatechange=function(){getgetvidinfo_share(a,b,c,d)};http.send(null)}function getgetvidinfo_share(a){if(http.readyState==4){var b=http.responseText;document.getElementById("sharevid_div").innerHTML=b;http.status==200&&gg_tr("/AUDIOVIDEO/VIDEO/publish-vidid-"+a)}} function getreloadvidinfo(a,b,c){hp_ck();no_cach();http.open("get",lurl+"/inc/getvidinfo.php?vidid="+a+"&fb_user_id="+b+"&sessionkey="+c+"&nocache="+nocache);http.onreadystatechange=function(){getgetreloadvidinfo()};http.send(null)}function getgetreloadvidinfo(){if(http.readyState==4){var a=http.responseText;document.getElementById("infoplayer1").innerHTML=a}} function getvidchans(a,b){hp_ck();var c=document.getElementById("chanvids").value;document.getElementById("vidchanpannel").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/getchanvids.php?chanvids="+c+"&fb_user_id="+a+"&sessionkey="+b+"&nocache="+nocache);http.onreadystatechange=function(){getgetvidchans()};http.send(null)}function getgetvidchans(){if(http.readyState==4){var a=http.responseText;if(http.status==200)document.getElementById("vidchanpannel").innerHTML=a}} function VidJump_to(a,b){player.sendEvent("SEEK",b);document.getElementById("markfriendlist").innerHTML=""}function ListCat(){hp_ck();document.getElementById("dyncont_whoswho").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/listcat.php?nocache="+nocache);http.onreadystatechange=function(){getListCat()};http.send(null)}function getListCat(){if(http.readyState==4){var a=http.responseText;document.getElementById("dyncont_whoswho").innerHTML=a}} function ListSCat(a){hp_ck();document.getElementById("dyncont_whoswho").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/listscat.php?cat_id="+a+"&nocache="+nocache);http.onreadystatechange=function(){getListSCat()};http.send(null)}function getListSCat(){if(http.readyState==4){var a=http.responseText;document.getElementById("dyncont_whoswho").innerHTML=a}} function SeeSCat(a,b){hp_ck();document.getElementById("dyncont_whoswho").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/seescat.php?xparam="+a+"&yparam="+b+"&nocache="+nocache);http.onreadystatechange=function(){getSeeSCat()};http.send(null)}function getSeeSCat(){if(http.readyState==4){var a=http.responseText;document.getElementById("dyncont_whoswho").innerHTML=a}} function loadlisting_glob(a,b){hp_ck();document.getElementById(b).innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/get_who_listing_scat_item.php?scat_id="+a+"&div="+b+"&nocache="+nocache);http.onreadystatechange=function(){getloadlisting_glob(b)};http.send(null)}function getloadlisting_glob(a){if(http.readyState==4){var b=http.responseText;document.getElementById(a).innerHTML=b}} function whoswho(a,b){hp_ck();document.getElementById(b).innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/getwho.php?p_id="+a+"&nocache="+nocache);http.onreadystatechange=function(){getwhoswho(a,b)};http.send(null)} function getwhoswho(a,b){if(http.readyState==4){var c=http.responseText;document.getElementById(b).innerHTML=c;if(http.status==200){gp_map(a,"49.443817","1.082716");FB_RequireFeatures(["XFBML"],function(){FB.Facebook.init("0599a0fa368dcd42f8a2d4f76b1aecfd","../../receiver.html")})}}} function dwhoswho(a,b,c){hp_ck();document.getElementById("dyncont").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/dgetwho.php?p_cat="+a+"&p_id="+b+"&nocache="+nocache);http.onreadystatechange=function(){getdwhoswho(b,c)};http.send(null)} function getdwhoswho(a){if(http.readyState==4){var b=http.responseText;document.getElementById("dyncont").innerHTML=b;if(http.status==200){gp_map(a,"49.443817","1.082716");FB_RequireFeatures(["XFBML"],function(){FB.Facebook.init("0599a0fa368dcd42f8a2d4f76b1aecfd","../../receiver.html")});toggle_menu_dwho();gg_tr("/GUIDE/placeid-"+a)}}} function getpid_share(a){hp_ck();document.getElementById("dyn_love").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/getpid_share.php?p_id="+a+"&nocache="+nocache);http.onreadystatechange=function(){ggetpid_share()};http.send(null)}function ggetpid_share(){if(http.readyState==4)try{if(http.status==200){var a=http.responseText;document.getElementById("dyn_love").innerHTML=a}}catch(b){document.getElementById("dyn_love").innerHTML="Timout, please try again"}} function preloadmap(a){hp_ck();no_cach();http.open("get",lurl+"/inc/preloadmap.php?p_id="+a+"&nocache="+nocache);http.onreadystatechange=function(){getpreloadmap()};http.send(null)}function getpreloadmap(){http.readyState==4&&eval(http.responseText)} function get_u_who_side(a,b,c,d){hp_ck();document.getElementById("dyncont_who_side"+d).innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/get_side_who.php?cat_id="+a+"&query_start_at="+b+"&query_limit_nb="+c+"&div_nb="+d+"&nocache="+nocache);http.onreadystatechange=function(){getget_u_who_side(d)};http.send(null)}function getget_u_who_side(a){if(http.readyState==4){var b=http.responseText;document.getElementById("dyncont_who_side"+a).innerHTML=b}} function get_u_who_side_listing(a,b,c,d){hp_ck();document.getElementById("dyncont_who_side"+d).innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/get_side_who_listing.php?cat_id="+a+"&query_start_at="+b+"&query_limit_nb="+c+"&div_nb="+d+"&nocache="+nocache);http.onreadystatechange=function(){getget_u_who_side_listing(d)};http.send(null)}function getget_u_who_side_listing(a){if(http.readyState==4){var b=http.responseText;document.getElementById("dyncont_who_side"+a).innerHTML=b}} function getGlobaltop3(a){hp_ck();document.getElementById("top3target").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/getglobaltop3.php?user_fb_id="+a+"&nocache="+nocache);http.onreadystatechange=function(){getGlobaltop3Reply()};http.send(null)}function getGlobaltop3Reply(){if(http.readyState==4){var a=http.responseText;document.getElementById("top3target").innerHTML=a}} function ListCat1(a,b,c){hp_ck();document.getElementById("top3target").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/listcat1.php?xparam="+a+"&yparam="+b+"&user_fb_id="+c+"&nocache="+nocache);http.onreadystatechange=function(){getListCat1()};http.send(null)}function getListCat1(){if(http.readyState==4){var a=http.responseText;document.getElementById("top3target").innerHTML=a}} function ListCat2(a,b){hp_ck();var c=document.getElementById("user_top1").value;document.getElementById("top2here").innerHTML=l_min;document.getElementById("top3here").innerHTML="";document.getElementById("top3okgo").innerHTML="";no_cach();http.open("get",lurl+"/inc/listcat2.php?xparam="+a+"&yparam="+b+"&top3selected1="+c+"&nocache="+nocache);http.onreadystatechange=function(){getListCat2()};http.send(null)} function getListCat2(){if(http.readyState==4){var a=http.responseText;document.getElementById("top2here").innerHTML=a}} function ListCat3(a,b){hp_ck();var c=document.getElementById("user_top1").value,d=document.getElementById("user_top2").value;document.getElementById("top3here").innerHTML=l_min;document.getElementById("top3okgo").innerHTML="";no_cach();http.open("get",lurl+"/inc/listcat3.php?xparam="+a+"&yparam="+b+"&top3selected1="+c+"&top3selected2="+d+"&nocache="+nocache);http.onreadystatechange=function(){getListCat3()};http.send(null)} function getListCat3(){if(http.readyState==4){var a=http.responseText;document.getElementById("top3here").innerHTML=a}}function ListCat4(){hp_ck();no_cach();http.open("get",lurl+"/inc/listcat4.php?nocache="+nocache);http.onreadystatechange=function(){getListCat4()};http.send(null)}function getListCat4(){if(http.readyState==4){var a=http.responseText;document.getElementById("top3okgo").innerHTML=a}} function startVottop3(a){hp_ck();document.getElementById("top3target").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/startvotetop3.php?user_fb_id="+a+"&nocache="+nocache);http.onreadystatechange=function(){getstartVottop3()};http.send(null)}function getstartVottop3(){if(http.readyState==4){var a=http.responseText;document.getElementById("top3target").innerHTML=a}} function RegisterVote(){hp_ck();var a=document.getElementById("user_fb_id").value,b=document.getElementById("xparam").value,c=document.getElementById("yparam").value,d=document.getElementById("user_top1").value,e=document.getElementById("user_top2").value,f=document.getElementById("user_top3").value;document.getElementById("top3type");document.getElementById("top3target").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/registervote.php?xparam="+b+"&yparam="+c+"&user_fb_id="+a+"&top3selected1="+ d+"&top3selected2="+e+"&top3selected3="+f+"&nocache="+nocache);http.onreadystatechange=function(){getRegisterVote(b,a)};http.send(null)}function getRegisterVote(a,b){if(http.readyState==4){var c=http.responseText;document.getElementById("top3target").innerHTML=c;http.status==200&&mywalltop3names(a,b)}} function mywalltop3names(a,b){hp_ck();no_cach();http.open("get",lurl+"/inc/getmywalltop3.php?xparam="+a+"&user_fb_id="+b+"&nocache="+nocache);http.onreadystatechange=function(){getmywalltop3names()};http.send(null)}function getmywalltop3names(){if(http.readyState==4){var a=http.responseText;http.status==200&&mytop3wallfeed1(a)}}var iconBlue_glob=new GIcon;iconBlue_glob.image="http://labs.google.com/ridefinder/images/mm_20_blue.png";iconBlue_glob.shadow="http://labs.google.com/ridefinder/images/mm_20_shadow.png"; iconBlue_glob.iconSize=new GSize(12,20);iconBlue_glob.shadowSize=new GSize(22,20);iconBlue_glob.iconAnchor=new GPoint(6,20);iconBlue_glob.infoWindowAnchor=new GPoint(5,1);var iconRed_glob=new GIcon;iconRed_glob.image="http://www.rlife.fr/img/gpictos/club.png";iconRed_glob.shadow="http://www.rlife.fr/img/gpictos/club_shadow.png";iconRed_glob.iconSize=new GSize(17,21);iconRed_glob.shadowSize=new GSize(22,21);iconRed_glob.iconAnchor=new GPoint(20,30);iconRed_glob.infoWindowAnchor=new GPoint(5,1); var customIcons_glob=[];customIcons_glob["1"]=iconRed_glob;customIcons_glob["2"]=iconRed_glob;customIcons_glob["3"]=iconRed_glob;customIcons_glob["4"]=iconRed_glob;customIcons_glob["5"]=iconRed_glob;customIcons_glob["6"]=iconRed_glob;customIcons_glob["7"]=iconRed_glob;customIcons_glob["8"]=iconRed_glob;customIcons_glob["9"]=iconRed_glob;customIcons_glob["10"]=iconRed_glob;customIcons_glob["11"]=iconRed_glob;customIcons_glob["12"]=iconRed_glob;customIcons_glob["13"]=iconRed_glob; customIcons_glob["14"]=iconRed_glob;customIcons_glob["15"]=iconRed_glob;customIcons_glob["16"]=iconRed_glob;customIcons_glob["17"]=iconRed_glob;customIcons_glob["18"]=iconRed_glob;customIcons_glob["19"]=iconRed_glob;customIcons_glob["20"]=iconRed_glob;customIcons_glob["21"]=iconRed_glob;var panoClient_glob,houseMarker_glob; function loadgmap_glob(a,b,c,d,e){if(GBrowserIsCompatible()){var f=new GMap2(document.getElementById(d));f.enableScrollWheelZoom();f.addControl(new GLargeMapControl3D);f.setCenter(new GLatLng(b,c),+e);GDownloadUrl("http://www.rlife.fr/inc/gmap-xml-global.php?scat_id="+a,function(g){g=GXml.parse(g).documentElement.getElementsByTagName("marker");for(var h=0;h<g.length;h++){var j=g[h].getAttribute("name"),k=g[h].getAttribute("pid"),l=g[h].getAttribute("pcat"),i=g[h].getAttribute("address"),m=g[h].getAttribute("type"), n=new GLatLng(parseFloat(g[h].getAttribute("lat")),parseFloat(g[h].getAttribute("lng")));j=createMarker_glob(n,k,j,i,m,l);f.addOverlay(j)}})}} function createMarker_glob(a,b,c,d,e,f){var g=new GMarker(a,customIcons_glob[e]),h='<div id="mapstyle"><div id="mapstyle_left"></div><div id="mapstyle_right"><b>'+c+"</b> <br/>"+d+" <br/><a href=\"javascript:dwhoswho('"+f+"','"+b+"','')\">Voir les d\u00e9tails</a><br/></div></div>";GEvent.addListener(g,"mouseover",function(){g.openInfoWindowHtml(h)});return g}var iconBlue_pl=new GIcon;iconBlue_pl.image="http://labs.google.com/ridefinder/images/mm_20_blue.png";iconBlue_pl.shadow="http://labs.google.com/ridefinder/images/mm_20_shadow.png"; iconBlue_pl.iconSize=new GSize(12,20);iconBlue_pl.shadowSize=new GSize(22,20);iconBlue_pl.iconAnchor=new GPoint(6,20);iconBlue_pl.infoWindowAnchor=new GPoint(5,1);var iconRed_pl=new GIcon;iconRed_pl.image="http://www.rlife.fr/img/gpictos/club.png";iconRed_pl.shadow="http://www.rlife.fr/img/gpictos/club_shadow.png";iconRed_pl.iconSize=new GSize(17,21);iconRed_pl.shadowSize=new GSize(22,21);iconRed_pl.iconAnchor=new GPoint(20,30);iconRed_pl.infoWindowAnchor=new GPoint(5,1);var customIcons_pl=[]; customIcons_pl["1"]=iconRed_pl;customIcons_pl["2"]=iconRed_pl;customIcons_pl["3"]=iconRed_pl;customIcons_pl["4"]=iconRed_pl;customIcons_pl["5"]=iconRed_pl;customIcons_pl["6"]=iconRed_pl;customIcons_pl["7"]=iconRed_pl;customIcons_pl["8"]=iconRed_pl;customIcons_pl["9"]=iconRed_pl;customIcons_pl["10"]=iconRed_pl;customIcons_pl["11"]=iconRed_pl;customIcons_pl["12"]=iconRed_pl;customIcons_pl["13"]=iconRed_pl;customIcons_pl["14"]=iconRed_pl;customIcons_pl["15"]=iconRed_pl;customIcons_pl["16"]=iconRed_pl; customIcons_pl["17"]=iconRed_pl;customIcons_pl["18"]=iconRed_pl;customIcons_pl["19"]=iconRed_pl;customIcons_pl["20"]=iconRed_pl; function gp_map(a,b,c){document.getElementById("p_m_r_dyn").innerHTML='<div id="p_lnk" name="p_lnk">Acc\u00e8s</div><div id="p_map" name="p_map"></div>';if(GBrowserIsCompatible()){var d=new GMap2(document.getElementById("p_map"));d.enableScrollWheelZoom();d.addControl(new GLargeMapControl3D);d.addControl(new GMapTypeControl);d.setCenter(new GLatLng(b,c),15);GDownloadUrl("http://www.rlife.fr/inc/gmap-xml.php?p_id="+a,function(e){e=GXml.parse(e).documentElement.getElementsByTagName("marker");for(var f= 0;f<e.length;f++){var g=e[f].getAttribute("name"),h=e[f].getAttribute("address"),j=e[f].getAttribute("type"),k=new GLatLng(parseFloat(e[f].getAttribute("lat")),parseFloat(e[f].getAttribute("lng")));g=createMarker_pl(k,g,h,j);d.addOverlay(g);d.setCenter(k,15)}})}} function createMarker_pl(a,b,c,d){var e=new GMarker(a,customIcons_pl[d]),f='<div id="mapstyle"><div id="mapstyle_left"></div><div id="mapstyle_right"><b>'+b+"</b> <br/>"+c+" <br/><br/></div></div>";GEvent.addListener(e,"mouseover",function(){e.openInfoWindowHtml(f)});return e}var myPOV; function gp_sview(a,b,c,d,e){c=parseFloat(c);d=parseFloat(d);e=parseFloat(e);new GStreetviewClient;document.getElementById("p_m_r_dyn").innerHTML='<div id="p_lnk" name="p_lnk">Streetview</div><div id="p_pano" name="p_pano"></div>';p_thispoint=new GLatLng(a,b);myPOV={yaw:c,pitch:d,zoom:e};svOpts={latlng:p_thispoint,pov:myPOV};new GStreetviewPanorama(document.getElementById("p_pano"),svOpts)} function gp_desc(a){hp_ck();document.getElementById("p_m_r_dyn").innerHTML='<div id="p_lnk" name="p_lnk">Description</div><div id="p_desc" name="p_desc"><img src="img/loader-facebookmini.gif"/></div>';no_cach();http.open("get",lurl+"/inc/gp_desc.php?p_id="+a+"&nocache="+nocache);http.onreadystatechange=function(){getgp_desc(a)};http.send(null)}function getgp_desc(){if(http.readyState==4){var a=http.responseText;document.getElementById("p_desc").innerHTML=a}} function gp_opens(a){hp_ck();document.getElementById("p_m_r_dyn").innerHTML='<div id="p_lnk" name="p_lnk">Horaires</div><div id="p_opens" name="p_opens"><img src="img/loader-facebookmini.gif"/></div>';no_cach();http.open("get",lurl+"/inc/gp_opens.php?p_id="+a+"&nocache="+nocache);http.onreadystatechange=function(){getgp_opens(a)};http.send(null)}function getgp_opens(){if(http.readyState==4){var a=http.responseText;document.getElementById("p_opens").innerHTML=a}} function gp_evs(a){hp_ck();document.getElementById("p_m_r_dyn").innerHTML='<div id="p_lnk" name="p_lnk">Events</div><div id="p_evs" name="p_evs"><img src="img/loader-facebookmini.gif"/></div>';no_cach();http.open("get",lurl+"/inc/gp_evs.php?p_id="+a+"&nocache="+nocache);http.onreadystatechange=function(){getgp_evs(a)};http.send(null)}function getgp_evs(){if(http.readyState==4){var a=http.responseText;document.getElementById("p_evs").innerHTML=a}} function gp_vids(a){hp_ck();document.getElementById("p_m_r_dyn").innerHTML='<div id="p_lnk" name="p_lnk">Vid\u00e9os</div><div id="p_vids" name="p_vids"><img src="img/loader-facebookmini.gif"/></div>';no_cach();http.open("get",lurl+"/inc/gp_vids.php?p_id="+a+"&nocache="+nocache);http.onreadystatechange=function(){getgp_vids(a)};http.send(null)}function getgp_vids(){if(http.readyState==4){var a=http.responseText;document.getElementById("p_vids").innerHTML=a}}var iconBlue_ev=new GIcon; iconBlue_ev.image="http://labs.google.com/ridefinder/images/mm_20_blue.png";iconBlue_ev.shadow="http://labs.google.com/ridefinder/images/mm_20_shadow.png";iconBlue_ev.iconSize=new GSize(12,20);iconBlue_ev.shadowSize=new GSize(22,20);iconBlue_ev.iconAnchor=new GPoint(6,20);iconBlue_ev.infoWindowAnchor=new GPoint(5,1);var iconRed_ev=new GIcon;iconRed_ev.image="http://www.rlife.fr/img/gpictos/club.png";iconRed_ev.shadow="http://www.rlife.fr/img/gpictos/club_shadow.png"; iconRed_ev.iconSize=new GSize(17,21);iconRed_ev.shadowSize=new GSize(22,21);iconRed_ev.iconAnchor=new GPoint(20,30);iconRed_ev.infoWindowAnchor=new GPoint(5,1);var customIcons_ev=[];customIcons_ev.event=iconRed_ev;customIcons_ev["1"]=iconRed_ev;customIcons_ev["2"]=iconRed_ev;customIcons_ev["3"]=iconRed_ev;customIcons_ev["4"]=iconRed_ev;customIcons_ev["5"]=iconRed_ev;customIcons_ev["6"]=iconRed_ev;customIcons_ev["7"]=iconRed_ev;customIcons_ev["8"]=iconRed_ev;customIcons_ev["9"]=iconRed_ev; customIcons_ev["10"]=iconRed_ev;customIcons_ev["11"]=iconRed_ev;customIcons_ev["12"]=iconRed_ev;customIcons_ev["13"]=iconRed_ev;customIcons_ev["14"]=iconRed_ev;customIcons_ev["15"]=iconRed_ev;customIcons_ev["16"]=iconRed_ev;customIcons_ev["17"]=iconRed_ev;customIcons_ev["18"]=iconRed_ev;customIcons_ev["19"]=iconRed_ev;customIcons_ev["20"]=iconRed_ev;var panoClient_ev,houseMarker_ev; function loadgmap_event(a,b,c){document.getElementById("event_bg_huge_desc").innerHTML='<div id="event_bg_huge_map"/></div>';if(GBrowserIsCompatible()){var d=new GMap2(document.getElementById("event_bg_huge_map"));d.enableScrollWheelZoom();d.addControl(new GLargeMapControl3D);d.addControl(new GMapTypeControl);d.setCenter(new GLatLng(b,c),14);GDownloadUrl("http://www.rlife.fr/inc/gmap-xml-event.php?ev_eid="+a,function(e){e=GXml.parse(e).documentElement.getElementsByTagName("marker");for(var f=0;f< e.length;f++){var g=e[f].getAttribute("name"),h=e[f].getAttribute("address"),j=e[f].getAttribute("type"),k=new GLatLng(parseFloat(e[f].getAttribute("lat")),parseFloat(e[f].getAttribute("lng")));g=createMarker_ev(k,g,h,j);d.addOverlay(g)}})}} function createMarker_ev(a,b,c,d){var e=new GMarker(a,customIcons_ev[d]),f='<div id="mapstyle"><div id="mapstyle_left"></div><div id="mapstyle_right"><b>'+b+"</b> <br/>"+c+" <br/><br/></div></div>";GEvent.addListener(e,"mouseover",function(){e.openInfoWindowHtml(f)});return e} function toggle_ev_tikt_shop(a){hp_ck();document.getElementById("event_bg_huge_desc").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/toggle_ev_tikt_shop.php?ev_internal_id="+a+"&nocache="+nocache);http.onreadystatechange=function(){gettoggle_ev_tikt_shop()};http.send(null)}function gettoggle_ev_tikt_shop(){if(http.readyState==4){var a=http.responseText;document.getElementById("event_bg_huge_desc").innerHTML=a}} function g_pl(a){if(a.length>2){hp_ck();document.getElementById("g_pl_rep").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/auto_p.php?stringtoget="+a+"&nocache="+nocache);http.onreadystatechange=function(){g_g_pl()};http.send(null)}}function g_g_pl(){if(http.readyState==4)try{if(http.status==200){var a=http.responseText;document.getElementById("g_pl_rep").innerHTML=a}}catch(b){document.getElementById("g_pl_rep").innerHTML="Oupss, un petit soucis.. merci de r\u00e9essayer"}} function autosearch_vid(a){hp_ck();document.getElementById("v_m_m_com").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/autosearch_vid.php?stringtoget="+a+"&nocache="+nocache);http.onreadystatechange=function(){getautosearch_vid()};http.send(null)}function getautosearch_vid(){if(http.readyState==4){var a=http.responseText;document.getElementById("v_m_m_com").innerHTML=a}} function new_customer(){hp_ck();document.getElementById("action_zone_main").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/sregister.php?nocache="+nocache);http.onreadystatechange=function(){getnew_customer()};http.send(null)}function getnew_customer(){if(http.readyState==4){var a=http.responseText;document.getElementById("action_zone_main").innerHTML=a;http.status==200&&FB_RequireFeatures(["XFBML"],function(){FB.Facebook.init("0599a0fa368dcd42f8a2d4f76b1aecfd","../../receiver.html")})}} function new_customer_go(){hp_ck();var a=document.getElementById("email").value,b=document.getElementById("username").value,c=document.getElementById("password").value,d=document.getElementById("fb_id").value,e=document.getElementById("first_name").value,f=document.getElementById("last_name").value,g=document.getElementById("pic_small").value,h=document.getElementById("website").value,j=document.getElementById("about_me").value,k=document.getElementById("city").value,l=document.getElementById("state").value, i=document.getElementById("cp").value,m=document.getElementById("country").value,n=document.getElementById("timezone").value,o=document.getElementById("cgu").checked==true?document.getElementById("cgu").value:"0";document.getElementById("action_zone_main").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/session/manage-registering-fb.php?email="+a+"&username="+b+"&fb_id="+d+"&password="+c+"&first_name="+e+"&last_name="+f+"&pic_small="+g+"&website="+h+"&about_me="+j+"&city="+k+"&state="+l+"&cp="+ i+"&country="+m+"&timezone="+n+"&cgu="+o+"&submit=yes&nocache="+nocache);http.onreadystatechange=function(){getnew_customer_go()};http.send(null)}function getnew_customer_go(){if(http.readyState==4){var a=http.responseText;document.getElementById("action_zone_main").innerHTML=a}} function new_customer_fb_go(){hp_ck();var a=document.getElementById("email").value,b=document.getElementById("username").value,c=document.getElementById("password").value,d=document.getElementById("fb_id").value,e=document.getElementById("first_name").value,f=document.getElementById("last_name").value,g=document.getElementById("pic_small").value,h=document.getElementById("website").value,j=document.getElementById("about_me").value,k=document.getElementById("city").value,l=document.getElementById("state").value, i=document.getElementById("cp").value,m=document.getElementById("country").value,n=document.getElementById("timezone").value,o=document.getElementById("cgu").checked==true?document.getElementById("cgu").value:"0";document.getElementById("action_zone_main").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/session/manage-registering-fb.php?email="+a+"&username="+b+"&fb_id="+d+"&password="+c+"&first_name="+e+"&last_name="+f+"&pic_small="+g+"&website="+h+"&about_me="+j+"&city="+k+"&state="+l+"&cp="+ i+"&country="+m+"&timezone="+n+"&cgu="+o+"&submit=yes&nocache="+nocache);http.onreadystatechange=function(){getnew_customer_fb_go()};http.send(null)}function getnew_customer_fb_go(){if(http.readyState==4){var a=http.responseText;document.getElementById("action_zone_main").innerHTML=a;http.status==200&&check_loginstate()}} function fb_first_step(){hp_ck();document.getElementById("action_zone_main").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/sregister-fb-one.php?nocache="+nocache);http.onreadystatechange=function(){getfb_first_step()};http.send(null)}function getfb_first_step(){if(http.readyState==4){var a=http.responseText;document.getElementById("action_zone_main").innerHTML=a;http.status==200&&FB.Connect.showPermissionDialog("email,offline_access,publish_stream",null)}} function fb_2nd_step(){hp_ck();document.getElementById("action_zone_main").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/sregister-fb-two.php?nocache="+nocache);http.onreadystatechange=function(){getfb_2nd_step()};http.send(null)}function getfb_2nd_step(){if(http.readyState==4){var a=http.responseText;document.getElementById("action_zone_main").innerHTML=a}} function new_customer_fb_sgo_two(){hp_ck();var a=document.getElementById("email").value,b=document.getElementById("proxymail").value,c=document.getElementById("username").value,d=document.getElementById("password").value,e=document.getElementById("fb_id").value,f=document.getElementById("first_name").value,g=document.getElementById("last_name").value,h=document.getElementById("pic_small").value,j=document.getElementById("website").value,k=document.getElementById("about_me").value,l=document.getElementById("city").value, i=document.getElementById("state").value,m=document.getElementById("cp").value,n=document.getElementById("country").value,o=document.getElementById("timezone").value,p=document.getElementById("user_birthday_d").value,q=document.getElementById("user_birthday_m").value,r=document.getElementById("user_birthday_y").value,s=document.getElementById("user_gender").value,t=document.getElementById("cgu").checked==true?document.getElementById("cgu").value:"0";document.getElementById("action_zone_main").innerHTML= l_min;no_cach();http.open("get",lurl+"/inc/session/manage-sregistering-fb-two.php?email="+a+"&proxymail="+b+"&username="+c+"&fb_id="+e+"&password="+d+"&first_name="+f+"&last_name="+g+"&pic_small="+h+"&website="+j+"&about_me="+k+"&city="+l+"&state="+i+"&cp="+m+"&country="+n+"&timezone="+o+"&cgu="+t+"&user_birthday_d="+p+"&user_birthday_m="+q+"&user_birthday_y="+r+"&user_gender="+s+"&submit=yes&nocache="+nocache);http.onreadystatechange=function(){getnew_customer_fb_sgo_two()};http.send(null)} function getnew_customer_fb_sgo_two(){if(http.readyState==4){var a=http.responseText;document.getElementById("action_zone_main").innerHTML=a;http.status==200&&check_loginstate()}} function new_customer_fb_sgo(){hp_ck();var a=document.getElementById("email").value,b=document.getElementById("proxymail").value,c=document.getElementById("username").value,d=document.getElementById("password").value,e=document.getElementById("fb_id").value,f=document.getElementById("first_name").value,g=document.getElementById("last_name").value,h=document.getElementById("pic_small").value,j=document.getElementById("website").value,k=document.getElementById("about_me").value,l=document.getElementById("city").value, i=document.getElementById("state").value,m=document.getElementById("cp").value,n=document.getElementById("country").value,o=document.getElementById("timezone").value,p=document.getElementById("user_birthday_d").value,q=document.getElementById("user_birthday_m").value,r=document.getElementById("user_birthday_y").value,s=document.getElementById("user_gender").value,t=document.getElementById("cgu").checked==true?document.getElementById("cgu").value:"0";document.getElementById("action_zone_main").innerHTML= l_min;no_cach();http.open("get",lurl+"/inc/session/manage-sregistering-fb.php?email="+a+"&proxymail="+b+"&username="+c+"&fb_id="+e+"&password="+d+"&first_name="+f+"&last_name="+g+"&pic_small="+h+"&website="+j+"&about_me="+k+"&city="+l+"&state="+i+"&cp="+m+"&country="+n+"&timezone="+o+"&cgu="+t+"&user_birthday_d="+p+"&user_birthday_m="+q+"&user_birthday_y="+r+"&user_gender="+s+"&submit=yes&nocache="+nocache);http.onreadystatechange=function(){getnew_customer_fb_sgo()};http.send(null)} function getnew_customer_fb_sgo(){if(http.readyState==4){var a=http.responseText;document.getElementById("action_zone_main").innerHTML=a;if(http.status==200){check_loginstate();FB_RequireFeatures(["XFBML"],function(){FB.Facebook.init("0599a0fa368dcd42f8a2d4f76b1aecfd","../../receiver.html")})}}} function customer_getlogin(){hp_ck();document.getElementById("action_zone_main").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/login.php?nocache="+nocache);http.onreadystatechange=function(){getcustomer_getlogin()};http.send(null)} function getcustomer_getlogin(){if(http.readyState==4){var a=http.responseText;document.getElementById("action_zone_main").innerHTML=a;http.status==200&&FB_RequireFeatures(["XFBML"],function(){FB.Facebook.init("0599a0fa368dcd42f8a2d4f76b1aecfd","../../receiver.html")})}} function customer_login(){hp_ck();var a=document.getElementById("username").value,b=document.getElementById("password").value;document.getElementById("action_zone_main").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/session/manage-check.php?username="+a+"&password="+b+"&submit=yes&nocache="+nocache);http.onreadystatechange=function(){getcustomer_login()};http.send(null)} function getcustomer_login(){if(http.readyState==4){var a=http.responseText;document.getElementById("action_zone_main").innerHTML=a;if(http.status==200){FB_RequireFeatures(["XFBML"],function(){FB.Facebook.init("0599a0fa368dcd42f8a2d4f76b1aecfd","../../receiver.html")});check_loginstate()}}} function customer_logout(){hp_ck();clean_div("dyn_menu");document.getElementById("login_head").innerHTML="Loggin out..";document.getElementById("action_zone_main").innerHTML="Loggin out..";no_cach();http.open("get",lurl+"/inc/logout.php?nocache="+nocache);http.onreadystatechange=function(){getcustomer_logout()};http.send(null)} function getcustomer_logout(){if(http.readyState==4){var a=http.responseText;document.getElementById("login_head").innerHTML=a;document.getElementById("action_zone_main").innerHTML='<div id="log_main_try"><div id="log_head">Logout<div id="reg_close"><a href="javascript:close_x(\'action_zone_main\')"><img src="http://www.rlife.fr/img/close_cross.png"></a></div></div><div id="log_body1"><br><div id="log_body1_1"></div><div id="log_body1_2"></div><div id="log_body1_1"></div><div id="log_body1_2">Vous vous \u00eates d\u00e9connect\u00e9 - <br > <br > A bient\u00f4t ! <br > <br ><a href="javascript:close_x(\'action_zone_main\')">Fermer cette fenetre</a> </div><div id="log_body1_valid"></div><div id="log_body1_valid"></div></div></div>'; if(http.status==200){FB_RequireFeatures(["XFBML"],function(){FB.Facebook.init("0599a0fa368dcd42f8a2d4f76b1aecfd","../../receiver.html")});setTimeout("clean_div('action_zone_main')",3E3)}}}function check_loginstate(){hp_ck();document.getElementById("login_head").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/check_login_state.php?nocache="+nocache);http.onreadystatechange=function(){getcheck_loginstate()};http.send(null)} function getcheck_loginstate(){if(http.readyState==4){var a=http.responseText;document.getElementById("login_head").innerHTML=a}}function update_item(a){hp_ck();var b=document.getElementById(a+"_val").value;document.getElementById(a+"_GLOB").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/edit_item_node.php?node_target="+a+"&node_val="+b+"&nocache="+nocache);http.onreadystatechange=function(){getupdate_item(a,b)};http.send(null)} function getupdate_item(a,b){if(http.readyState==4)if(http.status==200)document.getElementById(a+"_GLOB").innerHTML=a+' : <input name="'+a+'_val" id="'+a+'_val" type="text" size="30" maxlength="255" value="'+b+'" onfocus="javascript:show_node(\''+a+'\')"/><span id="'+a+'_focus" class="divHide_node"><a href="javascript:update_item(\''+a+"')\">OK</a></span>"} function show_items(){hp_ck();document.getElementById("action_zone_main").innerHTML='<span id="fbloaderbig"><br />'+l_min+"<br /><br /></span>";no_cach();http.open("get",lurl+"/inc/card_show_ajx.php?nocache="+nocache);http.onreadystatechange=function(){getshow_items()};http.send(null)}function getshow_items(){if(http.readyState==4){var a=http.responseText;document.getElementById("action_zone_main").innerHTML=a}} function process_cart(){hp_ck();document.getElementById("action_zone_main").innerHTML='<span id="fbloaderbig"><br />'+l_min+"<br /><br /></span>";no_cach();http.open("get",lurl+"/inc/card_process_ajx.php?nocache="+nocache);http.onreadystatechange=function(){getprocess_cart()};http.send(null)} function getprocess_cart(){if(http.readyState==4){var a=http.responseText;document.getElementById("action_zone_main").innerHTML=a;http.status==200&&FB_RequireFeatures(["XFBML"],function(){FB.Facebook.init("0599a0fa368dcd42f8a2d4f76b1aecfd","../../receiver.html")})}} function process_cart_free(){hp_ck();document.getElementById("action_zone_main").innerHTML='<span id="fbloaderbig"><br />'+l_min+"<br /><br /></span>";no_cach();http.open("get",lurl+"/inc/card_process_ajx_free.php?nocache="+nocache);http.onreadystatechange=function(){getprocess_cart_free()};http.send(null)}function getprocess_cart_free(){if(http.readyState==4){var a=http.responseText;document.getElementById("action_zone_main").innerHTML=a}} function gfree_tikts_checkout(a){clean_div(a);show_items_mini();toggle_menu_profil();toggle_menu_tikts()}function close_cart(a){clean_div(a);show_items_mini()}function show_items_mini(){hp_ck();document.getElementById("cart_mini").innerHTML='<span id="fbloaderbig"><br />'+l_min+"<br /><br /></span>";no_cach();http.open("get",lurl+"/inc/card_show_ajx_mini.php?nocache="+nocache);http.onreadystatechange=function(){getshow_items_mini()};http.send(null)} function getshow_items_mini(){if(http.readyState==4){var a=http.responseText;document.getElementById("cart_mini").innerHTML=a}}function show_items_mini_added(a,b){hp_ck();document.getElementById("ttxt_head").innerHTML='<span id="fbloaderbig"><br />'+l_min+"<br /><br /></span>";no_cach();http.open("get",lurl+"/inc/card_show_ajx_mini_added.php?item="+a+"&nbadd="+b+"&nocache="+nocache);http.onreadystatechange=function(){getshow_items_mini_added()};http.send(null)} function getshow_items_mini_added(){if(http.readyState==4){var a=http.responseText;document.getElementById("ttxt_head").innerHTML=a;http.status==200&&setTimeout("clean_div('cart_mini_added')",3E3)}}function add_item(a,b){hp_ck();document.getElementById("cart").innerHTML='<span id="fbloaderbig"><br />'+l_min+"<br /><br /></span>";no_cach();http.open("get",lurl+"/inc/card_add_ajx.php?item="+a+"&nbadd="+b+"&nocache="+nocache);http.onreadystatechange=function(){getadd_item()};http.send(null)} function getadd_item(){if(http.readyState==4){var a=http.responseText;document.getElementById("cart").innerHTML=a;http.status==200&&show_items()}}function add_item_mini(a,b){hp_ck();document.getElementById("ttxt_head").innerHTML='<span id="fbloaderbig"><br />'+l_min+"<br /><br /></span>";no_cach();http.open("get",lurl+"/inc/card_add_ajx.php?item="+a+"&nbadd="+b+"&nocache="+nocache);http.onreadystatechange=function(){getadd_item_mini(a,b)};http.send(null)} function getadd_item_mini(a,b){if(http.readyState==4){var c=http.responseText;document.getElementById("ttxt_head").innerHTML=c;http.status==200&&show_items_mini_added(a,b)}} function add_item_mini_inev(a){hp_ck();var b=document.getElementById("tikt_nb_sel"+a).value;document.getElementById("ttxt_head").innerHTML='<span id="fbloaderbig"><br />'+l_min+"<br /><br /></span>";no_cach();http.open("get",lurl+"/inc/card_add_ajx.php?item="+a+"&nbadd="+b+"&nocache="+nocache);http.onreadystatechange=function(){getadd_item_mini_inev(a,b)};http.send(null)} function getadd_item_mini_inev(a,b){if(http.readyState==4){var c=http.responseText;document.getElementById("ttxt_head").innerHTML=c;if(http.status==200){scroll(0,0);show_items_mini_added(a,b)}}}function del_item(a,b){hp_ck();document.getElementById("cart").innerHTML='<span id="fbloaderbig"><br />'+l_min+"<br /><br /></span>";no_cach();http.open("get",lurl+"/inc/card_del_ajx.php?delitem="+a+"&valitem="+b+"&nocache="+nocache);http.onreadystatechange=function(){getdel_item()};http.send(null)} function getdel_item(){if(http.readyState==4){var a=http.responseText;document.getElementById("cart").innerHTML=a;http.status==200&&show_items()}}function toggle_game_map(a,b,c){document.getElementById("dyn_game_map"+a).innerHTML='<div name="game_gmap_radius" id="game_gmap_radius"></div><div name="game_pano" id="game_pano"></div><div name="game_gmap" id="game_gmap"></div>_________________________________________________________________________<br>';load_game_gmap(a,b,c)}var iconBlue_p=new GIcon; iconBlue_p.image="http://labs.google.com/ridefinder/images/mm_20_blue.png";iconBlue_p.shadow="http://labs.google.com/ridefinder/images/mm_20_shadow.png";iconBlue_p.iconSize=new GSize(12,20);iconBlue_p.shadowSize=new GSize(22,20);iconBlue_p.iconAnchor=new GPoint(6,20);iconBlue_p.infoWindowAnchor=new GPoint(5,1);var iconRed_p=new GIcon;iconRed_p.image="http://www.rlife.fr/img/gpictos/club.png";iconRed_p.shadow="http://www.rlife.fr/img/gpictos/club_shadow.png";iconRed_p.iconSize=new GSize(17,21); iconRed_p.shadowSize=new GSize(22,21);iconRed_p.iconAnchor=new GPoint(20,30);iconRed_p.infoWindowAnchor=new GPoint(5,1);var customIcons_p=[];customIcons_p["1"]=iconRed_p;customIcons_p["2"]=iconRed_p;customIcons_p["3"]=iconRed_p;customIcons_p["4"]=iconRed_p;customIcons_p["5"]=iconRed_p;customIcons_p["6"]=iconRed_p;customIcons_p["7"]=iconRed_p;customIcons_p["8"]=iconRed_p;customIcons_p["9"]=iconRed_p;customIcons_p["10"]=iconRed_p;customIcons_p["11"]=iconRed_p;customIcons_p["12"]=iconRed_p; customIcons_p["13"]=iconRed_p;customIcons_p["14"]=iconRed_p;customIcons_p["15"]=iconRed_p;customIcons_p["16"]=iconRed_p;customIcons_p["17"]=iconRed_p;customIcons_p["18"]=iconRed_p;customIcons_p["19"]=iconRed_p;customIcons_p["20"]=iconRed_p;var myPano,panoClient,nw_point,nw_yaw,nw_pitch,nw_zoom; function load_game_gmap(a,b,c){if(GBrowserIsCompatible()){panoClient=new GStreetviewClient;myPano=new GStreetviewPanorama(document.getElementById("game_pano"));var d=new GMap2(document.getElementById("game_gmap"));d.enableScrollWheelZoom();d.addControl(new GLargeMapControl3D);d.setCenter(new GLatLng(b,c),14);var e=new GMap2(document.getElementById("game_gmap_radius"));e.enableScrollWheelZoom();e.addControl(new GLargeMapControl3D);e.addControl(new GMapTypeControl);e.setCenter(new GLatLng(b,c),14); GDownloadUrl("http://www.rlife.fr/inc/game-gmap-xml.php?memberid="+a,function(f){f=GXml.parse(f).documentElement.getElementsByTagName("marker");for(var g=0;g<f.length;g++){var h=f[g].getAttribute("name"),j=f[g].getAttribute("address"),k=f[g].getAttribute("type"),l=new GLatLng(parseFloat(f[g].getAttribute("lat")),parseFloat(f[g].getAttribute("lng"))),i=f[g].getAttribute("phasstreetview"),m=parseFloat(f[g].getAttribute("pyaw")),n=parseFloat(f[g].getAttribute("ppitch")),o=f[g].getAttribute("pzoom"); h=createMarker_p(l,h,j,k,d,e,i,m,n,o);d.addOverlay(h);nw_point=h.getPoint();myPOV={yaw:m,pitch:n,zoom:o};myPano.setLocationAndPOV(nw_point,myPOV)}})}} function createMarker_p(a,b,c,d,e,f,g,h,j,k){var l=new GMarker(a,{draggable:true,bouncy:false});GEvent.addListener(l,"dragend",function(){nw_point=l.getPoint();e.panTo(nw_point);document.getElementById("p_lat").value=nw_point.lat();document.getElementById("p_lng").value=nw_point.lng();myPOV={yaw:h,pitch:j,zoom:k};myPano.setLocationAndPOV(nw_point,myPOV)});GEvent.addListener(myPano,"initialized",function(i){var m=i.yaw,n=i.pitch,o=i.zoom,p=i.latlng.lat(),q=i.latlng.lng();document.getElementById("p_yaw").value= m;document.getElementById("p_pitch").value=n;document.getElementById("p_zoom").value=o;document.getElementById("p_lat").value=i.latlng.lat();document.getElementById("p_lng").value=i.latlng.lng();e.setCenter(new GLatLng(p,q),14);i=new GLatLng(p,q);l.setLatLng(i);searchLocationsNear(i,f)});GEvent.addListener(myPano,"yawchanged",function(i){document.getElementById("p_yaw").value=i});GEvent.addListener(myPano,"pitchchanged",function(i){document.getElementById("p_pitch").value=i});GEvent.addListener(myPano, "zoomchanged",function(i){document.getElementById("p_zoom").value=i});return l} function searchLocationsNear(a,b){var c="inc/radius-search-xml.php?user_lat="+a.lat()+"&user_lng="+a.lng()+"&user_radius=0.1";GDownloadUrl(c,function(d){d=GXml.parse(d).documentElement.getElementsByTagName("p_searched");b.clearOverlays();var e=document.getElementById("sidebar");e.innerHTML="";if(d.length==0){e.innerHTML="No results found.";b.setCenter(a,14)}else{for(var f=new GLatLngBounds,g=0;g<d.length;g++){var h=d[g].getAttribute("p_name"),j=d[g].getAttribute("p_address"),k=parseFloat(d[g].getAttribute("p_distance")), l=new GLatLng(parseFloat(d[g].getAttribute("p_lat")),parseFloat(d[g].getAttribute("p_lng"))),i=createp_searched(l,h,j);b.addOverlay(i);h=createSidebarEntry(i,h,j,k);e.appendChild(h);f.extend(l)}b.setCenter(f.getCenter(),b.getBoundsZoomLevel(f))}})} function createp_searched(a,b,c){var d=new GMarker(a),e='<div id="mapstyle"><div id="mapstyle_left"></div><div id="mapstyle_right"><b>'+b+"</b> <br/>"+c+" <br/><br/></div></div>";GEvent.addListener(d,"click",function(){d.openInfoWindowHtml(e)});return d}function createSidebarEntry(a,b,c,d){a=document.createElement("span");b="<b>"+b+"</b> ("+d.toFixed(1)+") | "+c;a.innerHTML=b;return a} function t_frds(){hp_ck();document.getElementById("d_dyn").innerHTML='<div id="g_frds"><input name="chkin_p_frdsid" type="hidden" id="chkin_p_frdsid" value="" />Rechercher: <input size="20" onkeyup="g_frds(this.value);" type="text" name="nw_p_frds" id="nw_p_frds" value=""/> <span id="nw_p_frds_ok"> ex: Rlife</span></div><br><div id="g_pz_frdsrep">...</div><br><div id="dyn_frds"></div>'} function t_frd(){hp_ck();document.getElementById("d_dyn").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/t_frd.php?nocache="+nocache);http.onreadystatechange=function(){g_t_frd()};http.send(null)}function g_t_frd(){if(http.readyState==4)try{if(http.status==200){var a=http.responseText;document.getElementById("d_dyn").innerHTML='| <a href="javascript:t_frds()">Rechercher</a><br><br>'+a}}catch(b){document.getElementById("d_dyn").innerHTML="Timout, please try again"}} function g_invits(){hp_ck();document.getElementById("d_dyn").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/g_invits.php?nocache="+nocache);http.onreadystatechange=function(){g_g_invits()};http.send(null)}function g_g_invits(){if(http.readyState==4)try{if(http.status==200){var a=http.responseText;document.getElementById("d_dyn").innerHTML='| <a href="javascript:t_frds()">Recherche</a><br><br>'+a}}catch(b){document.getElementById("d_dyn").innerHTML="Timout, please try again"}} function acc_frd(a){hp_ck();document.getElementById("d_dyn").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/acc_frd.php?invit_id="+a+"&nocache="+nocache);http.onreadystatechange=function(){g_acc_frd()};http.send(null)}function g_acc_frd(){if(http.readyState==4)try{if(http.status==200){var a=http.responseText;document.getElementById("d_dyn").innerHTML=a}}catch(b){document.getElementById("d_dyn").innerHTML="Timout, please try again"}} function dec_frd(a){hp_ck();document.getElementById("d_dyn").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/dec_frd.php?invit_id="+a+"&nocache="+nocache);http.onreadystatechange=function(){g_dec_frd()};http.send(null)}function g_dec_frd(){if(http.readyState==4)try{if(http.status==200){var a=http.responseText;document.getElementById("d_dyn").innerHTML=a}}catch(b){document.getElementById("d_dyn").innerHTML="Timout, please try again"}} function g_frds(a){if(a.length>2){hp_ck();document.getElementById("nw_p_frds_ok").innerHTML="";document.getElementById("g_pz_frdsrep").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/g_frds.php?stringtoget="+a+"&nocache="+nocache);http.onreadystatechange=function(){g_g_frds()};http.send(null)}} function g_g_frds(){if(http.readyState==4)try{if(http.status==200){var a=http.responseText;document.getElementById("g_pz_frdsrep").innerHTML=a}}catch(b){document.getElementById("g_pz_frdsrep").innerHTML="Timout, please try again"}} function s_ifrd(){hp_ck();var a=document.getElementById("chkin_p_frdsid").value,b=document.getElementById("chkin_frdsmsg").value;b=escape(b);document.getElementById("nw_p_frds_ok").innerHTML=l_min;document.getElementById("g_pz_frdsrep").innerHTML=l_min;no_cach();http.open("get",lurl+"/inc/s_ifrd.php?invit_to="+a+"&invit_msg="+b+"&nocache="+nocache);http.onreadystatechange=function(){g_s_ifrd()};http.send(null)} function g_s_ifrd(){if(http.readyState==4)try{if(http.status==200){var a=http.responseText;document.getElementById("d_dyn").innerHTML=a}}catch(b){document.getElementById("d_dyn").innerHTML="Timout, please try again"}};
