function evalLink(linkURL,linkTarget,disclaimerFlag,disclaimerText) {
	var regexp = /&quote;/g;
	disclaimerText = disclaimerText.replace(regexp,"\"");
	switch(linkTarget) {
		case 0: //Same window
			if(disclaimerFlag == 1) {
				if(confirm(disclaimerText)) window.location = linkURL;
			}
			else window.location = linkURL;		
		break;
		case 1: // New Window
			if(disclaimerFlag == 1) {
				if(confirm(disclaimerText)) window.open(linkURL);
			}
			else window.open(linkURL);		
		break;
		case 2: // Popup Window
			if(disclaimerFlag == 1) {
				if(confirm(disclaimerText)) void myOpen(linkURL,500,500);
			}
			else void myOpen(linkURL,500,500);
		break;
	}
}
function myOpen(page,width,height) {
    if (navigator.appName == 'Netscape') {
        adjWidth = width+10;
        adjHeight = height+10;
    } else {
        adjWidth = width;
        adjHeight = height;
    }
    window.open(page,'windowName','width=' + adjWidth + ',height=' + adjHeight + ',toolbar=no,location=no,directories=no,resizable=yes,status=yes,menubar=yes,scrollbars=yes');
}
function mailConfirm(passedAddress) {
	if (confirm("You are about to send information over the Internet that may not be transmitted in an encrypted or secure form. It might be possible for others to see what you are sending, therefore, you should assume that this email is not secure. For your protection, please do not send any personal information (i.e., Social Security Number, Account Number, Date of Birth, PIN Number, etc.)."))
		window.location = passedAddress;
}
function disclaimer(passedWebsite) {
	if(confirm('You are now leaving the Wakulla Bank website. The site you have chosen is independent from Wakulla Bank. We do not control these sites and do not guarantee the accuracy, completeness, efficiency or timeliness contained therein. Be aware that the privacy policy of the linked website is not that of Wakulla Bank.')) {
		window.open(passedWebsite,'NewWin','toolbar,status,resizable,location,scrollbars,menubar')
	}
}

/* Property for sale */
function toggleAllPropVisibility(showStatus){
	var theDTs = document.getElementById("addServPropertyBody").getElementsByTagName("dt");
	for(var n=0; n <theDTs.length;n++){
		if(theDTs[n].id != "") theDTs[n].style.display = (showStatus == 0)?"block":"none";
	}
	var theDDs = document.getElementById("addServPropertyBody").getElementsByTagName("dd");
	for(var n=0; n <theDDs.length;n++){
		if(theDDs[n].id != "") theDDs[n].style.display = (showStatus == 0)?"none":"block";					
	}
}
function togglePropVisibility(id,showStatus){
	document.getElementById("linkObject" + id).style.display = (showStatus == 0)?"block":"none";
	document.getElementById("displayObject" + id).style.display = (showStatus == 0)?"none":"block";
}