$(document).ready(function() { 
	
	//start xhtml valid target="_blank"
	$("a[href*='http://']:not([href*='"+location.hostname+"'])").click( function() {
	window.open(this.href);
	return false;
	});
	//end xhtml valid target="_blank"
	
	// remove default of form values on focus
	window.onload=function(){
	for(var i=0,inp=document.getElementsByTagName('input');i<inp.length;i++)
	{if(inp[i].type=='text'){inp[i].onfocus=function(){
	this.value='';}}}}	
	
});


