function switchPanes(index)
{ 
	var allCookies = document.cookie;
	var pos = allCookies.indexOf("clicked=");
	if (pos != -1)	{
		var start = pos + 8;
		var end = start + 1;
		var value = allCookies.substring(start,end);
		} // if
	if (value == "F") { //disable if cookie clicked is (T)
  
		  for(var i=0;i<7;i++)
		  {
			if(i==index)
			{
			  getStyleReference("infoPane"+i).visibility="visible";
			  
			} // if i then
			else
			{
			  getStyleReference("infoPane"+i).visibility="hidden";
			}  // if i else
		  } //for
		 } //if value
	
} // function 

