//<SCRIPT type="text/javascript">
/*
Snow Fall 1 - no images - Java Script
*/
// Set the number of snowflakes (more than 30 - 40 not recommended)
var snowmax=30
// Set the colors for the snow. Add as many colors as you like
var snowcolor=new Array("#AAAACC","#DDDDFF","#CCCCDD","#F3F3F3","#F0FFFF")
// Set the fonts, that create the snowflakes. Add as many fonts as you like
var snowtype=new Array("Arial Black","Arial Narrow","Times","Comic Sans MS")
// Set the letter that creates your snowflake (recommended: * )
var snowletter="*"
// Set the speed of sinking (recommended values range from 0.3 to 2)
var sinkspeed=0.6
// Set the maximum-size of your snowflakes
var snowmaxsize=22
// Set the minimal-size of your snowflakes
var snowminsize=8
// Set the snowing-zone
// Set 1 for all-over-snowing, set 2 for left-side-snowing 
// Set 3 for center-snowing, set 4 for right-side-snowing
var snowingzone=1

  /*
   //   * NO CONFIGURATION BELOW HERE *
*/

// Do not edit below this line
var snow=new Array()
var marginbottom
var marginright
var timer
var i_snow=0
var x_mv=new Array();
var crds=new Array();
var lftrght=new Array();
var browserinfos=navigator.userAgent 
var ie5=document.all&&document.getElementById&&!browserinfos.match(/Opera/)
var ns6=document.getElementById&&!document.all
var opera=browserinfos.match(/Opera/)  
var firefox=browserinfos.match(/Firefox/)  
var browserok=ie5||ns6||opera

function randommaker(range) {		
	rand=Math.floor(range*Math.random())
    return rand
}

function startSnow() {
	if (ie5 || opera || firefox) {
		marginbottom = 140;  //document.body.clientHeight
		marginright = 950;   //document.body.clientWidth
	}
	else if (ns6) {
		marginbottom = window.innerHeight
		marginright = window.innerWidth
	}
	var snowsizerange=snowmaxsize-snowminsize
	for (i=0;i<=snowmax;i++) {
		crds[i] = 0;                      
    	lftrght[i] = Math.random()*15;         
    	x_mv[i] = 0.03 + Math.random()/10;
		snow[i]=document.getElementById("s"+i)
		snow[i].style.fontFamily=snowtype[randommaker(snowtype.length)]
		snow[i].size=randommaker(snowsizerange)+snowminsize
		snow[i].style.fontSize=snow[i].size
		snow[i].style.color=snowcolor[randommaker(snowcolor.length)]
		snow[i].sink=sinkspeed*snow[i].size/5
		if (snowingzone==1) {snow[i].posx=randommaker(marginright-snow[i].size)}
		if (snowingzone==2) {snow[i].posx=randommaker(marginright/2-snow[i].size)}
		if (snowingzone==3) {snow[i].posx=randommaker(marginright/2-snow[i].size)+marginright/4}
		if (snowingzone==4) {snow[i].posx=randommaker(marginright/2-snow[i].size)+marginright/2}
		snow[i].posy=randommaker(2*marginbottom-marginbottom-2*snow[i].size)
		snow[i].style.left=snow[i].posx
		snow[i].style.top=snow[i].posy
	}
	movesnow()
}

function movesnow() {
	for (i=0;i<=snowmax;i++) {
		crds[i] += x_mv[i];
		snow[i].posy+=snow[i].sink
		snow[i].style.left = String(snow[i].posx+lftrght[i]*Math.sin(crds[i])) + "px";
		snow[i].style.top = String(snow[i].posy) + "px"
		
		if (snow[i].posy>=marginbottom-2*snow[i].size || parseInt(snow[i].style.left)>(marginright-3*lftrght[i])){
			if (snowingzone==1) {snow[i].posx=randommaker(marginright-snow[i].size)}
			if (snowingzone==2) {snow[i].posx=randommaker(marginright/2-snow[i].size)}
			if (snowingzone==3) {snow[i].posx=randommaker(marginright/2-snow[i].size)+marginright/4}
			if (snowingzone==4) {snow[i].posx=randommaker(marginright/2-snow[i].size)+marginright/2}
			snow[i].posy=0
		}
	}
	var timer=setTimeout("movesnow()",50)
}

