var isIE501 = navigator.userAgent.indexOf("MSIE 5.01") > 0 ? true : false;
var isNN6 = navigator.userAgent.indexOf("Netscape6") > 0 ? true : false;


function switchNav()
{
	var list = document.getElementById("section-navigation");
	var sectionLink = document.getElementById("sectionLink");
	if(list.style.display=="none")
	{
		list.style.display="";
		sectionLink.className="down";
	}
	else
	{
		list.style.display="none";
		sectionLink.className="";
	}
}

function openBrWindow() {
  
  //variables
  var theURL = "http://webgis.islington.gov.uk/website/Internet/INTERNET_INDEX/";
  var theWinName = "intIslingtonWin";

  if (navigator.appName.indexOf("Netscape")!=-1){
   	var features = 'status=yes,scrollbars=yes,resizable=yes,height=' + (((screen.availHeight)-46)-screen.availTop) + ',width=' + (((screen.availWidth)-7)-screen.availLeft) + ',left=' + screen.availLeft + ',top=' + screen.availTop;
    	window.open(theURL,theWinName,features); 	
  } else {
  	var features = 'status=yes,scrollbars=yes,resizable=yes,height=' + ((screen.availHeight)-49) + ',width=' + ((screen.availWidth)-10) + ',left=0,top=0';
  		window.open(theURL,theWinName,features);
  }
}



function printpage() {
 window.print();  
}

