var imgs = new Array();
imgs.push('<div ><li><a href="/01_cityhall/01_participation/03_02.jsp"><img src="/img/banner/banner164.gif" width="118" height="35" alt="시민 예산참여방" /></a></li><li><a href="/pop/seoul.jsp" onclick="window.open(this.href); return false;"  onkeypress=""><img src="/img/banner/banner17.gif" width="118" height="35" alt="부산기업에게 서울상담장 지원 [새창에서 열림]" /></a></li><li><a href="http://www.busan.go.kr/03_biz/01_support/06_01.jsp" onclick="window.open(this.href); return false;" onkeypress="" title="새 창에서 열림"><img src="/img/banner/banner66.gif" width="118" height="35" alt="부산지역명장 [새창에서 열림]" /></a></li><li><a href="http://silver.busan.go.kr/06_system/02_01.jsp" onclick="window.open(this.href); return false;" onkeypress="" title="새 창에서 열림"><img src="/img/banner/banner35.gif" width="118" height="35" alt="요양보호사 자격제도 [새창에서 열림]" /></a></li><li><a href="/pop/way.html" onclick="window.open(this.href); return false;" onkeypress="" title="새 창으로 열림" ><img src="/img/banner/banner30.gif" width="118" height="35" alt="부산~거제간 연결도로건설 [새창에서 열림]" /></a></li></div>');
imgs.push('<div ><li><a href="/01_cityhall/01_participation/03_01_01.jsp" onclick="window.open(this.href); return false;" onkeypress="" title="새 창으로 열림" ><img src="/img/banner/banner02.gif" width="118" height="35" alt="시민제안공모 [새창에서 열림]" /></a></li><li><a href="http://bshd.or.kr/" onclick="window.open(this.href); return false;" onkeypress="" title="새 창으로 열림" ><img src="/img/banner/banner06.gif" width="118" height="35" alt="부산광역시 지방행정동우회 [새창에서 열림]" /></a></li><li><a href="http://www.busan.go.kr/01_cityhall/05_administration/07_03.jsp"><img src="/img/banner/banner25.gif" width="118" height="35" alt="주민감사청구제도" /></a></li><li><a href="http://www.busanmart.com/" onclick="window.open(this.href); return false;" onkeypress="" title="새 창으로 열림" ><img src="/img/banner/banner08.gif" width="118" height="35" alt="부산e장터 [새창에서 열림]" /></a></li><li><a href="http://familylovecard.busan.go.kr/" onclick="window.open(this.href); return false;" onkeypress="" title="새 창으로 열림" ><img src="/img/banner/banner62.gif" width="118" height="35" alt="가족사랑카드신청[새창에서 열림]" /></a></li></div>');
imgs.push('<div ><li><a href="http://family.busan.go.kr/04_nurture/05_01.jsp" onclick="window.open(this.href); return false;" onkeypress="" title="새창열림, 외부사이트"><img src="/img/banner/bann01.gif" width="118" height="35" alt="보육료 지원금 확인하기 [새창에서 열림]" /></a></li><li><a href="/open_content/train/6260000-arc-2.0-001.jsp" onclick="window.open(this.href); return false;" onkeypress="" title="새창열림, 외부사이트"><img src="/img/banner/bann02.gif" width="118" height="35" alt="부산김해경량전철 [새창에서 열림]" /></a></li><li><a href="http://citizenpark.busan.go.kr/" onclick="window.open(this.href); return false;" onkeypress="" title="새 창에서 열기"><img src="/img/banner/banner124.gif" width="118" height="35" alt="부산시민공원 [새창에서 열림]" /></a></li><li><a href="http://www.busan.go.kr/open_content/APEC_2005/nurimaru/6260000-arc-2.0-001.jsp?type=1"  onclick="window.open(this.href); return false;" onkeypress="" title="새창열림, 외부사이트"><img src="/img/banner/bann_0422.gif" width="118" height="35" alt="누리마루APEC하우스 [새창에서 열림]" /></a></li><li><a href="http://www.befm.or.kr" onclick="window.open(this.href); return false;" onkeypress="" title="새창열림, 외부사이트"><img src="/img/banner/banner98.gif" width="118" height="35" alt="부산 영어 FM 방송 90.5 [새창에서 열림]" /></a></li></div>');
imgs.push('<div ><li><a href="http://b1mall.com/" onclick="window.open(this.href); return false;" onkeypress="" title="새창열림, 외부사이트"><img src="/img/banner/banner31.gif" width="118" height="35" alt="B1mall 부산농산물쇼핑몰 [새창에서 열림]" /></a></li><li><a href="http://www.bjfez.net/" onclick="window.open(this.href); return false;" onkeypress="" title="새창열림, 외부사이트"><img src="/img/banner/banner35.gif" width="118" height="35" alt="부산진해경제자유구역청 [새창에서 열림]" /></a></li><li><a href="http://media.busan.go.kr/03_notice/01.jsp?pageNo=1&amp;groupid=00001_/00002_/00003&amp;command=view&amp;strSN=41359" onclick="window.open(this.href); return false;" onkeypress="" title="새창열림, 외부사이트"><img src="/img/banner/banner84.gif" width="118" height="35" alt="지역전략산업 등에 대한 세정지원 안내 [새창에서 열림]" /></a></li><li><a href="http://buy.bmc.busan.kr" onclick="window.open(this.href); return false;" onkeypress="" title="새 창에서 열기"><img src="/img/banner/banner122.gif" width="118" height="35" alt="부산도시공사 분양정보 [새창에서 열림]" /></a></li><li><a href="http://busanicc.or.kr/" onclick="window.open(this.href); return false;" onkeypress="" title="새창열림, 외부사이트"><img src="/img/banner/banner78.gif" width="118" height="35" alt="부산정보문화센터 [새창에서 열림]" /></a></li></div>');
imgs.push('<div ><li><a href="http://www.bccc.co.kr" onclick="window.open(this.href); return false;" onkeypress="" title="새창열림, 외부사이트"><img src="/img/banner/banner85.gif" width="118" height="35" alt="부산광역시 컨택센터 협의회 [새창에서 열림]" /></a></li><li><a href="/open_content/popup/popup_090701_banner_01.html" onclick="window.open(this.href); return false;" onkeypress="" title="새 창에서 열림"><img src="/img/banner/banner102.gif" width="118" height="35" alt="외국인근로자 의료서비스 지원 [새창에서 열림]" /></a></li><li><a href="http://www.bgv.co.kr/" onclick="window.open(this.href); return false;" onkeypress="" title="새창열림, 외부사이트"><img src="/img/banner/banner111.gif" width="118" height="35" alt="부산글로벌빌리지 [새창에서 열림]" /></a></li><li><a href="http://bangjae.busan.go.kr/00_main/" onclick="window.open(this.href); return false;" onkeypress="" title="새창열림, 외부사이트"><img src="/img/banner/banner106.gif" width="118" height="35" alt="부산광역시 재난안전대책본부 [새창에서 열림]" /></a></li><li><a href="http://tour.busan.go.kr/kor/inc/u_html.jsp" onclick="window.open(this.href); return false;" onkeypress="" title="새 창에서 열기"><img src="/img/banner/banner114.gif" width="118" height="35" alt="무료 무선인터넷(WiFi) 서비스 사용안내 [새창에서 열림]" /></a></li></div>');
imgs.push('<div ><li><a href="http://nakdonggang.busan.go.kr/" onclick="window.open(this.href); return false;" onkeypress="" title="새 창으로 열림" target="_blank"><img src="/img/banner/banner181.gif" width="118" height="35" alt="낙동강하구 환경생태학습시스템 [새창에서 열림]" /></a></li><li><a href="/open_content/popup/popup_20100104_banner_01.html" onclick="window.open(this.href); return false;"  onkeypress="" title="새 창에서 열기"><img src="/img/banner/banner125.gif" width="118" height="35" alt="건설공사 부실시공방지 신고센터 [새창에서 열림]" /></a></li><li><a href="http://www.bscf.or.kr/" onclick="window.open(this.href); return false;" onkeypress="" title="새 창으로 열림" ><img src="/img/banner/banner127.gif" width="118" height="35" alt="부산문화재단 [새창에서 열림]" /></a></li><li><a href="http://multi.busan.go.kr/main/main.jsp" onclick="window.open(this.href); return false;" onkeypress="" title="새 창으로 열림"><img src="/img/banner/banner128.gif" width="118" height="35" alt="다문화행복스케치 홈페이지 오픈 [새창에서 열림]" /></a></li><li><a href="http://design.busan.go.kr/" onclick="window.open(this.href); return false;" onkeypress="" title="새 창으로 열림"><img src="/img/banner/banner161.gif" width="118" height="35" alt="디자인 부산(부산광역시 도시경관기획단) [새창에서 열림]" /></a></li></div>');
imgs.push('<div ><li><a href="http://nakdonggang.busan.go.kr/" onclick="window.open(this.href); return false;" onkeypress="" title="새 창으로 열림" target="_blank"><img src="/img/banner/banner181.gif" width="118" height="35" alt="낙동강하구 환경생태학습시스템 [새창에서 열림]" /></a></li><li><a href="/open_content/popup/popup_20100104_banner_01.html" onclick="window.open(this.href); return false;"  onkeypress="" title="새 창에서 열기"><img src="/img/banner/banner125.gif" width="118" height="35" alt="건설공사 부실시공방지 신고센터 [새창에서 열림]" /></a></li><li><a href="http://www.bscf.or.kr/" onclick="window.open(this.href); return false;" onkeypress="" title="새 창으로 열림" ><img src="/img/banner/banner127.gif" width="118" height="35" alt="부산문화재단 [새창에서 열림]" /></a></li><li><a href="http://multi.busan.go.kr/main/main.jsp" onclick="window.open(this.href); return false;" onkeypress="" title="새 창으로 열림"><img src="/img/banner/banner128.gif" width="118" height="35" alt="다문화행복스케치 홈페이지 오픈 [새창에서 열림]" /></a></li><li><a href="http://design.busan.go.kr/" onclick="window.open(this.href); return false;" onkeypress="" title="새 창으로 열림"><img src="/img/banner/banner161.gif" width="118" height="35" alt="디자인 부산(부산광역시 도시경관기획단) [새창에서 열림]" /></a></li></div>');
var lyr;
var spen= 1;
var cpg = 1;
var mpg = imgs.length/spen;
var hd;
var tm  = 3000;

function fncInit()
{
    lyr = document.getElementById('movImgs');
    clearTimeout(hd);
    fncDraw();
    hd  = setTimeout('fncLoop()',tm);
}

function fncLoop()
{
	//clearTimeout(hd);
    fncNext();
    //hd  = setTimeout('fncLoop()',tm);
}

function fncDraw()
{
 
    //var cont= '';
//alert(cpg);
    //for( var i=0; i<(cpg); i++ )
    //{
    //    cont+= imgs[i];
    //}

    lyr.innerHTML = imgs[cpg-1];
    
}

function fncPrev()
{
    cpg--;
    if( cpg<1 )
        cpg = mpg;

    clearTimeout(hd);
    fncDraw();
    hd = setTimeout('fncLoop()',tm);
}

function fncNext()
{
    cpg++;
    if( mpg<cpg )
        cpg = 1;

    clearTimeout(hd);
    fncDraw();
    hd = setTimeout('fncLoop()',tm);
}
