<body onload="Init()"> <script language="JavaScript"> <!-- function Init () { if (navigator.appVersion >= "4.0"){ if(navigator.appName == "Netscape") { nav = "ns4" doc = "document"; sty = ""; } else { nav = "ie4" doc = "document.all"; sty = ".style"; } comObj = eval(doc + '["com"]' + sty); comObj.left = (500); comObj.top = (0); comObj.visibility = "visible"; Movea(); } } function Movea(){ vyska=parseInt(comObj.top); sirka=parseInt(comObj.left); if (sirka < -250) { comObj.visibility = "hidden"; } else {comObj.visibility = "visible";} if (sirka > -250) { vyska = vyska + 20; sirka = sirka - 20; comObj.top = vyska; comObj.left = sirka; window.setTimeout("Movea()", 0); } else { comObj.left = (500); comObj.top = (0); comObj.visibility = "hidden"; window.setTimeout("Movea()", 1000); } } //--> </script> <script language="JavaScript"> <!-- if (navigator.appVersion < "4.0"){ document.write("<!--"); } //--> </script> <div ID="com" style="position: absolute; visibility: hidden;" NAME="com"> <img src="pictures/java_script_library_button.gif" width="138" height="138" border="0"> </div> |