function clearField(fieldname, fieldstring)
{
	var field = document.getElementById(fieldname);
	
	if(field.value == fieldstring){
		field.value = "";		
	}
}

function fillField(fieldname, fieldstring)
{
	var field = document.getElementById(fieldname);
	
	if(field.value == "" || field.value == null){
		field.value = fieldstring;		
	}
}

$(document).ready(function(){
  $(".whitelinkspecial").hover(

	function () {

	  $(this).animate({

	  color: "darkgrey"

	}, 400 );



	},

	function () {

	  $(this).animate({

	  color: "white"

	}, 400 );      }

  );

});

$(document).ready(function(){
  $(".categorySquare").hover(

	function () {

	  $(this).animate({

	  backgroundColor: "black", color: "white"

	}, 300 );



	},

	function () {

	  $(this).animate({

	  backgroundColor: "white", color: "black"

	}, 300 );      }

  );

});


function click(e)
{
  if (document.all)
  {
    if (event.button==2||event.button==3)
    {

      return false;
    }
  }
  else
  {
    if (e.button==2||e.button==3)
    {
      e.preventDefault();
      e.stopPropagation();

      return false;
    }
  }

}

if (document.all) // for IE
{
  document.onmousedown=click;
}
else // for FF
{
  document.onclick=click;
}




