// Copyright by Madsoft (Webmaster@scherberg.de)
var ok='0';
function animation(odjekt, startx, starty, endx, endy, steps, warte)
	{
        	if(warte && warte>0)
                setTimeout('animation('+odjekt+','+startx+','+starty+','+endx+','+endy+','+steps+','+(warte-1)+',"")', 30);
        	else
		{
        		if(document.layers)
			{
			       document.layers["f"+odjekt].left=startx;
			       document.layers["f"+odjekt].top=starty;
			}
        		else
        		{
        			document.all["f"+odjekt].style.left=startx;
			        document.all["f"+odjekt].style.top=starty;
			}
                
		startx+=(endx-startx)/steps;
                starty+=(endy-starty)/steps;
	        if(steps>0)
                setTimeout('animation('+odjekt+','+startx+','+starty+','+endx+','+endy+','+(steps-1)+',0,"")', 30);
        	}
	
	}

function start()
{
        window.setTimeout("ok='1'",5000);
	if(navigator.appName=="Netscape")
        {
                var w=innerWidth;
                var h=innerHeight;
        } else
        {
                var w=document.body.offsetWidth;
                var h=document.body.offsetHeight;
        }

        var w2=(w/2)-40;
        var h2=(h/2)-40;
        var w3=(w/3)-40;
        var h3=(h/3)-40;
        animation(4,     w2-150,   98,  w2-150,   98,      0         );     
//        animation(3,    -10,  0,     w2-1,     97,      80         );     
//        animation(2,  w+100,  100,   w2-123,   224,     80         );     
//        animation(1,      w2+3,     223,    w2+3,     223,    0         );     
//        animation(9,  w2-230, h/2+100,   w2-230,  h/2+100,    80,    20  );     
//        animation(10, w2-210, h/2+130,  w2-210,   h/2+130,    80,    20  );     
        animation(11, w2-250, h/2+170,  w2-250,   h/2+170,    80,    20  );     
//        animation(12, w2-260, h/2+190,  w2-260,   h/2+190,    80,    20  );     
//        animation(13, w2-240, h/2+210,  w2-240,   h/2+210,    80,    20  );     
//        animation(14, w2-220, h/2+230,  w2-220,   h/2+230,    80,    20  );     
        }


function next()
{
if(ok=='1')
{
window.location.href = "1.htm";
}
}

