// Browser and frameset detection script
var isMinNS4	= (navigator.appName.indexOf("Netscape") >= 0 && parseFloat(navigator.appVersion) >= 4);
var isMinIE4	= navigator.appVersion.indexOf("MSIE") >= 0 && document.all != null;
var isPCIE40	= isMinIE4 && navigator.appVersion.indexOf("MSIE 4") >= 0;
var isPCIE50	= isMinIE4 && navigator.appVersion.indexOf("MSIE 5.0") >= 0;
var isPCIE55	= isMinIE4 && navigator.appVersion.indexOf("MSIE 5.5") >= 0;
var isMac		= navigator.appVersion.indexOf("Macintosh") >= 0;
var isMacNS4	= (isMinNS4 && isMac);
var isMacIE40	= (isMinIE4 && isMac && navigator.appVersion.indexOf("MSIE 4.0") >= 0);
var isMacIE45	= (isMinIE4 && isMac && navigator.appVersion.indexOf("MSIE 4.5") >= 0);
var isMacIE5	= (isMinIE4 && isMac && navigator.appVersion.indexOf("MSIE 5.") >= 0);

// Are we out of a frameset?
if(self.parent.frames.length == 0)
{
	var sLocation = document.location.toString() + "?"; // Need the question mark!
	with(window.document)
	{
		open();
		write("<frameset rows=\"62,*\" border=\"0\" frameborder=\"no\" framespacing=\"0\">");
		write("<frame name=\"header\" src=\"/header.html\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\" noresize>");
		write("<frameset cols=\"124,*\" border=\"0\" frameborder=\"no\" framespacing=\"0\">");
		write("<frame name=\"nav\" src=\"/nav.html\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\" noresize>");
		write("<frame name=\"body\" src=\"" + sLocation + "\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"auto\" frameborder=\"0\">");
		write("</frameset>");
		write("</frameset>");
		close();
	}
}
