//var img1 = new Image();
//img1.src = "images/f_over.jpg";

function subForm (frm, hidFld, newCount) {
	document.forms[frm].stickAtOne.value = "1";
	document.forms[frm].elements[hidFld].value = newCount;
	document.forms[frm].submit();
}

function askReroute (confText, url) {
	if (confirm(confText)) { document.location.href = url; }
}

function resetForm () {
	document.orSearchBy.topRated.checked = false;
	document.orSearchBy.mostRecentReviews.checked = false;
	document.orSearchBy.mostReviews.checked = false;
	document.orSearchBy.ageRange.selectedIndex = 0;
	document.orSearchBy.gender.selectedIndex = 0;
	document.orSearchBy.occupationID.selectedIndex = 0;
	document.orSearchBy.titleID.selectedIndex = 0;
	document.orSearchBy.incomeLevelID.selectedIndex = 0;
	document.orSearchBy.educationLevelID.selectedIndex = 0;
	document.orSearchBy.investmentExpertiseID.selectedIndex = 0;
	document.orSearchBy.loadNoLoad.selectedIndex = 0;
}

function capFld (el) {
	var str = document.form1.elements[el].value;
	document.form1.elements[el].value = str.toUpperCase();
}

function doubleLink(l1, l2) {
	window.open(l2, '', 'width=' + (window.screen.width - 400) + ',height' + window.screen.height + ',scrollbars,resizable,menubar,toolbar');
	document.location.href = l1;
}

function delTicker() {
	document.form1.del.value = "1";
	document.form1.submit();
}


