var nextID
var priorID

function DisplayProduct(pID) 
{
var Dta


if (pID == 1)
{  
  Dta =  "<table ALIGN='left' border=1 bordercolor='#813B3B' bgcolor=813B3B cellspacing='0' cellpadding='0'\n";   
  Dta = Dta + "<TR><TD> <a href='http://www.bestvanilla.com/catalog/index.php?cPath=21'> <img src='../Global/Image/Spanish/foods.jpg' border='0'></a>";
}

if (pID == 2)
{  
  Dta =  "<table ALIGN='left' border=1 bordercolor='#813B3B' bgcolor=813B3B cellspacing='0' cellpadding='0'\n";   
  Dta = Dta + "<TR><TD> <a href='http://www.bestvanilla.com/catalog/index.php?cPath=23'><img src='../Global/Image/Spanish/personnel.jpg' border='0'></a>";
}

if (pID == 3)
{  
  Dta =  "<table ALIGN='left' border=1 bordercolor='#7D9879' bgcolor=7D9879 cellspacing='0' cellpadding='0'\n";   
  Dta = Dta + "<TR><TD> <a href='http://www.bestvanilla.com/catalog/index.php?cPath=23'><img src='../Global/Image/Spanish/bath.jpg' border='0'></a>";
}

if (pID == 4)
{  
  Dta =  "<table ALIGN='left' border=1 bordercolor='#813B3B' bgcolor=813B3B cellspacing='0' cellpadding='0'\n";   
  Dta = Dta + "<TR><TD> <a href='http://www.bestvanilla.com/catalog/index.php?cPath=25'><img src='../Global/Image/Spanish/health.jpg' border='0'></a>";
}

if (pID == 5)
{  
  Dta =  "<table ALIGN='left' border=1 bordercolor='#813B3B' bgcolor=813B3B cellspacing='0' cellpadding='0'\n";   
  Dta = Dta + "<TR><TD>  <a href='http://www.bestvanilla.com/catalog/index.php?cPath=26'><img src='../Global/Image/Spanish/cleaning.jpg' border='0'></a>";
}


//N A I V I G A T I O N - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 	  Dta = Dta +"<table width=230 border=0 bordercolor='#813B3B' bgcolor=813B3B cellspacing='0' cellpadding='0'\n"; 
	  Dta = Dta + " <tr> <td  align=right valign=center bgcolor=#e9e9e9> <small>\n";
	
    //Backward Arrow
    if (pID > 1)
	 {
	  priorID = pID - 1
	  Dta = Dta + "&nbsp;&nbsp; <a onclick=\"DisplayProduct(priorID, 02); return false;\" href='/'>";
	  Dta = Dta + "<img src='../Global/Image/Arrows/aback4.gif' border=0></a>";
	  Dta = Dta + "&nbsp;\n";
     }
	 
	 
	//Forward Arrow
    if (pID < 5)
	 {
	  nextID = pID + 1
	  Dta = Dta + "&nbsp;&nbsp; <a onclick=\"DisplayProduct(nextID, 03); return false;\" href='/'>";
	  Dta = Dta + "<img src='../Global/Image/Arrows/afwd4.gif' border=0></a>";
	  Dta = Dta + "&nbsp;\n";
	 } 
  Dta = Dta + "</TD></TR></Table>";
  Dta = Dta + "</td></tr></table> \n";
 
 p1 = "A9"
 if (document.layers) 
 {
 document.layers[p1].document.write(Dta)
 document.layers[p1].document.close()
 } 
 else if (document.all) 
 {
 eval("document.all."+p1+".innerHTML=Dta")
 } 
 else {document.getElementById(p1).innerHTML = Dta;}
 
 return false;
}


function RemoveDesc(pID) 
{
 var Dta;
 Dta = " "
 eval(A1).innerHTML = Dta;
 return false;
}

