function init(){
	var inp = document.getElementsByName('LogInEmail');
	for(var i = 0; i < inp.length; i++) {
		if(inp[i].type == 'text') {
			inp[i].setAttribute('rel',inp[i].defaultValue)
			inp[i].onfocus = function() {
				if(this.value == this.getAttribute('rel')) {
					this.value = '';
					this.style.color="#000000";
				} else {
					return false;
				}
			}
			inp[i].onblur = function() {
				if(this.value == '') {
					this.value = this.getAttribute('rel');
					this.style.color="#BBBBBB"
				} else {
					return false;
				}
			}
			
		}
	}
}
if(document.childNodes) {
	window.onload = init
}