// JavaScript Document
function fieldContentFocus(id, value) {
	if (document.getElementById(id).value == value) {
		document.getElementById(id).value = '';
	}
}
function fieldContentBlur(id, value) {
	if (document.getElementById(id).value == '') {
		document.getElementById(id).value = value;
	}
}

function poppy(strURL, strTitle, intWidth, intHeight){
	if (strTitle==undefined){
		eval('window.open("'+strURL+'")');
	}else{
		eval('window.open("'+strURL+'", "'+strTitle+'"," width='+intWidth+', height='+intHeight+'")');
	}
}

function factToggle(id){
	if (document.getElementById("fact_wrapper_"+id).style.display=="block"){
		document.getElementById("fact_wrapper_"+id).style.display="none";
	}else{
		document.getElementById("fact_wrapper_"+id).style.display="block";
	}
}
