/*

	CivicSynergy, LLC
	Gary Schiff - JavaScript Library
	Copyright (C) 2009 by CivicSynergy, LLC.  All rights reserved.
	
	$Id: lib.js 2 2010-07-25 00:31:19Z tonywebster $ 

*/

function onEmailFocus()
{
    var obj = $('email');
    if (obj.value == 'E-Mail Address')
    {
        obj.value = '';
        obj.focus();
    }
}

function onEmailBlur()
{
    var obj = $('email');
    if (obj.value == "")
    {
        obj.value = 'E-Mail Address';
    }
}


function onFootEmailFocus()
{
    var obj = $('footemail');
    if (obj.value == 'E-Mail Address')
    {
        obj.value = '';
        obj.focus();
    }
}

function onFootEmailBlur()
{
    var obj = $('footemail');
    if (obj.value == "")
    {
        obj.value = 'E-Mail Address';
    }
}

function onFootNameFocus()
{
    var obj = $('footname');
    if (obj.value == 'Name')
    {
        obj.value = '';
        obj.focus();
    }
}

function onFootNameBlur()
{
    var obj = $('footname');
    if (obj.value == "")
    {
        obj.value = 'Name';
    }
}

function onFootZipFocus()
{
    var obj = $('footzip');
    if (obj.value == 'Zip Code')
    {
        obj.value = '';
        obj.focus();
    }
}

function onFootZipBlur()
{
    var obj = $('footzip');
    if (obj.value == "")
    {
        obj.value = 'Zip Code';
    }
}
