//Below is the code that pre-loads the graphics
{
//These are the large images
alt0 = new Image();
alt0.src = "Other/Topleft.png";

alt1 = new Image();
alt1.src = "Other/TopleftKussenkast.png";
alt1A = new Image();
alt1A.src = "Other/TopleftKussenkast.png";
alt1B = new Image();
alt1B.src = "Other/TopleftKlepsecretaire.png";
alt1C = new Image();
alt1C.src = "Other/TopleftKabinet.png";

alt2 = new Image();
alt2.src = "Other/TopleftAfwerken.png";
alt2A = new Image();
alt2A.src = "Other/TopleftAfwerken.png";
alt2B = new Image();
alt2B.src = "Other/TopleftNieuw.png";

alt3 = new Image();
alt3.src = "Other/TopleftLokatie.png";

alt4 = new Image();
alt4.src = "Other/TopleftDraaiwerk.png";
alt4A = new Image();
alt4A.src = "Other/TopleftDraaiwerk.png";
alt4B = new Image();
alt4B.src = "Other/TopleftInlegwerk.png";
alt4C = new Image();
alt4C.src = "Other/TopleftAfwerken.png";

alt5 = new Image();
alt5.src = "Other/TopleftInlegwerk.png";

alt8 = new Image();
alt8.src = "Other/BottomLeft.png";

graphic0= new Image();
graphic0.src = "Other/Button_home.png";
graphic0on = new Image();
graphic0on.src = "Other/Button_home_selected.png";

graphic1= new Image();
graphic1.src = "Other/Button_antiek_restauratie.png";
graphic1on = new Image();
graphic1on.src = "Other/Button_antiek_restauratie_selected.png";
graphic1A = new Image();
graphic1A.src = "Other/Button_antiek_restauratie_kussenkast.png";
graphic1Aon = new Image();
graphic1Aon.src = "Other/Button_antiek_restauratie_kussenkast_selected.png";
graphic1B = new Image();
graphic1B.src = "Other/Button_antiek_restauratie_klepsecretaire.png";
graphic1Bon = new Image();
graphic1Bon.src = "Other/Button_antiek_restauratie_klepsecretaire_selected.png";
graphic1C = new Image();
graphic1C.src = "Other/Button_antiek_restauratie_kabinet.png";
graphic1Con = new Image();
graphic1Con.src = "Other/Button_antiek_restauratie_kabinet_selected.png";

graphic2= new Image();
graphic2.src = "Other/Button_meubelen_op_maat.png";
graphic2on = new Image();
graphic2on.src = "Other/Button_meubelen_op_maat_selected.png";
graphic2A= new Image();
graphic2A.src = "Other/Button_meubelen_op_maat_bibliotheekkast.png";
graphic2Aon = new Image();
graphic2Aon.src = "Other/Button_meubelen_op_maat_bibliotheekkast_selected.png";
graphic2B= new Image();
graphic2B.src = "Other/Button_meubelen_op_maat_nieuwe_meubelen.png";
graphic2Bon = new Image();
graphic2Bon.src = "Other/Button_meubelen_op_maat_nieuwe_meubelen_selected.png";

graphic3= new Image();
graphic3.src = "Other/Button_werk_op_lokatie.png";
graphic3on = new Image();
graphic3on.src = "Other/Button_werk_op_lokatie_selected.png";

graphic4= new Image();
graphic4.src = "Other/Button_technieken.png";
graphic4on = new Image();
graphic4on.src = "Other/Button_technieken_selected.png";
graphic4A= new Image();
graphic4A.src = "Other/Button_technieken_draaiwerk.png";
graphic4Aon = new Image();
graphic4Aon.src = "Other/Button_technieken_draaiwerk_selected.png";
graphic4B= new Image();
graphic4B.src = "Other/Button_technieken_inlegwerk.png";
graphic4Bon = new Image();
graphic4Bon.src = "Other/Button_technieken_inlegwerk_selected.png";
graphic4C= new Image();
graphic4C.src = "Other/Button_technieken_afwerken.png";
graphic4Con = new Image();
graphic4Con.src = "Other/Button_technieken_afwerken_selected.png";

graphic5= new Image();
graphic5.src = "Other/Button_contact.png";
graphic5on = new Image();
graphic5on.src = "Other/Button_contact_selected.png";

graphic8= new Image();
graphic8.src = "Other/BottomLeft.png";
graphic8on = new Image();
graphic8on.src = "Other/BottomLeftS.png";
//This is the function that calls for
//the change in the buttons
}
function imageChange(imageID,imageName,imageID2,imageName2) {
{
document.images[imageID].src = eval(imageName + ".src");
document.images[imageID2].src = eval(imageName2 + ".src");
}
}

