// xlib.js, X v3.15.2, Cross-Browser.com DHTML Library
// Copyright (c) 2004 Michael Foster, Licensed LGPL (gnu.org)
// global vars still duplicated in x_core.js - I still don't know what I'm going to do about this
var xVersion='3.15.2',xNN4,xOp7,xOp5or6,xIE4Up,xIE4,xIE5,xMac,xUA=navigator.userAgent.toLowerCase();
if (window.opera){
xOp7=(xUA.indexOf('opera 7')!=-1 || xUA.indexOf('opera/7')!=-1);
if (!xOp7) xOp5or6=(xUA.indexOf('opera 5')!=-1 || xUA.indexOf('opera/5')!=-1 || xUA.indexOf('opera 6')!=-1 || xUA.indexOf('opera/6')!=-1);
}
else if (document.all && xUA.indexOf('msie')!=-1) {
xIE4Up=parseInt(navigator.appVersion)>=4;
xIE4=xUA.indexOf('msie 4')!=-1;
xIE5=xUA.indexOf('msie 5')!=-1;
}
else if (document.layers) {xNN4=true;}
xMac=xUA.indexOf('mac')!=-1;
if (!window.xIncludeList) {
window.xIncludeList = new Array();
}
// xInclude is very experimental!
function xInclude(url1, url2, etc)
{
if (document.getElementById || document.all || document.layers) { // minimum dhtml support required
var h, f, i, j, a, n, inc;
for (var i=0; i";
}
// else is it a .css file?
else if (f.indexOf('.css') != -1) { // CSS file
h = "";
}
// write the link or script element into the document
if (h.length) { document.writeln(h); }
} // end if (!inc)
} // end outer for
return true;
} // end if (min dhtml support)
return false;
}