document.title="Customer reference"
function EncodeUNI(Chaine)
{
      ChaineUNI=""
	for (i=0;i<Chaine.length;i++) {
		Cod=Chaine.charCodeAt(i);
 		// Only use to convert integer to string
		StrL = ""+Cod    
		NbZero=5-StrL.length;
		for (j=0;j<NbZero;j++) Cod = "0"+Cod;
		ChaineUNI += "#"+Cod
        	}
	return ChaineUNI	
}
//Copy du script sendpage

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("http://www.alcatel.com/enterprise/en/customer_successes/index.html");
  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();
}


//GESTION DE LA IFRAME
//********************************
/*
IFRAMENAME="ds"
window.onload=function()
{
	updateIframeHeight()	

}

function SetObj()
{
Mozilla = (document.all)? false:true
IframeOBJ=DocOBJ=false
//initialisation des objets
IframeOBJ=parent.document.getElementById(IFRAMENAME)
if(!IframeOBJ) return false
DocOBJ=window.document
if (!DocOBJ) return false
}

function updateIframeHeight()
{
SetObj()
alert(IframeOBJ)
alert(DocOBJ)
if (IframeOBJ && DocOBJ) IframeOBJ.style.height= (Mozilla ? DocOBJ.height : DocOBJ.body.scrollHeight)
}
*/