function OpenKSBURL(url, target, height, width, mode) {
    switch (mode) {    
		case 0: 
        parameter = "width="+width+",height="+height+",menubar=yes,scrollbars=yes,resizable=yes,status=no,toolbar=yes,location=no"; 
    break;		
		case 1: 	width+=20; height+=20;
			 parameter = "width="+width+",height="+height+",menubar=yes,scrollbars=no,resizable=yes,status=no,toolbar=no,location=no";
		break;
		case 2: 
        parameter = "width="+width+",height="+height+",menubar=no,scrollbars=no,resizable=no,status=no,toolbar=no,location=no"; 
    break;        
    break;
    default:    
        popupWin = window.open(url, 'open_window');    
    }    
 
	if (mode < 3) {
		new_window =window.open(url, target, parameter);
	} 
  else {
		new_window=window.open(uri, target);
	}		

	if (document.all) {
		width+=12;
		height+=61;
	}

	if (width<120) width=120;
	
	new_window.resizeTo(width,height);
	new_window.focus();   
}

function HideMail(name, domain, display) {
  displayed=(typeof(display)=="undefined") ? name+"@"+domain : display;
  document.write('<a href=mailto:' + name + '@' + domain + '>' + displayed +  '</a>');
}

function OpenURL(url) {
  if (url != "") {
    self.location = url
  }
}