for (i=0;i<=snowmax;i++) {
	document.write("<span id='s"+i+"' style='z-index:50; position:absolute;top:-"+snowmaxsize+"'>"+snowletter+"</span>")
}
//if (browserok) {
//	window.onload=initsnow
//}
// end of snow code



// the following code is used on the home page to show the rotating text messages
var c = 0;
var t;
var numTexts = 8;
var timer_is_on=0;
var sRotatingText = new Array();
var sRotatingHref = new Array();
sRotatingText[0] = "Allen's Ultra Custom 2009 Polaris Dragon is For Sale!";
sRotatingHref[0] = "polaris_dragon_for_sale.html";
sRotatingText[1] = "\"The Barkbuster A-arms make a world of difference...\"  -  Rob Hoff";
sRotatingHref[1] = "BarkbustersAArms.htm";
sRotatingText[2] = "Sno West Magazine's 2009 Project Sled - Timbersled Built Yamaha Nytro";
sRotatingHref[2] = "docs/Nytro-Glycerine Sled Build.pdf";
sRotatingText[3] = "\"Mtn. Tamers are a must have product...\"  -  Dan Adams";
sRotatingHref[3] = "MtnTamer.htm";
sRotatingText[4] = "Sledheads Tree Rider Article - Timbersled’s tricked out Polaris Dragon RMK";
sRotatingHref[4] = "docs/TreeRider.pdf";
sRotatingText[5] = "Read what top Pro Riders say about Timbersled Products";
sRotatingHref[5] = "Testimonies.htm";
sRotatingText[6] = "Multi Product Package Discounts Available!";
sRotatingHref[6] = "MultiProduct.htm";
sRotatingText[7] = "Mod-Stock Project Nytro Glycerine - Its the BOMB!";
sRotatingHref[7] = "docs/Nytro09lo.pdf";

function timedCount()
{
//	colorFade('rotatingtext','background','ffffff','000000',40,50)
  startFontZoom();
	document.getElementById('rotatinghref').innerHTML=sRotatingText[c];
	document.getElementById('rotatinghref').href=sRotatingHref[c];
	if (sRotatingHref[c].substr(sRotatingHref[c].length-1,1) === 'f')   // catch pdf files and open in separate window
		document.getElementById('rotatinghref').target='_blank';
	else
		document.getElementById('rotatinghref').target='_self';
	c++;
	if (c == numTexts)
		c = 0;
	t=setTimeout("timedCount()",5000);
}

function startTimer()
{
  timer_is_on=1;
	timedCount();
}
function stopTimer()
{
  timer_is_on=0;
	clearTimeout(t);
}
// end of rotating text code

//font zoom code
var cFZ=0;
var tFZ;
function timedFontZoom()
{
cFZ = cFZ + 2;
if (cFZ <= 18)
	{
  document.getElementById('rotatingtext').style.fontSize = String(cFZ) + 'px';
	tFZ=setTimeout("timedFontZoom()",35);
	}
else 
	clearTimeout(tFZ);
}
function startFontZoom()
{
	cFZ = 0;
	timedFontZoom();
}
// end of font zoom code


// code for the hidden text box that display on mouseover of the text on the home page picture
function showhiddentext(sTop,sLeft,sHeight,sText)
{
document.getElementById('hiddentext').style.visibility='visible';
document.getElementById('hiddentext').style.top=sTop;
document.getElementById('hiddentext').style.left=sLeft;
document.getElementById('hiddentext').style.height=sHeight;
document.getElementById('hiddentext').innerHTML=sText;
}
function hidehiddentext()
{
document.getElementById('hiddentext').style.visibility='hidden';
}

