if( ! Fse ) { Fse = {}; } if( ! Fse.CompetitiveInformation ) { Fse.CompetitiveInformation = {}; } Fse.CompetitiveInformation.mfrChanged = function( oSelect ) { Fse.Ajax.updateSocket( "competitiveInformation_CompetitorSocket", null, { principalId : oSelect.value } ); }; Fse.CompetitiveInformation.competitorChanged = function( oSelect ) { if( oSelect.value == -1 ) { YAHOO.util.Dom.removeClass( "compName", "fseInvisible" ); document.compinfoform.elements.CmptrName.disabled = false; document.compinfoform.elements.CmptrName.focus(); } else { YAHOO.util.Dom.addClass( "compName", "fseInvisible" ); document.compinfoform.elements.CmptrName.disabled = true; } }; Fse.CompetitiveInformation.submit = function( oForm ) { Fse.FormManager.submit( oForm, true ); }; // legacy stuff Fse.CompetitiveInformation.submitCompetitiveFeedback = function() { Fse.FormManager.submit( document.forms.compinfoform, true ); }; Fse.CompetitiveInformation.setCompetitorVisible = function() { selectValue= document.getElementById('CmptrSelect').value; if (selectValue == -1) { document.getElementById('CmptrName').disabled=false; Spry.Utils.removeClassName('compName', 'fseInvisible'); } else { document.getElementById('CmptrName').disabled=true; Spry.Utils.addClassName('compName', 'fseInvisible'); } }; Fse.CompetitiveInformation.competitiveInformationUpdateComplete = function( sURL ) { Fse.Ajax.updateContent( sURL, "competitive-information-socket" ); }; // non-qualified legacy bindings var bCIResponseHandler = false; var submitCompetitiveFeedback = Fse.CompetitiveInformation.submitCompetitiveFeedback; var setCompetitorVisible = Fse.CompetitiveInformation.setCompetitorVisible; var competitiveInformationUpdateComplete = Fse.CompetitiveInformation.competitiveInformationUpdateComplete;