function clickclear(thisfield, defaulttext) {
	if (thisfield.value == defaulttext) {
		thisfield.value = "";
	}
}

function clickrecall(thisfield, defaulttext) {
	if (thisfield.value == "") {
		thisfield.value = defaulttext;
	}
}

var topimage = {
  animate: function() {
	new Fx.Elements($$('.topimg'), {
		duration: 400
	}).start({
	    '0': {
	        'opacity': [1,0.5]
	    }
	}).chain(function() {
		this.start({
	    '0': {
	        'opacity': [0.5,1]
	    }
		})
	});
  }
}
var logotext = {
  animate: function() {
	new Fx.Elements($$('.logotext'), {
		duration: 1200
	}).start({
	    '0': {
	        'opacity': [0,1]
	    }
	});
  }
}
window.onDomReady(topimage.animate);
window.onDomReady(logotext.animate);
