function showInfo(A){alert(A);return false;}function setStatus(A){window.status=A;return true;}function setWindowLocation(A){window.location.href=A;return false;}function openHelp(A){var B=window.open(A,"RAHelpWindow","width=850,status=no,toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=yes",false);B.focus();return false;}function enableButton(B,A){if(B==null){return ;}if(A){B.disabled=false;B.className="";}else{B.disabled=true;B.className="disabledButton";}}function isUndefined(A){return typeof A=="undefined";}function addBookMark(B,G){var D=navigator.userAgent.toLowerCase();var A=(D.indexOf("konqueror")!=-1);var C=(D.indexOf("webkit")!=-1);var F=(D.indexOf("mac")!=-1);var E=F?"Command/Cmd":"CTRL";if(window.external&&(!document.createTextNode||(typeof (window.external.AddFavorite)=="unknown"))){window.external.AddFavorite(B,G);}else{if(A){alert("You need to press CTRL + B to bookmark our site.");}else{if(window.home||C){alert("You need to press "+E+" + D to bookmark this page.");}else{if(!window.print||F){alert("You need to press Command/Cmd + D to bookmark this page.");}else{alert("In order to bookmark this page you need to do so manually through your browser.");}}}}}function displayPreferences(){var A=window.open("preferences.html",null,"top=270,left=250,height=270,width=628,status=yes,toolbar=no,menubar=no,location=no,scrollbars=no,resizable=no");A.focus();}function getPreviousSibling(B){var A=B.previousSibling;while(A!=null&&A.nodeName=="#text"){A=A.previousSibling;}return A;}function getNextSibling(B){var A=B.nextSibling;while(A!=null&&A.nodeName=="#text"){A=A.nextSibling;}return A;}function formatInteger(B){var A=new NumberFormat();A.setInputDecimal(".");A.setNumber(B);A.setPlaces("0",false);A.setCurrencyValue("$");A.setCurrency(false);A.setCurrencyPosition(A.LEFT_OUTSIDE);A.setNegativeFormat(A.LEFT_DASH);A.setNegativeRed(false);A.setSeparators(true,",",",");return A.toFormatted();}