function OpenT(name,childX,childY) {

if (document.all) { /* the following is only available after onLoad * intended for IE*/ 
  w = document.body.clientWidth;
  h = document.body.clientHeight;
  offsetX = window.screenLeft;
  offsetY = window.screenTop;
}
else if (navigator.appName == "Netscape" )  { /* the following is only available after onLoad * intended for NetScape*/ 
  w = window.innerWidth;
  h = window.innerHeight;
  offsetX = window.screenX;
  offsetY = window.screenY;
}

var x = parseInt(offsetX + (w - childX)/2);
//var y = parseInt(offsetY + (h - childY)/2);

popupWin = window.open(name,'open_window',',status=0,resizable=0,scrollbars=0,width=' + childX + ',height=' + childY + ',left='+ x +',top=' + 100);
}

function OpenTpop(geturl) {
window.opener.location.href = geturl;
}

function OpenTscroll(name,childX,childY) {

if (document.all) { /* the following is only available after onLoad * intended for IE*/ 
  w = document.body.clientWidth;
  h = document.body.clientHeight;
  offsetX = window.screenLeft;
  offsetY = window.screenTop;
}
else if (navigator.appName == "Netscape" )  {/* the following is only available after onLoad * intended for NetScape*/ 
  w = window.innerWidth;
  h = window.innerHeight;
  offsetX = window.screenX;
  offsetY = window.screenY;
}

var x = parseInt(offsetX + (w - childX)/2);
var y = parseInt(offsetY + (h - childY)/2);

popupWin = window.open(name,'open_window',',status=0,resizable=0,scrollbars=1,width=' + childX + ',height=' + childY + ',left='+ x +',top=' + y);
}

function OpenT2(name,childX,childY) {

if (document.all) { /* the following is only available after onLoad * intended for IE*/ 
  w = document.body.clientWidth;
  h = document.body.clientHeight;
  offsetX = window.screenLeft;
  offsetY = window.screenTop;
}
else if (navigator.appName == "Netscape" )  {/* the following is only available after onLoad * intended for NetScape*/ 
  w = window.innerWidth;
  h = window.innerHeight;
  offsetX = window.screenX;
  offsetY = window.screenY;
}

var x = parseInt(offsetX + (w - childX)/2);
var y = parseInt(offsetY + (h - childY)/2);

popupWin = window.open(name,'open_window',',status=0,resizable=0,scrollbars=1,width=' + childX + ',height=' + childY + ',left='+ x +',top=' + y);
}

function openWinSize(URL,width,height) {
  aWindow=window.open(URL,"_blank", "toolbar=no,width="+width+",height="+height);
  return void(0);
}
