var menuItemStart = "<td class=\"menuRow\">";
var menuItemEnd = "</td>";
var menudivider = menuItemEnd + menuItemStart;
var menuRowStart = "<table style=\"border-width:0px 0px 0px 0px;padding:0px 0px 0px 0px;\"><tr>" + "<td class=\"menuRow\" style=\"border-left:none;\">"; //menuItemStart;
var menuRowEnd = "</td></tr></table>";
var menuSpacer = "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" + menudivider;
var menuSmallSpacer = "&nbsp;" + menudivider;
var bigDivider = "<tr bgcolor=#DEBD63><td height=\"5px\"></td></tr>";
function getHref (shref, text){
	if (shref.toUpperCase().indexOf("TARGET") < 0){
		shref += "\" TARGET=\"_top";
	}
	return "<a HREF=\"" + shref + "\" style=\"text-decoration: none\"><font class=\"titleLinks\">\n"
	+ text + "</font></a>";
}
document.write("<a name=\"top2\">\n");
document.write("<style>\n");
document.write(".titleLinks{\n");
document.write("	font-size:9pt;\n");
document.write("	font-family:Arial;\n");
document.write("	font-weight:bold;\n");
document.write("	color:#000066;\n");
document.write("}\n");

document.write(".menuRow{\n");
document.write("	border-top:none;\n");
document.write("	border-left:solid #DEBD63;\n");
document.write("	border-right:none;\n");
document.write("	border-bottom:none;\n");
document.write("	padding:0px 5px 0px 5px;\n");
document.write("	border-width:0px 0px 0px 2px;\n");
document.write("	text-align:center;\n");
document.write("}\n");
document.write(".white{\n");
document.write("	color:#FFFFFF;letter-spacing: 5px;\n");
document.write("}\n");
document.write(".yel{\n");
document.write("	color:#F7F880;\n");
document.write("	font-size:11pt;\n");
document.write("}\n");
document.write(".italics{\n");
document.write("	font-style:italic;\n");
document.write("}\n");
document.write("</style>\n");
document.write("    <Table WIDTH=\"100%\" cellspacing=0>\n");
if(document.location.href.indexOf(document.domain + "/forum/") < 0 && document.location.href.indexOf(document.domain + "/phpclassifieds/") < 0){
document.write("	<TR>\n");
document.write("		<td width=\"80%\" height=\"75\" bgcolor=\"#2F337B\" background=\"/xcolors1.gif\" align=\"center\">\n");
document.write("		<b><font style=\"font-size:25pt;font-family:Times New Roman\" color=\"white\" FACE=\"Times New Roman\">The &nbsp; International <SPAN style=\"font-size:.05pt;visibility:hidden\">Honda</SPAN> CBX <SPAN style=\"font-size:.05pt;visibility:hidden\">Motorcycle</SPAN> Owners &nbsp; Association</font></b>\n");
document.write("		<br><font class=\"titleLinks\" style=\"font-size:9pt;font-weight:bold;color:white;\">\n");
document.write("	<NOBR>");
document.write("	25 Years of Restoration Tips/Advice, &nbsp; 40 Page World Class Member Magazines, &nbsp; 175 CBX How-To Articles (ICOA's Tech Tip Chronicles),");
document.write("	<WBR>");
document.write("	 The Most Comprehensive On Line CBX Technical Help Library, &nbsp;p&nbsp;l&nbsp;u&nbsp;s... &nbsp; Classifieds, &nbsp; Forums, &nbsp; 15+ Rallies/Year ...and Much More");
//document.write("	Technical Help Library...  175 CBX How-To Articles (ICOA's Tech Tip Chronicles), <WBR>&nbsp;p&nbsp;l&nbsp;u&nbsp;s... &nbsp; Technical Support, &nbsp; Classifieds, &nbsp; Forums, &nbsp; 15+ Rallies/Year ...and Much More");
document.write("	</NOBR>\n");
document.write("	</font><font size=\"4\">\n");
document.write("<br></td>\n");
document.write("	</tr>\n");
}

document.write(bigDivider);

document.write("	<td width=\"80%\" height=\"1\" bgcolor=\"#69B7FF\" nowrap style=\"padding:5px 0px 0px 0px;border:0px 0px 0px 0px;\">\n");
document.write("	<p align=\"center\">\n");
document.write("	<a TARGET=\"_top\" HREF=\"/forum/index.php?c=8#top2\" style=\"text-decoration: none\"><font class=\"titleLinks yel\">\n");
document.write("	<span style=\"letter-spacing: 3px;\">WORLD'S LARGEST CBX TECHNICAL LIBRARY:</span>&nbsp;&nbsp;&nbsp;&nbsp;<span class=\"italics\">Click Here to See All Categories</span></font></a>\n");

