function newpopupwindow(url,name) {
	newpopupstuff = window.open (url,name,'toolbar=no,location=no,scrollbars=Yes,width=345,height=400')
}
  
function newpopupwindow2(url,name) {
	newpopupstuff = window.open (url,name,'toolbar=no,location=no,scrollbars=No,width=345,height=400')
}
  
function newpopupwindow3(url,name) {
	newpopupstuff = window.open (url,name,'toolbar=no,location=no,scrollbars=Yes,width=400,height=400')
}
  
function newpopupwindow4(url,name) {
	newpopupstuff = window.open (url,name,'toolbar=no,location=no,scrollbars=Yes,width=500,height=500')
}

function taLimit() {
	var taObj=event.srcElement;
	if (taObj.value.length==taObj.maxLength*1) return false;
}

function taCount(visCnt) { 
	var taObj=event.srcElement;
	if (taObj.value.length>taObj.maxLength*1) taObj.value=taObj.value.substring(0,taObj.maxLength*1);
	if (visCnt) visCnt.innerText=taObj.maxLength-taObj.value.length;
}

function hide(which) {
var hide = new Array();
hide = document.getElementsByName(which);
for (i=0; i<hide.length; i++) {
  	hide[i].width = 0;
	hide[i].height = 0;
	}
}

function Navigate() {
	var number = NavSelect.selectedIndex;
	location.href = NavSelect.options[number].value;
}
