
var tabs = 1;

function show(item, parent) {
    if (document.getElementById(item).style.display == "block") {
      document.getElementById(item).style.display = "none";
      parent.className = "";
    } else {
      document.getElementById(item).style.display = "block"; 
      parent.className = "minus";
    }
}

function highlight(chkBox, item) {
    if (document.getElementById(chkBox).checked == true) {
      document.getElementById(item).className = "infoItemSelected";
    } else {
      document.getElementById(item).className = "infoItem"; 
  }
}


function bookmarkSite(url, title){
	if (document.all)
	window.external.AddFavorite(url, title);
	else if (window.sidebar)
	window.sidebar.addPanel(title, url, "")
}

var popUpWin=0;

function popUpWindow(URLStr, left, top, width, height) {
  if(popUpWin) {
    if(!popUpWin.closed) 
	  popUpWin.close();
  }
  popUpWin = open(URLStr,'popUpWin','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbar=no,resizable=no,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
}