document.write("</td></tr><tr align=\"center\">");
document.write("	<td width=\"80%\" height=\"2\" bgcolor=\"#69B7FF\" style=\"padding:0px 0px 5px 0px;border:0px 0px 0px 0px;\">\n");
document.write(menuRowStart);

document.write(getHref("/forum/viewforum.php?f=50#top2","Brakes"));
document.write(menudivider);

document.write(getHref("/forum/viewforum.php?f=20#top2","Carbs"));
document.write(menudivider);

document.write(getHref("/forum/viewforum.php?f=21#top2","Electrical"));
document.write(menudivider);

document.write(getHref("/forum/viewforum.php?f=22#top2","Exhausts"));
document.write(menudivider);

document.write(getHref("/forum/viewforum.php?f=25#top2","Engines"));
document.write(menudivider);

document.write(getHref("/forum/viewforum.php?f=24#top2","Handling"));
document.write(menudivider);

document.write(getHref("/forum/viewforum.php?f=26#top2","Oils"));
document.write(menudivider);

document.write(getHref("/forum/viewforum.php?f=27#top2","Restorations"));
document.write(menudivider);

document.write(getHref("/forum/viewforum.php?f=28#top2","Tires/Rims"));
document.write(menudivider);
document.write(getHref("/forum/viewforum.php?f=5#top2","Services/Sources"));
document.write(menudivider);

document.write(getHref("/forum/viewforum.php?f=29#top2","X ....All Other"));

document.write(menuRowEnd);
//document.write("</td></tr><tr bgcolor=#000066><td></td></tr><tr align=\"center\">\n");

document.write(bigDivider);
document.write("	<td width=\"80%\" style=\"height:34px;\" bgcolor=\"#69B7FF\">\n");
document.write("	<p align=\"center\">\n");
document.write("	<a TARGET=\"_top\" HREF=\"/forum/viewforum.php?f=6#top2\" style=\"text-decoration: none\"><font class=\"yel titleLinks\">\n");
document.write("<img src=\"/mainmenu_dot.gif\" border=0>");
document.write("	<span style=\"letter-spacing: 5px;\">CBX MESSAGE BOARD:</span>&nbsp;&nbsp;&nbsp;&nbsp;Fun Daily CBX Discussion, By CBXers, For CBXers</font></a>\n");

document.write(bigDivider);
document.write("<tr bgcolor=white><td height=\"5px\"></td></tr><tr>\n");
document.write(bigDivider);

document.write("	<td width=\"80%\" height=\"2\" bgcolor=\"#69B7FF\" style=\"text-align:center\">\n");
document.write(menuRowStart);

document.write(getHref("/forum/album_cat.php?cat_id=1#top2","CBX Photos"));
document.write(menudivider);

document.write(getHref("/forum/album_upload.php?cat_id=1#top2","Upload Photos"));
document.write(menudivider);

document.write(getHref("/forum/viewtopic.php?t=1881","Upload Help"));
document.write(menudivider);
document.write(menuSmallSpacer);

document.write(getHref("/forum/viewforum.php?f=66","CBX Videos"));
document.write(menudivider);

//document.write(getHref("/forum/viewforum.php?f=67","CBX Art"));
//document.write(menudivider);
//document.write(menuSmallSpacer);

//document.write("<img src=\"/mainmenu_dot.gif\" border=0>");
//document.write(getHref("/goodies.html\" target=\"_top","Goodies"));
//document.write(menudivider);

document.write("<img src=\"/mainmenu_left.gif\" border=0 name=\"mainmenu_left\">" + getHref("/forum/viewforum.php?f=48","Neat CBX Polls"));
document.write(menudivider);

//document.write(getHref("/phpclassifieds/latestads.php#top2","Classifieds"));
document.write(getHref("/forum/viewforum.php?f=60","<img name=\"mainmenu_new\" src=\"/mainmenu_new.gif\" border=0><br>Classifieds"));
document.write(menudivider);

//document.write(getHref("http://www.cbxgoodies.com/ProductInfo.aspx?productid=266043&affid=3\" target=\"new window","175 CBX How To Articles"));
//document.write(menudivider);
//document.write(menuSmallSpacer);

//document.write(getHref("/forum/viewforum.php?f=51#top2","CBX Rider Items"));
//document.write(menudivider);
//document.write(menuSpacer);

document.write(getHref("/forum/viewforum.php?f=53#top2","Rally Schedule"));
document.write(menudivider);

document.write(getHref("/forum/viewforum.php?f=8#top2","Rally/Ride Chat"));

document.write(menuRowEnd);





