<!--

IE = (document.all)
NS = (navigator.appName=="Netscape" && navigator.appVersion >= "4")

function moveOut() {
if (window.cancel) {clearTimeout(cancel);}
if (window.moving2) {clearTimeout(moving2);}
if ((IE && ssm2.style.pixelLeft<0)||(NS && document.ssm2.left<0)) {
if (IE) {ssm2.style.pixelLeft += 10;}
if (NS) {document.ssm2.left += 10;}
moving1 = setTimeout('moveOut()', slideSpeed)}
else {clearTimeout(moving1)}};

function moveBack() {
cancel = setTimeout('moveBack1()', waitTime)}

function moveBack1() {
if (window.moving1) {clearTimeout(moving1)}
if ((IE && ssm2.style.pixelLeft>(-menuWidth))||(NS && document.ssm2.left>(-menuWidth))) {
if (IE) {ssm2.style.pixelLeft -= 10;}
if (NS) {document.ssm2.left -= 10;}
moving2 = setTimeout('moveBack1()', slideSpeed)}
else {clearTimeout(moving2)}};

lastY = 0;
function makeStatic(mode) {
if (IE) {winY = document.body.scrollTop;var NM=ssm2.style}
if (NS) {winY = window.pageYOffset;var NM=document.ssm2}
if (mode=="smooth") {
if ((IE||NS) && winY!=lastY) {
smooth = .2 * (winY - lastY);
if(smooth > 0) smooth = Math.ceil(smooth);
else smooth = Math.floor(smooth);
if (IE) NM.pixelTop+=smooth;
if (NS) NM.top+=smooth;
lastY = lastY+smooth;}
setTimeout('makeStatic("smooth")', 1)}
else if (mode=="advanced") {
if ((IE||NS) && winY>YOffset-staticYOffset) {
if (IE) {NM.pixelTop=winY+staticYOffset}
if (NS) {NM.top=winY+staticYOffset}}
else {
if (IE) {NM.pixelTop=YOffset}
if (NS) {NM.top=YOffset-7}}
setTimeout('makeStatic("advanced")', 1)}}

function initSlide() {
if (IE) {
ssm2.style.pixelLeft = -menuWidth;
ssm2.style.visibility = "visible"}
else if (NS) {
document.ssm2.left = -menuWidth;
document.ssm2.visibility = "show"}
else {alert('Choose either the "smooth" or "advanced" static modes!')}}

function startMenu() {
if (IE) {document.write('<DIV ID="ssm2" style="visibility:hidden; Position:Absolute; Left:0px; Top:'+YOffset+'px; Z-Index:20; width:1px" onmouseover="moveOut()" onmouseout="moveBack()">')}
if (NS) {document.write('<LAYER visibility="hide" top="'+YOffset+'" name="ssm2" bgcolor="'+menuBGColor+'" left="0" onmouseover="moveOut()" onmouseout="moveBack()">')}

document.write('<table cellpadding="0" cellspacing="1" width="'+(menuWidth+barWidth+1)+'" bgcolor="'+menuBGColor+'">')
document.write('<TR><TD><table cellpadding="0" cellspacing="0" width="100%" bgcolor="'+menuBGColor+'"><TR><td HEIGHT="'+hdrHeight+'%" bgcolor="'+hdrBGColor+'" WIDTH="'+(menuWidth-1)+'"  ALIGN="'+hdrAlign+'" VALIGN="'+hdrVAlign+'">&nbsp;<font face="'+hdrFontFamily+'" Size="2" COLOR="'+hdrFontColor+'"><u><b>'+menuHeader+'</u></b></font></td><td align="center" rowspan="100" width="'+barWidth+'"  valign="'+barVAlign+'"><div align="center"><a><img border="0" src="'+barfondimage+'" width="30" height="369"></a></div></TD></TR>')}

function addItem(text, link, target) {
if (!target) {target=linkTarget}
document.write('<TR><TD BGCOLOR="'+linkBGColor+'" onmouseover="bgColor=\''+linkOverBGColor+'\'" onmouseout="bgColor=\''+linkBGColor+'\'" ALIGN="'+linkAlign+'" WIDTH="'+(menuWidth-1)+'" ><ILAYER><LAYER onmouseover="bgColor=\''+linkOverBGColor+'\'" onmouseout="bgColor=\''+linkBGColor+'\'" WIDTH="100%" ALIGN="'+linkAlign+'"><FONT face="'+linkFontFamily+'" Size="'+linkFontSize+'">&nbsp;&nbsp;&nbsp;<A HREF="'+link+'" target="'+target+'" CLASS="ssm2Items">'+text+'</LAYER></ILAYER></TD></TR>')}

