    path = "http://aosmi.pe.kr/topmenu/";
    
    imag = new Array();
    imag[0] = path + "topmenuyuji_g.gif";
    imag[1] = path + "topmenuyuji_b.gif";

    imag[2] = path + "topmenueri_g.gif";
    imag[3] = path + "topmenueri_b.gif";

    imag[4] = path + "topmenuodru_g.gif";
    imag[5] = path + "topmenuodru_b.gif";

    imag[6] = path + "topmenuspeaker_g.gif";
    imag[7] = path + "topmenuspeaker_b.gif";

    imag[8] = path + "topmenunews_g.gif";
    imag[9] = path + "topmenunews_b.gif";

    imag[10] = path + "topmenufree_g.gif";
    imag[11] = path + "topmenufree_b.gif";
	
	imag[12] = path + "topmenuguest_g.gif";
    imag[13] = path + "topmenuguest_b.gif";

    imag[14] = path + "topmenulink_g.gif";
    imag[15] = path + "topmenulink_b.gif";
        
function swtch(num,imgname){
     imgname.src = im[num].src;
}

im = new Array(imag.length);
for (var i = 0; i < imag.length; i++){
       im[i] = new Image();
       im[i].src = imag[i];
}

function popup(linkUrl) {
dynamic = window.open(linkUrl,"dynamic","width=750,height=440, status=1,scrollbars, resizable=1")
dynamic.focus();
}
