// document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(" "); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(" "); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(" "); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(" "); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln("
"); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln("
"); document.writeln("Go >
"); document.writeln("
Lists
"); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln(""); // document.writeln("
CRISIL Rating List
CRISIL Bank Loan Ratings List
CRISIL SME Rating ListCRISIL SME Rating List
NSIC-CRISIL Performance and Credit Rating for SSIs ListNSIC-CRISIL Performance and Credit Rating for SSIs List
"); // document.writeln("
"); // document.writeln("
Rating Actions
Opinions
Scales
Legends"); document.writeln("
 
 
Credit Rating Reports
Advanced Search
Ask Analyst
Ratings History
Rating List - 
Indian Agencies
 
"); /////////// SEARCH FOR RATINGS function FindRatings() { var varied=1; if(Trim(document.frmViewSide.tSearch.value)=="") { document.frmViewSide.tSearch.focus(); alert("Search text cannot be empty"); varied=0; return; } if(Trim(document.frmViewSide.tSearch.value)!="") { var search = document.frmViewSide.tSearch.value; var search_Array=search.split(","); for(i=0;i<=search_Array.length;i++) { var partValue = new String(search_Array[i]); if(partValue.length<3) { alert("Comma separated value cannot be less than three characters"); document.frmViewSide.tSearch.focus(); varied=0; return; } } } if(Trim(document.frmViewSide.tSearch.value)!="") { var search = document.frmViewSide.tSearch.value; if(search.indexOf("'")>=0) { alert("Single code is not allowed in search string"); document.frmViewSide.tSearch.focus(); varied=0; return; } } if(varied==1) { document.frmViewSide.txtSearch.value = document.frmViewSide.tSearch.value; document.frmViewSide.action = "outstanding-ratings-search.jsp"; document.frmViewSide.submit(); } } /// function FindRatingsText(e) { var key = e.keyCode; var varied1=1; if (key == 13) { if(Trim(document.frmViewSide.tSearch.value)=="") { document.frmViewSide.tSearch.focus(); varied1=0; return; } if(Trim(document.frmViewSide.tSearch.value)!="") { var search = document.frmViewSide.tSearch.value; var search_Array=search.split(","); for(i=0;i<=search_Array.length;i++) { var partValue = new String(search_Array[i]); if(partValue.length<3) { alert("Comma separated value cannot be less than three characters"); document.frmViewSide.tSearch.focus(); varied1=0; break; return false; } } } if(Trim(document.frmViewSide.tSearch.value)!="") { var search = document.frmViewSide.tSearch.value; if(search.indexOf("'")>=0) { alert("Single code is not allowed in search string"); document.frmViewSide.tSearch.focus(); varied1=0; return; } } if(varied1==1) { document.frmViewSide.txtSearch.value = document.frmViewSide.tSearch.value; document.frmViewSide.action = "outstanding-ratings-search.jsp"; document.frmViewSide.submit(); } } } /////////// SEARCH FOR RATIONALES function FindRationales() { var varied=1; if(Trim(document.frmViewSide.tSearch1.value)=="") { document.frmViewSide.tSearch1.focus(); alert("Search text cannot be empty"); varied=0; return; } if(Trim(document.frmViewSide.tSearch1.value)!="") { var search = document.frmViewSide.tSearch1.value; var search_Array=search.split(","); for(i=0;i<=search_Array.length;i++) { var partValue = new String(search_Array[i]); if(partValue.length<3) { alert("Comma separated value cannot be less than three characters"); document.frmViewSide.tSearch1.focus(); varied=0; return; } } } if(Trim(document.frmViewSide.tSearch1.value)!="") { var search = document.frmViewSide.tSearch1.value; if(search.indexOf("'")>=0) { alert("Single code is not allowed in search string"); document.frmViewSide.tSearch1.focus(); varied=0; return; } } if(varied==1) { document.frmViewSide.txtSearch.value = document.frmViewSide.tSearch1.value; //document.frmViewSide.action = "/RatingsSite/Search/rationaleSearch.jsp"; document.frmViewSide.submit(); } } /// function FindRationalesText(e) { var key = e.keyCode; var varied1=1; if (key == 13) { if(Trim(document.frmViewSide.tSearch1.value)=="") { document.frmViewSide.tSearch1.focus(); varied1=0; return; } if(Trim(document.frmViewSide.tSearch1.value)!="") { var search = document.frmViewSide.tSearch1.value; var search_Array=search.split(","); for(i=0;i<=search_Array.length;i++) { var partValue = new String(search_Array[i]); if(partValue.length<3) { alert("Comma separated value cannot be less than three characters"); document.frmViewSide.tSearch1.focus(); varied1=0; break; return false; } } } if(Trim(document.frmViewSide.tSearch1.value)!="") { var search = document.frmViewSide.tSearch1.value; if(search.indexOf("'")>=0) { alert("Single code is not allowed in search string"); document.frmViewSide.tSearch1.focus(); varied1=0; return; } } if(varied1==1) { document.frmViewSide.txtSearch.value = document.frmViewSide.tSearch1.value; //document.frmViewSide.action = "/RatingsSite/Search/rationaleSearch.jsp"; document.frmViewSide.submit(); } } } ////////////////////////////////////////////////////////////// function removeRatingText() { if(Trim(document.frmViewSide.tSearch.value)=="search for Ratings") { document.frmViewSide.tSearch.value=""; } } function putRatingText() { if(Trim(document.frmViewSide.tSearch.value)=="") { document.frmViewSide.tSearch.value="search for Ratings"; } } function removeRationaleText() { if(Trim(document.frmViewSide.tSearch1.value)=="search for Rationales") { document.frmViewSide.tSearch1.value=""; } } function putRationaleText() { if(Trim(document.frmViewSide.tSearch1.value)=="") { document.frmViewSide.tSearch1.value="search for Rationales"; } } ////////////////////// function siteSearch() { var txt = new String(Trim(document.frmViewSide.textfield.value)); if(txt.length <= 0) { alert("Please type your keywords to be search") document.frmViewSide.textfield.focus(); return; } else { //window.location.href = "/RatingsSite/siteSearch/index.jsp?word="+document.frmViewSide.textfield.value; } } function Trim(TRIM_VALUE) { if(TRIM_VALUE.length < 1) { return""; } TRIM_VALUE = RTrim(TRIM_VALUE); TRIM_VALUE = LTrim(TRIM_VALUE); if(TRIM_VALUE=="") { return ""; } else { return TRIM_VALUE; } } function RTrim(VALUE){ var w_space = String.fromCharCode(32); var v_length = VALUE.length; var strTemp = ""; if(v_length < 0) { return""; } var iTemp = v_length -1; while(iTemp > -1){ if(VALUE.charAt(iTemp) == w_space) { //// } else { strTemp = VALUE.substring(0,iTemp +1); break; } iTemp = iTemp-1; } return strTemp; } function LTrim(VALUE) { var w_space = String.fromCharCode(32); if(v_length < 1) { return""; } var v_length = VALUE.length; var strTemp = ""; var iTemp = 0; while(iTemp < v_length) { if(VALUE.charAt(iTemp) == w_space) { /// } else { strTemp = VALUE.substring(iTemp,v_length); break; } iTemp = iTemp + 1; } return strTemp; }