    var img = new Image;
            var y = 0;
            var x = -((1920 - screen.width)/2);
            var ID;
            var i=0;
            var speed = 200;
            
            function animation()
            {
                var klass = document.getElementById('variant').className;
                if(klass == 'olimp')
                {
                    if(y == -29000)
                    {
                        if(navigator.appName == 'Opera')
                        {
                            clearInterval(ID);
                        }
                        else
                        {
                            clearTimeout(ID);
                        }
                        document.getElementById('pol').style.display = 'none';
                        document.getElementById('variant').className = 'aid';
                        changeParalax()
                    }
                    else
                    {
                        y -= speed;
                        document.getElementById('pol').style.display = 'block';
                        document.getElementById('pol').style.background = 'url('+ img.src + ')' ;
                        if(navigator.appName == 'Opera' || navigator.appName == 'Netscape')
                        {
                            document.getElementById('pol').style.backgroundPosition = x + ' ' + y;
                        }
                        else
                        {
                            document.getElementById('pol').style.backgroundPositionX = x;
                            document.getElementById('pol').style.backgroundPositionY = y;
                        }
                    }
                }
                else if(klass == 'aid')
                {
                    if(y == 0)
                    {
                        clearInterval(ID);
                        document.getElementById('pol').style.display = 'none';
                        document.getElementById('variant').className = 'olimp';
                        changeParalax()
                    }
                    else
                    {
                        y += speed;
                        document.getElementById('pol').style.display = 'block';
                        document.getElementById('pol').style.background = 'url('+ img.src + ')';
                        if(navigator.appName == 'Opera' || navigator.appName == 'Netscape')
                        {
                            document.getElementById('pol').style.backgroundPosition = x + ' ' + y;
                        }
                        else
                        {
                            document.getElementById('pol').style.backgroundPositionX = x;
                            document.getElementById('pol').style.backgroundPositionY = y;
                        }
                        
                    }
                }
            }
        
            function style()
            {
                if(navigator.appName == 'Opera' || navigator.appName == 'Netscape') 
                {
                    ID = setInterval(animation, 0);
                }
                else
                {
                    ID = setTimeout("style()", 0);
                    animation();
                }
            }
            
            function loadImg()
            {
                img.src = '/pol.jpg';
            }
