묻고답하기

홈 페이지 만들고 있는 초보입니다.

안철수 연구소의 바이러스 경보 배너( http://info.ahnlab.com/securityinfo/virus_banner.html )
를 달려고 하는데
고정형 배너의 경우 홈페이지 디자인이랑 맞지 않아서
자바스크립트 이용하는 맞춤형을 이용하려 합니다.

그래서 안철수 연구소에서 샘플 스크립트 소스를 받아 그대로 index 페이지에 넣었는데 작동이 되지 않네요

안철수 연구소에서 준 샘플 스크립트 소스 내용

====================================================================================================
<!-- 긴급경보 스크립트 로딩 및 배너생성 시작-->
<Script language="javascript" charset="ksc5601" src="http://home.ahnlab.com/includes/banner_adv.js"></script>
<Script language="vbscript">
        ' 안철수연구소 긴급경보 정보를 가져오지 못했을 경우 페이지내 스크립트 오류방지.
        Function checkAhnlabAlert()
                if B_IsLoaded then
                        checkAhnlabAlert = true
                else
                        checkAhnlabAlert = false
                end if
        End Function
</Script>
<Script language="javascript" >
function writeAhnlabAlert(){
  if (checkAhnlabAlert()){
    if (B_Urgency) {
      // 긴급시배너
      document.write("<tr>");
      document.write("  <td align='center' style='font-size:9pt; font-family:굴림,돋움,arial; text-decoration:none;'>");
      document.write("    <a href='"+S_Url+"' target='_ahnlab' style='text-decoration:none'>");
      document.write("      <font color='#b30000'><b>"+S_Title+"</b></font>");
      document.write("    </a><br>");
      document.write("    <a href='"+S_Url+"' target='_ahnlab' style='text-decoration:none'>");
      document.write("      <font color='#333333'>"+S_Summary+"</font>");
      document.write("    </a>");
      document.write("  </td>");
      document.write("</tr>");
    }else{
      // 평상시배너생성처리.
      document.write("<tr>");
      document.write("  <td align='center' style='font-size:9pt; font-family:굴림,돋움,arial; text-decoration:none;'>");
      document.write("     <table border="0" width="165" align="center" cellpadding="2" cellspacing="3">");
      document.write("       <tr> ");
      document.write("         <td  align="center"><b>최신 긴급 바이러스</b></td>");
      document.write("       </tr>");
      document.write("       <tr> ");
      document.write("         <td height="63" align="center">");
      for(i=0;i<A_RecentVirus.length;i++){
          document.write("       <a href=""+A_RecentVirusUrl[i]+"" target="_ahnlab">"+A_RecentVirus[i]+"</a><br>");
      }
      document.write("         </td>");
      document.write("       </tr>");
      document.write("      </table>");
      document.write("  </td>");            
      document.write("</tr>");
    }
  }else{
      // 정보 스크립트 파일을 가져오지 못했을 경우
      document.write("<tr>");
      document.write("  <td align='center' style='font-size:9pt; font-family:굴림,돋움,arial; text-decoration:none;'>");
      document.write("    정보를 가져올 수 없습니다.");
      document.write("  </td>");
      document.write("</tr>");
  }
}
</Script>
<!-- 긴급경보 스크립트 로딩 및 배너생성 끝-->

===============================================================================================

어디가 잘 못 된 것일까요?
실력이 없어서 알수가 없습니다.

답변 부탁드립니다.
글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
peter 왕 초보 질문입니다...도와주세요 [1] 2007.08.10
홍수정 iframe에 생기는 스크롤바 색상 [1] 2007.08.10
gyroverload 노프레임 홈페이지 제작시의 테이블 크기 변화에 대한 질문 [1] 2007.08.10
Susia+++ 사이버틱하거나 호러적이거나 한 느낌을 어떻게 꾸밀수 있을까요? [4] 2007.08.10
레드애플 프로모션에서요...  
질문맨 테이블질문입니다. [2] 2007.08.10
Stamp.od 포토샵에서 폰트 안보이고 플래쉬에선 보인다?? [4] 2007.08.10
지스 스위시(Swish) 정렬방법 문의드립니다.  
지스 스위시(Swish) 정렬방법 문의드립니다.  
BelldandY [exchange 2000] 인트라넷용인데 외부로 빼면.. 그룹웨어에 문제 없나요?  
everager 작은 오디오 재생기 다는 법좀...... [1] 2007.08.10
kisseve 홈페이지 서버를 이전했는데요...ㅠ.ㅠ [1] 2007.08.10
좋은만남 믹스님 답변 감사드립니다. 참고로 한가지 더 질문이있습니다. [2] 2007.08.10
김병민 [질문] 제로보드와 웹폰트의 궁합에 대한 질문입니다. [2] 2007.08.10
기억속에 embed 태그에 대한 질문입니다..필독좀요  
최환규 이글씨체가 뭐죵?? 답변좀부탁드림니다 [1] 2007.08.10
질문맨 테이블태그 질문입니다.(제2탄) [3] 2007.08.10
최경준 자바소스 해석 부탁드립니다.  
크리스 일러스트레이터, 플래쉬에서 아랍어를 사용하고 싶습니다. [1] 2007.08.10
오정석 노프레임에서 bgm삽입하는 방법 좀 알려주세요. [2] 2007.08.10