// JavaScript Document

function writeOn() {
	if(commentShow) {
		$(document.getElementById("write-comment")).hide("slow");
	} else {
		$(document.getElementById("write-comment")).fadeIn();
	}
	commentShow = !commentShow;
}

function fieldFocus(id) {
	$(document.getElementById(id)).fadeOut('fast');
}

function fieldBlur(field, text_id) {
	if(field.value == "")
		$(document.getElementById(text_id)).fadeIn('fast');
}

var commentShow = false;



function mouseOver(id) {
	$(document.getElementById(id)).fadeIn();
}
function mouseOut(id) {
	$(document.getElementById(id)).fadeOut();
}

function inputFocus(id) {
	document.getElementById(id).style.margin = "0";
	document.getElementById(id).style.border = "#ffa300 solid thin";
}



