﻿function MyVeryCoolFunction(){window.open('GetHandbook.aspx','DownloadHandbook','width=1,height=1,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,copyhistory=0,resizable=0')}function SetUpAssessmentSection(){$('#grdAssessmentSection span[id*="lblQuestion_"]').tooltip({position:"bottom left",offset:[3,500],effect:"fade",opacity:1,delay:0});$('#grdAssessmentSection table[id*="rdoResponse_"]').tooltip({position:"bottom left",offset:[3,0],effect:"fade",opacity:1,delay:0})}function ConfirmSaveAssessmentSection(){return window.confirm('Press OK to save your responses')}function SetUpAddAssessment(){$('span[id*="QATLQuestion"],span[id*="FLAFQuestion"],span[id*="QUILQuestion"],span[id*="JUPIQuestion"]').tooltip({position:"bottom left",offset:[3,500],effect:"fade",opacity:1,delay:0})}function ConfirmAddAssessment(){Page_ClientValidate();if(Page_IsValid){return window.confirm('Are you sure you wish to create a new assessment based on the selections made?')}}function ConfirmDeleteAssessment(){return window.confirm('Are you sure you wish to delete this assessment? (Cannot be undone)')}function ConfirmAssessmentTemplate(){return window.confirm('This will overwrite any custom selections you have made below. Do you wish to continue?')}function ConfirmAddCaseStudy(){Page_ClientValidate();if(Page_IsValid){return window.confirm('Are you sure you wish to add this case study using the details provided?')}return false}function ToCaseStudies(){window.location.href('CaseStudies.aspx')}function ConfirmEditCaseStudy(){Page_ClientValidate();if(Page_IsValid){return window.confirm('Are you sure you wish to update the title and summary for this case study?')}return false}function ConfirmAddCaseStudySection(){Page_ClientValidate();if(Page_IsValid){return window.confirm('Are you sure you wish to append this as a new section to the end of the Case Study?')}return false}function ToCaseStudyView(){window.location.href('CaseStudyView.aspx')}function ConfirmEditCaseStudySection(){Page_ClientValidate();if(Page_IsValid){return window.confirm('Are you sure you wish to update this case study section?')}return false}function ConfirmDeleteCaseStudy(a){var b;if(a=='Header'){b='Are you sure you wish to delete this case study and its associated sections? This action cannot be undone!'}else{b='Are you sure you wish to delete this case study section? This action cannot be undone!'}return window.confirm(b)}function ConfirmAddCustomQuestion(){Page_ClientValidate();if(Page_IsValid){return window.confirm('Are you sure you wish to add this custom question?')}}function ConfirmEditCustomQuestion(){Page_ClientValidate();if(Page_IsValid){return window.confirm('Are you sure you wish to update this custom question?')}}function Course2008(){window.open("Course2008.htm","2008","height=500, width=650, scrollbars=yes")}function Course2009(){window.open("Course2009.htm","2009","height=500, width=650, scrollbars=yes")}function Course2010(){window.open("Course2010.htm","2010","height=500, width=650, scrollbars=yes")}function SetSuggest(a){$("#divHandbook").slideUp('slow');$("#divSuggest").slideDown('slow');a=$('#'+a).html();$("#spnSubSection").html(a);$("#hidSubSection").val(a)}function CancelSuggest(){$("#divSuggest").slideUp('slow');$("#divHandbook").slideDown('slow')}function ToDiagram(){window.location.href("HandBook.aspx#container")}function ToggleMe(a){$('#'+a).toggle('slow')}function ConfirmAccountUpdate(){Page_ClientValidate();if(Page_IsValid){return window.confirm('For security purposes, the system will now log you out and redirect you to the logon screen. Do you wish to continue?')}return false}function DoAssessmentExport(a){window.open('AssessmentExport.aspx?AssessmentID='+a,'MyAssessment','width=1,height=1,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,copyhistory=0,resizable=0')}function ValidateRegistration(){Page_ClientValidate();if(Page_IsValid){return window.confirm('Are you sure you wish to create an account based on the information provided?')}return false}
