
ready = 0;
    function preLoad()
	{
	  onImg = new Array()
	  offImg = new Array()

      if (document.images)
	  {
	    for(i = 0; i < 11; i++)
		{
		  onImg[i] = new Image()
		  onImg[i].src = "_chrome/menu_" + i + "a.gif"
		  offImg[i] = new Image()
		  offImg[i].src = "_chrome/menu_" + i + ".gif"
		}
	  }
    }

    {preLoad();}

	ready = 1;

/* -------------------------------------------------------------


flipper() : Image flipper
Checkes if "on" image is ready and flipps image


---------------------------------------------------------------*/


function flipper(off,on)
{
	if (document.images && ready == 1)
    {

		baseImg = "imgMenu" + off;
		if (document.images[baseImg].src == offImg[off].src)
		{
			document.images[baseImg].src = onImg[on].src;
		}
	    else
		{
		    document.images[baseImg].src = offImg[off].src;
		}
	}
}


function check_fields(){
	send_it = 1
	if (document.form1.Name.value == '' && send_it == 1){alert('Please enter your Name.'); send_it = 0}
	if (document.form1.EMail.value == '' && send_it == 1){alert('Please enter your Email Address.'); send_it = 0}
	if (send_it == 1){document.form1.submit()}
}