if(navigator.appVersion.charAt(0) >=3){
	//main menu
	var btn = new Array();
	for( i = 0 ; i < 6 ; i++ ){
		btn[i] = new Image();
	}
	btn[0].src= "img/btn_more.gif";
	btn[1].src= "img/btn_more_on.gif";
	btn[2].src= "img/btn_newslist.gif";
	btn[3].src= "img/btn_newslist_on.gif";
	btn[4].src= "img/btn_detail.gif";
	btn[5].src= "img/btn_detail_on.gif";
}
function chBtn(dim,cnt){
    if(navigator.appVersion.charAt(0) >= 3 ){
        document.images[dim].src=btn[cnt].src;
    }
}

//SPECIAL
var className = ["icon1","icon2","icon3","icon4","icon1on","icon2on","icon3on","icon4on"];
var spName = ["ic1","ic2","ic3"];
var spCnt = spName.length;

function chgnavi(no){
	//HIDE
	alloff();
	
	//SHOW
	if(document.getElementById){//NN6,Mozilla,IE5用
		document.getElementById(spName[no-1]).className = className[no+5];
	}else if(document.all){//IE4用
		document.all(spName[no-1]).className = className[no+5];
	}else if(document.layers){//NN4用
		document.layers[spName[no-1]].className = className[no+5];
	}
}
function alloff(){
	for(i=0;i<spCnt;i++){
		if(document.getElementById){//NN6,Mozilla,IE5用
			document.getElementById(spName[i]).className = className[i];
		}else if(document.all){//IE4用
			document.all(spName[i]).className = className[i];
		}else if(document.layers){//NN4用
			document.layers[spName[i]].className = className[i];
		}
	}
}


