
{
// this is main navigation 
button1 = new Image;
button1.src = "images/nav/fn_lab.gif";

button2 = new Image;
button2.src = "images/nav/about.gif";

button3 = new Image;
button3.src = "images/nav/services.gif";

button4 = new Image;
button4.src = "images/nav/design.gif";

button5 = new Image;
button5.src = "images/nav/contact.gif";

button6 = new Image;
button6.src = "images/nav/backspace.gif";

button7 = new Image;
button7.src = "images/nav/ctrl.gif";
// end of main navigation

// this is main navigation rollover
button1on = new Image;
button1on.src = "images/nav/fn_lab_roll.gif";

button2on = new Image;
button2on.src = "images/nav/about_roll.gif";

button3on = new Image;
button3on.src = "images/nav/services_roll.gif";

button4on = new Image;
button4on.src = "images/nav/design_roll.gif";

button5on = new Image;
button5on.src = "images/nav/contact_roll.gif";

button6on = new Image;
button6on.src = "images/nav/backspace_roll.gif";

button7on = new Image;
button7on.src = "images/nav/ctrl_roll.gif";
// end of main navigation rollover


}
function imageChange(imageID,imageName,imageID2,imageName2) { 

{ document.images[imageID].src = eval(imageName + ".src"); }

}



//Below is the code that pre-loads the graphics 
{

//These are the logo images
alt0 = new Image();
alt0.src = "images/gallery/global.jpg";

//These are the button graphics

alt1 = new Image();
alt1.src = "images/gallery/web/kungfu_panda1.jpg";

graphic1= new Image();
graphic1.src = "images/gallery/nav/1off.gif";
graphic1on = new Image();
graphic1on.src = "images/gallery/nav/1on.gif";


alt2 = new Image();
alt2.src = "images/gallery/web/21.jpg";

graphic2= new Image();
graphic2.src = "images/gallery/nav/2off.gif";
graphic2on = new Image();
graphic2on.src = "images/gallery/nav/2on.gif";


alt3 = new Image();
alt3.src = "images/gallery/web/meth.jpg";

graphic3= new Image();
graphic3.src = "images/gallery/nav/3off.gif";
graphic3on = new Image();
graphic3on.src = "images/gallery/nav/3on.gif";


alt4 = new Image();
alt4.src = "images/gallery/print/food_lab.jpg";

graphic4= new Image();
graphic4.src = "images/gallery/nav/4off.gif";
graphic4on = new Image();
graphic4on.src = "images/gallery/nav/4on.gif";


alt5 = new Image();
alt5.src = "images/gallery/identity/castle_star.jpg";

graphic5= new Image();
graphic5.src = "images/gallery/nav/5off.gif";
graphic5on = new Image();
graphic5on.src = "images/gallery/nav/5on.gif";

 
alt6 = new Image();
alt6.src = "images/gallery/identity/uwish2.jpg";

graphic6= new Image();
graphic6.src = "images/gallery/nav/6off.gif";
graphic6on = new Image();
graphic6on.src = "images/gallery/nav/6on.gif";


alt7 = new Image();
alt7.src = "images/gallery/illustration/dlad.jpg";

graphic7= new Image();
graphic7.src = "images/gallery/nav/7off.gif";
graphic7on = new Image();
graphic7on.src = "images/gallery/nav/7on.gif";


alt8 = new Image();
alt8.src = "images/gallery/illustration/redint_tee.jpg";

graphic8= new Image();
graphic8.src = "images/gallery/nav/8off.gif";
graphic8on = new Image();
graphic8on.src = "images/gallery/nav/8on.gif";

alt9 = new Image();
alt9.src = "images/gallery/packaging/florida1.jpg";

graphic9= new Image();
graphic9.src = "images/gallery/nav/9off.gif";
graphic9on = new Image();
graphic9on.src = "images/gallery/nav/9on.gif";

alt10 = new Image();
alt10.src = "images/gallery/identity/brian_hersch1.jpg";

graphic10= new Image();
graphic10.src = "images/gallery/nav/10off.gif";
graphic10on = new Image();
graphic10on.src = "images/gallery/nav/10on.gif";

alt11 = new Image();
alt11.src = "images/gallery/print/novo_branding.jpg";

graphic11= new Image();
graphic11.src = "images/gallery/nav/11off.gif";
graphic11on = new Image();
graphic11on.src = "images/gallery/nav/11on.gif";

alt12 = new Image();
alt12.src = "images/gallery/identity/bh_lung.jpg";

graphic12= new Image();
graphic12.src = "images/gallery/nav/12off.gif";
graphic12on = new Image();
graphic12on.src = "images/gallery/nav/12on.gif";

alt13 = new Image();
alt13.src = "images/gallery/web/weinstock.jpg";

graphic13= new Image();
graphic13.src = "images/gallery/nav/13off.gif";
graphic13on = new Image();
graphic13on.src = "images/gallery/nav/13on.gif";

alt14 = new Image();
alt14.src = "images/gallery/web/centaur_coldfusion.jpg";

graphic14= new Image();
graphic14.src = "images/gallery/nav/14off.gif";
graphic14on = new Image();
graphic14on.src = "images/gallery/nav/14on.gif";

alt15 = new Image();
alt15.src = "images/gallery/web/cough_center.jpg";

graphic15= new Image();
graphic15.src = "images/gallery/nav/15off.gif";
graphic15on = new Image();
graphic15on.src = "images/gallery/nav/15on.gif";


alt16 = new Image();
alt16.src = "images/gallery/web/kirkland_ranch.jpg";

graphic16= new Image();
graphic16.src = "images/gallery/nav/16off.gif";
graphic16on = new Image();
graphic16on.src = "images/gallery/nav/16on.gif";


alt17 = new Image();
alt17.src = "images/gallery/web/inago2.jpg";

graphic17= new Image();
graphic17.src = "images/gallery/nav/17off.gif";
graphic17on = new Image();
graphic17on.src = "images/gallery/nav/17on.gif";


alt18 = new Image();
alt18.src = "images/gallery/identity/life_works.jpg";

graphic18= new Image();
graphic18.src = "images/gallery/nav/18off.gif";
graphic18on = new Image();
graphic18on.src = "images/gallery/nav/18on.gif";


alt19 = new Image();
alt19.src = "images/gallery/web/nike_studio2.jpg";

graphic19= new Image();
graphic19.src = "images/gallery/nav/19off.gif";
graphic19on = new Image();
graphic19on.src = "images/gallery/nav/19on.gif";


alt20 = new Image();
alt20.src = "images/gallery/web/brad_levine.jpg";

graphic20= new Image();
graphic20.src = "images/gallery/nav/20off.gif";
graphic20on = new Image();
graphic20on.src = "images/gallery/nav/20on.gif";


alt21 = new Image();
alt21.src = "images/gallery/web/ventur_pr.jpg";

graphic21= new Image();
graphic21.src = "images/gallery/nav/21off.gif";
graphic21on = new Image();
graphic21on.src = "images/gallery/nav/21on.gif";


alt22 = new Image();
alt22.src = "images/gallery/web/yogamatic.jpg";

graphic22= new Image();
graphic22.src = "images/gallery/nav/22off.gif";
graphic22on = new Image();
graphic22on.src = "images/gallery/nav/22on.gif";


//This is the function that calls for
//the change in the buttons 

}
function imageChange(imageID3,imageName3,imageID4,imageName4) { 

{
document.images[imageID3].src = eval(imageName3 + ".src");
document.images[imageID4].src = eval(imageName4 + ".src");
}

}



// contact script for email
function contact(){
  var asdfadsg = 'in' + 'fo'; asdfadsg += '@'; asdfadsg += 'the' + 'fn' + 'lab.c' + 'om';
  document.write( '<A HREF="mai' + 'lt' + 'o:' + asdfadsg + '"'); 
  document.write( '>' + asdfadsg + '</A>' );
}

