// JavaScript Document
$("document").ready(function(){
	$("#tc a").mouseover(function(){
		$("#phone-contact").css("background-image","url(http://" + document.domain + "/wp-content/themes/twentyten/images/contact-us-back.jpg)");	
	});
	$("#tc a").mouseout(function(){
		$("#phone-contact").css("background-image","url(http://" + document.domain + "/wp-content/themes/twentyten/images/contact-us-back-normal.jpg)");	
	});
	$("#tc a").mouseup(function(){
		$(this).css("color","#f4b802");	
	});
	$("#tc a").mousedown(function(){
		$(this).css("color","#fff");	
	});
	
	
	
	
	
	$("#lc a").mouseover(function(){
		$("#phone-contact").css("background-image","url(http://" + document.domain + "/wp-content/themes/twentyten/images/contact-us-back.jpg)");	
	});
	$("#lc a").mouseout(function(){
		$("#phone-contact").css("background-image","url(http://" + document.domain + "/wp-content/themes/twentyten/images/contact-us-back-normal.jpg)");	
	});
	$("#lc a").mouseup(function(){
		$(this).css("color","#f4b802");	
	});
	$("#lc a").mousedown(function(){
		$(this).css("color","#2b99ca");	
	});
	
	
	
	$("#linked-in a img").mouseover(function(){
		var src= "http://" + document.domain + "/wp-content/themes/twentyten/images/";
		$(this).attr("src",src + "linked-in-over.jpg");
	});
	$("#linked-in a img").mouseup(function(){
		var src= "http://" + document.domain + "/wp-content/themes/twentyten/images/";
		$(this).attr("src",src + "linked-in-over.jpg");
	});
	$("#linked-in a img").mouseout(function(){
		var src= "http://" + document.domain + "/wp-content/themes/twentyten/images/";
		$(this).attr("src",src + "linked-in.jpg");	
	});
	$("#linked-in a img").mousedown(function(){
		var src= "http://" + document.domain + "/wp-content/themes/twentyten/images/";
		$(this).attr("src",src + "linked-in.jpg");	
	});
	
	$( "#accordion" ).accordion({
			collapsible: true
		});
});





function textClear (input) {
	if ( input.value == input.defaultValue ) {
		input.value = "";
	}
}
 
function textRestore (input) {
	if ( input.value == "" ) {
		input.value = input.defaultValue;
	}
}
