/*
 * Clear Default Input Text: 
 * Functions for clearing and replacing default text in <input> elements.
 *
 * by Mark Etter, http://www.marketter.com/
 *
 * Usage:
 * <input type="text" value="username" id="username" onFocus="hideText(this.id);" onBlur="showText(this.id);" /> 
 *
 */
function hideText(x)
{
	if (document.getElementById(x).value == document.getElementById(x).defaultValue) 
	{
		document.getElementById(x).value = "";
	}
}
function showText(x)
{
	if (document.getElementById(x).value == "") 
	{
		document.getElementById(x).value = document.getElementById(x).defaultValue;
	}
}


$(document).ready(function() {
    
    // MENU SELECT STYLING
    var options = {
		styleClass: "selectDark",
		jScrollPane: 1
	}

    $(".mySelect").styleSelect(options);

});
