<!--
	var Layout = "vertical";
	var MenuLeft = 0;
	var MenuTop = 0;
	var MenuWidth = 0;
	var laystring = "";
	var datestring = "No SSI";
	var countstring = "No SSI";
	var firstdate = "Uknown";
	var fname = "";
	function BeginLayer(div_id, width, height, style, writeout)
	{
		if(writeout)
			laystring = "";
		// create div tag
		if(is.ns4)
		{
			laystring += '<LAYER name="' + div_id + '"'
					  + ' left=' + MenuLeft + 'px'
					  + ' top=' + MenuTop + 'px'
					  + ' width=' + width + 'px'
					  + ' height=' + height + 'px'
					  + ' class="' + style + '">';
		}
		else
		{
			laystring += '<DIV id="' + div_id + '"'
					  + ' class="' + style + '"'
					  + ' style="position:absolute; left:' + MenuLeft + 'px;'
					  + ' top:' + MenuTop + 'px;'
					  + ' width:' + width + 'px;'
					  + ' height:' + height + 'px;">';
		}
		if(Layout == "horizontal")
			MenuLeft += width;
		else
			MenuTop += height;
		if(writeout)
			document.writeln(laystring);
	}
	function EndLayer(writeout)
	{
		if(writeout)
			laystring = "";
		if(is.ns4)
			laystring += '</LAYER>';
		else
			laystring += '</DIV>';
		if(writeout)
			document.writeln(laystring);
	}
	function Layer(Name, Href, Content, Width, Height, Style, Tip)
	{
		this.Name = Name;
		this.Href = Href;
		this.Content = Content;
		this.Width = Width;
		this.Height = Height;
		this.Style = Style;
		this.Tip = Tip;
		this.div_id = "Lay" + Name;
		this.create = create;
		this.setContent = setContent;
		function setContent(content)
		{
			this.Content = content;
		}
		function create()
		{
			// create layer
			laystring = "";
			BeginLayer(this.div_id, this.Width, this.Height, this.Style, false);
			if(this.Href)
			{
				laystring += '<A class="' + this.Style + '" href="' + this.Href + '" target="BodyFrame"';
				if(this.Tip)
					laystring += ' title="' + this.Tip + '"';
				laystring += '>';
			}
			laystring += this.Content;
			if(this.Href)
				laystring += '</A>';
			EndLayer(false);
			document.writeln(laystring);
		}
	}
	function MoLayer(Name, Href, ImgOut, ImgIn, Alt, Width, Height, Style, Target)
	{
		this.Name = Name;
		this.Href = Href;
		this.ImgOut = ImgOut;
		this.ImgIn = ImgIn;
		this.Alt = Alt;
		this.Width = Width;
		this.Height = Height;
		this.Style = Style;
		this.Target = Target;
		this.div_id = "Lay" + Name;
		this.img_id = "Img" + Name;
		this.imgin = new Image();
		this.imgout = new Image();
		this.create = create;
		this.preload = preload;
		this.mousein = mousein;
		this.mouseout = mouseout;
		function preload()
		{
			this.imgin.src = this.ImgIn;
			this.imgout.src = this.ImgOut;
		}
		function create()
		{
			// create layer
			laystring = "";
			BeginLayer(this.div_id, this.Width, this.Height, this.Style, false);
			laystring += '<A ';
			if(this.Href)
			{
				if(this.Target)
					laystring += 'href="' + this.Href + '" ' + 'target="' + this.Target + '" ';
				else
					laystring += 'href="' + this.Href + '" ' + 'target="BodyFrame" ';
			}
			if(this.ImgOut && this.ImgIn)
				laystring += 'onmouseout="' + this.Name + '.mouseout()" ' + 'onmouseover="' + this.Name + '.mousein()">';
			else
				laystring += '>';
			laystring += '<IMG src="' + this.ImgOut + '" ' + 'name="' + this.img_id + '" ' + 'border="0" ';
			if(this.Alt)
				laystring += 'alt="' + this.Alt + '"></A>';
			else
				laystring += '></A>';
			EndLayer(false);
			document.writeln(laystring);
		}
		// Do mouse over image
		function mousein()
		{
			document[this.img_id].src = this.imgin.src;
		}
		// Restore mouse out image
		function mouseout()
		{
			document[this.img_id].src = this.imgout.src;
		}
	}
	// Loads frame contents
	function loadSibling(Href, Target, CounterHref)
	{
		if(parent.frames.length > 0)
		{
			var targetFrame = parent.frames[Target];
			targetFrame.document.location.replace(Href);
			var counter = parent.frames['CounterFrame'];
			if(counter)
				counter.document.location.replace(CounterHref);
		}
		else
		{
			var url = "http://www.cadwerx.net";
			if(Href.match("DocBar")) url += "/?path=DocBar";
			else if(Href.match("CadXplorer")) url += "/?path=CadXplorer";
			else if(Href.match("AcadInstall")) url += "/?path=AcadInstall";
			else if(Href.match("BlockWerx")) url += "/?path=BlockWerx";
			document.location.replace(url);
		}
	}
	function PreLoadContent(content)
	{
		for(var i = 0; i < content.length; i++)
			content[i].preload();
	}
	function CreateContent(content)
	{
		for(var i = 0; i < content.length; i++)
			content[i].create();
	}
	// Parses QueryString of form "page.htm?var1=val1?var2=val2?var3=val3" etc. and sets value of all vars
	function ParseQueryString(search)
	{
		// Capture the QueryString
		alert(search);
		var str = unescape(search);
		var start = 1 + str.indexOf('?');
		var qs = str.substring(start, search.length);
		if(start > 0)
		{
			var sets = qs.split('&');
			for(i = 0; i < sets.length; i++)
			{
				pair = sets[i].split('=');
				str = pair[0]+ " = '" + pair[1] + "';";
	//			alert(str);
				eval(str);
			}
		}
	}
	function GetDocDate()
	{
		return document.lastModified;
	}
	function FormatDate(datestring)
	{
		return datestring.toString();
	}
	function Browser()
	{
		var b = navigator.appName;
		if (b=="Netscape") this.b = "ns";
		else if (b=="Microsoft Internet Explorer") this.b = "ie";
		else this.b = b;
		this.version = navigator.appVersion;
		this.v = parseInt(this.version);
		this.ns = (this.b=="ns" && this.v >= 4);
		this.ns4 = (this.b=="ns" && this.v == 4);
		this.ns5 = (this.b=="ns" && this.v == 5);
		this.ie = (this.b=="ie" && this.v >= 4);
		this.ie4 = (this.version.indexOf('MSIE 4') > 0);
		this.ie5 = (this.version.indexOf('MSIE 5') > 0);
		this.min = (this.ns || this.ie);
	}
	
	function ScreenShot(url)
	{
		settings = 'toolbar=0,location=0,status=0,menubar=0,resizable=1,scrollbars=1';
		window.open(url, '_blank', settings);
	}
	var is = new Browser();
-->