function sfHover(http)
{
	var smen = document.getElementById("other");
	var slay = document.getElementById("layer");
	var drop = document.getElementById("drop");
	var home = document.getElementById("home_h");

		smen.onmouseover=function() {
			slay.className = str_replace("layer", "layer_h", slay.className);
			smen.className = str_replace("layer_btn", "layer_btn_h", smen.className);
			drop.src = http+"/images/topnavi_arrow_hover.gif";
		}
		slay.onmouseover=function() {
			slay.className = str_replace("layer", "layer_h", slay.className);
			smen.className = str_replace("layer_btn", "layer_btn_h", smen.className);
			drop.src = http+"/images/topnavi_arrow_hover.gif";
		}
		home.onmouseover=function() {
			home.className = str_replace("layer_btn", "layer_btn_h", home.className);
		}
		smen.onmouseout=function() {
			slay.className = str_replace("layer_h", "layer", slay.className);
			smen.className = str_replace("layer_btn_h", "layer_btn", smen.className);
			drop.src = http+"/images/topnavi_arrow.gif";
		}
		slay.onmouseout=function() {
			slay.className = str_replace("layer_h", "layer", slay.className);
			smen.className = str_replace("layer_btn_h", "layer_btn", smen.className);
			drop.src = http+"/images/topnavi_arrow.gif";
		}
		home.onmouseout=function()
		{
			home.className = str_replace("layer_btn_h", "layer_btn", home.className);
		}
}

function sh_pop(elm, action)
{
	if(action == 1)
	{
		document.getElementById('small_'+elm).style.display = 'none';
		document.getElementById('big_'+elm).style.display = 'block';
	}
	else
	{
		document.getElementById('small_'+elm).style.display = 'block';
		document.getElementById('big_'+elm).style.display = 'none';
	}
}

function str_replace(a,b,c){try{if(typeof c=="number"){return c}return c.split(a).join(b)}catch(e){return""}}
function hx(a){if(!a)location.href='';else location.href='?p='+a}
