function doClear(theText) 
{
     if (theText.value == theText.defaultValue)
 {
         theText.value = ""
     }
}

jQuery(document).ready(function($) {
	
	$('.map').maphilight({strokeColor:'ffffff', strokeWidth:2, fillOpacity:0.4});
	
	$("map > area").tooltip({ showURL:false, showBody:' - ' });

	$('ul#cat-tree').collapsibleCheckboxTree({initialState:'collapse', checkParents:false});
	
	$('a.p_link').click(function($) {
		var url = jQuery(this).attr("href");
		var data = {
				action: 'click',
				link: url
			};

		jQuery.post(Blog_URL, data);
	});
	
});