function trim(str) {
	str = str.replace(/^\s+/, '');
	for (var i = str.length - 1; i > 0; i--) {
		if (/\S/.test(str.charAt(i))) {
			str = str.substring(0, i + 1);
			break;
		}
	}
	return str;
};

function default_value(content)
{
	if (trim(content.value) == content.defaultValue)
	{
		content.value = '';
	}
};

function new_value(content)
{
	if (trim(content.value) == '')
	{
		content.value = content.defaultValue;
	}	
};

$(document).ready(function()
{
    
});