function displayWindow(url, w, h) {

var name="_blank";	

window.open(url,name,'width='+w+',height='+h+',toolbar=no,location=no,status=no,scrollbars=auto,resizable=yes')
}


function showRules(id) {
  document.getElementById(id).style.visibility = "visible"
  document.getElementById(id).style.position = "static"
}


function hideRules(id) {
  document.getElementById(id).style.visibility = "hidden"
  document.getElementById(id).style.position = "absolute"
}

function showHide(id) {
  document.getElementById(id).style.visibility = (document.getElementById(id).style.visibility == "visible") ? "hidden" : "visible"
  document.getElementById(id).style.position = (document.getElementById(id).style.position == "static") ? "absolute" : "static"
}