var pm_pic_dir='is_set/cdv_template/';
pm_bar_bg=pm_pic_dir+'bar_silver_bg.gif';
pm_bar_bgo=pm_pic_dir+'bar_silver_bgo.gif';

function AREA_goTo( url ) {
	window.location.href = url;
}

function AREA_roofBar_2( tableCellRef, hoverFlag ) {
	if ( hoverFlag ) {
		tableCellRef.style.backgroundImage = 'url("'+pm_bar_bg+'")';
		if ( document.getElementsByTagName ) {
			tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#c00';
		}
	} else {
		tableCellRef.style.backgroundImage = 'url("'+pm_bar_bgo+'")';
		if ( document.getElementsByTagName ) {
			tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#333';
		}
	}
}

function AREA_roofBarClick_2( tableCellRef, url ) {
	AREA_roofBar_2( tableCellRef, 0 );
	AREA_goTo( url );
}

function AREA_navBar_2( tableCellRef, hoverFlag, navStyle ) {
	if ( hoverFlag ) {
		switch ( navStyle ) {
			case 1:
				tableCellRef.style.backgroundColor = '#fff';
				break;
			default:
				tableCellRef.style.backgroundColor = '#ccc';
				if ( document.getElementsByTagName ) {
					tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#c00';
				}
		}
	} else {
		switch ( navStyle ) {
			case 1:
				tableCellRef.style.backgroundColor = '#036';
				break;
			default:
				tableCellRef.style.backgroundColor = '#eee';
				if ( document.getElementsByTagName ) {
					tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#000';
				}
		}
	}
}

function AREA_navBarClick_2( tableCellRef, navStyle, url ) {
	AREA_navBar_2( tableCellRef, 0, navStyle );
	AREA_goTo( url );
}
