creditEvaluationPop.js 907 B

123456789101112131415161718192021222324252627282930
  1. /**
  2. *
  3. * 신용평가사 팝업 js
  4. */
  5. $.credit_evaluation = function(code, reg_no){
  6. var link = "";
  7. var result = "";
  8. if(code == "E") //이크레더블
  9. {
  10. link = "http://www.bizrating.co.kr/url/urlPage.do?param1=ZXRlY2g=&param2=YWV0ZWNo&param3=" + reg_no;
  11. }
  12. else if(code == "S") //서울신용평가
  13. {
  14. link = "http://www.bizrating.co.kr/url/urlPage.do?param1=ZXRlY2g=&param2=YWV0ZWNo&param3=" + reg_no;
  15. }
  16. else if(code == "N") //나이스디앤비
  17. {
  18. link = "http://www.bizrating.co.kr/url/urlPage.do?param1=ZXRlY2g=&param2=YWV0ZWNo&param3=" + reg_no;
  19. }
  20. else if(code == "K") //한국기업데이터
  21. {
  22. link = "http://www.bizrating.co.kr/url/urlPage.do?param1=ZXRlY2g=&param2=YWV0ZWNo&param3=" + reg_no;
  23. }
  24. window.open(link, "pop", "width=975,height=600, resizable=yes, scrollbars=yes");
  25. };