function openWin(url, width, height, scrollbars, resizeable) {
	var popup = window.open(url,"",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=' + scrollbars + ',resizable=' + resizeable + ',width=' + width +',height=' + height + '');
}
function abort() {
  close();
  opener.focus();
}
function finish() {
  opener.parent.location.reload();
  close();
  opener.focus();
}
function handleClick(id,show) {
    var obj = "";
  	// Check browser compatibility
  	if(document.getElementById)
  		obj = document.getElementById(id);
  	else if(document.all)
  		obj = document.all[id];
  	else if(document.layers)
  		obj = document.layers[id];
  	else
  		return 1;

  	if (!obj) {
  		return 1;
  	} else if (obj.style) {
        if (show == "true") {
          obj.style.display = "";
        } else {
          obj.style.display = "none";
        }
   	} else {
        obj.visibility = "show";
  	}
}
