img1 = new Image();	
img1.src = "http://www.bestknives.com/lib/bestknives/categories2on.gif";
 img2 = new Image();	
img2.src = "http://www.bestknives.com/lib/bestknives/categories2.gif";

img3 = new Image();	
img3.src = "http://www.bestknives.com/lib/bestknives/kcategories2on.gif";
 img4 = new Image();	
img4.src = "http://www.bestknives.com/lib/bestknives/kcategories2.gif";

img5 = new Image();	
img5.src = "http://www.bestknives.com/lib/bestknives/categories2on-mil.gif";
 img6 = new Image();	
img6.src = "http://www.bestknives.com/lib/bestknives/categories2-mil.gif";

img7 = new Image();	
img7.src = "http://www.bestknives.com/lib/bestknives/fcategories2on.gif";
 img8 = new Image();	
img8.src = "http://www.bestknives.com/lib/bestknives/fcategories2.gif";

img9 = new Image();	
img9.src = "http://www.bestknives.com/lib/bestknives/hcategories2on.gif";
 img10 = new Image();	
img10.src = "http://www.bestknives.com/lib/bestknives/hcategories2.gif";

img11 = new Image();	
img11.src = "http://www.bestknives.com/lib/bestknives/mcategories2on.gif";
 img12 = new Image();	
img12.src = "http://www.bestknives.com/lib/bestknives/mcategories2.gif";

var i=1
function changeBGhome(el)
{ele=document.getElementById(el)
ele.background=img1.src
}
function changeBGhomeon(el)
{ele=document.getElementById(el)
ele.background=img2.src
}

function changeBGkit(el)
{ele=document.getElementById(el)
ele.background=img3.src
}
function changeBGkiton(el)
{ele=document.getElementById(el)
ele.background=img4.src
}

function changeBGmil(el)
{ele=document.getElementById(el)
ele.background=img5.src
}
function changeBGmilon(el)
{ele=document.getElementById(el)
ele.background=img6.src
}

function changeBGfan(el)
{ele=document.getElementById(el)
ele.background=img7.src
}
function changeBGfanon(el)
{ele=document.getElementById(el)
ele.background=img8.src
}

function changeBGhand(el)
{ele=document.getElementById(el)
ele.background=img9.src
}
function changeBGhandon(el)
{ele=document.getElementById(el)
ele.background=img10.src
}

function changeBGmulti(el)
{ele=document.getElementById(el)
ele.background=img11.src
}
function changeBGmultion(el)
{ele=document.getElementById(el)
ele.background=img12.src
}







function CaricaFoto(img, name, wid, hi){
  foto1= new Image();
  foto1.src=(img);
  viewFotos(img, name, wid, hi);
}

function viewFotos(img, name, wid, hi){

 features = 
    "toolbar=no,location=no,directories=no,status=no,menubar=no," +
    "scrollbars=yes,resizable=yes,width=" + wid + ",height=" + hi;
 dlg = window.open ("","Details",features);
 dlg.document.write("<html><head><title>" + name + " Zoom</title></head>");
 dlg.document.write("<body bgcolor=white><center>");
 dlg.document.write("<table width=100% height=100%>");
 dlg.document.write("<tr><td align=center valign=middle>");
 dlg.document.write("<b><font size=4 face=Arial>" + name + "</font></b><br><br>");
 dlg.document.write("<img src=" + img + ">");
 dlg.document.write("</td></tr>");
 dlg.document.write("<tr><td align=center valign=middle>");
 dlg.document.write("<a href=# onClick=window.close();>");
 dlg.document.write("<font size=1 face=Arial>Click to close</font></a>");
 dlg.document.write("</td></tr>");
 dlg.document.write("</table></body></html>");
}


















function tosmall(textString1,textString2)
{
document.write("<option value=\"")
document.write(textString1.toLowerCase())
document.write("\">")
document.write(textString2)
document.write("</option>")
}


