function LegalNotice () {
 document.write ('\
  <HR SIZE="2">Copyright &copy; ACEAN division SACEL 2001.<BR>\
  Site internet : <A HREF="/sacel.htm" TARGET="_top">www.sacel.fr</A><BR>\
  Service apr&egrave;s vente : <A HREF="mailto:SAV Nokia <sav.nokia@sacel.fr>">SAV Nokia</A><BR>\
  Support technique : <A HREF="mailto:Stephane Millien <s.millien@sacel.fr>">St&eacute;phane Millien</A><HR>'
 );
}

function EnTete () {
 document.write ('\
  <TABLE WIDTH="100%"><TR><TD><IMG SRC="/images/nokia.gif" WIDTH="140" HEIGHT="42" ALT="Nokia - Connecting People"></TD>\
  <TD VALIGN="top" ALIGN="right"><IMG SRC="/images/sacel.gif" WIDTH="222" HEIGHT="34"></TD></TR></TABLE><HR>'
 );
}

function downloadExtand () {
  if (document.all) {
    screenHeight = screen.availHeight - 50;
    screenWidth  = screen.availWidth - 12;
  }
  else {
    screenHeight = screen.availHeight - 44;
    screenWidth  = screen.availWidth - 8;
  }

 var win = window.open (
  '/cdr/download_extand.htm',
  'extand',
  'top=' + eval ((screenHeight - 490) / 2) + ',left=' + eval ((screenWidth - 470) / 2) +
  ',width=460,height=460,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no'
 );
 win.focus ();
}

function colissimo (sNum) {
 var win = window.open (
  'http://www.coliposte.net/particulier/suivi_particulier.jsp?colispart=' + sNum,
  'colissimo',
  'width=' + eval(screen.width - 12) + ',height=' + eval(screen.height - 80) + 
  ',toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,top=0,left=0'
 );
 win.focus ();
}

function chronopost (sNum) {
 var win = window.open (
  'http://www.fr.chronopost.com/fr/tracking/suivi_inter.jsp?listeNumeros=' + sNum,
  'chrono',
  'width=' + eval(screen.width - 12) + ',height=' + eval(screen.height - 80) + 
  ',toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,top=0,left=0'
 );
 win.focus ();
}

function dhl (sNum) {
 var win = window.open (
  'http://www.dhl.com/cgi-bin/tracking.pl?LAN=FRE&TID=FR_FRE&FIRST_DB=EU&LINKS=NO&FORMAT=HTML&' +
  'TICKIMAGE=http%3A%2F%2Fwww.dhl.com%2Fart%2Fdel.gif&AWB=' + sNum,
  'dhl',
  'width=730,height=500,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes'
 );
 win.focus ();
}

function nms (sNum) {
 var win = window.open (
  'http://www.dhl.fr/publish/fr/fr/eshipping/track.high.html?pageToInclude=RESULTS&type=fasttrack&AWB=' + sNum,
  'nms',
  'width=790,height=700,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes'
 );
 win.focus ();
}

function haysdx (sNum) {
 var w = 456;
 var h = 400;
 if (document.all) {
  w += 20;
  h += 14;
 }
 var top  = eval ((screen.availHeight - h) / 2);
 var left = eval ((screen.availWidth - w) / 2);

 var win = window.open (
  'http://www.ciblex.fr/extranet/client/corps.php?module=colis&colis=' + sNum,
  'ciblex',
  'top=' + top + ',left=' + left + ',width=' + w + ',height=' + h +
  ',toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes'
 );
 win.focus ();
}

function imoxy (noaff) {
 var w = 656;
 var h = 496;
 if (document.all) {
  w += 20;
  h += 14;
 }
 var top  = eval ((screen.availHeight - h) / 2);
 var left = eval ((screen.availWidth - w) / 2);
 var win  = window.open (
  'http://www.sacel.fr/scripts/cdr.dll/Imoxy?noaff=' + noaff,
  'imoxy',
  'top=' + top + ',left=' + left + ',width=' + w + ',height=' + h + 
  ',toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes'
 );
 win.focus ();
}

function page (idQuery, page) {
 parent.Disp.location.replace ('/scripts/cdr.dll/PageList?idQuery=' + idQuery + '&page=' + page);
}

function _Y (iRow) {
 document.getElementById ('L' + iRow).bgColor = '#FFFF80';
}

function _N (iRow) {
 document.getElementById ('L' + iRow).bgColor = (iRow % 2) ? '#EEEEEE' : '#FFFFFF';
}

function det (imei) {
 document.location = '/scripts/cdr.dll/Detail?Imei=' + imei;
}
