function changeLoc(formNum) { if ( document.forms[0].elements[formNum].options[document.forms[0].elements[formNum].selectedIndex].value == "Corporate Home" ) { parent.location.href = "http://www.somesite.com/"; } else if ( document.forms[0].elements[formNum].options[document.forms[0].elements[formNum].selectedIndex].value != "nogo" || page != "") { top.i3.location.href = document.forms[0].elements[formNum].options[document.forms[0].elements[formNum].selectedIndex].value; } document.forms[0].elements[formNum].selectedIndex = 0; }