function commentvote(c,d){jQuery.get("/_ajax/commentvote.aspx?id="+c+"&vote="+d);return false}function disableItem(item){item.disabled=true;item.setAttribute("class","postReviewDisabled");item.setAttribute("className","postReviewDisabled");eval(item.href)}function genPopup(j,f,g,i){var h="centerscreen=yes,chrome=yes,modal=yes,";h+="height="+g+",width="+i;window.open(j,f,h)}function selectAll(b){document.getElementById(b).focus();document.getElementById(b).select()}var shown=false;function showTextFields(){if(shown){document.getElementById("textFields").style.display="none";shown=false}else{document.getElementById("textFields").style.display="block";shown=true}return false}function hideTextFields(){document.getElementById("textFields").style.display="none";shown=false;return false}function fbs_click(){u=location.href;t=document.title;window.open("http://www.facebook.com/sharer.php?u="+encodeURIComponent(u)+"&t="+encodeURIComponent(t),"sharer","toolbar=0,status=0,width=626,height=436");return false}function switchbackpackTab(){var e=document.getElementById("backpackToggle");var f="Hide my schools";var d="Show my schools";if(e.innerHTML==f){e.innerHTML=d;e.setAttribute("class","bpMin");e.setAttribute("className","bpMin");$.cookie("BackpackState","0",{path:"/"})}else{e.innerHTML=f;e.setAttribute("class","bpMax");e.setAttribute("className","bpMax");$.cookie("BackpackState","1",{path:"/"})}}function switchH3background(e){var f=document.getElementById(e);var d=f.attributes.getNamedItem("class").value;if(d=="finderLargeOpen"){f.setAttribute("class","finderLargeClosed")}if(d=="finderLargeClosed"){f.setAttribute("class","finderLargeOpen")}if(d=="finderSmallOpen"){f.setAttribute("class","finderSmallClosed")}if(d=="finderSmallClosed"){f.setAttribute("class","finderSmallOpen")}if(d=="widgetTitleOpen"){f.setAttribute("class","widgetTitleClosed")}if(d=="widgetTitleClosed"){f.setAttribute("class","widgetTitleOpen")}}function rolloverMenu(c,d){rolloverMenu(c,d,"")}function rolloverMenu(g,h,f){var e=f;if(h=="collegeSearchMenu"){e="searchLink"}else{if(h=="storeMenu"){e="storeLink"}}if(g==0){document.getElementById(h).style.display="none";document.getElementById(e).setAttribute("class","mainNav");document.getElementById(e).setAttribute("className","mainNav")}else{document.getElementById(h).style.display="block";document.getElementById(e).setAttribute("class","selectedRollover");document.getElementById(e).setAttribute("className","selectedRollover")}};