/*
//sample product
<script type="text/javascript">document.write(ProductTitle("tag", "page","Title",""));</script> 
<div class="BulletedListFormat">
  <ul>
	<li>info</li>
	<li>info</li>
  </ul>
</div>
<script type="text/javascript">document.write(ProductCode("prod","xx.00","TSP-xxxx","list","item,item","U","C","I",""));</script>
<script type="text/javascript">document.write(PictureCode("pic,pic"));</script> 
*/

function ProductTitle(sTag, sTitle, sColor)    //, sBullets)
{
  var sTmp;
	var sList = new Array();
	var i;

  // first add the page tage for navigation and the horizontal bar	
  sTmp = "<a name='" + sTag + "'></a><table width='800' bgcolor='#000000' height='1' cellspacing='0' cellpadding='0'><tr>";
  if (sTag.length === 0)
    {
    sTmp += "<td height='19'><hr color='#FFFF00' style='width: 98%; height: -15px'>";
    sTmp += "</td></tr></table>";
	}
  else
    {
    sTmp += "<td height='19' style='width: 740px'><hr color='#FFFF00' style='width: 98%; height: -15px'>";
    sTmp += "</td><td style='width: 65; height: 19;'>";
    sTmp += "<a class='backtotop' href='" + document.URL + "'>Back to Top</a></td></tr></table>";
    }
  if (sColor.length === 0) {sColor = "navy";}
	// add the product title line
  sTmp += "<div class='prodtitle' style='color:" + sColor + ";'>";
  sTitle = sTitle.replace("(", "<span class='prodtitlesmall'>(");
  sTitle = sTitle.replace(")", ")</span>");
  sTmp += sTitle + "</div>";
/*
	//add the bullet point
	sTmp += "<div class='BulletedListFormat'><ul>"
  sList = sBullets.split("|");
	for (i in sList)
	  {
	  sTmp += "<li>" + sList[i] + </li>";
	  }
	sTmp += "</ul>"
*/	
  return sTmp;
}

function ProductCode(sDesc, sPrice, sItem, sListName, sListItems, sUSA, sCan, sInt, nSale)
{
	if (typeof nSale == 'undefined' ) nSale = 0.8;
	
	var sTmp;
	var sList = new Array();
	var i;

	if (nSale == 0)
		sTmp = WritePaypalCode(sDesc, sPrice, sItem);
	
	else if (nSale < 1){
		//percent off
		var salesPrice = parseInt(sPrice);
		salesPrice = Math.round(nSale * salesPrice);
		sTmp = WritePaypalCode(sDesc, salesPrice.toString(), sItem);
		}
	else if(nSale > 1){
		//sales prices passed in
		salesPrice = nSale;
		sTmp = WritePaypalCode(sDesc, salesPrice.toString(), sItem);
		}
	else
		sTmp = WritePaypalCode(sDesc, sPrice, sItem);
	
	sTmp += "<div class='prodline'>";
	sTmp += AddNBSpaces(sDesc) + "&nbsp;&nbsp;&nbsp;&nbsp;";

	if (nSale > 0){
		sTmp += "<span style='text-decoration:line-through;font-weight:bold;font-family:verdana'>$" + AddNBSpaces(sPrice) + "</span>&nbsp;<span style='color:red;font-weight:bold;font-size:120%'>$" + salesPrice.toString() + ".00</span>&nbsp;&nbsp;&nbsp;" + sItem;
		}
	else
		sTmp += "$" + AddNBSpaces(sPrice) + "&nbsp;&nbsp;&nbsp;&nbsp;" + sItem;
	
	if (sListName.length > 0)
	  {
	  sTmp += "&nbsp;&nbsp;<input type='hidden' name='on0' value='" + sListName + "'>";
  	  sTmp += "<select name='os0' size='1'>";
	  sList = sListItems.split(",");
	  for (i in sList)
		{
	    sTmp += "<option>" + sList[i] + "</option>";
		}
      sTmp += "</select>";
	  }
	sTmp = sTmp + WriteAddtocartCode(sUSA, sCan, sInt);
	sTmp += "</div></form>";
  return sTmp;
}

