function inputFocus(obj) {
	if (obj.form.contactEmail.value == 'Enter your email to receive our newsletter') {
		obj.form.contactEmail.value = '';
	}
}

function inputBlur(obj) {
	if (obj.form.contactEmail.value == '') {
		obj.form.contactEmail.value = 'Enter your email to receive our newsletter';
	}
}

// toggle visibility 

function toggle( targetId,ref ){
	
  if (document.getElementById){
	  
  		var target = document.getElementById( targetId );
			var myRef = document.getElementById( ref );
		
  		if (target.style.display == "none"){
  			target.style.display = "";
				myRef.className = "selected";
  		} else {
  			target.style.display = "none";
				myRef.className = "deselected";
  	}
  }
}

// email

var addthis_config = {
	services_compact: 'email, linkedin, twitter, more',
	services_exclude: 'print',
	ui_click: true
}
