<!--

// Horizontal breaking animation.
var knots = 35
var timer = 30
var endpos = 0
var startdelay = 1200


function SailIt(){
    if (document.all){
        document.all.LogoShip.style.posLeft = document.all.LogoShip.style.posLeft - knots;
		var distance = document.all.LogoShip.style.posLeft - endpos;
        if (document.all.LogoShip.style.posLeft > endpos){
			if(knots > 1){
				knots = Math.round(distance/8)
			}
			else{
				knots = 1
			}
			if(knots < 0){
				document.all.LogoShip.style.posLeft = endpos
			}
			setTimeout("SailIt()",timer);
		}
    }
    else if (document.layers) {
        document.LogoShip.left -= knots;
		var distance = document.LogoShip.left - endpos;
        if (document.LogoShip.left > endpos){
			if(knots > 1){
				knots = Math.round(distance/8)
			}
			else{
				knots = 1
			}
			if(knots < 0){
				document.LogoShip.left = endpos
			}
            setTimeout("SailIt()",timer);
		}
    }
}

function InitShip(){
	if(document.all){
		document.all.LogoShip.style.posLeft = screen.width;
	}
    else if(document.layers) {
		document.LogoShip.left = screen.width;
    }
}

if (document.all || document.layers){
	InitShip();
	setTimeout("SailIt()",startdelay);
}

	
//-->