function PictureCode(sPicList)
{
	var sTmp;
	var sList = new Array();
	var i;

	sTmp = "<div class='picturebox'><table cellpadding='8' align='center' style='position:relative; left:0;'><tr>";
  sList = sPicList.split(",");
	for (i in sList)
	  {
	  sTmp += "<td align='center'><a target='_blank' href='images/Large/" + sList[i] + ".JPG'><img style='max-height:180px;' class='linkimage' src='images/" + sList[i] + "%20(Small).JPG' alt='Click to view large picture'></a></td>";
	  }
	  
    sTmp += "</tr></table></div>";
  return sTmp;
}

var iIndex=0;   //used to increment the div tag id of the shipping menu
var iZI=100;    //used to decrement the Z-Index of the shipping menu popup
function WriteAddtocartCode(sUSA, sCan, sInt)
{
//<script type="text/javascript">document.write(WriteAddtocartCode("15","15","35"));</script> 
   var sTmp;
	 iIndex++;
	 iZI--;
   sTmp = "<ul id='sddm_ship' style='z-index:" + String(iZI) + "'><li>";
   sTmp += "<p onmouseover=\"mopen('ms" + String(iIndex) + "')\" onmouseout='mclosetime()' onclick='chooseshipping()'>Add to Cart</p>";
   sTmp += "<div id='ms" + String(iIndex) + "' onmouseover='mcancelclosetime()' onmouseout='mclosetime()'>";
   sTmp += "<input type='submit' value='Ship to USA - $" + sUSA + ".00' onClick='CalculateShipping2(this.form," + sUSA + ",0)' name='submit1'>";
   sTmp += "<input type='submit' value='Ship to Canada - $" + sCan + ".00' onClick='CalculateShipping2(this.form," + sCan + ",0)' name='submit2'>";
   sTmp += "<input type='submit' value='Ship to International - $" + sInt + ".00' onClick='CalculateShipping2(this.form," + sInt + ",0)' name='submit3'>";
   sTmp += "</div></li></ul><div style='clear:both'></div>"
   return sTmp;
}

function WritePaypalCode(sDesc, sPrice, sItem)
{
//<script type="text/javascript">document.write(WritePaypalCode("desc","xx.00","TSP-xxxx"));</script> 

	var sTmp;
	sTmp = "<form action='https://www.paypal.com/cgi-bin/webscr' target='paypal' method='post' style='margin-top: 0; margin-bottom: 0; width: 800px;'>";
	sTmp += "<input type='hidden' name='return' value='http://www.timbersled.com/index.htm'>";
	sTmp += "<input type='hidden' name='cancel_return' value='http://www.timbersled.com/index.htm'>";
	sTmp += "<input type='hidden' name='undefined_quantity' value='0'>";
	sTmp += "<input type='hidden' name='no_shipping' value='0'>";
	sTmp += "<input type='hidden' name='no_note' value='1'>";
	sTmp += "<input type='hidden' name='currency_code' value='USD'>";
	sTmp += "<input type='hidden' name='shipping'>";
	sTmp += "<input type='hidden' name='amount' value='" + sPrice + "'>";
	sTmp += "<input type='hidden' name='item_name' value='" + sDesc + "'>";
	sTmp += "<input type='hidden' name='item_number' value='" + sItem + "'>";
	sTmp += "<input type='hidden' name='business' value='timbersled@sandpoint.net'>";
	sTmp += "<input type='hidden' name='add' value='1'>";
	sTmp += "<input type='hidden' name='cmd' value='_cart'>";
	sTmp += "<input type='hidden' name='bn' value='AMPPFPWZ.255'>";
		
  return sTmp;
		
}

function FooterBar()
{
  var sTmp;
  sTmp = "<table width='800' bgcolor='#000000' height='1' cellspacing='0' cellpadding='0'><tr>";
  sTmp += "<td class='pagefooter' style='width: 740px'>Copyright 2009 Timbersled Products, Inc. All Rights Reserved";
  sTmp += "</td><td style='width: 65;'>";
  sTmp += "<a class='backtotop' href='" + document.URL + "'>Back to Top</a></td></tr></table>";
  return sTmp;
}

