function netie(net, ie) {
  if ((navigator.appVersion.substring(0,3) >= net && navigator.appName == 'Netscape' && net != -1) || (navigator.appVersion.substring(0,3) >= ie && navigator.appName.substring(0,9) == 'Microsoft' && ie != -1))
    return true;
  else
    return false;
}


function launch(newURL, newName, newFeatures, orgName)
{ var remote=open(newURL, newName, newFeatures);
  if (remote.opener==null)
    remote.opener=window;
  remote.opener.name=orgName;
  return remote;
}

function launchIdent(page) {
  if (netie(-1,4))
    ident =launch(page,"Identif","height=300,width=320,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0","centre");
  else
    ident =launch(page,"Identif","height=300,width=320,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0","centre");
}

function launchmessage(page) {
	
  if (netie(-1,4))
    ident =launch(page,"Identif","height=700,width=1000,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=0,resizable=1,scrollbars=1,status=0,toolbar=0","principal");
  else
    ident =launch(page,"Identif","height=700,width=1000,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=0,resizable=1,scrollbars=1,status=0,toolbar=0","principal");
}
function launchmessage2(page) {
  if (netie(-1,4))
    ident =launch(page,"Identif","height=700,width=800,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=0,resizable=0,scrollbars=1,status=0,toolbar=0","principal");
  else
    ident =launch(page,"Identif","height=700,width=800,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=0,resizable=0,scrollbars=1,status=0,toolbar=0","principal");
}


function launchPostit(page) {
  if (netie(-1,4))
    ident =launch(page,"Identif","height=280,width=600,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0","centre");
  else
    ident =launch(page,"Identif","height=280,width=600,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0","centre");
}
