function sendPage(){
  var pageTitle = document.title;
  if (pageTitle==null || pageTitle=='null'){
     pageTitle = 'No Title';
  }
  var newLoc='';
  var NS4 = (navigator.appName == "Netscape" && parseInt(navigator.appVersion) < 6);
  var popUPWidth = 550;
  var popUPHeight = 450;
  if (NS4){
      popUPWidth = 550;
      popUPHeight = 450;
  }
  newLoc+='http://www.eu.alcatel.com/MailPage/sendpage?lang=en&title='+escape(pageTitle);
  var curLoc = new String(document.location.href);
  newLoc+='&url='+escape(curLoc);
  var sHeight = screen.height;
  var sWidth = screen.width;
  x = (sWidth/2)-(popUPWidth/2);
  y = (sHeight/2)-(popUPHeight/2);
  openWindow(newLoc,'SendPage',popUPWidth,popUPHeight,'no','yes','no',x,y);
}

function PrintPage(url,host){


  var newLoc='';
  var NS4 = (navigator.appName == "Netscape" && parseInt(navigator.appVersion) < 6);
  var popUPWidth = 550;
  var popUPHeight = 450;
  if (NS4){
      popUPWidth = 550;
      popUPHeight = 450;
  }

  newLoc+='http://www.eu.alcatel.com/PrintPage/PrintPage.jsp?host='+host+'&url='+url;
  var curLoc = new String(document.location.href);
   var sHeight = screen.height;
  var sWidth = screen.width;
  x = (sWidth/2)-(popUPWidth/2);
  y = (sHeight/2)-(popUPHeight/2);
  openWindow(newLoc,'PrintPage',popUPWidth,popUPHeight,'yes','yes','yes',x,y);

}

function openWindow(wUrl,wTitle,wWidth,wHeight,wScroll,wResize,wStatus,x,y){
 opts = 'width=' + wWidth + ',height=' + wHeight +',resizable=' +wResize+',status='+wStatus+',scrollbars='+wScroll;
 opts+=',top='+y+',left='+x;
 popUP = window.open(wUrl,wTitle,opts);
 popUP.focus();
}

