
function showwork(which) {
	$("#row_web3").slideDown("normal",hidebutton(which));	
	return false;	
}

function hidebutton(which) {
	$("#seemore").hide("normal");		
	return false;	
}


var openTab = 1;

function showbio(which) {
	if (which == openTab) {
		$("#bio"+openTab).slideToggle("normal");		
	} else {
		$("#bio"+openTab).slideUp("normal");
		$("#bio"+which).slideDown("normal");	
	}
	openTab = which;
	return false;	
}


function showbio_css(which) {
	for (var x = 1; x <= 4; x++) {
		if (x == which) {
			if (document.getElementById('bio'+x).style.display == 'block') {
				document.getElementById('bio'+x).style.display = 'none';				
			} else {
				document.getElementById('bio'+x).style.display = 'block';
			}
		} else {
			document.getElementById('bio'+x).style.display = 'none';
		}
	}
}

function default_value_on(which, default_text) {
	if (which.value == default_text) {
		which.value = '';
	}
}
function default_value_off(which, default_text) {
	if (which.value == '') {
		which.value = default_text;
	}
}
function validate() {
		return true;
}
function type_other(which) {
		if (which.value == 'Other') {
			document.getElementById('other_type').style.display = 'block';
		} else if (document.getElementById('other_type').style.display == 'block' && document.getElementById('other_type').value == '') {
			document.getElementById('other_type').style.display = 'none';			
			
		}
		return true;
}
