startList = function() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("nav");
for (i=0; i<navRoot.childNodes.length; i++) {
node = navRoot.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
  }
  node.onmouseout=function() {
  this.className=this.className.replace(" over", "");
   }
   }
  }
 }
}
window.onload=startList;






function toggle_visibility(id,idd) {
var e = document.getElementById(id);
var f = document.getElementById(idd).getElementsByTagName("div");

for(var i = 0; i<f.length; i++){
	var x =document.getElementById(f[i].id);
	x.style.display = 'none'
}

if(e.style.display == 'none')
e.style.display = 'block';
else
e.style.display = 'none';
}














function load() {
	  var map = new GMap2(document.getElementById("map"));	
      if (GBrowserIsCompatible()) {
		  
        point = new GLatLng(53.26716366806795, -1.416764259338379)
        map.setCenter(point, 12);
		
		marker = new GMarker(point);
		map.addOverlay(marker);
        marker.openInfoWindowHtml('Bulroc (UK) Ltd' + '<br>' +
          'Station Lane, Old Whittington'+ '<br>' + 'Chesterfield, Derbyshire'+ '<br>' +'S41 9QX'+ '<br>' +'United Kingdom');
		
       map.addControl(new GSmallMapControl()); 		
      }
	  else{
		  	document.write("Your Browser does not support map controls");
		  }
	  
      
	  
	  	
        
    }



