function tweeter() {  url="/tweeter/";parms="toolbar=no,location=no,directories=no,menubar=no,status=no,resizable=1,scrollbars=no";
parms=parms+",width=745,height=538,left=20,top=20";
 tweeterWin=open(url,"tweeter",parms); return false;
}

function pupop() { url="../robodock/schedule.htm";
parms="toolbar=no,location=no,directories=no,menubar=no,status=no,resizable,scrollbars=auto";
 parms=parms+",width=760,height=596";
 roboschedWin=open(url,"robosched",parms); return false;
}

function init() { 
  setVariables(); checkLocation();
}

function setVariables() {
  imgwidth=40;
  imgheight=30;
  if (navigator.appName == "Netscape") {
    horz=".left";
    vert=".top";
    docStyle="document.";
    styleDoc="";
    innerW="window.innerWidth";
    innerH="window.innerHeight";
    offsetX="window.pageXOffset";
    offsetY="window.pageYOffset";
  }
  else {
    horz=".pixelLeft";
    vert=".pixelTop";
    docStyle="";
    styleDoc=".style";
    innerW="document.body.clientWidth";
    innerH="document.body.clientHeight";
    offsetX="document.body.scrollLeft";
    offsetY="document.body.scrollTop";
  }
}

function checkLocation() {
  objectXY="logo";
  var availableX=eval(innerW);
  var availableY=eval(innerH);
  var currentX=eval(offsetX);
  var currentY=eval(offsetY);
  x=availableX-(imgwidth+30)+currentX;
  y=availableY-(imgheight+20)+currentY;
  evalMove();
  setTimeout("checkLocation()",7);
}

function evalMove() {
  eval(docStyle + objectXY + styleDoc + horz + "=" + x);
  eval(docStyle + objectXY + styleDoc + vert + "=" + y);
}

function goback() { window.open("../","_top",""); }

function gobackHis() {
  if (window.history.length == 1) { window.close(); }
  else { window.history.back() }
}

function inf(dat) {
  if (dat == 0) { txt = "DFM radio television International - Latest News Page" } else { txt = dat }
  window.status = txt
}

setTimeout("inf(0)",500);

window.focus();