/*
$(document).observe('dom:loaded', function() {

	var qty;
	
	qty = $$('div.photo_thumbs a');
	if(qty.length > 0)
	{
		$$('div.photo_thumbs a').each( function(el) 
		{
			new FancyZoom(el); 
		});
	}
	
});
*/

// SWFObject embed
var flashvars = { xmfile:"xml/homepage.xml" }
var params = { quality: "best", bgcolor: "#000000", wmode: "transparent" }                
var attributes = {}
swfobject.embedSWF("swf/homepage_events.swf", "homepage_events", "547", "321", "9.0.0", false, flashvars, params, attributes);

// Check to see if form field is the default value then clear it
// USAGE:
// onfocus="clearFormField(this)"
function clearFormField(fieldText)
{
	if(fieldText.value == fieldText.defaultValue)
	{
		fieldText.value = "";
	}
}

// Check to see if form field was filled out, if not set default
// USAGE:
// onblur="checkFormField(this)"
function checkFormField(fieldText)
{
	if(fieldText.value == "")
	{
		fieldText.value = fieldText.defaultValue;
	}
}
