if(document.images) {

	dProImgPath = "/www/disoft/int/pixela/images/picpac/";
	
	var aProImg = new Array();
	
	var aProMenuList = new Array(
		"tab_freq",
		"tab_dl",
		"tab_qa",
		"tab_sys",
		"tab_drive",
		"bt_pmb_dl"


	);
	
	
	for(i = 0 ; i < aProMenuList.length; i++){
		dNum = i
		aProImg[dNum] = new Array();
		aProImg[dNum][0] = new Image();
		aProImg[dNum][0].src = dProImgPath + aProMenuList[i] + ".gif";
		aProImg[dNum][1] = new Image();
		aProImg[dNum][1].src = dProImgPath + aProMenuList[i] + "_on.gif";
	}
	
}


function prochgimg(dName, dNum) {
	
	if(document.images) {
		for(i = 0 ; i < aProMenuList.length; i++){
			if(aProMenuList[i] == dName){
				dImgNum = i;
				break;
			}
		}
		document.images[dName].src = aProImg[dImgNum][dNum].src;
		
	}
}





//ポップアップウィンドウを開く
function NewWinOpen(dUrl,dName,dWidth,dHeight,dEtc){
	dStatus = "width=" + dWidth + ",height=" + dHeight;
	
	if(dEtc != ""){
		dStatus += "," + dEtc;
	}
	
	newwin = window.open(dUrl, dName, dStatus);
	newwin.focus();
	return false;
	
}


