home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 October / Chip_2002-10_cd1.bin / internet / airforce / museums / @mus_all.js < prev    next >
Encoding:
Text File  |  2002-08-21  |  5.3 KB  |  86 lines

  1. function OL(){window.alert('Odkaz je dostupnĀ² pouze v on-line verzi.\n      The link is accessible just on-line.')}
  2. function N_SPO(){SPONSORS=window.open('../../encyclopedia/spons.htm','SPONSORS','left=40,top=80,width=460,height=280');SPONSORS.focus()}
  3.  
  4. function LOAD_SIZE(){
  5. if(screen.width<=1023){window.moveTo(0,1);window.resizeTo(screen.width,screen.height-36)};
  6. if(screen.width==1024){window.moveTo(1,1);window.resizeTo(screen.width,screen.height-118)};
  7. if(screen.width>=1025){window.moveTo(1,1);window.resizeTo(screen.width,screen.height-165)}}
  8.  
  9. function RES_DIF(){with (document.all)
  10. LOAD_SIZE();if (screen.width<1024){
  11. MUM.innerHTML='<NOBR>LETECKā”“ MUZEA - AIR MUSEUMS</NOBR>';
  12. CZE.style.letterSpacing=-2;ENG.style.letterSpacing=-2;
  13. document.all.TXT.style.width=250;document.all.THB.style.width=350;
  14. document.all.CON.style.width=762;document.all.CON.style.left=-381}}
  15.  
  16. function LOC(x){location.href=x}
  17. function LOCw(x){window.open(x)}
  18. function LOCt(x){top.document.THMB.location.href=x}
  19. function LOCf(x){top.document.FOTO.location.href=x}
  20. function LOCi(x,y){top.document.TEKS.location.href=x;top.document.THMB.location.href=y}
  21. function LOCe(x,y){top.document.FOTO.location.href=x;top.document.THMB.location.href=y}
  22. function LOC3(x,y,z){
  23. top.document.TEKS.location.href=x;top.document.THMB.location.href=y;top.document.FOTO.location.href=z}
  24.  
  25. c1="#666";c2="#D45A54";c3="#C00000";c4="#999";c5="#647689";c6="#788898";
  26. L1="menu.htm";L2="list.htm";
  27.  
  28. function Space(){document.all.ME2.style.color=c2;document.all.ME2.style.letterSpacing=4}
  29.  
  30. function XX(){document.all.AL.value=top.document.FOTO.location}
  31. function Xv(){document.all.LL.value=document.all.AL.value.length-8;
  32. document.all.RL.value=document.all.AL.value.slice(document.all.LL.value)}
  33.  
  34. function Blick1(){if (document.all.RL.value==L1){
  35. Cy_01=setTimeout("document.FOTO.x1.style.color=c3;document.FOTO.x1.style.letterSpacing=1",100);
  36. Cy_02=setTimeout("document.FOTO.x2.style.color=c3;document.FOTO.x2.style.letterSpacing=1",200);
  37. Cy_03=setTimeout("document.FOTO.x3.style.color=c3;document.FOTO.x3.style.letterSpacing=1",300);
  38. Cy_04=setTimeout("document.FOTO.x4.style.color=c3;document.FOTO.x4.style.letterSpacing=1",400);
  39. Cy_05=setTimeout("document.FOTO.x5.style.color=c3;document.FOTO.x5.style.letterSpacing=1",500);
  40. Cy_06=setTimeout("document.FOTO.x1.style.color=c1;document.FOTO.x1.style.letterSpacing=0",300);
  41. Cy_07=setTimeout("document.FOTO.x2.style.color=c1;document.FOTO.x2.style.letterSpacing=0",400);
  42. Cy_08=setTimeout("document.FOTO.x3.style.color=c1;document.FOTO.x3.style.letterSpacing=0",500);
  43. Cy_09=setTimeout("document.FOTO.x4.style.color=c1;document.FOTO.x4.style.letterSpacing=0",600);
  44. Cy_10=setTimeout("document.FOTO.x5.style.color=c1;document.FOTO.x5.style.letterSpacing=0",700)}}
  45.  
  46. function Blick2(){if (document.all.RL.value==L2){
  47. Cy_01=setTimeout("document.FOTO.x1.style.color=c3;document.FOTO.x1.style.letterSpacing=1",100);
  48. Cy_02=setTimeout("document.FOTO.x2.style.color=c3;document.FOTO.x2.style.letterSpacing=1",200);
  49. Cy_03=setTimeout("document.FOTO.x3.style.color=c3;document.FOTO.x3.style.letterSpacing=1",300);
  50. Cy_04=setTimeout("document.FOTO.x4.style.color=c3;document.FOTO.x4.style.letterSpacing=1",400);
  51. Cy_05=setTimeout("document.FOTO.x5.style.color=c3;document.FOTO.x5.style.letterSpacing=1",500);
  52. Cy_06=setTimeout("document.FOTO.x1.style.color=c1;document.FOTO.x1.style.letterSpacing=0",200);
  53. Cy_07=setTimeout("document.FOTO.x2.style.color=c4;document.FOTO.x2.style.letterSpacing=0",300);
  54. Cy_08=setTimeout("document.FOTO.x3.style.color=c4;document.FOTO.x3.style.letterSpacing=0",400);
  55. Cy_09=setTimeout("document.FOTO.x4.style.color=c4;document.FOTO.x4.style.letterSpacing=0",500);
  56. Cy_10=setTimeout("document.FOTO.x5.style.color=c4;document.FOTO.x5.style.letterSpacing=0",600)}}
  57.  
  58. function OClick1(){if (document.all.RL.value!=L1)FOTO.location.href="files/menu.htm"}
  59. function OClick2(){if (document.all.RL.value!=L2)FOTO.location.href="files/list.htm"}
  60.  
  61. function OMOver1(){if (document.all.RL.value!=L1)document.all.ME2.style.color=c3}
  62. function OMOver2(){if (document.all.RL.value!=L2)document.all.ME1.style.color=c3}
  63.  
  64. function OMOut1(){document.all.ME2.style.color=c5}
  65. function OMOut2(){document.all.ME1.style.color=c2}
  66.  
  67. CZF=new Image(); CZF.src="../../images/COV_flagCZ_XS.gif";
  68. UKF=new Image(); UKF.src="../../images/COV_flagUK_XS.gif";
  69. function CHAN_LAN(x){document.all.DES.innerHTML=x}
  70. function GROW(){with(document.all)
  71. DES.style.pixelLeft-=20;DES.style.pixelTop-=5;
  72. DES.style.pixelWidth+=20;DES.style.pixelHeight+=5;}
  73. function ST_GR(){DES.style.visibility='visible';
  74. DES.style.pixelLeft=330;DES.style.pixelTop=340;DES.style.pixelWidth=60;DES.style.pixelHeight=50;
  75. G1=window.setInterval("GROW();if(document.all.DES.style.pixelTop<295){clearInterval(G1);CHAN_LAN(Cz)}",1)}
  76.  
  77. function GROW_ENT(){with(document.all)
  78. DES.style.pixelLeft-=20;DES.style.pixelTop-=5;
  79. DES.style.pixelWidth+=20;DES.style.pixelHeight+=5;
  80. PR1.style.pixelLeft+=20;PR1.style.pixelTop+=5;
  81. PR2.style.pixelLeft+=20;PR2.style.pixelTop+=5;}
  82. function ST_GR_ENT(){PR1.style.pixelLeft=20;PR1.style.pixelTop=0;PR2.style.pixelLeft=20;PR2.style.pixelTop=20;
  83. DES.style.visibility='visible';
  84. DES.style.pixelLeft=330;DES.style.pixelTop=340;DES.style.pixelWidth=60;DES.style.pixelHeight=50;
  85. G1=window.setInterval("GROW_ENT();if(document.all.DES.style.pixelTop<295){clearInterval(G1);CHAN_LAN(Cz)}",1)}
  86.