function detailWindow(url) {

		detailWin = window.open(url,'detail', 'width=380,height=300,location=no,directories=no,menubar=no,resizable=no,scrollbars=yes,status=no,toolbar=no');
	detailWin.focus();
}

// thanks to sja for the code
// Opens a new windows with the given paramaters.
function NewWindow(newName, newURL, newWidth, newHeight) {
        theNewWindow = window.open(newURL,newName,"width="+newWidth+",height="+newHeight+",resizable=no,menubar=no,toolbar=no,location=no,directories=no,status=0,scrollbars=yes");
        theNewWindow.moveTo(5,5);
        theNewWindow.focus();
}


// Toggle the visibility of a layer
function Toggle (id) {
	var obj = document.getElementById(id);

	if (obj.className == 'Active')
		obj.className = 'Inactive';
	else
		obj.className = 'Active';
}

function toggle2( targetId ){ 
  if (document.getElementById){ 
        target = document.getElementById( targetId ); 
           if (target.style.display == "none"){ 
              target.style.display = ""; 
           } else { 
              target.style.display = "none"; 
           } 
     } 
} 
