function addFavorite(){
	var brw_v = navigator.appVersion.charAt(0);
	var brw_n = navigator.appName.charAt(0);
	var TL	= "万葉のふるさと氷見";
	var url	= "http://www.ariso.jp/";
	if((brw_v >= 4)&&(brw_n == "M")){
		window.external.AddFavorite(url,TL);
	}else{
		window.alert("IE4以上のみの対応です。");
	}
}

function NewWindow(url,x,y){
var i;
var Features = "scrollbars=yes"+ ",width="+x+",height="+y;
	i = window.open("","blank",Features);
	i.focus();
	i.location.href = url;
}

function WindowOpen(sel,w,h){
var s;
var Spec = "scrollbars=yes"+",width="+w+",height="+h;
	s = window.open("","blank",Spec);
	s.focus();
	s.location.href = sel.options[sel.selectedIndex].value;
}

function Jump(j) {
	parent.frames[2].location.href = j;
}

function Expand() {
var child = document.all[event.srcElement.child];
	if (null != child) {
	if (child.className == "close")
		{child.className = "open" ;}
	else 	{child.className = "close";}
	}
}

function Music(n,t){
var m;
var WindowStatus = "status=0,width=200,height=120";
m = window.open("","Music",WindowStatus);
m.focus();
m.document.open();
m.document.write("<HTML>\n<HEAD>\n<TITLE>");
m.document.write(t);
m.document.write("</TITLE>\n</HEAD>");

m.document.write("<BODY bgcolor=#000000>\n<CENTER>");
m.document.write('<EMBED src="'+n+'" width=150 height=40 autostart=true repeat=true>');
m.document.write("</CENTER>\n</BODY>\n</HTML>");
m.document.close();
}
