function fgjstabber_test_div_step(indextab){var objtag='img_bar_step';var obj=GetId(objtag);if(obj){obj=GetName(objtag);var img=obj[indextab];if(img){var tag1=(!x?'/no.':'/checkboxon.');var tag2=(!x?'/checkboxon.':'/no.');img.src=img.src.replace(tag1,tag2);}};};function fgjstabber_test_div_load(arraycut,set){var objtag=arraycut[0][3]+'_load';var objiddiv=GetId(objtag);var objnamediv=GetName(objtag);if(objiddiv){if(objnamediv[arraycut[1][1]]){objnamediv[arraycut[1][1]].value=arraycut[1][1];return(true);}};return('');};function fgjstabber_cut_tabdiv(tab){if(!tab)return('');var sep='.';var tab0='';var array=tab.split(sep);for(var i=0;i=0)arrayplus.push(array[i]);ma.line=155;return(new Array(arrayfixed,arrayplus));}catch(e){if($.isFunction(window.dbgvec))debug_view_e_catch(e,tagfct);}};function get_array_file(motif,string,tabsiname,ktabber){os_init_myapp_js_for_ajax();var result=string.split(motif),file=tabsiname,change=(motif==myApp.appli);var dir=(change?ktabber+'_':'')+string;return(new Array(change,dir,file));};function get_status_of_div(div){var o=GetId(div);var length=0;var accept_reload=false;if(o){length=o.innerHTML.length;if(length>250){var arraycut=o.innerHTML.split('accept_reload');accept_reload=(arraycut.length>=2);}};return(accept_reload);};function display_videos(fields){if(!GetId(fields[1])&&(fields[2]!='')){GetId(myApp.konclick).innerHTML=fields[2];}else{if(fields[3]&&GetId(fields[3])&&(fields[4]!=''))GetId(fields[3]).innerHTML=fields[4];if(fields[5]&&GetId(fields[5])&&(fields[6]!=''))GetId(fields[5]).innerHTML=fields[6];if(fields[7]&&GetId(fields[7])&&(fields[8]!=''))GetId(fields[7]).innerHTML=fields[8];}};function get_file_for_common_submotif(tabi,file,motifcalled,composed){myApp.line=220;try{var tagfct='gffcs';var t=(tabi=='$'?motifcalled:tabi),xfile=file;switch(tabi){case'daily':case'dailybaby':case'shop':case'school':myApp.submotif=t;case'tools':xfile+=myApp.subsite+'/'+t+'/'+myApp.konclick+myApp.kextph;break;case'$':xfile+=(composed!=''?composed:myApp.subsite.replace('__','/')+'/'+motifcalled.replace('$',''))+'/';xfile+=myApp.konclick+myApp.kextph;break;};return(xfile==file?'':xfile);}catch(e){if($.isFunction(window.dbgvec))debug_view_e_catch(e,tagfct);}};function run_timeout_myAppblockdiv(val){if(val){setTimeout('run_timeout_myAppblockdiv()',1500);}else{myApp.blockdiv=false;}};function make_tabber(textarray,force){myApp.line=268;try{var tagfct='mktab';if(myApp.showpost=='!'){return('');};if(myApp.blockdiv){run_timeout_myAppblockdiv(myApp.blockdiv);return(false);};myApp.blockdiv=true;actualize_imgloader(myApp.kcssinline);os_display_popuploader(true);textarray=trim(textarray);var tabs,o,i,x,arraycut=new Array();var array=textarray.split('.');if(array.length<3){return('');};var motifcalled=array[1],tagcalled=motifcalled.substring(0,1),toalert=false;var div=GetId(textarray);if(div)myApp.konclick=textarray;tabs=get_arrays_after_click(motifcalled);div=GetId(myApp.konclick);x=jc_is_inarray(new Array('rpanel'),motifcalled);if(!x&&div&&tagcalled!='$'){if(tabs[0]&&tabs[3]&&(force!='start')){actualize_imgloader(myApp.kcssnone);os_display_popuploader(false);return(make_tabber(tabs[3]));};if(!get_status_of_div(textarray)){if(div.innerHTML.length>250){os_display_popuploader(false);o=(myApp.kislocalsite&&myDebug.dev);x=false;if(o)x=confirm('Recharger la page de l`onglet?');if(!x||!force||(force!='start')){actualize_imgloader(myApp.kcssnone);return(os_display_popuploader(false));}};}};arraycut=fgjstabber_cut_tabdiv(textarray);if(!arraycut){actualize_imgloader(myApp.kcssnone);return(os_display_popuploader(false));};var is_myApp_konclick=arraycut[2][0];motifcalled=arraycut[0][3];tagcalled=motifcalled.substring(0,1);tabs=new Array();os_init_myapp_js_for_ajax();if(motifcalled==myApp.appli||motifcalled=='cart'||motifcalled=='school'||motifcalled=='shop'||motifcalled=='daily'||motifcalled=='dailybaby'){tabs=get_native_arrays_after_click(motifcalled);if(tabs=='suite'){actualize_imgloader(myApp.kcssnone);return(os_display_popuploader(false));};if(tagcalled=='$'){tabs=get_arrays_after_click(motifcalled);}};myDebug._alert(new Array(tagfct,339,'',motifcalled));os_display_popuploader(true);var test=(array[0]&&array[1]);var result,forcing=(force);result=myApp.subsite.split('/');myApp.subsite=result[0];result='';myApp.display_message_popup(true,'');var tpld='templates'+'/'+'default';var tpldaccount=myApp.kDIR_xommon+'/'+tpld+'/'+'account';var ktabber='tabber';tabs=os_get_datas_motifs_tab();var tabi=motifcalled;var composed=motifcalled.split('__');composed=(composed.length>1?composed[0]+'/'+composed[1]:'');tabi=(composed?motifcalled:os_get_datas_motifs_tab_appli(tabi));var file=tpld+'/'+'d'+myApp.appli+'/';if(!myApp.oldrpaneltabber)myApp.oldrpaneltabber=myApp.konclick;var z1=myApp.konclick.split('.'),z2=myApp.oldrpaneltabber.split('.');if(motifcalled=='rpanel'||motifcalled=='oneposts'||motifcalled=='createsimplewwwsite'||motifcalled=='uploadwwwsite'){tpld='../../'+myApp.ktypeiservice+'-i/tpl';file=tpld+'/';};var osdmotif=motifcalled;myApp.submotif='';x=get_file_for_common_submotif(tabi,file,motifcalled,composed);myDebug._alert(new Array(tagfct,358,'',motifcalled));if(x==''){switch(tabi){case'foundmotif':if(motifcalled=='recruitment'||motifcalled=='actionsarticle')file+=motifcalled+'/';if(motifcalled=='registration'||motifcalled=='registrationx0'){file=tpldaccount+'/'+motifcalled+'/';};if(motifcalled=='lefttabmenu'||motifcalled=='xregistrationx0'||motifcalled=='xregistration'||motifcalled=='oneposts'||motifcalled=='rpanel'||motifcalled=='createsimplewwwsite'||motifcalled=='uploadwwwsite')file+=(composed!=''?composed:myApp.subsite.replace('__','/')+'/'+motifcalled)+'/';file+=myApp.konclick+myApp.kextph;if(motifcalled=='rpanel'||motifcalled=='oneposts'||motifcalled=='createsimplewwwsite'||motifcalled=='uploadwwwsite'){if(!myApp.oldrpaneltabber)myApp.oldrpaneltabber='1.rpanel.0.0.div';if(myApp.oldrpaneltabber!=myApp.konclick){o=GetId('imgload_rvideo');if(o)o.style.display=myApp.kcssinline;o=GetId(myApp.oldrpaneltabber);if(o){if(z1[1]==z2[1])o.innerHTML='';}};myApp.oldrpaneltabber=myApp.konclick;};break;case'account':file=tpldaccount+'/'+myApp.konclick+myApp.kextph;break;case myApp.appli:for(i=0;i