[js] tab menu

L

Lea

Hi,

I have difficulties in understanding the following script. If a good soul
was passing by here ...

Thks

Lea

<script language="javascript">
var userEmail=getCookie("idlogin[m]");var gTimer=null;var gTimer2=null;var
bEnableEffect=false;var
bEnableFavorites=getCookie("fav")=="yes"?true:false;var aTabs=new
Array();var aVisitedLinks=new Array();var
sTbPath='http://toolbar.tiscali.fr/';var
sDefaultLogo=sTbPath+'media/logo.gif';var t='http://';var
u='.tiscali.fr/';var w=t+'www'+u;var z=t+'register'+u;aTabs[0]=new
Tab("accueil","#7E71B4","#BFB8DA",w);aTabs[0].addLink('e-mail',w+'webmail');
aTabs[0].addLink('bienvenue','javascript: var bv =
window.open(\'http://www.tiscali.fr/bienvenue/\',\'bienvenue\',\'width=560,h
eight=565,left=50,top=50\');');aTabs[0].addLink('assistance','http://support
'+u+'index.asp');if(userEmail==""){aTabs[1]=new Tab("nos
offres","#FF9706","#FFCB83",z+'forfaits/');aTabs[1].addLink('adsl
illimit&eacute;',z+'adsl/');aTabs[1].addLink('wifi',z+'adsl/signup.php3?goto
=ADSL_WIFI');aTabs[1].addLink('forfaits
illimit&eacute;s',z+'adsl/signup.php3?goto=IFI');aTabs[1].addLink('forfaits
5h\/10h',z+'adsl/signup.php3?goto=FORFAITS');aTabs[1].addLink('acc&egrave;s
gratuit',z+'adsl/signup.php3?goto=ACCES_GRATUIT');aTabs[1].addLink('d&eacute
;j&agrave; abonn&eacute; ?',z+'selfcare/');}else{aTabs[1]=new
Tab("abonnes","#FF9706","#FFCB83",z+'selfcare/');aTabs[1].addLink('mon
compte',z+'selfcare/');aTabs[1].addLink('changer
d\'offre',z+'selfcare/');aTabs[1].addLink('parrainage',z+'parrainage/');aTab
s[1].addLink('reciprok',t+'reciprok'+u);aTabs[1].addLink('s&eacute;curit&eac
ute; PC',w+'securitepc');aTabs[1].addLink('s&eacute;curit&eacute;
mail',w+'supermail');aTabs[1].addLink('s&eacute;curit&eacute;
achat',w+'securiteachat');aTabs[1].addLink('barre
magique',t+'barremagique'+u);}aTabs[2]=new
Tab("services","#61AF32","#B0D799",w+'services.asp');aTabs[2].addLink('emplo
i',w+'emploi/');aTabs[2].addLink('fax',t+'fax'+u);aTabs[2].addLink('immo',w+
'immobilier');aTabs[2].addLink('logiciels',t+'telechargement'+u);aTabs[2].ad
dLink('pages
perso',t+'www.chez'+u);aTabs[2].addLink('photo',w+'photo/');aTabs[2].addLink
('plans &amp;
iti',t+'plansitineraires'+u+'tiscali/');aTabs[2].addLink('s&eacute;curit&eac
ute;',w+'securite');aTabs[2].addLink('shopping',t+'www.shopping'+u);aTabs[2]
..addLink('sms',t+'services'+u+'smsforfaits/index.php?service=express_sms');a
Tabs[2].addLink('webcam',t+'webcam'+u);aTabs[3]=new
Tab("actu","#0061B4","#80B0DA",w+'actu.asp');aTabs[3].addLink('actualit&eacu
te;s','http://actu'+u+'enune/home.asp');aTabs[3].addLink('auto-moto',t+'auto
moto'+u);aTabs[3].addLink('bourse',t+'bourse'+u);aTabs[3].addLink('europe',t
+'europe'+u);aTabs[3].addLink('m&eacute;t&eacute;o',w+'meteo/');aTabs[3].add
Link('professionnel',w+'professionnel');aTabs[3].addLink('sport',t+'sport'+u
);aTabs[3].addLink('t&eacute;l&eacute;vision',t+'tv'+u);aTabs[4]=new
Tab("loisirs","#D8005F","#EC80AF",w+'loisirs.asp');aTabs[4].addLink('chat
&amp;
forums',t+'communautes'+u);aTabs[4].addLink('cin&eacute;ma',t+'www.mcinema.c
om/');aTabs[4].addLink('f&eacute;minin',w+'femmes/');aTabs[4].addLink('horos
cope',t+'horoscope'+u);aTabs[4].addLink('jeux',w+'jeux/');aTabs[4].addLink('
mobile',w+'mobile/');aTabs[4].addLink('musique',t+'musique'+u);aTabs[4].addL
ink('rencontres',t+'rencontres'+u);aTabs[4].addLink('sexy',w+'sexy');aTabs[4
].addLink('tests',w+'tests');aTabs[4].addLink('voyages
',w+'voyages/');function
Tab(sLabel,sColor,sdColor,sLink){this.id='tab_'+aTabs.length;this.color=sCol
or;this.dcolor=sdColor;this.label=sLabel;this.link=sLink;this.links=new
Array();this.addLink=tab_addlink;}function
tab_addlink(sLabel,sLink){this.links[this.links.length]=new
Link(this.id+'_'+this.links.length,sLabel,sLink);}function
Link(sID,sLabel,sLink){this.ID=sID;this.label=sLabel;this.link=sLink;if(bEna
bleFavorites){this.count=getCookie(sID)!=""?getCookie(sID):0;if(document.loc
ation==this.link){this.count++;setCookie(sID,this.count,365);}if(this.count>
0)aVisitedLinks[aVisitedLinks.length]=this;}}function
colle(iRank){clearTimeout(gTimer2);gTimer=setTimeout('ChangeTab('+iRank+')',
50);}function
decolle(){clearTimeout(gTimer);gTimer2=setTimeout('ChangeTab('+(topbar_tab-1
)+')',10000);}var OptSel,OptSho;OptSel="<option value=0>tout le web<option
value=8>toutes les images<option value=sh>tout le shopping";OptSho="<option
value=sh>tout le shopping<option value=0>tout le web<option value=8>toutes
les images";adres=new
String(document.location);adres=adres.toLowerCase();aShop=(adres.indexOf("sh
opping.tiscali.fr")>-1)?1:0;if(aShop)OptSel=OptSho;function
Render(){document.write('<style>#topbar {position: relative; font:12px
Arial, Helvetica, sans-serif;}#topbar a, #topbar a:visited{ text-decoration:
none; font:12px Arial, Helvetica, sans-serif; color: #ffffff; font-weight:
bold; } #topbar a:hover{text-decoration: underline}#topbar .topbar_top
{width: 776px; background-color: #ffffff; height: 25px;}#topbar
..topbar_middle {width: 776px; background-color: #7E71B4; height: 20px;
text-align: right;}table.tabs {width: 463px; height: 25px;
cursor:pointer;}td.intertab { width: 2px;}td.tab {height: 24px; width: 91px;
text-align: center; background-image: url('+sTbPath+'/media/tab.png);
text-transform: uppercase; } td.belowtab {height: 1px; width: 91px;
background-color: #FFFFFF}#topbar_links {display: hidden;}#topbar_links a
{color: white; }.topbar_bottom
{height:41px;width:776px;background-color:#E5E5E5; border-bottom:1px solid
#EDECEC; }#topbar .topbar_bottom a, #topbar .topbar_bottom a:visited
{font-size:11px;font-family:Arial;color: #0750D9}.topbar_bottom .mail
{width:144px;background-color:#D7D3E5;height:41px; text-align:
left; }.topbar_bottom .tbtds {padding-left: 5px; }.topbar_bottom select
{font-size:11px;font-family:Arial;font-weight:100;width:140px;}.topbar_botto
m a.title {font-size:17px;font-family:Arial}.topbar_bottom .advanced
{padding-left: 5px;}.topbar_bottom .keyword {width:200px;border:1px solid
#7E71B4;}#topbar .idlogin {padding-left: 5px; font-size:8pt; color:
white; }#topbar .idlogin a.cu {font-size: 7pt; font-weight:
normal; }#persobar {width: 776px; background: #f0f0f0; color: #232896;
text-align: left; height: 16px; border-top: 1px #808080 solid;
border-bottom: 1px #808080 solid;}#persobar a.links,#persobar
a:visited.links {font: 8pt arial; color: black; padding-right:
20px;}</style>');document.write('<div id=topbar>');document.write('<table
cellpadding=0 cellspacing=0 class=topbar_top border=0><tr><td rowspan=2
width=331 align=left><img src="'+topbar_logo+'" id=imgLogo
onerror="this.src=sDefaultLogo;"></td><td
height=15></td></tr>');document.write('<tr><td
height=24>');document.write('<table cellpadding=0 cellspacing=0
class=tabs>');document.write('<tr>');for(var
i=0;i<aTabs.length;i++){document.write('<td class=tab
style="background-color:'+aTabs.color+';" id='+aTabs.id+'><a
href="'+aTabs.link+'" onmouseover="colle('+i+')" onmouseout="decolle()"
target=_top>'+aTabs.label+'</a></td>');if(i+1<aTabs.length)document.write
('<td
class=intertab></td>');}document.write('</tr>');document.write('<tr>');for(v
ar i=0;i<aTabs.length;i++){document.write('<td class=belowtab
id=b_'+aTabs.id+'></td>');if(i+1<aTabs.length)document.write('<td
class=intertab></td>');}document.write('</tr>');document.write('</table>');d
ocument.write('</td></tr></table>');document.write('<table cellpadding=0
cellspacing=0 class=topbar_middle border=0><tr><td id=topbar_links
align=right></td></tr></table>');document.write('<table class=topbar_bottom
cellpadding=0 cellspacing=0><tr><td id=mail class=mail><img
src=http://toolbar.tiscali.fr/media/pi_mail.gif hspace=10 vspace=5 width=16
height=16 border=0 align=left><a href=http://webmail.tiscali.fr><FONT
id=tbEmail><ILAYER id=tbEmailNS>Consultez <br>vos
e-mails</ILAYER></FONT></a></td><form name=frmTBShopping
action=http://www.shopping.tiscali.fr/query.html method=get><input
type=hidden name=qu></form><form
action=http://rechercher.nomade.tiscali.fr/recherche.asp name=frmTB id=frmTB
OnSubmit=\'return frmTB_valide();\'><input type=hidden name=src
value=toolbar><input type=hidden name=MT><td class=tbtds><a
href=http://www.nomade.tiscali.fr/ class=title
style="font-size:17px;">Recherche</a>&nbsp;&nbsp;<input style="width:200;"
type=text class=keyword name=s>&nbsp;&nbsp; <span
style="font-size:17px;font-family:Arial;color:#666666;"> said:
</span>&nbsp; <select name=opt
id=frmTB_Opt>'+OptSel+'</select>&nbsp;&nbsp;<input type=image class=button
src=http://toolbar.tiscali.fr/media/btn_ok2.gif alt=Search border="0"
align=absmiddle></a><a href=http://rechercher.nomade.tiscali.fr/nomade.asp
class=advanced style="font-weight:100"><b>»</b> options</a><a
href="javascript:var windowVar =
window.open(\'http://support.tiscali.fr/popup.asp?catid=21&amp;ficheid=227\'
,\'dd\',\'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1
,resizable=0,width=614,height=550\');" class=advanced
style="font-weight:100"><b>»</b>
aide</a></td></form></tr></table>');if(bEnableFavorites&&aVisitedLinks.lengt
h>0){aVisitedLinks.sort(SortLinks);var
maxLinks=aVisitedLinks.length>8?8:aVisitedLinks.length;document.write('<div
id=persobar>&nbsp;<b>Mes favoris:</b>&nbsp;&nbsp;&nbsp;&nbsp;');for(var
nl=0;nl<maxLinks;nl++)document.write(' <a href="'+aVisitedLinks[nl].link+'"
class=links
title='+aVisitedLinks[nl].count+'>'+aVisitedLinks[nl].label+'</a>');document
..write('</div>');}document.write('</div>');}function
ChangeTab(tabIndex){for(var
i=0;i<aTabs.length;i++){document.getElementById('b_'+aTabs.id).style.back
groundColor='#ffffff';if(bEnableEffect)document.getElementById(aTabs.id).
style.backgroundColor=aTabs.dcolor;}if(bEnableEffect)document.getElementB
yId(aTabs[tabIndex].id).style.backgroundColor=aTabs[tabIndex].color;document
..getElementById('b_'+aTabs[tabIndex].id).style.backgroundColor=aTabs[tabInde
x].color;var
topbar_linksEL=document.getElementById('topbar_links');topbar_linksEL.style.
backgroundColor=aTabs[tabIndex].color;var htLinks='<table cellspacing=0
cellpadding=0 border=0><tr>';for(var
j=0;j<aTabs[tabIndex].links.length;j++)htLinks+='<td><a
href="'+aTabs[tabIndex].links[j].link+'"
target=_top>.'+aTabs[tabIndex].links[j].label+'</a></td><td width=20
height=1></td>';htLinks+='</tr></table>';if(tabIndex==0&&userEmail!="")topba
r_linksEL.innerHTML="<table cellspacing=0 cellpadding=0 width=776
border=0><tr><td class=idlogin width=400
align=left>"+unescape(userEmail)+"&nbsp;&nbsp;&nbsp;&raquo; <a class=cu
href=http://www.tiscali.fr/webmail/login.asp?mod=y>changer
d'utilisateur</a></td><td width=376
align=right>"+htLinks+'</td></tr></table>';else
topbar_linksEL.innerHTML=htLinks;}function
ChangeLogo(sPath){document.getElementById('imgLogo').src=sPath;}function
getCookie(CookieName){var lf="\n";var CookieString=document.cookie;var
CookieSet=CookieString.split('; ');var SetSize=CookieSet.length;var
CookiePieces;var ReturnValue="";var
x=0;for(x=0;((x<SetSize)&&(ReturnValue==""));x++){CookiePieces=CookieSet[x].
split('=');if(CookiePieces[0].substring(0,1)=='
')CookiePieces[0]=CookiePieces[0].substring(1,CookiePieces[0].length);if(Coo
kiePieces[0]==CookieName)ReturnValue=CookiePieces[1];}return
ReturnValue;}function setCookie(name,value,days){if(!days)days=-1;var
expire=new
Date();expire.setTime(expire.getTime()+86400000*days);document.cookie=name+"
="+escape(value)+";path=/;domain=tiscali.fr;expires="+expire.toGMTString()+"
;";}function SortLinks(a,b){return b.count-a.count;}function
frmTB_valide(){if(document.forms["frmTB"].opt.options[document.forms["frmTB"
].opt.selectedIndex].value=='sh'){document.forms["frmTBShopping"].qu.value=d
ocument.forms["frmTB"].s.value;document.forms["frmTBShopping"].submit();retu
rn
false;}else{document.forms["frmTB"].MT.value=document.forms["frmTB"].s.value
;}return
true;}try{if(self.topbar_tab==undefined||self.topbar_tab<1||self.topbar_tab>
5)var topbar_tab=1;if(self.topbar_logo==undefined)var
topbar_logo=sDefaultLogo;}catch(TBex){var topbar_tab=1;var
topbar_logo=sDefaultLogo;}Render();ChangeTab(self.topbar_tab-1);
</script>
 
E

Erwin Moller

Lea said:
Hi,

I have difficulties in understanding the following script. If a good soul
was passing by here ...

Thks

Lea

<script language="javascript">
var userEmail=getCookie("idlogin[m]");var gTimer=null;var gTimer2=null;var
bEnableEffect=false;var
bEnableFavorites=getCookie("fav")=="yes"?true:false;var aTabs=new
Array();var aVisitedLinks=new Array();var
sTbPath='http://toolbar.tiscali.fr/';var
sDefaultLogo=sTbPath+'media/logo.gif';var t='http://';var
u='.tiscali.fr/';var w=t+'www'+u;var z=t+'register'+u;aTabs[0]=new
Tab("accueil","#7E71B4","#BFB8DA",w);aTabs[0].addLink('e-mail',w+'webmail');
aTabs[0].addLink('bienvenue','javascript: var bv =
window.open(\'http://www.tiscali.fr/bienvenue/\',...aTabs[0].addLink('assistance','http://support
'+u+'index.asp');if(userEmail==""){aTabs[1]=new Tab("nos
offres","#FF9706","#FFCB83",z+'forfaits/');aTabs[1].addLink('adsl
illimit&eacute;',z+'adsl/');aTabs[1].addLink('wifi',z+'adsl/signup.php3?goto
=ADSL_WIFI');aTabs[1].addLink('forfaits
illimit&eacute;s',z+'adsl/signup.php3?goto=IFI');aTabs[1].addLink('forfaits5h\/10h',z+'adsl/signup.php3?goto=FORFAITS');aTabs[1].addLink('acc&egrave;sgratuit',z+'adsl/signup.php3?goto=ACCES_GRATUIT');aTabs[1].addLink('d&eacute
;j&agrave; abonn&eacute; ?',z+'selfcare/');}else{aTabs[1]=new
Tab("abonnes","#FF9706","#FFCB83",z+'selfcare/');aTabs[1].addLink('mon
compte',z+'selfcare/');aTabs[1].addLink('changer
d\'offre',z+'selfcare/');aTabs[1].addLink('parrainage',z+'parrainage/');aTabs[1].addLink('reciprok',t+'reciprok'+u);aTabs[1].addLink('s&eacute;curit&eac
ute; PC',w+'securitepc');aTabs[1].addLink('s&eacute;curit&eacute;
mail',w+'supermail');aTabs[1].addLink('s&eacute;curit&eacute;
achat',w+'securiteachat');aTabs[1].addLink('barre
magique',t+'barremagique'+u);}aTabs[2]=new
Tab("services","#61AF32","#B0D799",w+'services.asp');aTabs[2].addLink('emploi',w+'emploi/');aTabs[2].addLink('fax',t+'fax'+u);aTabs[2].addLink('immo',w+'immobilier');aTabs[2].addLink('logiciels',t+'telechargement'+u);aTabs[2].ad
dLink('pages
perso',t+'www.chez'+u);aTabs[2].addLink('photo',w+'photo/');aTabs[2].addLink
('plans &amp;
iti',t+'plansitineraires'+u+'tiscali/');aTabs[2].addLink('s&eacute;curit&eacute;',w+'securite');aTabs[2].addLink('shopping',t+'www.shopping'+u);aTabs[2]..addLink('sms',t+'services'+u+'smsforfaits/index.php?service=express_sms');a
Tabs[2].addLink('webcam',t+'webcam'+u);aTabs[3]=new
Tab("actu","#0061B4","#80B0DA",w+'actu.asp');aTabs[3].addLink('actualit&eacute;s','http://actu'+u+'enune/home.asp');aT...ionnel');aTabs[3].addLink('sport',t+'sport'+u
);aTabs[3].addLink('t&eacute;l&eacute;vision',t+'tv'+u);aTabs[4]=new
Tab("loisirs","#D8005F","#EC80AF",w+'loisirs.asp');aTabs[4].addLink('chat
&amp;
forums',t+'communautes'+u);aTabs[4].addLink('cin&eacute;ma',t+'www.mcinema.com/');aTabs[4].addLink('f&eacute;minin',w+'femmes/');aTabs[4].addLink('horoscope',t+'horoscope'+u);aTabs[4].addLink('jeux',w+'jeux/');aTabs[4].addLink('mobile',w+'mobile/');aTabs[4].addLink('musique',t+'musique'+u);aTabs[4].addLink('rencontres',t+'rencontres'+u);aTabs[4].addLink('sexy',w+'sexy');aTabs[4
].addLink('tests',w+'tests');aTabs[4].addLink('voyages
',w+'voyages/');function
Tab(sLabel,sColor,sdColor,sLink){this.id='tab_'+aTabs.length;this.color=sCol
or;this.dcolor=sdColor;this.label=sLabel;this.link=sLink;this.links=new
Array();this.addLink=tab_addlink;}function
tab_addlink(sLabel,sLink){this.links[this.links.length]=new
Link(this.id+'_'+this.links.length,sLabel,sLink);}function
Link(sID,sLabel,sLink){this.ID=sID;this.label=sLabel;this.link=sLink;if(bEnableFavorites){this.count=getCookie(sID)!=""?getCookie(sID):0;if(document.location==this.link){this.count++;setCookie(sID,this.count,365);}if(this.count>
0)aVisitedLinks[aVisitedLinks.length]=this;}}function
colle(iRank){clearTimeout(gTimer2);gTimer=setTimeout('ChangeTab('+iRank+')',
50);}function
decolle(){clearTimeout(gTimer);gTimer2=setTimeout('ChangeTab('+(topbar_tab-1
)+')',10000);}var OptSel,OptSho;OptSel="<option value=0>tout le web<option
value=8>toutes les images<option value=sh>tout le
shopping";OptSho="<option value=sh>tout le shopping<option value=0>tout le
web<option value=8>toutes les images";adres=new
String(document.location);adres=adres.toLowerCase();aShop=(adres.indexOf("sh
opping.tiscali.fr")>-1)?1:0;if(aShop)OptSel=OptSho;function
Render(){document.write('<style>#topbar {position: relative; font:12px
Arial, Helvetica, sans-serif;}#topbar a, #topbar a:visited{
text-decoration: none; font:12px Arial, Helvetica, sans-serif; color:
#ffffff; font-weight: bold; } #topbar a:hover{text-decoration:
underline}#topbar .topbar_top
{width: 776px; background-color: #ffffff; height: 25px;}#topbar
.topbar_middle {width: 776px; background-color: #7E71B4; height: 20px;
text-align: right;}table.tabs {width: 463px; height: 25px;
cursor:pointer;}td.intertab { width: 2px;}td.tab {height: 24px; width:
91px; text-align: center; background-image:
url('+sTbPath+'/media/tab.png); text-transform: uppercase; } td.belowtab
{height: 1px; width: 91px; background-color: #FFFFFF}#topbar_links
{display: hidden;}#topbar_links a
{color: white; }.topbar_bottom
{height:41px;width:776px;background-color:#E5E5E5; border-bottom:1px solid
#EDECEC; }#topbar .topbar_bottom a, #topbar .topbar_bottom a:visited
{font-size:11px;font-family:Arial;color: #0750D9}.topbar_bottom .mail
{width:144px;background-color:#D7D3E5;height:41px; text-align:
left; }.topbar_bottom .tbtds {padding-left: 5px; }.topbar_bottom select
{font-size:11px;font-family:Arial;font-weight:100;width:140px;}.topbar_botto
m a.title {font-size:17px;font-family:Arial}.topbar_bottom .advanced
{padding-left: 5px;}.topbar_bottom .keyword {width:200px;border:1px solid
#7E71B4;}#topbar .idlogin {padding-left: 5px; font-size:8pt; color:
white; }#topbar .idlogin a.cu {font-size: 7pt; font-weight:
normal; }#persobar {width: 776px; background: #f0f0f0; color: #232896;
text-align: left; height: 16px; border-top: 1px #808080 solid;
border-bottom: 1px #808080 solid;}#persobar a.links,#persobar
a:visited.links {font: 8pt arial; color: black; padding-right:
20px;}</style>');document.write('<div id=topbar>');document.write('<table
cellpadding=0 cellspacing=0 class=topbar_top border=0><tr><td rowspan=2
width=331 align=left><img src="'+topbar_logo+'" id=imgLogo
onerror="this.src=sDefaultLogo;"></td><td
height=15></td></tr>');document.write('<tr><td
height=24>');document.write('<table cellpadding=0 cellspacing=0
class=tabs>');document.write('<tr>');for(var
i=0;i<aTabs.length;i++){document.write('<td class=tab
style="background-color:'+aTabs.color+';" id='+aTabs.id+'><a
href="'+aTabs.link+'" onmouseover="colle('+i+')" onmouseout="decolle()"

target=_top>'+aTabs[i].label+' said:
class=intertab> said:
ar i=0;i<aTabs.length;i++){document.write('<td class=belowtab
id=b_'+aTabs.id+'></td>');if(i+1<aTabs.length)document.write('<td

class=intertab> said:
ocument.write('</td></tr></table>');document.write('<table cellpadding=0
cellspacing=0 class=topbar_middle border=0><tr><td id=topbar_links
align=right></td></tr></table>');document.write('<table
class=topbar_bottom cellpadding=0 cellspacing=0><tr><td id=mail
class=mail><img src=http://toolbar.tiscali.fr/media/pi_mail.gif hspace=10
vspace=5 width=16 height=16 border=0 align=left><a
href=http://webmail.tiscali.fr><FONT id=tbEmail><ILAYER
id=tbEmailNS>Consultez <br>vos e-mails</ILAYER></FONT></a></td><form
name=frmTBShopping action=http://www.shopping.tiscali.fr/query.html
method=get><input type=hidden name=qu></form><form
action=http://rechercher.nomade.tiscali.fr/recherche.asp name=frmTB
id=frmTB OnSubmit=\'return frmTB_valide();\'><input type=hidden name=src
value=toolbar><input type=hidden name=MT><td class=tbtds><a
href=http://www.nomade.tiscali.fr/ class=title
style="font-size:17px;">Recherche</a>&nbsp;&nbsp;<input style="width:200;"
type=text class=keyword name=s>&nbsp;&nbsp; <span
style="font-size:17px;font-family:Arial;color:#666666;"> said:
</span>&nbsp; <select name=opt
id=frmTB_Opt>'+OptSel+'</select>&nbsp;&nbsp;<input type=image class=button
src=http://toolbar.tiscali.fr/media/btn_ok2.gif alt=Search border="0"
align=absmiddle></a><a href=http://rechercher.nomade.tiscali.fr/nomade.asp
class=advanced style="font-weight:100"><b>»</b> options</a><a
href="javascript:var windowVar =
window.open(\'http://support.tiscali.fr/popup.asp...directories=0,status=0,menubar=0,scrollbars=1
,resizable=0,width=614,height=550\');" class=advanced
style="font-weight:100"><b>»</b>
aide said:
h>0){aVisitedLinks.sort(SortLinks);var
maxLinks=aVisitedLinks.length>8?8:aVisitedLinks.length;document.write('<div
id=persobar>&nbsp;<b>Mes favoris:</b>&nbsp;&nbsp;&nbsp;&nbsp;');for(var
nl=0;nl<maxLinks;nl++)document.write(' <a
href="'+aVisitedLinks[nl].link+'" class=links
title='+aVisitedLinks[nl].count+'>'+aVisitedLinks[nl].label+' said:
.write('</div>');}document.write('</div>');}function
ChangeTab(tabIndex){for(var
i=0;i<aTabs.length;i++){document.getElementById('b_'+aTabs.id).style.backgroundColor='#ffffff';if(bEnableEffect)document.getElementById(aTabs.id).style.backgroundColor=aTabs.dcolor;}if(bEnableEffect)document.getElementById(aTabs[tabIndex].id).style.backgroundColor=aTabs[tabIndex].color;document..getElementById('b_'+aTabs[tabIndex].id).style.backgroundColor=aTabs[tabInde
x].color;var
topbar_linksEL=document.getElementById('topbar_links');topbar_linksEL.style.
backgroundColor=aTabs[tabIndex].color;var htLinks='<table cellspacing=0
cellpadding=0 border=0><tr>';for(var
j=0;j<aTabs[tabIndex].links.length;j++)htLinks+='<td><a
href="'+aTabs[tabIndex].links[j].link+'"
target=_top>.'+aTabs[tabIndex].links[j].label+'</a></td><td width=20

height=1> said:
r_linksEL.innerHTML="<table cellspacing=0 cellpadding=0 width=776
border=0><tr><td class=idlogin width=400
align=left>"+unescape(userEmail)+"&nbsp;&nbsp;&nbsp;&raquo; <a class=cu
href=http://www.tiscali.fr/webmail/login.asp?mod=y>changer
d'utilisateur</a></td><td width=376
align=right>"+htLinks+'</td></tr></table>';else
topbar_linksEL.innerHTML=htLinks;}function
ChangeLogo(sPath){document.getElementById('imgLogo').src=sPath;}function
getCookie(CookieName){var lf="\n";var CookieString=document.cookie;var
CookieSet=CookieString.split('; ');var SetSize=CookieSet.length;var
CookiePieces;var ReturnValue="";var
x=0;for(x=0;((x<SetSize)&&(ReturnValue==""));x++){CookiePieces=CookieSet[x].
split('=');if(CookiePieces[0].substring(0,1)=='
')CookiePieces[0]=CookiePieces[0].substring(1,CookiePieces[0].length);if(Coo
kiePieces[0]==CookieName)ReturnValue=CookiePieces[1];}return
ReturnValue;}function setCookie(name,value,days){if(!days)days=-1;var
expire=new
Date();expire.setTime(expire.getTime()+86400000*days);document.cookie=name+"="+escape(value)+";path=/;domain=tiscali.fr;expires="+expire.toGMTString()+"
;";}function SortLinks(a,b){return b.count-a.count;}function
frmTB_valide(){if(document.forms["frmTB"].opt.options[document.forms["frmTB"].opt.selectedIndex].value=='sh'){document.forms["frmTBShopping"].qu.value=document.forms["frmTB"].s.value;document.forms["frmTBShopping"].submit();retu
false;}else{document.forms["frmTB"].MT.value=document.forms["frmTB"].s.value
;}return
true;}try{if(self.topbar_tab==undefined||self.topbar_tab said:
5)var topbar_tab=1;if(self.topbar_logo==undefined)var
topbar_logo=sDefaultLogo;}catch(TBex){var topbar_tab=1;var
topbar_logo=sDefaultLogo;}Render();ChangeTab(self.topbar_tab-1);
</script>


This is a joke, right?
;-)

Regards,
Erwin Moller
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top