var chip1;
var chip2;
var chip3;
//add or delete more variables, depending on how many images you're using

function pagestart()
{checkbrOK(); 
 chip1=new Chip("chip1",77,82);


 //add or delete more of the above, depending on how many images you're using
 if(brOK) 
   { movechip("chip1");

     //add or delete more of the above, depending on how many images you're using
   }
}
