var IPadr = ""
function launch(newURL, newName, newFeatures, orgName) {
  var remote = open(newURL, newName, newFeatures);
  
  return remote;
}
function MyAddress(IP){
IPadr=IP
}
function launchRemote(addr) {
var regExp = /^10\.0\.\d{1,3}\.\d{1,3}$/ 
if( regExp.test( IPadr ) ) { 

  myRemote = launch("http://mailhost.contiexpedan.be/telefoon.nsf/LineList_PORTLOOKUP_ACSA_NEW?SearchView&Query=field+JobTitle="+addr+"&searchOrder=4", "Search", "height=300,width=750,screenX=25,left=25,screenY=50,top=50,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=0,resizable=0,scrollbars=1,status=0,toolbar=0", "");
}
else {
  myRemote = launch("http://mailhost.contiexpedan.be/telefoon.nsf/LineList_PORTLOOKUP_ACSA_NEW?SearchView&Query=field+JobTitle="+addr+"&searchOrder=4", "Search", "height=300,width=750,screenX=25,left=25,screenY=50,top=50,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=0,resizable=0,scrollbars=1,status=0,toolbar=0", "");
}
}
function launchPort(portaddr) {
  myRemote = launch("http://mailhost.contiexpedan.be/Ports.nsf/LineList?SearchView&Query=field+Line="+portaddr+"&searchOrder=4", "ContiInfo", "height=600,width=800,screenX=50,left=50,screenY=50,top=50,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=0,resizable=0,scrollbars=1,status=0,toolbar=0", "");
}
function LaunchFlash() {
  height = (screen.height/2)-300
  width = (screen.width/2)-400
  myRemote = launch("http://www.acsa.be/Movie1.html", "", "height=550,width=800,screenX="+width+",left="+width+",screenY="+height+",top="+height+",channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=0,resizable=0,scrollbars=1,status=1,toolbar=0", "");
}
function go(url,w,h) {
	var dim = eval('"width=' + w + ',height=' + h + ',toolbar=0, location=0,directories=0,status=0, menubar=0,scrollbars=0,resizable=0"');
	Npop = window.open(url,"instruct",dim);
	Npop.focus();
	oldWin = Npop.opener;
}


