function toggleLayer(theid){ 
daArray = document.getElementsByClassName('hidden_div');
for(i=0; i<daArray.length; i++){ 
      if(daArray[i].id == theid){
		  if(document.getElementById) // this is the way the standards work
		  elem = document.getElementById(theid);
		  else if(document.all) // this is the way old msie versions work
		  elem = document.all[theid];
		  else if(document.layers) // this is the way nn4 works
		  elem = document.layers[theid];
		  vis = elem.style;
		  if(vis.display==''&&elem.offsetWidth!=undefined&&elem.offsetHeight!=undefined)
		  vis.display = (elem.offsetWidth!=0&&elem.offsetHeight!=0)?'block':'none';
		  vis.display = (vis.display==''||vis.display=='block')?'none':'block';
      }else{ 
		  if(document.getElementById) // this is the way the standards work
		  elem = document.getElementById(daArray[i].id);
		  else if(document.all) // this is the way old msie versions work
		  elem = document.all[daArray[i].id];
		  else if(document.layers) // this is the way nn4 works
		  elem = document.layers[daArray[i].id];
		  vis = elem.style;
		  vis.display ='none';
      } 
   } 
//location.hash = "#"; //fp07_details_anchor
//anchor_name = "#"+theid+"_anchor";
window.location='#';
window.location='#'+theid+'_anchor';
}