function textCounter(field,cntfield,maxlimit,fieldName) {
	if (field.value.length > maxlimit) 
	{
		alert('You have run out of characters, you are only allowed '+maxlimit+' in the '+fieldName+' field!');
		field.value = field.value.substring(0, maxlimit-1);
	}
}

function roll(o,s){
  var img = o.firstChild;
  var on = "_on";
  var off = "_off";
  if (s)
  {
	img.src = img.src.replace(off,on);
  } else{
	img.src = img.src.replace(on,off);
  }  
}

function setCompsFocus1() 
	{  
		document.Competition.action="Competitions.aspx#cf1" 
	}
	
function setContactUsFocus1() 
	{  
		document.ContactUs.action="ContactUs.aspx#cu1" 
	}	
	
	
	
	