$(document).ready(function(){

	var $allLi = $('ul#company li'),
		showRandom = function() {
			$allLi.hide().sort(function() {
				return Math.round(Math.random()) - 0.5;
			}).slice(0, 5).show();
		};
	
	showRandom();
	
	$("input, textarea").focus(
	 function(){
	  // only select if the text has not changed
	  if(this.value == this.defaultValue) {
	   this.value='';
	  }
	 }
	)
	
	var newAttr = document.createAttribute('value');
	newAttr.nodeValue = "Type email here and press enter"
	document.getElementById('mc_mv_EMAIL').setAttributeNode(newAttr);
	


});
