// JavaScript Document

var theImages = new Array() 
theImages[0] = '/images/ask-maxima.png'
theImages[1] = '/images/ask-maxima-2.png'
var j = 0
var p = theImages.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImages[i]
}
var whichImage = Math.round(Math.random()*(p-1));
function showImage(){
document.write('<a href="/faq/"><img src="'+theImages[whichImage]+'" border="0" class="png"></a>');
}






var theFeaturedImages = new Array() 
// theFeaturedImages[0] = '<a href="/shopping/"><img src="/images/featuredproduct-extra.png" border="0" class="png"></a>'
// theFeaturedImages[1] = '<a href="/shopping/"><img src="/images/featuredproduct-scootertubes.png" border="0" class="png"></a>'
// theFeaturedImages[2] = '<a href="/shopping/"><img src="/images/featuredproduct-chainwaxcombo.png" border="0" class="png"></a>'
// theFeaturedImages[3] = '<a href="/shopping/"><img src="/images/featuredproduct-synchaincombo.png" border="0" class="png"></a>'
// theFeaturedImages[4] = '<a href="/shopping/"><img src="/images/featuredproduct-airfiltercombo.png" border="0" class="png"></a>'
theFeaturedImages[0] = '<a href="/shopping/index.php?main_page=index&cPath=21_23"><img src="/images/featuredproduct-rtu.png" border="0" class="png"></a>'
theFeaturedImages[1] = '<a href="/shopping/index.php?main_page=index&cPath=21_29"><img src="/images/featuredproduct-oem.png" border="0" class="png"></a>'
theFeaturedImages[2] = '<a href="/shopping/index.php?main_page=index&cPath=21_30"><img src="/images/featuredproduct-stainless.png" border="0" class="png"></a>'
theFeaturedImages[3] = '<a href="/shopping/index.php?main_page=index&cPath=21_31"><img src="/images/featuredproduct-billet.png" border="0" class="png"></a>'
theFeaturedImages[4] = '<a href="/shopping/index.php?main_page=index&cPath=21_52"><img src="/images/featuredproduct-premium.png" border="0" class="png"></a>'
var j = 0
var p = theFeaturedImages.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theFeaturedImages[i]
}
var whichFeaturedImage = Math.round(Math.random()*(p-1));
function showFeaturedImage(){
document.write(theFeaturedImages[whichFeaturedImage]);
}
