function clearText(thefield)
{
	if (thefield.defaultValue == thefield.value)
					thefield.value = ""
    else 
		thefield.value = thefield.defaultValue
}

$(document).ready(function() {
	$('.tabs a').click(function(){
		switch_tabs($(this));
	});
	switch_tabs($('.defaulttab'));
});
function switch_tabs(obj)
{
	$('.tab-content').hide();
	$('.tabs a').removeClass("selected");
	var id = obj.attr("rel");
	$('#'+id).show();
	obj.addClass("selected");
}


$(document).ready(function(){
	$('#fontsizer').jfontsizer({
		applyTo: '#container',
		changesmall: '2',
		changelarge: '2',
		expire: 15
	});
});

