
function signup_setup()
{
	// add some form validation to our newsletter signup form
	var signupForm = new qForm("subscribe");
	signupForm.membemail.validateEmail();
	signupForm.onValidate = _signup_validate;
	qFormAPI.errorColor = "#ff0000";
	attachRollover('subscribe_submit', 'templates/BLIN/layout_images/subscribe_button_over.gif');
}

function _signup_validate()
{ 
	if(signupForm.membemail.getValue() == "") signupForm.membemail.throwError("Please enter your email address");
	if(signupForm.membemail.getValue() == "youremail@domain.com") signupForm.membemail.throwError("Please enter your email address");
}

addLoadEvent(signup_setup);	

function home_feature_setup()
{
	var home_feature = new SWFObject("templates/BLIN/flash/home_feature_r2.swf", "home_feature_flash", "725", "348", "8", "#000000");  
	//home_feature.addParam('wmode', 'opaque');
	home_feature.useExpressInstall('templates/BLIN/swfobject/swfobject1-5/expressinstall.swf');
	home_feature.write("feature_one");
}

//addLoadEvent(home_feature_setup);	

				
function clearEmail(obj) 
{
	if (obj.value == 'youremail@domain.com') 
	{
		obj.value = '';
	}
	else if (obj.value == '') 
	{
		obj.value = 'youremail@domain.com';
	}
}	