/* -----------------------------------------------------------------------------
Title: Replace Form Text
Version: 1.0
Author: Paulo Elias
Author URI: http://www.prkreative.com/

    Form specific javascript functionality

Created: 2006.11.02
Modified: 2006.11.07
----------------------------------------------------------------------------- */
/*  CLEAR DEFAULT VAULES IN TEXT INPUTS
----------------------------------------------------------------------------- */
function clearText(thefield)
{
    if (thefield.defaultValue==thefield.value)
    thefield.value = ""
}

/* ----------------------------------------------------------------------------- 
EMAIL TO A FRIEND
----------------------------------------------------------------------------- */

function mailpage()
	{
	mail_str = "mailto:?subject=Interesting information about SAY San Diego.";
	mail_str += "&body=I found some information that I thought was worth sharing.";
	mail_str += " Check it out here:  " + location.href + "."; 
	location.href = mail_str;

	}
