home *** CD-ROM | disk | FTP | other *** search
- var wwidth=0;
- var wheight=0;
- var lhy=0;
- var lhx=0;
-
- function startup()
- {
-
- if(document.all){
- wwidth = document.body.offsetWidth;
- wheight= document.body.offsetHeight;
- } else
- {
- wwidth=window.innerWidth;
- wheight=window.innerHeight;
- }
- if (wwidth==0) wwidth=640;
- if (wheight==0) wheight=480;
-
-
- if(wwidth>640) {lhx=Math.ceil((wwidth-705)/2);} else lhx=0;
- if(wheight>256) {lhy=Math.ceil((wheight-470)/2);} else lhy=0;
-
- scrolltextInit()
-
- mTimerInit();
- lpos("main", lhx, lhy);
- lshow("main");
- lpos("nadpis", lhx+143, lhy+88);
- lshow("nadpis");
- lpos("divScrollTextCont", lhx+143, lhy+121)
- lpos("hodiny",lhx+522, lhy+64);
- lshow("hodiny");
- lpos("prima2", lhx+143, lhy+404);
- //lshow("prima2");
-
- /* vv = new Image(44,64);
- vv.src = "images/vlajkagb1.gif";
- aa = new Image(144,62);
- aa.src = "images/adresa1.gif";
- dd = new Image(72,75);
- dd.src="images/dn1.gif";
- uu = new Image(72,75);
- uu.src="images/up1.gif";
- uu0 = new Image(72,75);
- uu0.src="images/up0.gif";
- m1 = new Image(54,24);
- m1.src = "images/firma1.gif";
- m2 = new Image(117,24);
- m2.src = "images/prima1.gif";
- m3 = new Image(70,24);
- m3.src = "images/e1.gif";
- m4 = new Image(77,24);
- m4.src = "images/sortiment1.gif";
- menupic1 = new Image(5,3);
- menupic1.src = "images/poptr.gif";
- menupic2 = new Image(5,8);
- menupic2.src = "images/popbr.gif";
- menupic3 = new Image(130,133);
- menupic3.src = "images/popbg.gif";
- menupic4 = new Image(400,8);
- menupic4.src = "images/popb.gif";
- menupic5 = new Image(5,133);
- menupic5.src = "images/popr.gif";
- menupic3 = new Image(135,3);
- menupic3.src = "images/popt.gif";
- */
-
- localstartup();
-
- bigbang();
- biggerbang();
- primaci();
- }
-