// *****************************************************************************
// *****************************************************************************
//
function ShowPic(src) {
  window.open(src+".htm", "Doblon_ScreenShot", 
             "location=0,toolbar=0,status=0,scrollbars=0,resizable=0,"+
             "width=10,height=10,top=20,left=20", true);
}


// *****************************************************************************
// *****************************************************************************
//
function FixSize(ref) {
  if (parseInt(navigator.appVersion)>3) {
    // for NetScape
    if (navigator.appName=="Netscape") {
      top.innerWidth=ref.Width;
      top.innerHeight=ref.Height;
    // for IE
    } else {
      top.resizeTo(ref.width+10,ref.height+29);
    }
  }
}


// *****************************************************************************
// *****************************************************************************
//
function CheckKey(e) {
  if (document.layers) Key = e.which;
  else Key = window.event.keyCode;

  if (Key==27) window.close();
}


// *****************************************************************************
// *****************************************************************************
//
function GoTo(url){
	window.open(url, "_blank", "menu_bar=no,status_bar=no,width=700,height=500");
	return false;
}

// *****************************************************************************
// *****************************************************************************
//
function InfoPop(url){
	window.open(url, "_blank", "menu_bar=no,status_bar=no,width=320,height=256,top=80,left=20");
	return false;
}


