$(document).ready( function(){
	$('.theform').corner("cc:#313232 tl tr");
	$('.theform').corner("cc:#191919 bl");
	$('.theform').corner("cc:#1a1c1b br");
	
	// form stuff
       $('input').addClass("idleField");  
       $('input').focus(function() {  
	   $(this).removeClass("idleField").addClass("focusField");  
	   if (this.value == this.defaultValue){  
	       this.value = '';  
	   }  
	   if(this.value != this.defaultValue){  
	       this.select();  
	   }  
       });  
       $('input').blur(function() {  
	   $(this).removeClass("focusField").addClass("idleField");  
	   if ($.trim(this.value == '')){  
	       this.value = (this.defaultValue ? this.defaultValue : '');  
	   }  
       });  
});
