function open_dues(URL){
	
	iacc = open(URL, "IACC", "resizable=1,scrollbars=1,directories=0,location=0,menubar=0,toolbar=0,height=300,width=450");
	iacc.focus();				
}

function open_window(URL){
	
	iacc = open(URL, "IACC", "resizable=1,scrollbars=1,directories=0,location=0,menubar=0,toolbar=0,height=570,width=500,status=1");
	iacc.focus();
}

function open_movie(URL){
	
	iacc = open(URL, "IACC", "resizable=0,scrollbars=0,directories=0,location=0,menubar=0,toolbar=0,height=557,width=640");
	iacc.focus();				
}

function GoToLink(theForm)
{
if (theForm.options[theForm.selectedIndex].value.substring(0,4) == "http") 
	{radisson = open(theForm.options[theForm.selectedIndex].value,'radisson');
	radisson.focus();
	} 
		else 
	{window.open(theForm.options[theForm.selectedIndex].value,'_top')}
}

function textCounter(field, maxlimit) {
	var message = "Please do not enter more than \"" + maxlimit + "\" characters." +
				"\n \n You currently have \"" + field.value.length + "\" characters." +
	  			"\n \n Please shorten your entry and submit again.";
	if (field.value.length > maxlimit)
	{alert(message);
	}
}

//for catptcha
function reloadImg(imgid,imgurl) {
	img = document.getElementById(imgid);
	img.src = imgurl + "&rand=" + Math.random();
	}
