var a,b,c,d,e,f,g,h,c1,c2,d1,d2, img; 
a= new Array();
a[0]=new Image;
a[0].src="images/checkbox.gif";  // http://www.kidsacookin.com/kidchef
a[1]=new Image;
a[1].src="images/br181.gif"; // http://www.kidsacookin.com/kidchef   
                                             //same as below, this was cut out .. / put in
a[2]=new Image;
a[2].src="images/checkbox.gif";
a[3]=new Image;
a[3].src="images/br181.gif";
a[4]=new Image;
a[4].src="images/checkbox.gif";
a[5]=new Image;
a[5].src="images/br181.gif";
a[6]=new Image;
a[6].src="images/checkbox.gif";
a[7]=new Image;
a[7].src="images/br181.gif";


function go1(d1,d2){
eval("chef"+d1);
eval("document.chef"+d1+".src=a["+d2+"].src");
eval("chef"+d1);
}//end of go1()


function go2(c1,c2){
eval("chef"+c1);
eval("document.chef"+c1+".src=a["+c2+"].src");
eval("chef"+c1);
}//end of go2()

function checkboxroll(img)
{  //a1 is the image to change to a checkbox
document.images[img].src=a[0].src;
}


function rollback(img){
  if (document.images) {
  photo = img;
  document.images[img].src=a[1].src;
  return true;
  }
}