/*	VERSION:		1.5

DESCRIPTION:
	This converts a string to its implied datatype
	"42" -> 42
	"false" -> false
	"undefined" -> undefined
*/
function getImpliedValue( input ){
	var output;
	if( input=="undefined"  ||  input==undefined ){		// undefined
		output = undefined;
	}else if(	input=="true"  ||  input===true){				// boolean:  true
		output = Boolean(true);
	}else if( input=="false"  ||  input===false){			// boolean:  false
		output = Boolean(false);
	}else if( isNaN(input)==false ){									// number
		output = Number(input);
	}else{																						// anything else
		output = input;
	}
	
	return output;
}// getImpliedValue()