function include(url) 
{ 
if ( document.all ) 
{ 
var xml = new ActiveXObject("Microsoft.XMLHTTP"); 
xml.Open( "GET", url, false ); 
xml.Send() 
document.writeln(xml.responseText); 
} 
else 
{ 
if ((location.host=='' && url.indexOf(location.protocol)==-1) || url.indexOf(location.host)==-1) 
{ 
netscape.security.PrivilegeManager.enablePrivilege("UniversalConnect"); 
} 

var dest = new java.net.URL(url); 
var dis = new java.io.DataInputStream(dest.openStream()); 
var res = ""; 
while ((line = dis.readLine()) != null) 
{ 
res += line + java.lang.System.getProperty("line.separator"); 
} 
dis.close(); 
document.writeln(res); 
return res; 
} 
} 

