
function prechargimg() { 
var doc=document; 
if(doc.images){ if(!doc.precharg) doc.precharg=new Array();
var i,j=doc.precharg.length,x=prechargimg.arguments; for(i=0; i<x.length; i++)
if (x[i].indexOf("#")!=0){ doc.precharg[j]=new Image; doc.precharg[j++].src=x[i];}}
}

function MM_openBrWindow(theURL,winName,features) {
  window.open(theURL,winName,features);
}


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; 
} 
}
