// JavaScript Document

	function findPos(obj)
	{
		var atop = 0;
		var aleft = 0
	
		do 
		{
			atop += obj.offsetTop;
			aleft += obj.offsetLeft;
			
			
		}
		while (obj = obj.offsetParent)
		
		return [atop, aleft]
		
		
	}

function toggleReturn(objCheck)
{
	var td_single_or_return = document.getElementById("td_single_or_return");
	var return_details = document.getElementById("return_details");

	if (objCheck.checked)
	{
		return_details.style.display="block";
		td_single_or_return.innerHTML = "Return Price";
	}
	else
	{
		return_details.style.display="none";
		td_single_or_return.innerHTML = "Single Price";
	}
		
	//Because we have changed a single journey to a return, we should now calcualte the fare
	//calculateFare();



}