  	function liftTab(tabName)
  	{
  		var node=document.getElementById(tabName);
  		node.style.background="url(images/hoverTab.gif)";
  		node.style.backgroundColor = "#BAECF1";  		
  	}
  	
  	function dropTab(tabName)
  	{
  		var node=document.getElementById(tabName);
  		
  		if (tabName == 'tab1')
  		{
    		node.style.background="url(images/leftTab.jpg)";
    	} else
    	{
    		node.style.background="url(images/normalTab.gif)";
    	}
    	node.style.backgroundColor = "#BAECF1";
  	}
  	
  	function navigateTo(pageurl)
  	{
  		location.href="http://www.orsl.co.uk/feb09/v4/" + pageurl;
  	}
  	
  	function dropLiftedTab(tabName)
  	{
  		if (1)
  		{
  			dropTab(tabName)
  		}
  	}
  	
  	function preparePage()
  	{
  		dropLiftedTab('tab1');
  		dropLiftedTab('tab2');
   		dropLiftedTab('tab3');
   		dropLiftedTab('tab4');
   		dropLiftedTab('tab5');  		
  	}
  	
  	
function hoverArrow(direction)
{
  document[direction + "Arrow"].src="images/nav_" + direction + "_green.gif";
}

function normalArrow(direction)
{
  document[direction + "Arrow"].src="images/nav_" + direction + "_blue.gif";
}
  	
function hoverTab(tabName)
{
  document[tabName].src="images/tabs/" + tabName + "Hover.jpg";
}
  	
function normalTab(tabName)
{
  document[tabName].src="images/tabs/" + tabName + ".jpg";
}

function showHide(answer)
{
	var node = document.getElementById(answer);
	
	if (node.style.display == "block")
	{
		node.style.display = "none";
		document[answer + "arrow"].src="images/rightArrow.gif";
	} else
	{
		node.style.display = "block";
		document[answer + "arrow"].src="images/upArrow.gif";
	} 
}