function addItem2(text) {
document.write('<TR><TD bgcolor="'+linkBGColor+'" ALIGN="'+linkAlign+'">&nbsp;<font face="'+linkFontFamily+'" Size="'+0+'" >'+text+'</font></TD></TR>')}

function addHdr(text) {
document.write('<TR><TD bgcolor="'+hdrBGColor+'" ALIGN="'+hdrAlign+'" HEIGHT="'+hdrHeight+'" VALIGN="'+hdrVAlign+'">&nbsp;<font face="'+hdrFontFamily+'" Size="'+hdrFontSize+'" COLOR="'+hdrFontColor+'"><u><b>'+text+'</b></u></font></TD></TR>')}

function addHdr2(text, link, target) {
if (!target) {target=linkTarget}
document.write('<TR><TD bgcolor="'+hdrBGColor+'" onmouseover="bgColor=\''+hdrOverBGColor+'\'" onmouseout="bgColor=\''+hdrBGColor+'\'" ALIGN="'+hdrAlign+'" HEIGHT="'+hdrHeight+'" WIDTH="'+(menuWidth-1)+'" ><ILAYER><LAYER onmouseover="bgColor=\''+hdrOverBGColor+'\'" onmouseout="bgColor=\''+hdrBGColor+'\'" WIDTH="100%" ALIGN="'+linkAlign+'"><A HREF="'+link+'" target="'+target+'" CLASS="ssm2Items">&nbsp;<FONT face="'+hdrFontFamily+'" Size="'+hdrFontSize+'" COLOR="'+hdrFontColor+'" ><b>'+text+'</b></LAYER></ILAYER></TD></TR>')}

function endMenu() {
document.write('</table>')
document.write('</TD></TR></table>')
if (IE) {document.write('</DIV>')}
if (NS) {document.write('</LAYER>')}
if ((IE||NS) && (menuIsStatic=="yes"&&staticMode)) {makeStatic(staticMode);}
}

YOffset=20;
staticYOffset=20;
staticMode="smooth";
slideSpeed=10;
waitTime=200;
menuBGColor="";
menuIsStatic="yes";
menuHeader="&nbsp;919.org";
menuWidth=225;
hdrFontFamily="arial";
hdrFontSize="2";
hdrFontColor="black";
hdrBGColor="white";
hdrOverBGColor="#9191fb";
hdrAlign="center";
hdrVAlign="center";
hdrHeight="12";
linkFontFamily="Verdana";
linkFontSize="1";
linkBGColor="#FFCE00";
linkOverBGColor="#9191fb";
linkTarget="_self";
linkAlign="left";
barBGColor="black";
barFontFamily="Verdana";
barFontSize="2";
barFontColor="black";
barfondimage="919menu.gif";
barText="MENU";
barVAlign="right";
barWidth=30;
bordercolor="#000000";

startMenu()
addItem('Home', 'index2.htm', '');
addItem('Forum', 'forum.htm', '');
addItem('News', 'news.htm', '');
addItem('Mods', 'mods.htm', '');
addItem('Links', 'links.htm', '');
addItem('Gallery', 'gallery.htm', '');
addItem('For Sale', 'forsale.htm', '');
addHdr2('Mod List (click for full listing)', 'mods.htm', '');
addItem('17 tooth sprocket', '17.htm', '');
addItem('Flapper Mod', 'flap.htm', '');
addItem('PCIII Powercommander', 'pc3.htm', '');
addItem('PCIII Maps', 'maps.htm', '');
addItem('Renthal Road Bars', 'rrb.htm', '');
addItem('Sato Exhausts', 'sato', '');
addHdr('Useful information');
addItem('Break-in procedures', 'breakin.htm', '');
addItem('Common part #s', 'pnums.htm', '');
addItem('Common torque values', 'torq.htm', '');
addItem('Exhaust info', 'exhaust.htm', '');
addItem('Gearing Spreadsheet (excel)', 'http://www.919.org/host/919gear.xls', '');
addItem('Dyno Tuning Basics', 'http://www.rc51.org/dynotuning.htm', 'new');
addHdr('Our Sister Sites');
addItem('ROGUE RC51.org', 'http://www.rc51.org', 'new');
addItem('ROGUERACING.org', 'http://www.rogueracing.org', 'new');
addHdr2('Links', 'links.htm', '');
addItem('Kyle Racing Engines', 'http://kyleusa.com', 'new');
addItem('Contact Me', 'mailto:lordduckhunter@gmail.com', '');
addItem2('');
endMenu()

window.onload=initSlide


//-->