home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 March / Chip_2001-03_cd1.bin / internet / ukazky / perl3_soubory / ygIELib8.js < prev   
Text File  |  2001-02-06  |  6KB  |  234 lines

  1. ycH="hidden";
  2. ycV="visible";
  3. ycBU='http://a372.g.a.yimg.com/f/372/27/1d/pic.geocities.com/images/dhtmlad/';
  4. ycMM1='<tr><td valign=middle bgcolor="#dcdcdc"><a href="';
  5. ycMM2='" target=_new><img alt="alt" src="'+ycBU;
  6. ycMM3='" width=14 height=14 border=0 hspace=4><font face="arial" size="1" color="#0000FF">';
  7. ycMM4='</font></a></td></tr>';
  8. ycRF=';return false"';
  9. ycWSC=' onMouseOut="window.status=\'\';return true"';
  10. ycWS1=ycRF+' onMouseOver="window.status=\'Minimize\';return true"'+ycWSC;
  11. ycWS2=ycRF+' onMouseOver="window.status=\'Expand\';return true"'+ycWSC;
  12. ycOCH='href="" onClick="javascript:yfiOC(';
  13. ycL0='<div style="position: absolute; top: 0; left: 0; visibility: hidden" id=';
  14. ycL1='><table border=2 cellpadding=0 cellspacing=0><tr><td valign=top bgcolor=#ffffff><table border=0 cellpadding=0 cellspacing=0 width=138><tr><td valign=top><img usemap=#';
  15. ycL2=' id=bottomImage alt="nav" src="'+ycBU;
  16. ycL3='" width=138 height=17 border=0></td></tr><tr><td valign=top align=center';
  17. ycL4='<font face=Arial size=-2 color=Blue>';
  18. var yvB;
  19. var yvM;
  20. var yvT;
  21. var yvX=0;
  22. var yvH;
  23. var yvS=0;
  24. var yvTO=15;
  25. var yvBF=0;
  26. var yvSID;
  27. var yvSM=0;
  28. var yvSMU;
  29. var yvVP=0;
  30. var yvVPU;
  31. var yvSE=0;
  32. var yvSEU;
  33. var yviR="us";
  34. var yviGC=0;
  35. var yviGCM;
  36. var yviMN;
  37. var yviTI=0;
  38. var yviGA=0;
  39. var yviGAW;
  40. function yfiPA(){
  41. document.all.yl0.style.left=document.body.clientWidth-144;
  42. document.all.yl1.style.left=document.body.clientWidth-144;
  43. document.all.yl2.style.left=document.body.clientWidth-144;
  44. document.all.yl3.style.left=document.body.clientWidth-144;
  45. document.all.yl4.style.left=document.body.clientWidth-144;
  46. }
  47. function yfiWM(){
  48. document.write('</font></a></td></tr></table></td></tr>');
  49. if (yvSM){
  50. document.write(ycMM1+yvSMU+ycMM2+'msg.gif'+ycMM3+'Send Me a Message'+ycMM4);
  51. }
  52. if (yvVP){
  53. document.write(ycMM1+yvVPU+ycMM2+'profile.gif'+ycMM3+'View My Profile'+ycMM4);
  54. }
  55. if (yviGC){
  56. document.write(ycMM1+yviGCM+ycMM2+'gc.gif'+ycMM3+'Message for '+yviMN+ycMM4);
  57. }
  58. document.write('</table></div>');
  59. }
  60. function yfiD(){
  61. ycMa='<area shape=rect coords="2,2,84,14" href=http://geocities.yahoo.com/ target=_new><area shape=rect coords="';
  62. ycM0=ycMa+'87,2,101,14" href="http://'+yviR+'.geocities.yahoo.com/v/adsq.html" target=_new>';
  63. ycM1=ycMa+'104,2,118,14" href="" onClick="javascript:yfiOC(2)'+ycWS2+'>';
  64. ycM2=ycMa+'121,2,135,14" ';
  65. document.write('<map name=ym0>'+ycM0+ycM1+ycM2+ycOCH+'-1)'+ycRF+'" onMouseOver="window.status=\'Hide\';return true"'+ycWSC+'></map><map name=ym1>'+ycM0+ycM1+ycM2+ycOCH+'0)'+ycWS1+'></map><map name=ym2>'+ycM0+ycM2+ycOCH+'0)'+ycWS1+'></map>');
  66. document.write(ycL0+'yl0'+ycL1+'ym0'+ycL2+'geoup.gif'+ycL3+' bgcolor=#ffffcc><a '+ycOCH+'2)'+ycWS2+'>'+ycL4+'<span id=div_yl0>'+yvT+'</span>');
  67. yfiWM();
  68. document.write(ycL0+'yl1'+ycL1+'ym1'+ycL2+'geomid.gif'+ycL3+'><a '+ycOCH+'2)'+ycWS2+'><span id=div_yl1>'+yvM+'</span></a></td></tr><tr><td align=center><a '+ycOCH+'2)'+ycWS2+'>'+ycL4+'More...');
  69. yfiWM();
  70. document.write(ycL0+'yl2'+ycL1+'ym2'+ycL2+'geodown.gif'+ycL3+'><span id=div_yl2>'+yvB+'</span></td></tr><tr><td align=center><a '+ycOCH+'0)'+ycWS1+'>'+ycL4+'[Close]');
  71. yfiWM();
  72. document.write(ycL0+'yl3'+ycL1+'ym2'+ycL2+'geodown.gif'+ycL3+'><span id=div_yl3>'+yvM+'</span></td></tr><tr><td align=center><a '+ycOCH+'2)'+ycWS1+'>'+ycL4+'[Close]');
  73. yfiWM();
  74. document.write(ycL0+'yl4'+ycL1+'ym0'+ycL2+'geoup.gif'+ycL3+' bgcolor=#ffffcc><span id=div_yl4>'+yvT+'</span>');
  75. yfiWM();
  76. }
  77. function yfiOC(d){
  78. yfiPA();
  79. if (yviTI!=0){
  80. clearTimeout(yviTI);
  81. }
  82. if (d==-1){
  83. document.all.yl0.style.visibility=ycH;
  84. document.all.yl1.style.visibility=ycH;
  85. document.all.yl2.style.visibility=ycH;
  86. document.all.yl3.style.visibility=ycH;
  87. document.all.yl4.style.visibility=ycH;
  88. }
  89. if (d==0){
  90. if (yvX==1){
  91. document.all.yl0.style.visibility=ycH;
  92. document.all.yl4.style.visibility=ycV;
  93. } else {
  94. document.all.yl0.style.visibility=ycV;
  95. document.all.yl4.style.visibility=ycH;
  96. }
  97. document.all.yl1.style.visibility=ycH;
  98. document.all.yl2.style.visibility=ycH;
  99. document.all.yl3.style.visibility=ycH;
  100. }
  101. if (d==1){
  102. document.all.yl0.style.visibility=ycH;
  103. if (yvS==0){
  104. document.all.yl1.style.visibility=ycV;
  105. } else {
  106. document.all.yl1.style.visibility=ycH;
  107. }
  108. document.all.yl2.style.visibility=ycH;
  109. if (yvS==0){
  110. document.all.yl3.style.visibility=ycH;
  111. } else {
  112. document.all.yl3.style.visibility=ycV;
  113. }
  114. document.all.yl4.style.visibility=ycH;
  115. }
  116. if (d==2){
  117. document.all.yl0.style.visibility=ycH;
  118. document.all.yl1.style.visibility=ycH;
  119. document.all.yl2.style.visibility=ycV;
  120. document.all.yl3.style.visibility=ycH;
  121. document.all.yl4.style.visibility=ycH;
  122. }
  123. }
  124. function yfiSA(){
  125. if (yvS==0){
  126. document.all.yl1.style.visibility=ycV;
  127. } else {
  128. document.all.yl3.style.visibility=ycV;
  129. }
  130. yviTI=setTimeout("yfiOC(0)",yvTO*1000);
  131. }
  132. function yfiCA(w){
  133. var t=0;
  134. if(!w){
  135. w=self;
  136. }
  137. if(w._ypa){
  138. t=w._ypa;
  139. } else {
  140. if(w.document.body){
  141. t=w.document.body.clientWidth*w.document.body.clientHeight;
  142. } else {
  143. t=document.body.clientWidth*document.body.clientHeight;
  144. }
  145. w._ypa=t;
  146. }
  147. if(t>=yviGA){
  148. yviGA=t;
  149. yviGAW=w;
  150. }
  151. }
  152. function yfiFF(w){
  153. var i=0;
  154. if (w.document.body.text || w.frames.length==0){
  155. yfiCA(w);
  156. return;
  157. }
  158. for(i=0;i<w.frames.length;i++){
  159. if(w.frames[i].frames.length>0){
  160. yfiFF(w.frames[i]);
  161. } else {
  162. yfiCA(w.frames[i]);
  163. }
  164. }
  165. return;
  166. }
  167. function yfiSH(){
  168. var r=0;
  169. if (window!=top){
  170. yfiFF(top);
  171. if (yviGAW==self && !top.ad){
  172. r=1;
  173. top.ad=1;
  174. }
  175. } else {
  176. r=1;
  177. }
  178. return r;
  179. }
  180. function yfiCF(){
  181. top.ad=0;
  182. }
  183. function yfiB(yvAd){
  184. if (yvBF == 1){
  185.  yvBF=0;
  186.  document.write('<IMG src="http://'+yviR+'.geocities.yahoo.com/pixel.gif?'+yvAd+'&'+Math.random()+'">');
  187.  }
  188. }
  189. function yfiEA(g){
  190. if(navigator.appName != "Microsoft Internet Explorer"){
  191.  return 0;
  192. }
  193. if (g == 1) {
  194. yfiB("g");
  195. top.gg=g;
  196. }
  197. if (yfiSH()==1&&(!top.gg||top.gg!=1)){
  198. yfiD();
  199. document.write('<script language="JavaScript" src="'+yviContents+'"></scr');
  200. document.write('ipt>');
  201. yfiPA();
  202. window.onresize=yfiPA;
  203. window.onunload=yfiCF;
  204. yfiB("a");
  205. } else {
  206. if (!top.gg||top.gg!=1){
  207. yfiB("f");
  208. } else {
  209. yfiB("n");
  210. }
  211. }
  212. }
  213. function yfiID(yvB,yvM,yvTv,yvTm,yvSv,yvHv){
  214. yvTO=yvTm;
  215. yvS=yvSv;
  216. if (yvHv!=''){
  217. yvT='<a href='+yvHv+' target="_new"><font face=Arial size=-2 color=Blue>'+yvTv;
  218. yvX=1;
  219. } else {
  220. yvT=yvTv;
  221. }
  222. if (yvX==0 && document.all.div_yl0)
  223. document.all.div_yl0.innerHTML=yvT;
  224. if (yvS==0 && document.all.div_yl1)
  225. document.all.div_yl1.innerHTML=yvM;
  226. if (document.all.div_yl2)
  227. document.all.div_yl2.innerHTML=yvB;
  228. if (yvS!=0 && document.all.div_yl3)
  229. document.all.div_yl3.innerHTML=yvM;
  230. if (yvX!=0 && document.all.div_yl4)
  231. document.all.div_yl4.innerHTML=yvT;
  232. yfiSA();
  233. }
  234.