function AddNBSpaces(sString)
{
  var i;
  var c=0;
  var sTmp;
  
  sTmp = sString;
  i=sTmp.length;

  while (sString.substr(i-1, 1) === " ")
    {
    i = i-1;
    c = c+1;
    }
  sTmp = sString.substr(0,i);

  for (i=1;i<=c;i++)
    {
    sTmp += "&nbsp;";
    }
  return sTmp;
}

function writeHeaderAndMenuBar()
{
	preload_images();

	var ie7 = 0;
	var b_version=navigator.appVersion;
  if (b_version.search("MSIE 7.0") > 0)
		ie7 = 1;
  var sTmp;
  sTmp = "<div class='tsheaderbox'>";
  sTmp += "	<div class='tslogo'>";
  sTmp += "		<a href='index.htm'><img alt='Home Page' height='122' width='226' src='Images/TimberLogo2.JPG' border='0'></a>";
  sTmp += "	</div>";
  sTmp += "	<div class='tsheader'>";
  sTmp += "		Specializing in Custom Lightweight<br/>Snowmobile Products<br/>That Improve Mountain Performance<br/>";
  sTmp += "		<span style='color:white; font-size: 13.5pt'><em>To Order by Phone call (208) 255-5644</em></span>";
  sTmp += "	</div>";
  sTmp += "	<div class='tsrightnav'>";
  sTmp += "		<a href='index.htm'>Home</a><br/>";
  sTmp += "		<a href='mailto:timbersled@timbersled.com'>Email Us</a><br/>";
  sTmp += "		<a href='https://www.paypal.com/cart/display=1&business=timbersled@sandpoint.net&page_style=name' target='paypal'>View Cart</a>";
  sTmp += "	</div>";
  sTmp += "</div>";
  sTmp += "<div class='tsmenubarbox'>";
  sTmp += "<div class='tsmenubar'>";
  sTmp += "<ul id='sddm_menu'>";
  sTmp += "	<img src='images/menubarline.gif' height='1px' />";
  sTmp += "    <li><a href='#' ";
  sTmp += "        onmouseover=\"mopen('mm1')\" ";
  sTmp += "        onmouseout='mclosetime()'>Barkbuster<br/>Front-end Kits</a>";
  sTmp += "        <div id='mm1' ";
  sTmp += "            onmouseover='mcancelclosetime()' ";
  sTmp += "            onmouseout='mclosetime()'>";
  sTmp += "        <a href='BarkbustersAArms.htm'  style='margin-top:4;'>A-Arm Kits</a>";
  sTmp += "		<img src='images/menubarline2.gif' height='1' width='230px' />";
  sTmp += "        <a href='BarkbustersTArms.htm'>Trailing Arm Kits</a>";
  sTmp += "		<img src='images/menubarline2.gif' height='1' width='230px' />";
  sTmp += "        <a href='BarkbustersWhatsNew.htm'>What's New for 2010</a>";
  sTmp += "		<img src='images/menubarline2.gif' height='1' width='230px' />";
  sTmp += "        <a href='BarkbustersInfo.htm'  style='margin-bottom:4;'>About Barkbusters</a>";
  sTmp += "        </div>";
  sTmp += "    </li>";
  sTmp += "	<img src='images/menubarline.gif' height='1px' width='100%' />";
  sTmp += "    <li><a href='#' ";
  sTmp += "        onmouseover=\"mopen('mm2')\" ";
  sTmp += "        onmouseout='mclosetime()'>Mtn. Tamer<br/>Back Suspension</a>";
  sTmp += "        <div id='mm2' ";
  sTmp += "            onmouseover='mcancelclosetime()' ";
  sTmp += "            onmouseout='mclosetime()'>";
  sTmp += "        <a href='MtnTamer.htm'  style='margin-top:4;'>Kits</a>";
  sTmp += "		<img src='images/menubarline2.gif' height='1' width='230px' />";
  sTmp += "        <a href='MtnTamerWhatsNew.htm'>What's New for 2010</a>";
  sTmp += "		<img src='images/menubarline2.gif' height='1' width='230px' />";
  sTmp += "        <a href='MtnTamerInfo.htm'>About Mtn. Tamers</a>";
  sTmp += "		<img src='images/menubarline2.gif' height='1' width='230px' />";
  sTmp += "        <a href='MtnTamerTechVideo.htm'  style='margin-bottom:4;'>Tech Video</a>";
  sTmp += "        </div>";
  sTmp += "    </li>";
  sTmp += "	<img src='images/menubarline.gif' height='1' width='100%' />";
  sTmp += "    <li><a href='DropBrackets.htm'>Drop Brackets</a></li>";
  sTmp += "	<img src='images/menubarline.gif' height='1' width='100%' />";
  sTmp += "    <li><a href='AirIntakeSystems.htm'>Clean Air<br/>Intake Kits</a></li>";
  sTmp += "	<img src='images/menubarline.gif' height='1' width='100%' />";
  sTmp += "    <li><a href='VentingKits.htm'>Venting Kits</a></li>";
  sTmp += "	<img src='images/menubarline.gif' height='1' width='100%' />";
  sTmp += "    <li><a href='AllTerrainWheels.htm'>All/Terrain<br/>Wheels</a></li>";
  sTmp += "	<img src='images/menubarline.gif' height='1' width='100%' />";
  sTmp += "    <li><a href='CustomProducts.htm'>Custom Products</a></li>";
  sTmp += "	<img src='images/menubarline.gif' height='1' width='100%' />";
  sTmp += "    <li><a href='ChainsawScabbards.htm'>Chainsaw<br/>Scabbards</a></li>";
  sTmp += "	<img src='images/menubarline.gif' height='1' width='100%' />";
  sTmp += "    <li><a href='#' ";
  sTmp += "        onmouseover=\"mopen('mm8')\" ";
  sTmp += "        onmouseout='mclosetime()'>Shop By Brand</a>";
  sTmp += "        <div id='mm8' ";
  sTmp += "            onmouseover='mcancelclosetime()' ";
  sTmp += "            onmouseout='mclosetime()' style='margin-top:-65px;'>";
  sTmp += "        <a href='ArcticCat.htm' style='background-image:url(\"images/LogoArcticCat.gif\"); width:145px; height:34px;'></a>";
//  sTmp += "		<img src='images/menubarline2.gif' height='1' width='230px' />";
  sTmp += "        <a href='Polaris.htm' style='background-image:url(\"images/LogoPolaris.gif\"); width:145px; height:34px'></a>";
//  sTmp += "		<img src='images/menubarline2.gif' height='1' width='230px' />";
  sTmp += "        <a href='SkiDoo.htm' style='background-image:url(\"images/LogoSkiDoo.gif\"); width:145px; height:34px'></a>";
//  sTmp += "		<img src='images/menubarline2.gif' height='1' width='230px' />";
  sTmp += "        <a href='Yamaha.htm' style='background-image:url(\"images/LogoYamaha.gif\"); width:145px; height:34px'></a>";
  sTmp += "        </div>";
  sTmp += "    </li>";
  sTmp += "	<img src='images/menubarline.gif' height='1' width='100%' />";
  sTmp += "    <li><a href='#' ";
  sTmp += "        onmouseover=\"mopen('mm9')\" ";
  sTmp += "        onmouseout='mclosetime()'>Information</a>";
  sTmp += "        <div id='mm9' ";
  sTmp += "            onmouseover='mcancelclosetime()' ";
  sTmp += "            onmouseout='mclosetime()' style='margin-top:-85px;'>";
  sTmp += "        <a href='OrderInfo.htm' style='margin-top:4;'>Ordering Information</a>";
  sTmp += "		<img src='images/menubarline2.gif' height='1' width='230px' />";
  sTmp += "        <a href='MultiProduct.htm'>Multi Product Discounts</a>";
  sTmp += "		<img src='images/menubarline2.gif' height='1' width='230px' />";
  sTmp += "        <a href='mailto:timbersled@timbersled.com'>Contact Us</a>";
  sTmp += "		<img src='images/menubarline2.gif' height='1' width='230px' />";
  sTmp += "        <a href='mailto:timbersled@timbersled.com?subject=Dealer Inquiry'>Dealer Inquiries</a>";
  sTmp += "		<img src='images/menubarline2.gif' height='1' width='230px' />";
  sTmp += "        <a href='About.htm' style='margin-bottom:4;'>About Us</a>";
  sTmp += "        </div>";
  sTmp += "    </li>";
  sTmp += "	<img src='images/menubarline.gif' height='1' width='100%' />";
  sTmp += "    <li><a href='#' ";
  sTmp += "        onmouseover=\"mopen('mm10')\" ";
  sTmp += "        onmouseout='mclosetime()'>Fun Stuff</a>";
  sTmp += "        <div id='mm10' ";
  sTmp += "            onmouseover='mcancelclosetime()' ";
  sTmp += "            onmouseout='mclosetime()' style='margin-top:-65px;'>";
  sTmp += "        <a href='Testimonies.htm' style='margin-top:4;'>Pro Rider Testimonies</a>";
  sTmp += "		<img src='images/menubarline2.gif' height='1' width='230px' />";
  sTmp += "        <a href='polaris_dragon_for_sale.html'>Polaris Dragon For Sale</a>";
  sTmp += "		<img src='images/menubarline2.gif' height='1' width='230px' />";
  sTmp += "        <a href='Articles.htm' style='margin-bottom:4;'>Magazine Articles</a>";
/*
  sTmp += "		<img src='images/menubarline2.gif' height='1' width='230px' />";
  sTmp += "        <a href='docs/Nytro09lo.pdf' target='_blank'>Mod-Stock Nytro Glycerine</a>";
  sTmp += "		<img src='images/menubarline2.gif' height='1' width='230px' />";
  sTmp += "        <a href='docs/Nytro-Glycerine Sled Build.pdf' target='_blank'>Sno West Project Sled</a>";
  sTmp += "		<img src='images/menubarline2.gif' height='1' width='230px' />";
  sTmp += "        <a href='docs/TreeRider.pdf' target='_blank' style='margin-bottom:4;'>Sledheads Tree Rider Article</a>";
*/
  sTmp += "        </div>";
  sTmp += "    </li>";
  sTmp += "</ul>";
  sTmp += "<div style='clear:both'></div>";
  sTmp += "</div>";
  sTmp += "</div>";
  sTmp += "<script type='text/javascript'>";
  sTmp += "    document.write(unescape(\"%3Cscript src='http://www.google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E\"));";
  sTmp += "</script>";
  sTmp += "<script type='text/javascript'>";
  sTmp += "    try{";
  sTmp += "    var pageTracker = _gat._getTracker('UA-12322146-1');";
  sTmp += "    pageTracker._trackPageview();";
  sTmp += "} catch(err) {}</script>";

	startSnow();

  return sTmp;
}

function preload_images()
{
	if (document.images) 
	{
		 img1 = new Image();
		 img2 = new Image();
		 img3 = new Image();
		 img4 = new Image();
		 img5 = new Image();
		 img6 = new Image();
		 img7 = new Image();
		 img8 = new Image();
		 img9 = new Image();
		 img10 = new Image();
		 img11 = new Image();
		 img12 = new Image();
		 img13 = new Image();
		 img14 = new Image();
		 img1.src = "Images/TimberLogo2.JPG";
		 img2.src = "Images/BackgroundTop.gif";
		 img3.src = "Images/BackgroundLeft.gif";
		 img4.src = "images/brushed_alu.jpg";
		 img5.src = "images/brushed_alu_hover.jpg";
		 img6.src = "images/BtnRound220x25.gif";
		 img7.src = "images/BtnRound220x25Hover.gif";
		 img8.src = "images/BtnAddToCartBlank.gif";
		 img9.src = "images/menubarline.gif";
		 img10.src = "images/menubarline2.gif";
		 img11.src = "images/LogoArcticCat.gif";
		 img12.src = "images/LogoPolaris.gif";
		 img13.src = "images/LogoSkiDoo.gif";
		 img14.src = "images/LogoYamaha.gif";
	}
}