function viewMyAlerts(C){if(isLoggedIn()){goToMyAlerts()}else{var B=-680;var A=getCurrentWindowWidth();if(A!=0&&A<1300){B=-520}floatLoginForm($(C),B,0,myAlertsLoginCallback)}}function feedback(A){floatFeedbackForm($(A),-520,0)}function helpLinks(A){setZlertButtonHelpURL($("zlertButtonHelpLinkNavBar"));floatHelpLinks($(A),-120,0)}function myAlertsLoginCallback(A){if(A){cancelFloatLoginForm();goToMyAlerts()}}function goToMyAlerts(){toggleLoadingImage();location.href="MyAlerts?r="+getRandomNumber()}function floatFeedbackForm(A,C,B){floatForm(A,C,B,"feedback");$("feedbackErrorMessageContainer").style.display="none";$("feedbackThankYou").style.display="none";$("feedbackHeader").style.display="block";$("feedbackForm").style.display="block";initFeedback()}function floatHelpLinks(A,C,B){floatForm(A,C,B,"helpLinks")}function cancelFloatFeedbackForm(){cancelFloatForm("feedback")}function cancelHelpLinks(){cancelFloatForm("helpLinks")}function floatForm(J,D,H,B){var F=Position.cumulativeOffset(J);var C=F[0];var E=F[1];var A=$(B);var G=C+D;var I=E+H;A.style.left=G+"px";A.style.top=I+"px";A.style.display="block";A.style.zIndex="5"}function cancelFloatForm(B){var A=$(B);A.style.display="none"}function getCurrentWindowWidth(){var A=0;if(typeof (window.innerWidth)=="number"){A=window.innerWidth}else{if(document.documentElement&&(document.documentElement.clientWidth||document.documentElement.clientHeight)){A=document.documentElement.clientWidth}else{if(document.body&&(document.body.clientWidth||document.body.clientHeight)){myWidth=document.body.clientWidth;myHeight=document.body.clientHeight}}}return A}function updateIE6ZIndex(){var B=document.getElementsByTagName("xsl:text");if(B!=null){for(var A=0;A<B.length;A++){B[A].style.display="none"}}insertIE6ZIndexIframe("login");insertIE6ZIndexIframe("feedback");insertIE6ZIndexIframe("login");insertIE6ZIndexIframe("helpLinks")}function insertIE6ZIndexIframe(A){new Insertion.Bottom(A,"<!--[if lte IE 6.5]><iframe></iframe><![endif]-->")};