//function for clearing form fields sample text when a user clicks on them (onClick) n.b form fields default value must also be referenced as the title
function clearField( obj ){
	if(obj.value == obj.title){
		obj.value="";
	}
}

//function for re-filling form fields if a user has not filled them in (onBlur)
function fillField( obj ){
	if(obj.value.length <1){
		obj.value=obj.title;
	}
}

//function for manufacturing links on non <A> html elements (i.e divs)
function nonALink( obj ){
	var dest = obj.getElementsByTagName("a");
	dest = dest[0].href;
	location.href=dest;
}
