var myimages=new Array()
function preloadimages(){
for (i=0;i<preloadimages.arguments.length;i++){
myimages[i]=new Image()
myimages[i].src=preloadimages.arguments[i]
}

//Enter path of images to be preloaded inside parenthesis. Extend list as desired.
preloadimages("http://edit.store.yahoo.com/lib/netkidswear/NetkidswearText8.gif","http://edit.store.yahoo.com/lib/netkidswear/iconShoppingcart4.gif","http://edit.store.yahoo.com/lib/netkidswear/iconBabyregistry3.gif","http://edit.store.yahoo.com/lib/netkidswear/iconTrackorder3.gif","http://edit.store.yahoo.com/lib/netkidswear/iconGiftCertificates.gif","http://edit.store.yahoo.com/lib/netkidswear/iconCustomercare3.gif","http://edit.store.yahoo.com/lib/netkidswear/iconHome3.gif","http://edit.store.yahoo.com/lib/netkidswear/shopbybrand.gif","http://edit.store.yahoo.com/lib/netkidswear/shopbycategory.gif","http://edit.store.yahoo.com/lib/netkidswear/navHome2.gif","http://edit.store.yahoo.com/lib/netkidswear/navBedding.gif","http://edit.store.yahoo.com/lib/netkidswear/navFurniture.gif","http://edit.store.yahoo.com/lib/netkidswear/navGear.gif","http://edit.store.yahoo.com/lib/netkidswear/navNursing.gif","http://edit.store.yahoo.com/lib/netkidswear/navGifts.gif","http://edit.store.yahoo.com/lib/netkidswear/navClothing.gif","http://edit.store.yahoo.com/lib/netkidswear/navToys.gif","http://edit.store.yahoo.com/lib/netkidswear/navSpecials.gif","http://edit.store.yahoo.com/lib/netkidswear/yellowbar.gif","http://edit.store.yahoo.com/lib/netkidswear/blueAccentTop2.gif","http://edit.store.yahoo.com/lib/netkidswear/pinkAccentTop.gif","http://edit.store.yahoo.com/lib/netkidswear/navLeftBedding3.gif","http://edit.store.yahoo.comhttp://static.zoovy.com/img/babyhighway/-/pinkAccentBar.gif","http://edit.store.yahoo.com/lib/netkidswear/navLeftFurniture.gif","http://edit.store.yahoo.com/lib/netkidswear/navLeftGear.gif","http://edit.store.yahoo.com/lib/netkidswear/navLeftSpecials.gif","http://edit.store.yahoo.com/lib/netkidswear/plikomaticHP.gif","http://edit.store.yahoo.com/lib/netkidswear/cottontaleHP.gif","http://edit.store.yahoo.com/lib/netkidswear/navLeftNursing.gif","http://edit.store.yahoo.com/lib/netkidswear/navLeftToys2.gif","http://edit.store.yahoo.com/lib/netkidswear/shopConfidenceLong.gif","http://edit.store.yahoo.com/lib/netkidswear/trustE.gif","http://edit.store.yahoo.com/lib/netkidswear/cpscNew.gif","http://edit.store.yahoo.com/lib/netkidswear/safesurf.gif","http://edit.store.yahoo.com/lib/netkidswear/blueAccentBottom.gif","http://edit.store.yahoo.com/lib/netkidswear/pinkAccentBottom.gif","http://edit.store.yahoo.com/lib/netkidswear/pinkbar.gif")
}

function CaricaFoto(img, name, imgname, wid, hi){
  foto1= new Image();
  foto1.src=(img);
  foto2= new Image();
  foto2.src=(imgname);
  viewFotos(img, name, imgname, wid, hi);
}

function viewFotos(img, name, imgname, wid, hi){

 features = 
    "toolbar=no,location=no,directories=no,status=no,menubar=no," +
    "scrollbars=no,resizable=no,width=" + wid + ",height=" + hi;
 dlg = window.open ("","Details",features);
 dlg.document.write("<html><head><ti");
 dlg.document.write("tle>" + 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("<img src=" + imgname + ">");
 dlg.document.write("</td></tr><tr><td align=center valign=middle>");
 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>");
}