//number = get_random();
number = 18;

types = new Array(25);
names = new Array(25);
images = new Array(25);
thumbs = new Array(25);

types[1] = "trimmer";
names[1] = "BH3500AU 4-Cycle Trimmer";
images[1] = "prodgifs/popupjpegs/bh3500.jpg";
thumbs[1] = "prodgifs/thumbs/bh3500.jpg";

types[2] = "trimmer";
names[2] = "BH2500 4-Cycle Trimmer";
images[2] = "prodgifs/popupjpegs/067rbbh2500.jpg";
thumbs[2] = "prodgifs/thumbs/067.jpg";

types[3] = "trimmer";
names[3] = "NB020A Super-Light Semi-Commercial Trimmer";
images[3] = "prodgifs/popupjpegs/064rbnb020a.jpg";
thumbs[3] = "prodgifs/thumbs/064b.jpg";

types[4] = "trimmer";
names[4] = "NBF252-1 Light Duty Trimmer";
images[4] = "prodgifs/popupjpegs/065rbnbf2521.jpg";
thumbs[4] = "prodgifs/thumbs/065.jpg";

types[5] = "trimmer";
names[5] = "NBF252-1 Light Duty Trimmer";
images[5] = "prodgifs/popupjpegs/066rbnb223.jpg";
thumbs[5] = "prodgifs/thumbs/066.jpg";

types[6] = "trimmer";
names[6] = "NB500 Pro Power Plus Trimmer";
images[6] = "prodgifs/popupjpegs/nb500.jpg";
thumbs[6] = "prodgifs/thumbs/mb500.jpg";

types[7] = "trimmer";
names[7] = "NB253 Pro Power Trimmer";
images[7] = "prodgifs/popupjpegs/068rbnb253.jpg";
thumbs[7] = "prodgifs/thumbs/066.jpg";

types[8] = "trimmer";
names[8] = "NB281 Pro Power Trimmer";
images[8] = "prodgifs/popupjpegs/069rbnb281.jpg";
thumbs[8] = "prodgifs/thumbs/069.jpg";

types[9] = "trimmer";
names[9] = "NB281AU Pro Power Trimmer";
images[9] = "prodgifs/popupjpegs/070rbnb281au.jpg";
thumbs[9] = "prodgifs/thumbs/070.jpg";

types[10] = "trimmer";
names[10] = "NB321 Pro Power Trimmer";
images[10] = "prodgifs/popupjpegs/069rbnb281.jpg";
thumbs[10] = "prodgifs/thumbs/069.jpg";

types[11] = "trimmer";
names[11] = "NB321AU Pro Power Trimmer";
images[11] = "prodgifs/popupjpegs/070rbnb281au.jpg";
thumbs[11] = "prodgifs/thumbs/070.jpg";

types[12] = "trimmer";
names[12] = "NB351 Pro Power Trimmer";
images[12] = "prodgifs/popupjpegs/073rbnb351.jpg";
thumbs[12] = "prodgifs/thumbs/073.jpg";

types[13] = "trimmer";
names[13] = "NB411 Pro Power Plus Trimmer";
images[13] = "prodgifs/popupjpegs/073rbnb351.jpg";
thumbs[13] = "prodgifs/thumbs/073.jpg";


types[14] = "hedge trimmer";
names[14] = "HT221 Pro Power Plus Hedge Trimmer";
images[14] = "prodgifs/popupjpegs/080rbht221.jpg";
thumbs[14] = "prodgifs/thumbs/080.jpg";

types[15] = "hedge trimmer";
names[15] = "HT750 Pro Power Plus Hedge Trimmer";
images[15] = "prodgifs/popupjpegs/081rbht750.jpg";
thumbs[15] = "prodgifs/thumbs/081.jpg";

types[16] = "hedge trimmer";
names[16] = "HT750-40 Pro Power Plus Hedge Trimmer";
images[16] = "prodgifs/popupjpegs/081rbht750.jpg";
thumbs[16] = "prodgifs/thumbs/081.jpg";

types[17] = "hedge trimmer";
names[17] = "BP253";
images[17] = "prodgifs/popupjpegs/187bp253robin.jpg";
thumbs[17] = "prodgifs/thumbs/187.jpg";


types[18] = "blower";
names[18] = "FL500Pro Power Blower";
images[18] = "prodgifs/popupjpegs/078rbfl500pro.jpg";
thumbs[18] = "prodgifs/thumbs/078.jpg";

types[19] = "blower";
names[19] = "FL260Pro Power Blower";
images[19] = "prodgifs/popupjpegs/077rbfl251.jpg";
thumbs[19] = "prodgifs/thumbs/077.jpg";

types[20] = "edger";
names[20] = "BE221 Edger";
images[20] = "prodgifs/popupjpegs/076rbbe221.jpg";
thumbs[20] = "prodgifs/thumbs/076.jpg";

types[21] = "water pump";
names[21] = "SDE041 Water Pump";
images[21] = "prodgifs/popupjpegs/079rbsde041.jpg";
thumbs[21] = "prodgifs/thumbs/079.jpg";








/////////////////////////////////////////////
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

///////////////////////////////////////////////
function get_random() {
  seconds = (new Date()).getSeconds();

  if (seconds > 21) {
	seconds = seconds-20;
  }

  if (seconds > 21) {
	seconds = seconds-20;
  }

  if (seconds > 21) {
	seconds = 1;
  }


//  return seconds;
 return 18;
}
////////////////////////////////////////
function get_image (number) {
	return images[number]
}
////////////////////////////////////////
function get_thumb (number) {
	document.fthumb.src=thumbs[number]
}

/////////////////////////////////////////
function get_name (number) {
	return names[number]
}
/////////////////////////////////////////
function get_type (number) {
	return types[number]
}

function get_link (number) {
 type = get_type(number)
 if (type == 'water pump') {

    return '<a href="pro-other.htm">'

 } else if (type == 'hedge trimmer') {

    return '<a href="pro-hedge.htm">'

 } else if (type == 'trimmer') {

    return '<a href="pro-trimmers.htm">'

 } else if (type == 'blower') {

    return '<a href="pro-blowers.htm">';

 } else if (type == 'edger') {

    return '<a href="pro-edgers.htm">';
 }

}