<!-- 
var root = "";					//    null     or     "../"
var ChartType = "Bar";
var now = new Date;
	now.setTime(now.getTime() + 100 * 24 * 60 * 60 * 1000);	
var path = ";path=/;expires=" + now.toGMTString();
//	path = ";path=/;";	// testing

function header(){	
	document.writeln("<center><table width=700 cellpadding=0 cellspacing=0><tr><td>");
	document.writeln("<table width='100%' cellpadding=0 cellspacing=0 bgcolor='#0065a8'><tr>");
	document.writeln("<td width=157 bgcolor='#d6d5d9'><img alt='' src='" + root + "images/2006/brslogo.gif' width=157 height=55 /></td>");
	document.writeln("<td width='100%' align=center background='" + root + "images/2006/bannermiddle.gif'><img alt='' src='" + root + "images/2006/banner.gif' width=327 height=34 /></td>");
	document.writeln("<td width=20 height=55><img alt='' src='" + root + "images/2006/bannerright.gif' width=20 height=55 /></td></tr></table>");
	document.writeln("</td></tr><tr><td>");
	document.writeln("<table width='100%' cellpadding=0 cellspacing=0 background='" + root + "images/2006/navbar_bg.jpg'><tr>");
	document.writeln("<td width=8><img src='" + root + "images/2006/top_01.jpg' alt='' width=8 height=32 /></td>");
	
	document.write("<td width='100%' align=center>");
	document.write("<img src='images/2006/topGroup-leftEnd.gif' width=10 height=28 >");
	document.write("<a  href='http://www.businessplans.org/index.asp'           onMouseOver=\"document.btn0.src='" + root + "images/2006/menu00R.gif';\" onMouseOut=\"document.btn0.src='" + root + "images/2006/menu00B.gif';\"><img name='btn0' src='" + root + "images/2006/menu00B.gif' width=66  height=28 border=0></a>");
	document.write("<a  href='http://www.businessplans.org/businessplans.html'  onMouseOver=\"document.btn1.src='" + root + "images/2006/menu10R.gif';\" onMouseOut=\"document.btn1.src='" + root + "images/2006/menu10B.gif';\"><img name='btn1' src='" + root + "images/2006/menu10B.gif' width=128 height=28 border=0></a>");
	document.write("<a  href='http://www.businessplans.org/guide.html'          onMouseOver=\"document.btn2.src='" + root + "images/2006/menu20R.gif';\" onMouseOut=\"document.btn2.src='" + root + "images/2006/menu20B.gif';\"><img name='btn2' src='" + root + "images/2006/menu20B.gif' width=108 height=28 border=0></a>");
	document.write("<a  href='http://www.businessplans.org/directory.html'      onMouseOver=\"document.btn3.src='" + root + "images/2006/menu30R.gif';\" onMouseOut=\"document.btn3.src='" + root + "images/2006/menu30B.gif';\"><img name='btn3' src='" + root + "images/2006/menu30B.gif' width=138 height=28 border=0></a>");
	document.write("<a  href='http://www.brs-inc.com'                           onMouseOver=\"document.btn4.src='" + root + "images/2006/menu40R.gif';\" onMouseOut=\"document.btn4.src='" + root + "images/2006/menu40B.gif';\"><img name='btn4' src='" + root + "images/2006/menu40B.gif' width=153 height=28 border=0></a>");
	document.write("<a  href='http://www.brs-inc.com/consultants/directory.asp' onMouseOver=\"document.btn5.src='" + root + "images/2006/menu50R.gif';\" onMouseOut=\"document.btn5.src='" + root + "images/2006/menu50B.gif';\"><img name='btn5' src='" + root + "images/2006/menu50B.gif' width=123 height=28 border=0></a>");
	document.write("<img src='" + root + "images/2006/topGroup-rightEnd.gif' width=10 height=28 >");
	
	document.writeln("</td><td width=21 align=right valign=top><img alt='' src='" + root + "images/2006/top_05.jpg' width=21 height=32 /></td>");
	document.writeln("</tr></table></td></tr></td></tr><tr><td>");
	document.writeln("<table width='100%' cellpadding=0 cellspacing=0 bgcolor=white><tr>");
	document.writeln("<td width=19 background='" + root + "images/2006/left_middle_border.jpg'><img alt='' src='" + root + "images/2006/left_middle_border.jpg' width=19 height=17 /></td><td width='100%'>");
}
function footer(){
	document.writeln("</td><td width=21 background='" + root + "images/2006/right_middle_border.jpg'><img alt='' src='"  + root + "images/2006/right_middle_border.jpg' width=21 height=12 /></td>");
	document.writeln("</tr></table></td></tr><tr><td>");
	document.writeln("<table width='100%' cellpadding=0 cellspacing=0 background='" + root + "images/2006/bottom_border.jpg'><tr>");
	document.writeln("<td width=19 height=44><img alt='' src='" + root + "images/2006/left_bottom_border.jpg' width=19 height=44 /></td>");
	document.writeln("<td width='100%' height=44><span class='footer'>Copyright &copy; 1994-2006 Business Resource Software, Inc.</span></td>");
	document.writeln("<td width=21 height=44><img alt='' src='" + root + "images/2006/right_bottom_border.jpg' width=21 height=44 /></td>");
	document.writeln("</tr></table></td></tr></table>");
	
	document.writeln("<table cellpadding=0 cellspacing=0 border=0 width=765>");
	document.writeln("<tr><td><a onclick='Rcertify();return false;' href=''><img src='http://www.brs-inc.com/images/bbbseal.gif' alt='BBBOnLine Reliability Seal' WIDTH=135 HEIGHT=48 BORDER=0></a>");
	document.writeln("</td><td align=center><font size='+2'><b>(800)423-1228</b></font><br>");
	document.writeln("<font size=-1><b>Business Resource Software, 2013 Wells Branch Pkwy #206, Austin, Texas 78728<br>");
	document.writeln("International: (512)251-7541 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Fax: (512)251-4401</b><br>");
	document.writeln("</font></td></tr></table>");
	
	document.writeln("<img src='" + root + "log.gif' width=1 height=1 alt='' border=0></center>");
}
	var popupWin = null;
	function Rcertify() 
	{
		popupWin = window.open('http://www.bbbonline.org/cks.asp?id=102052015481723730', 'Participant','location=yes,scrollbars=yes,width=450,height=300'); 
		popupWin.focus();
	} 
		function DoSubmit2(page){
			var separator = "~";
			var x = ChartType + "=";
			var obj = document.getElementById("Composition");
			if (obj) x = x + obj.value;
			x = x + separator;
			obj = document.getElementById("Style1");
			if (obj) x = x + obj.value;
			x = x + separator;
			obj = document.getElementById("Style2");
			if (obj) x = x + obj.value;
			x = x + separator;
			obj = document.getElementById("Style3");
			if (obj) x = x + obj.value;
			x = x + separator;
			obj = document.getElementById("Style4");
			if (obj) x = x + obj.value;
			if (ChartType == "Line"){
				x = x + separator;
				obj = document.getElementById("LineStyleName");
				if (obj) x = x + obj.value;
			}
			else if (ChartType == "Pie"){
				x = x + separator;
				obj = document.getElementById("Lift");
				if (obj) x = x + obj.value;
				x = x + separator;
				obj = document.getElementById("Shift");
				if (obj) x = x + obj.value;
			}
			document.cookie = x + path;

			DoSubmit(page);
		}
		function BuildSeries(name, n, type){
			var separator = "=";
			var x = name;
			for (var i=1; i <=n; i++){
			    var p = name;
			    if (n > 1) p = p + i.toString();
				var obj = document.getElementById( p );
				x = x + separator;
				separator = "~";
				if (obj){
					var v = obj.value;
					v = v.replace(separator,"");
//					if (type == 0)		// System controlled
					if (type == 1){		// must be a number
						var vd = parseFloat(v);
						if (isNaN(vd)) v = "";
					}
					if (type == 2){		// Any user input
						v = escape(v);
					}
					x = x + v;
				}
			}
			document.cookie = x + path;
		}
		function DoSubmit(page){
				BuildSeries("x",			12,2);
				BuildSeries("a",			12,1);
				BuildSeries("b",			12,1);
				BuildSeries("c",			12,1);
				BuildSeries("d",			12,1);
				if (ChartType != ""){
					BuildSeries("Label",		4,0);
					BuildSeries("Trans",		4,0);
					BuildSeries("ChartWidth",	1,1);
					BuildSeries("ChartHeight",	1,1);
					if (ChartType != "Pie")
					{
						BuildSeries("Legend",		4,2);
					}
					if (ChartType != "Pie" && ChartType != "Radar")
					{
						BuildSeries("LabelXAxis",	1,2);
						BuildSeries("LabelYAxis",	1,2);
					}
					BuildSeries("Palette",		1,0);
					BuildSeries("Orientation",	1,0);
			}
			location = page;
		}

		function RemoveSeries(which){
			for (var i=1; i <= 12; i++){
				var o = document.getElementById(which+i.toString());
				if (o) o.value = "";
			}
		}
		var oPopup = window.createPopup();	// initialized hidden
		function ShowHelpMessage(msg, txt){
			var oPopBody = oPopup.document.body;
			oPopBody.background = "images/2006/gradient02.jpg";
			oPopBody.style.border = "solid blue 1px";
			oPopBody.style.fontFamily = "Arial";
			oPopBody.style.fontSize = "4pt";
			oPopBody.innerHTML = "<br><table width='100%'><tr><td width=4></td><td><font size=2 name=Arial>" + txt + "<p></font></td><td width=4></td></tr></table>";
			oPopup.show(0, 0, 430, 0);	// Create with zero height
			var realHeight = oPopBody.scrollHeight;
			oPopup.hide();				// Destroy
			oPopup.show(200, 100, 430, realHeight, document.body);
			return false;
		}	
		function myKeyDown(){
			if((event.which && event.which==13) || (event.keyCode && event.keyCode==13)){
				var page = ChartType;
				if (page == "Bar") page = "multibar";
				DoSubmit(page+'.aspx'); 
				return false;
			}
			else return true;
		}
		{
			var o = document.getElementById("a1");
			if (o) o.focus();
		}
	function ShowMessage(me){
		var txt;
		var msg = parseInt(me);

		     if (msg == 200) txt = "<h3 align=center>Label</h3>The labels you provide will be used to identify each point on the X-axis of the chart.<p>You may enter up to 12 labels. Blanks are allowed. Extra labels are ignored. Each label can be up to 6 characters.";
		else if (msg == 201) txt = "<h3 align=center>Series</h3>The values you provide will be inserted in the chart.<p>Each series is a separate line on the chart. If you do not need all four series, just leave them blank.<p>You may enter from 1 to 12 numeric values for each series. A decimal point is optional. A + or - sign is optional. The value cannot exceed 6 characters in length.<p>If you enter less than 12 values, the chart will be drawn with just the values you enter. If you omit a value, a zero is assumed.";
		else if (msg == 202) txt = "<h3 align=center>Legend Label</h3>The text you provide will be added to the Legend of the chart to identify these values.<p>If you leave all of them blank, the Legend will not be shown.";
		else if (msg == 203) txt = "<h3 align=center>Datapoint Label</h3>You may choose the position for showing the value of each datapoint on the chart.<p>Choose 'None' if you do not want the data values to be shown.";
		else if (msg == 204) txt = "<h3 align=center>Style</h3>You may choose the style that best represents your data.<p>Each style specifies a form for the image to be drawn to represent that series.";
		else if (msg == 205) txt = "<h3 align=center>Transparency</h3>You may choose to fade the images by increasing the transparency.<p>The default value is 0. You may increase that value to allow the user to see through the front series or to de-emphasize a series.";
		else if (msg == 206) txt = "<h3 align=center>Pallette</h3>You may choose from a list of color schemes that have been preset to best represent your data.";
		else if (msg == 207) txt = "<h3 align=center>Orientation</h3>You may choose to orient your chart toward any axis.<p>You can choose a vertical or horizontal orientation.";
		else if (msg == 208) txt = "<h3 align=center>View</h3>The chart is shown with a 3D perspective by rotating it on the X, Y and Z axis.<p>Set the view on each axis to skew the image to best represent your data.<p>The default values are X=10, Y=7, and Z=20.<p>You may increase each value to rotate the chart clockwise on that axis. A negative number rotates the image counter-clockwise.";
		else if (msg == 209) txt = "<h3 align=center>Width</h3>You may choose the width of your chart (in pixels). The default width is 465.";
		else if (msg == 210) txt = "<h3 align=center>Height</h3>You may choose the height of your chart (in pixels). The default height is 337.";
		else if (msg == 211) txt = "<h3 align=center>Label X-axis</h3>You may enter the text for the label of the X-axis. (max of 40 characters)<p>Leave this blank if you want no label on the chart.";
		else if (msg == 212) txt = "<h3 align=center>Label Y-axis</h3>You may enter the text for the label of the Y-axis. (max of 40 characters)<p>Leave this blank if you want no label on the chart.";
		else if (msg == 213) txt = "<h3 align=center>Composition</h3>You may choose the composition of the series.<p>'Sections' will show each series as a separate line, one in front of the other.<br>'Stacked' will show all series in a single line with each series shown on top of another.<br>'Stacked100' will show all series in a single line that has a maximum Y-Axis of 100 with each series shown as a percentage of the total.<br>'Merged' will show each series separately, but all series will be shown in a single line.";
		else if (msg == 214) txt = "<h3 align=center>Lift</h3>You may choose one of the datapoints to be lifted above the others. (for emphasis)";
		else if (msg == 215) txt = "<h3 align=center>Shift</h3>You may choose one of the datapoints to be shifted out from the others. (for emphasis)";
		else if (msg == 216) txt = "<h3 align=center>Line Style</h3>If you have set the Style to Line, you may choose from a variety of line types.";
		else if (msg == 296) txt = "<h3 align=center>Import</h3>Click on the <img src='images/2006/import.gif' width=16 height=16> icon to import data from an Excel spreadsheet.<p>";
		else if (msg == 297) txt = "<h3 align=center>Copy or Save</h3>To Copy the Chart<br>Right-click on the chart and select the Copy command.<p>To Paste the Chart<br>Click on the Paste command (in Microsoft Word or PowerPoint or Paint). If you have problems, click on the Paste Special command (on the Edit menu) and choose the Device Independent Bitmap option.<p>To Save the Chart<br>Right-click on the chart and select the Save command.<p>";
		else if (msg == 298) txt = "<h3 align=center>Clear</h3>Click on any of the <img src='images/2006/trash.gif' width=14 height=14> icons to erase that series. If you leave the series entirely blank, that series will be deleted from the chart.";
		else if (msg == 299) txt = "<h3 align=center>Help</h3>Click on any of the blue labels to read an explanation of your options.<p>Enter your data values and set each option and click on the Refresh Chart button.";
		else if (msg == 301) txt = "<h3 align=center>Multi-series Bar Chart</h3>This chart holds 1,2,3, or 4 data series.<p>Each series can be displayed as a cylinder, hexagon, paraboloid, area, line, cone, prism, or pyramid. You may choose a transparency that allows each series to be seen through another. You may stack the series into one display or spread them.<p>You may choose the palette, orientation, labels, and size of the chart.<p>Click the <b>Register</b> button to access this chart.";
		else if (msg == 302) txt = "<h3 align=center>Area Chart</h3>This chart holds 1,2,3, or 4 data series.<p>Each series can be displayed as an area with a smooth or stepped edge, or as a cylinder, line, or marker. You may choose a transparency that allows each series to be seen through another. You may stack the series into one display or spread them.<p>You may choose the palette, orientation, labels, and size of the chart.<p>Click the <b>Register</b> button to access this chart.";
		else if (msg == 303) txt = "<h3 align=center>Line Chart</h3>This chart holds 1,2,3, or 4 data series.<p>Each series can be displayed as a line with a smooth or stepped edge, or as a cylinder, area, or marker. You may choose a transparency that allows each series to be seen through another. You may stack the series into one display or spread them.<p>You may choose the palette, orientation, labels, and size of the chart.<p>Click the <b>Register</b> button to access this chart.";
		else if (msg == 304) txt = "<h3 align=center>Bubble Chart</h3>This chart holds 1,2,3, or 4 data series.<p>Each series can be displayed as a stream of Bubbles or Markers, or as a cylinder, area, or line. You may choose a transparency that allows each series to be seen through another. You may stack the series into one display or spread them.<p>You may choose the palette, orientation, labels, and size of the chart.<p>Click the <b>Register</b> button to access this chart.";
		else if (msg == 305) txt = "<h3 align=center>Pie Chart</h3>This chart holds 1,2,3, or 4 data series.<p>Each series can be displayed as a slice of Pie or Doughnut.<p>You may choose the palette, labels, and size of the chart.<p>Click the <b>Register</b> button to access this chart.";
		else if (msg == 306) txt = "<h3 align=center>Radar Chart</h3>This chart holds 1,2,3, or 4 data series.<p>Each series can be displayed as a line or area on a Radar scale.<p>You may choose the palette, labels, and size of the chart.<p>Click the <b>Register</b> button to access this chart.";
		else if (msg == 311) txt = "<h3 align=center>What is the fee for?</h3>Each time you begin a new session, we ask you for a nominal fee of $10. The fee covers some of our costs for the server and bandwidth to provide this service to you.<p>You can generate as many charts as you want during the session. The next time you come to our site, we ask you to pay the fee again.<p>When you pay the fee, you can import your data from an Excel spreadsheet (optional). Your data is stored as a cookie on your computer so it will be available to you when you return to our site.";
//		else if (msg == 312) txt = "<h3 align=center>What is a session?</h3>Each time you pay the fee to begin a new session. The session ends when you close your browser. You can generate as many charts as you want during the session.<p>If you remain inactive (no communication with our server) for ten minutes, the session will end automatically. So don't start a session, then go to lunch, and expect the server to be waiting on you while you are gone.";
		else if (msg == 312) txt = "<h3 align=center>What is a session?</h3>Each time you register begins a new session. The session ends when you close your browser. You can generate as many charts as you want during the session.<p>If you remain inactive (no communication with our server) for ten minutes, the session will end automatically. So don't start a session, then go to lunch, and expect the server to be waiting on you while you are gone.";
		else if (msg == 313) txt = "<h3 align=center>What charts are available?</h3>You may choose to display your data as a:<UL><LI>Bar Chart<LI>Area Chart<LI>Line Chart<LI>Bubble Chart<LI>Pie Chart<LI>Radar Chart<LI>combinations of these</UL>Click on the sample images below for more details.";

		ShowHelpMessage(msg, txt);
		return false;
	}
//-->

