/*
 Aviation Week Scripting
 LeapFrog Interactive.
 evitiello, 2006-11-10
*/
 
// switch tabs off and on.
//
function switchTabs(source, tabID) {
	var kids = source.parentNode.parentNode.childNodes;
	// first, turn everyone off.
	for (i=0; i<= kids.length-1; i++) {
		kids[i].className='';
	}
	// then turnon the good one.
	source.parentNode.className = 'current';
	
	// stop the href.
	return false;
}

// Clear the value from a field
//
function clearValue(source, originalValue) {
	if (originalValue == source.value) {
		source.value = "";
		source.style.color="black";
	}
}