function include(url)  // must be a fully qualified URL, I don't know why
{
 if ( document.all )
 {
   var xml = new ActiveXObject("Microsoft.XMLHTTP");
   xml.Open( "GET", url, false );
   xml.Send()
   document.writeln(xml.responseText);
 }
 else  // Netscape code by itzsuresh taken from http://www.experts-exchange.com/javascript/Q.20290896.html
 { 
   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);
 } 
}
