function fnDelF(e) { var tmpfrm = document.getElementById("deleteFriend"); document.getElementById("whichFriend").value = ""+e; tmpfrm.submit(); } function scopeAdjust(el) { document.getElementById("scopediv").style.display = el.checked ? "none" : "block"; } function reflectAgeBoundary(el, el2) { var other = document.getElementById("age_high"); if (el.selectedIndex > el2.selectedIndex) el.selectedIndex = el2.selectedIndex; } function distanceAdjust(el) { document.getElementById("distanceDiv").style.display = el.checked ? "none" : "block"; } function cntryOnChange(e) { document.getElementById("city").options.length = 0; document.toolkit.rePopulateStates(document.getElementById("province"), e, '/App_Info/GetStates.aspx'); } function prvOnChange(e) { document.getElementById("city").options.length = 0; document.toolkit.rePopulateCities(document.getElementById("city"), e, document.getElementById("country").value, '/App_Info/GetCities.aspx'); } function clearInput(e){ if(e.value=='Profile name, real name, artist name...')e.value=""; } function checkUncheckAll(theElement) { var theForm = theElement.form, z = 0; for(z=0; z