home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 April / Chip_2003-04_cd1.bin / sharewar / menu / smmk.exe / 1045 / BINARY / 111 / docs / weatherf.js < prev    next >
Encoding:
Text File  |  2003-02-19  |  17.5 KB  |  197 lines

  1. var thisbrowser22234237
  2. var hidetimer22234237 = null;
  3. if(document.layers){ thisbrowser22234237='NN4'; }
  4. if(document.all){ thisbrowser22234237='IE'; }
  5. if(!document.all && document.getElementById){ thisbrowser22234237='NN6'; }
  6. function showmenu22234237(menuname)
  7. {
  8. if(thisbrowser22234237=='NN4') document.layers[menuname].visibility = 'visible';
  9. if(thisbrowser22234237=='IE') document.all[menuname].style.visibility = 'visible';
  10. if(thisbrowser22234237=='NN6') document.getElementById(menuname).style.visibility = 'visible';
  11. }
  12. function hidemenu22234237(menuname)
  13. {
  14. if(thisbrowser22234237=='NN4') document.layers[menuname].visibility = 'hidden';
  15. if(thisbrowser22234237=='IE') document.all[menuname].style.visibility = 'hidden';
  16. if(thisbrowser22234237=='NN6') document.getElementById(menuname).style.visibility = 'hidden';
  17. }
  18. function hilite22234237(menuitem) 
  19. {
  20. if(thisbrowser22234237=='IE') document.all[menuitem].style.backgroundColor = '#517389';
  21. if(thisbrowser22234237=='NN6') document.getElementById(menuitem).style. backgroundColor = '#517389';
  22. if(hidetimer22234237) clearTimeout(hidetimer22234237);}
  23. function unhilite22234237(menuitem) 
  24. {
  25. if(thisbrowser22234237=='IE') document.all[menuitem].style.backgroundColor = '#76A5E8';
  26. if(thisbrowser22234237=='NN6') document.getElementById(menuitem).style. backgroundColor = '#76A5E8';
  27. if(hidetimer22234237) clearTimeout(hidetimer22234237);hidetimer22234237 = setTimeout("hideall22234237();",1000);}
  28. function hideall22234237()
  29. {
  30. hidemenu22234237('SM22227904');
  31. hidemenu22234237('SM22227392');
  32. hidemenu22234237('SM22227264');
  33. hidemenu22234237('SM22226304');
  34. }
  35. function openSM22227904()
  36. {
  37. showmenu22234237('SM22227904');
  38. hidemenu22234237('SM22227392');
  39. hidemenu22234237('SM22227264');
  40. hidemenu22234237('SM22226304');
  41. }
  42. function openSM22227392()
  43. {
  44. showmenu22234237('SM22227392');
  45. hidemenu22234237('SM22227904');
  46. hidemenu22234237('SM22227264');
  47. hidemenu22234237('SM22226304');
  48. }
  49. function openSM22227264()
  50. {
  51. showmenu22234237('SM22227264');
  52. hidemenu22234237('SM22227904');
  53. hidemenu22234237('SM22227392');
  54. hidemenu22234237('SM22226304');
  55. }
  56. function openSM22226304()
  57. {
  58. showmenu22234237('SM22226304');
  59. hidemenu22234237('SM22227904');
  60. hidemenu22234237('SM22227392');
  61. hidemenu22234237('SM22227264');
  62. }
  63. document.open();
  64. document.write('<STYLE TYPE="text/css">#layerbg22234237 {POSITION:absolute; z-index:-1; LEFT:5px; TOP:125px; width:160px; height:170px; }</STYLE>');
  65. document.write('<div id=layerbg22234237 onMouseOver="hideall22234237();"><table cellspacing=0 cellpadding=0 width="100%" height="100%"><tr><td> </td></tr></table></div>');
  66.  
  67. document.write('<STYLE TYPE="text/css">#DIV22234237 {POSITION:absolute; LEFT:10px; TOP:130px;}</STYLE>');
  68. document.write('<STYLE TYPE="text/css">a.MNA22234237 {text-decoration:none; color:#000000; font-weight: 700; font-family: Verdana; font-size:12px; font-style:normal;} </STYLE>');
  69. document.write('<STYLE TYPE="text/css">P.MN22234237 {color:#000000; font-weight: 700; font-family: Verdana; font-size:12px; font-style:normal;} </STYLE>');
  70. document.write('<STYLE TYPE="text/css">a.MNA22234237:hover {text-decoration:none; color:#FFFFFF; }</STYLE>');
  71. document.write('<STYLE TYPE="text/css">a.SMNA22234237 {text-decoration:none; color:#000000; font-weight: 400; font-family: Verdana; font-size:11px; font-style:normal;} </STYLE>');
  72. document.write('<STYLE TYPE="text/css">a.SMNA22234237:hover {text-decoration:none; color:#FFDD00; }</STYLE>');
  73. document.write('<STYLE TYPE="text/css">P.SMN22234237 {text-decoration:none; color:#000000; font-weight: 400; font-family: Verdana; font-size:11px; font-style:normal;} </STYLE>');
  74. document.write('<STYLE TYPE="text/css">table.SMT22234237 {background:#A0CAE5; border:1 solid #000000; }');
  75. document.write('td.MTD22234237 {padding-left:4; padding-right:4; background:#76A5E8; border:2 outset #76A5E8; }');
  76. document.write('.MTI22234237 {color:#000000; font-weight: 700; font-family: Verdana; font-size: 12px; font-style:normal;}');
  77. document.write('.MSI22234237 {color:#000000; font-weight: 400; font-family: Verdana; font-size: 11px; font-style:normal;}</STYLE>');
  78. document.write('<div id=DIV22234237><table border=0 cellspacing=0 cellpadding=0 width=150><TR><TD bgcolor=#000000><table border=0 cellspacing=1 cellpadding=5 class="MT22234237" bgcolor=#000000 width="100%">');
  79. document.write('<tr>');
  80. document.write('<td align=LEFT width="100%" height=20 bgcolor=#A0CAE5>');document.write('<a class="MNA22234237" onMouseOver="hideall22234237();" href="" target="_self" title="Since 1982, The Weather Channel has brought timely weather information to the world. ">Weather.com</a></td>');
  81. document.write('</tr>');
  82. document.write('<tr>');
  83. document.write('<td align=LEFT width="100%" height=20 bgcolor=#A0CAE5>');document.write('<a class="MNA22234237" onMouseOver="openSM22227904();" href="/search/drilldown/?geoCd=5&geoCdChild=4&itemCd=NAM&countryCd=US&itemName=North%20America&countryName=*&what=WeatherCity&letter=U" target="_self" title="">North America</a></td>');
  84. document.write('</tr>');
  85. document.write('<tr>');
  86. document.write('<td align=LEFT width="100%" height=20 bgcolor=#A0CAE5>');document.write('<a class="MNA22234237" onMouseOver="openSM22227392();" href="/search/drilldown/?geoCd=5&geoCdChild=4&itemCd=SAMER&countryCd=US&itemName=South+America&countryName=*&what=WeatherCity" target="_self" title="">South America</a></td>');
  87. document.write('</tr>');
  88. document.write('<tr>');
  89. document.write('<td align=LEFT width="100%" height=20 bgcolor=#A0CAE5>');document.write('<a class="MNA22234237" onMouseOver="openSM22227264();" href="/search/drilldown/?geoCd=5&geoCdChild=4&itemCd=EUR&countryCd=US&itemName=Europe&countryName=*&what=WeatherCity" target="_self" title="">Europe</a></td>');
  90. document.write('</tr>');
  91. document.write('<tr>');
  92. document.write('<td align=LEFT width="100%" height=20 bgcolor=#A0CAE5>');document.write('<a class="MNA22234237" onMouseOver="hideall22234237();" href="/search/drilldown/?geoCd=5&geoCdChild=4&itemCd=ASIA&countryCd=US&itemName=Asia&countryName=*&what=WeatherCity" target="_self" title="">Asia</a></td>');
  93. document.write('</tr>');
  94. document.write('<tr>');
  95. document.write('<td align=LEFT width="100%" height=20 bgcolor=#A0CAE5>');document.write('<a class="MNA22234237" onMouseOver="openSM22226304();" href="/search/drilldown/?geoCd=4&geoCdChild=1&itemCd=AS&countryCd=US&itemName=Australia&countryName=Australia&what=WeatherCity" target="_self" title="">Australia</a></td>');
  96. document.write('</tr>');
  97. document.write('<tr>');
  98. document.write('<td align=LEFT width="100%" height=20 bgcolor=#A0CAE5>');document.write('<a class="MNA22234237" onMouseOver="hideall22234237();" href="/search/drilldown/?geoCd=5&geoCdChild=4&itemCd=AFR&countryCd=US&itemName=Africa&countryName=*&what=WeatherCity" target="_self" title="">Africa</a></td>');
  99. document.write('</tr>');
  100. document.write('<tr>');
  101. document.write('<td align=LEFT width="100%" height=20 bgcolor=#A0CAE5>');document.write('<p class="MN22234237" onMouseOver="hideall22234237();" ><font size=1><a href="http://my.weather.com/myweather/preferences">My Weather</a> Preferences</font></p></td>');
  102. document.write('</tr>');
  103. document.write('<tr>');
  104. document.write('<td align=LEFT bgcolor=#A0CAE5>');document.write('<p class="MN22234237"><hr size=1><FORM METHOD="post" ACTION="http://www.weather.com/search/search"><font color=#8050F0>Choose an outlook:<br><SELECT NAME="what"><OPTION VALUE="WeatherCity">Local Outlook</OPTION><OPTION VALUE="SkiPlanner">Ski Outlook</OPTION></SELECT><br>Enter city or zip:<br><INPUT TYPE="text" NAME="where" SIZE="10"><INPUT TYPE=SUBMIT NAME="Go" VALUE="Go"></FORM></p></TD>');
  105. document.write('</tr>');
  106. document.write('</table></TD></TR></table></div><p>');
  107.  
  108. document.write('<STYLE TYPE="text/css">#SM22227904 {POSITION:absolute; visibility:hidden; LEFT:146px; TOP:150px; }</STYLE>');
  109. document.write('<div id=SM22227904><table border=0 cellspacing=0 cellpadding=0><TR><TD bgcolor=#A0CAE5><table class="SMT22234237"border=0 width=150 cellspacing=2 cellpadding=5 bgcolor=#A0CAE5>');
  110. document.write('<tr><td align=LEFT id="MI22254270" height=20 bgcolor=#76A5E8 class="MTD22234237">');
  111. document.write('<a class="SMNA22234237" onMouseOver="hilite22234237(\'MI22254270\');openSM22227904();;" onMouseOut="unhilite22234237(\'MI22254270\');" href="/weather/local/USGA0028" target="_self" title="">Atlanta</a>');
  112. document.write('</td></tr>');
  113. document.write('<tr><td align=LEFT id="MI22248575" height=20 bgcolor=#76A5E8 class="MTD22234237">');
  114. document.write('<a class="SMNA22234237" onMouseOver="hilite22234237(\'MI22248575\');openSM22227904();;" onMouseOut="unhilite22234237(\'MI22248575\');" href="/weather/local/USIL0225" target="_self" title="">Chicago</a>');
  115. document.write('</td></tr>');
  116. document.write('<tr><td align=LEFT id="MI22257657" height=20 bgcolor=#76A5E8 class="MTD22234237">');
  117. document.write('<a class="SMNA22234237" onMouseOver="hilite22234237(\'MI22257657\');openSM22227904();;" onMouseOut="unhilite22234237(\'MI22257657\');" href="/weather/local/USCO0105" target="_self" title="">Denver</a>');
  118. document.write('</td></tr>');
  119. document.write('<tr><td align=LEFT id="MI22253321" height=20 bgcolor=#76A5E8 class="MTD22234237">');
  120. document.write('<a class="SMNA22234237" onMouseOver="hilite22234237(\'MI22253321\');openSM22227904();;" onMouseOut="unhilite22234237(\'MI22253321\');" href="/weather/local/USCA0638" target="_self" title="">Los Angeles</a>');
  121. document.write('</td></tr>');
  122. document.write('<tr><td align=LEFT id="MI22245974" height=20 bgcolor=#76A5E8 class="MTD22234237">');
  123. document.write('<a class="SMNA22234237" onMouseOver="hilite22234237(\'MI22245974\');openSM22227904();;" onMouseOut="unhilite22234237(\'MI22245974\');" href="/weather/local/USFL0316" target="_self" title="">Miami</a>');
  124. document.write('</td></tr>');
  125. document.write('<tr><td align=LEFT id="MI22229031" height=20 bgcolor=#76A5E8 class="MTD22234237">');
  126. document.write('<a class="SMNA22234237" onMouseOver="hilite22234237(\'MI22229031\');openSM22227904();;" onMouseOut="unhilite22234237(\'MI22229031\');" href="/weather/local/USNY0996" target="_self" title="">New York</a>');
  127. document.write('</td></tr>');
  128. document.write('<tr><td align=LEFT id="MI22250493" height=20 bgcolor=#76A5E8 class="MTD22234237">');
  129. document.write('<a class="SMNA22234237" onMouseOver="hilite22234237(\'MI22250493\');openSM22227904();;" onMouseOut="unhilite22234237(\'MI22250493\');" href="/weather/local/USCA0987" target="_self" title="">San Francisco</a>');
  130. document.write('</td></tr>');
  131. document.write('</table></TD></TR></table></div><p>');
  132.  
  133. document.write('<STYLE TYPE="text/css">#SM22227392 {POSITION:absolute; visibility:hidden; LEFT:146px; TOP:170px; }</STYLE>');
  134. document.write('<div id=SM22227392><table border=0 cellspacing=0 cellpadding=0><TR><TD bgcolor=#A0CAE5><table class="SMT22234237"border=0 width=150 cellspacing=2 cellpadding=5 bgcolor=#A0CAE5>');
  135. document.write('<tr><td align=LEFT id="MI22240469" height=20 bgcolor=#76A5E8 class="MTD22234237">');
  136. document.write('<p class="SMN22234237">This item is free coded<br>You can use any HTML tags<br>allowed inside BODY tag<p><b><a href="/search/drilldown/?geoCd=5&geoCdChild=4&itemCd=SAMER&countryCd=US&itemName=South+America&countryName=*&what=WeatherCity"><font color=red>Browse South America</font></a></b></p>');
  137. document.write('</td></tr>');
  138. document.write('</table></TD></TR></table></div><p>');
  139.  
  140. document.write('<STYLE TYPE="text/css">#SM22227264 {POSITION:absolute; visibility:hidden; LEFT:146px; TOP:190px; }</STYLE>');
  141. document.write('<div id=SM22227264><table border=0 cellspacing=0 cellpadding=0><TR><TD bgcolor=#A0CAE5><table class="SMT22234237"border=0 width=150 cellspacing=2 cellpadding=5 bgcolor=#A0CAE5>');
  142. document.write('<tr><td align=LEFT id="MI22250659" height=20 bgcolor=#76A5E8 class="MTD22234237">');
  143. document.write('<a class="SMNA22234237" onMouseOver="hilite22234237(\'MI22250659\');openSM22227264();;" onMouseOut="unhilite22234237(\'MI22250659\');" href="/weather/local/NLXX0002" target="_self" title="">Amsterdam</a>');
  144. document.write('</td></tr>');
  145. document.write('<tr><td align=LEFT id="MI22233090" height=20 bgcolor=#76A5E8 class="MTD22234237">');
  146. document.write('<a class="SMNA22234237" onMouseOver="hilite22234237(\'MI22233090\');openSM22227264();;" onMouseOut="unhilite22234237(\'MI22233090\');" href="/weather/local/GMXX0007" target="_self" title="">Berlin</a>');
  147. document.write('</td></tr>');
  148. document.write('<tr><td align=LEFT id="MI22259461" height=20 bgcolor=#76A5E8 class="MTD22234237">');
  149. document.write('<a class="SMNA22234237" onMouseOver="hilite22234237(\'MI22259461\');openSM22227264();;" onMouseOut="unhilite22234237(\'MI22259461\');" href="/weather/local/BEXX0005" target="_self" title="">Brussels</a>');
  150. document.write('</td></tr>');
  151. document.write('<tr><td align=LEFT id="MI22252999" height=20 bgcolor=#76A5E8 class="MTD22234237">');
  152. document.write('<a class="SMNA22234237" onMouseOver="hilite22234237(\'MI22252999\');openSM22227264();;" onMouseOut="unhilite22234237(\'MI22252999\');" href="/weather/local/GMXX0185" target="_self" title="">Frankfurt</a>');
  153. document.write('</td></tr>');
  154. document.write('<tr><td align=LEFT id="MI22249611" height=20 bgcolor=#76A5E8 class="MTD22234237">');
  155. document.write('<a class="SMNA22234237" onMouseOver="hilite22234237(\'MI22249611\');openSM22227264();;" onMouseOut="unhilite22234237(\'MI22249611\');" href="/weather/local/POXX0016" target="_self" title="">Lisbon</a>');
  156. document.write('</td></tr>');
  157. document.write('<tr><td align=LEFT id="MI22246354" height=20 bgcolor=#76A5E8 class="MTD22234237">');
  158. document.write('<a class="SMNA22234237" onMouseOver="hilite22234237(\'MI22246354\');openSM22227264();;" onMouseOut="unhilite22234237(\'MI22246354\');" href="/weather/local/UKXX0085" target="_self" title="">London</a>');
  159. document.write('</td></tr>');
  160. document.write('<tr><td align=LEFT id="MI22258994" height=20 bgcolor=#76A5E8 class="MTD22234237">');
  161. document.write('<a class="SMNA22234237" onMouseOver="hilite22234237(\'MI22258994\');openSM22227264();;" onMouseOut="unhilite22234237(\'MI22258994\');" href="/weather/local/SPXX0050" target="_self" title="">Madrid</a>');
  162. document.write('</td></tr>');
  163. document.write('<tr><td align=LEFT id="MI22238629" height=20 bgcolor=#76A5E8 class="MTD22234237">');
  164. document.write('<a class="SMNA22234237" onMouseOver="hilite22234237(\'MI22238629\');openSM22227264();;" onMouseOut="unhilite22234237(\'MI22238629\');" href="/weather/local/NOXX0029" target="_self" title="">Oslo</a>');
  165. document.write('</td></tr>');
  166. document.write('<tr><td align=LEFT id="MI22246408" height=20 bgcolor=#76A5E8 class="MTD22234237">');
  167. document.write('<a class="SMNA22234237" onMouseOver="hilite22234237(\'MI22246408\');openSM22227264();;" onMouseOut="unhilite22234237(\'MI22246408\');" href="/weather/local/FRXX0076" target="_self" title="">Paris</a>');
  168. document.write('</td></tr>');
  169. document.write('<tr><td align=LEFT id="MI22233437" height=20 bgcolor=#76A5E8 class="MTD22234237">');
  170. document.write('<a class="SMNA22234237" onMouseOver="hilite22234237(\'MI22233437\');openSM22227264();;" onMouseOut="unhilite22234237(\'MI22233437\');" href="/weather/local/ITXX0067" target="_self" title="">Rome</a>');
  171. document.write('</td></tr>');
  172. document.write('<tr><td align=LEFT id="MI22243537" height=20 bgcolor=#76A5E8 class="MTD22234237">');
  173. document.write('<a class="SMNA22234237" onMouseOver="hilite22234237(\'MI22243537\');openSM22227264();;" onMouseOut="unhilite22234237(\'MI22243537\');" href="/weather/local/AUXX0025" target="_self" title="">Vienna</a>');
  174. document.write('</td></tr>');
  175. document.write('<tr><td align=LEFT id="MI22239560" height=20 bgcolor=#76A5E8 class="MTD22234237">');
  176. document.write('<a class="SMNA22234237" onMouseOver="hilite22234237(\'MI22239560\');openSM22227264();;" onMouseOut="unhilite22234237(\'MI22239560\');" href="/weather/local/PLXX0028" target="_self" title="">Warsaw</a>');
  177. document.write('</td></tr>');
  178. document.write('<tr><td align=LEFT id="MI22234076" height=20 bgcolor=#76A5E8 class="MTD22234237">');
  179. document.write('<a class="SMNA22234237" onMouseOver="hilite22234237(\'MI22234076\');openSM22227264();;" onMouseOut="unhilite22234237(\'MI22234076\');" href="/weather/local/SZXX0033" target="_self" title="">Zurich</a>');
  180. document.write('</td></tr>');
  181. document.write('</table></TD></TR></table></div><p>');
  182.  
  183. document.write('<STYLE TYPE="text/css">#SM22226304 {POSITION:absolute; visibility:hidden; LEFT:146px; TOP:230px; }</STYLE>');
  184. document.write('<div id=SM22226304><table border=0 cellspacing=0 cellpadding=0><TR><TD bgcolor=#A0CAE5><table class="SMT22234237"border=0 width=150 cellspacing=2 cellpadding=5 bgcolor=#A0CAE5>');
  185. document.write('<tr><td align=LEFT id="MI22233913" height=20 bgcolor=#76A5E8 class="MTD22234237">');
  186. document.write('<a class="SMNA22234237" onMouseOver="hilite22234237(\'MI22233913\');openSM22226304();;" onMouseOut="unhilite22234237(\'MI22233913\');" href="/weather/local/ASXX0075" target="_self" title="">Melbourne</a>');
  187. document.write('</td></tr>');
  188. document.write('<tr><td align=LEFT id="MI22226242" height=20 bgcolor=#76A5E8 class="MTD22234237">');
  189. document.write('<a class="SMNA22234237" onMouseOver="hilite22234237(\'MI22226242\');openSM22226304();;" onMouseOut="unhilite22234237(\'MI22226242\');" href="/weather/local/ASXX0089" target="_self" title="">Perth</a>');
  190. document.write('</td></tr>');
  191. document.write('<tr><td align=LEFT id="MI22232653" height=20 bgcolor=#76A5E8 class="MTD22234237">');
  192. document.write('<a class="SMNA22234237" onMouseOver="hilite22234237(\'MI22232653\');openSM22226304();;" onMouseOut="unhilite22234237(\'MI22232653\');" href="/weather/local/ASXX0112" target="_self" title="">Sydney</a>');
  193. document.write('</td></tr>');
  194. document.write('</table></TD></TR></table></div><p>');
  195.  
  196. document.close();
  197.