


var firstClick = new Array(100);

function firstRemove(x) {
	for (i=1; i<firstClick.length; i++)
		if (firstClick[i]==x) return;
	firstClick[firstClick.length]=x;
	x.value='';
	x.focus();
}

function overIt(x) { document.getElementById(x).setAttribute('src', document.getElementById(x).src.substring(0,document.getElementById(x).src.length-4)+'_over.jpg'); }

function outIt(x) { document.getElementById(x).setAttribute('src', document.getElementById(x).src.substring(0,document.getElementById(x).src.length-9)+'.jpg'); }


      function GetBrowserWidth()
      {
              var x = 0;
              if (self.innerHeight)
              {
                      x = self.innerWidth;
              }
              else if (document.documentElement && document.documentElement.clientHeight)
              {
                      x = document.documentElement.clientWidth;
              }
              else if (document.body)
              {
                      x = document.body.clientWidth;
              }
              return x;
      }
       
      function GetBrowserHeight()
      {
              var y = 0;
              if (self.innerHeight)
              {
                      y = self.innerHeight;
              }
              else if (document.documentElement && document.documentElement.clientHeight)
              {
                      y = document.documentElement.clientHeight;
              }
              else if (document.body)
              {
                      y = document.body.clientHeight;
              }
              return y;
      }