// JavaScript Document

function cleat_field(fld){
		if(fld.value == ''){
			fld.value	=	fld.defaultValue;
		}
	
	}
	
	function field_value(fld){
		if(fld.value == fld.defaultValue){
			fld.value	=	'';
		}
	
	}
	
	
	
	
	function changebgyelllow(id){
	
	
		document.getElementById("1").setAttribute("class","txt-field");
		document.getElementById("2").setAttribute("class","txt-field");
		document.getElementById("3").setAttribute("class","txt-field");
		document.getElementById("4").setAttribute("class","textarea");

		if (id==1) {
		document.getElementById("1").setAttribute("class","txt-field2");
		}
		if (id==2) {
		document.getElementById("2").setAttribute("class","txt-field2");
		}
		if (id==3) {
		document.getElementById("3").setAttribute("class","txt-field2");
		}
		if (id==4) {
		document.getElementById("4").setAttribute("class","textarea2");
		}
		
		
	
	}
	

	
	$(document).ready(function() {

$("#logo").hover(function() {

var e = this;
$(e).find("a").stop().animate({ marginTop: "-10px" }, 150, function() {
$(e).find("a").animate({ marginTop: "-5px" }, 150);
});
},function(){
var e = this;
$(e).find("a").stop().animate({ marginTop: "0px" }, 150, function() {
$(e).find("a").animate({ marginTop: "0px" }, 150);
});
});

// End

});


function showhidecontent(id) {
	
	document.getElementById('changep1').style.display= 'none';
	document.getElementById('changep2').style.display= 'none';
	document.getElementById('changep3').style.display= 'none';
	document.getElementById('changep4').style.display= 'none';
	document.getElementById('changep'+id).style.display= 'block';
	
	if(id==1)
	document.getElementById('changer').src = 'images/changer_03.jpg';
	if(id==2)
	document.getElementById('changer').src = 'images/changer_04.jpg';

	if(id==3)

	document.getElementById('changer').src = 'images/changer_05.jpg';
	if(id==4)
	document.getElementById('changer').src = 'images/changer_06.jpg';
	
	
	
	}

 
