	// JScript source code

	////////////////////////////////////////
	//// Define variables :

//	var speed = 50;
//	var finalStartPos = 271;
//	var startPos = 271;
	//var finalStartPos = 0;
	//var startPos = 0;
//	var iWidth = 0;
//	var endPos = 0;
//	var boatWaterline = 52;

	/////////////////////////////////////////
	//// Declare images :

//	if(document.images)
//	{
//		BoatImage_on = new Image(94,16); 
//		BoatImage_on.src = "http://www.my-study.dk/dutch/images/BoatR.gif"; 
//		BoatImage_off = new Image(94,16); 
//		BoatImage_off.src = "http://www.my-study.dk/dutch/images/boat.gif"; 
//	}

	///////////////////////////////////////
	//// Functions : Main functions


	///////////////////////////////////////
	//// init : Starts up the page

	function init(iWWidth)
	{
		iWidth = iWWidth;
		endPos = (iWidth - 150);
		boatSail();
	}


	///////////////////////////////////////
	//// boatSail(); : Makes the boat go from left to right

	function boatSail()
	{
		if(startPos < endPos)
		{
			document.all.BoatLayer.style.left = (startPos += 4);
			document.all.BoatLayer.style.top = boatWaterline;
			if(document.images)
			{
				eval('document.images.BoatImage.src=BoatImage_on.src');
			}
			setTimeout("boatSail()", speed);
		}
		else
		{
			boatSailBack();
		}
	}

	///////////////////////////////////////
	//// boatSailBack(); : Makes the boat go from right to left

	function boatSailBack()
	{
		if(startPos > finalStartPos)
		{
			document.all.BoatLayer.style.left = (startPos -= 4);
			document.all.BoatLayer.style.top = boatWaterline;
			if(document.images)
			{
				eval('document.images.BoatImage.src=BoatImage_off.src');
			}
			setTimeout("boatSailBack()", speed);
		}
		else
		{
			boatSail();
		}
	}

	////////////////////////////////////////
	//// Goto(oURL) : Redirects user to a given page

	function Goto(oURL)
	{
		window.location.href = oURL;
	}

	////////////////////////////////////////
	//// Mailto(mBefore, mAfter) : Sends an email

	function Mailto(mBefore, mAfter)
	{
		window.location = "mailto:" + mBefore + "@" + mAfter;
	}
	
	///////////////////////////////////////
	//// NavDispActive(nActive) : Makes the button related to the active page, have lightblue background
	
	function NavDispActive(nActive)
	{
		window.document.getElementById(nActive).background = 'images/button_x.gif';
	}

	///////////////////////////////////////
	//// Debugging :