//document.write("	<a target=\"_top\" HREF=\"http://www.cbxclub.com/forum/index.php?c=12\" style=\"text-decoration: none\"><font class=\"titleLinks\">\n");
//document.write("	Latest Chat</font></a>\n");

//document.write("	<A HREF=\"http://www.cbxclub.com/ralcal.html#01xrally\" onMouseOver=\"window.status='Get the scoop on all the latest club events'; return true\" style=\"text-decoration: none\"><font class=\"titleLinks\">Rallies</font></a>\n");
//document.write("	<A HREF=\"http://www.cbxclub.com/cbxpress.html#cbxp\" onMouseOver=\"window.status='The Publication of the ICOA'; return true\" style=\"text-decoration: none\" ><font class=\"titleLinks\">40 Page Member Magazines</font></font></a><font class=\"titleLinks\">\n");
//document.write(menudivider);

//document.write("</td></tr><tr bgcolor=#000066><td></td></tr><tr align=\"center\">");
document.write(bigDivider);

document.write("	<td width=\"80%\" height=\"2\" bgcolor=\"#69B7FF\" style=\"text-align:center\">\n");
document.write(menuRowStart);

document.write(getHref("https://commerce.mindspring.com/www.cbxclub.com/memberform.html\" TARGET=\"new window","Join/Renew"));
document.write(menudivider);

document.write(getHref("/forum/viewtopic.php?t=2059","View Magazines"));
document.write(menudivider);

document.write(menuSpacer);

document.write(getHref("/forum/viewforum.php?f=7#top2","ICOA News"));
document.write(menudivider);

document.write(getHref("/forum/viewforum.php?f=47#top2","Club Kudos"));
document.write(menudivider);

//Link to old content
document.write("<a TARGET=\"_top\" HREF=\"/wwwboard/wwwboard.shtml\" onMouseOver=\"window.status='Benchrace with your fellow CBXers online'; return true\" style=\"text-decoration: none\"></a>");

//document.write(getHref("/directors.pdf\" TARGET=\"new window","Directors"));
document.write(getHref("/forum/viewtopic.php?t=2422","Directors"));
document.write(menudivider);

//20070524 document.write(getHref("/icoafaq.pdf","Member Services"));
document.write(getHref("/forum/viewtopic.php?t=5646","Member Services"));
document.write(menudivider);

document.write(menuSpacer);
//document.write("	<A HREF=\"http://www.cbxclub.com/icoamemexp.html\" onMouseOver=\"window.status='Check your membership expiration date'; return true\" style=\"text-decoration: none\"><font class=\"titleLinks\">Expiration Dates</font>\n");
//document.write("	<font color=\"#DEBD63\" size=\"2\" FACE=\"Times New Roman\"><b>&nbsp;&nbsp;|&nbsp;&nbsp;</b></font></a>\n");

document.write(getHref("/forum/index.php#top2","See All Forums"));
document.write(menudivider);

document.write(getHref("/forum/index.php?c=1#top2","Forum Tips"));
document.write(menudivider);

//document.write(getHref("/index.html\" TARGET=\"_top","<font class=\"titleLinks white\">Home</font>"));
var homeURL = "/index.html\" TARGET=\"_top";
try{
	//If someone clicks home and they're not already on the mainx.html page, take them there.
	if((window.top.location.href == "http://www.cbxclub.com/"
		|| window.top.location.href == "http://www.cbxclub.com/index.html")
		&& window.location.href.indexOf("/mainx.html") == -1){
		homeURL = "/mainx.html\" TARGET=\"_self";
	}
} catch (ignored){}
document.write(getHref(homeURL,"<font class=\"titleLinks white\">Home</font>"));
document.write(menuRowEnd);
document.write(bigDivider);

document.write("</Table>\n");

//alertMsg = "If you joined the ICOA WWW Forums within the last\n"
//	+ " two months you will have to re-register.\n\n"
//	+ "Yes, all photos and posts during this time were also lost.\n\n"
//	+ "I am sorry for all this and it was totally my fault that it happened.\n\n\n"
//	+ "Mike Barone -- ICOA Director";
//
//if(document.cookie.indexOf("crashMsg") == -1){
//	alert(alertMsg);
//	document.cookie = "crashMsg=Y";
//}


//MyID = window.setTimeout ("document.images['mainmenu_left'].src='/mainmenu_left.gif'", 60000);
//MyID2 = window.setTimeout ("document.images['newgoodiesleft'].width=0;document.images['newgoodiesleft'].height=0;document.images['newgoodiesright'].width=0;document.images['newgoodiesright'].height=0;", 5000);
MyID = window.setTimeout ("document.images['mainmenu_new'].src='/mainmenu_new_anim.gif'", 60000);