function showAs(obj) {
	var id = new Array('as1_1','as1_2','as1_3','as1_4','as1_5');
	if(!obj) return false;
	if(document.getElementById) {
	
		if(document.getElementById(obj).style.display == "block") {	//added
			document.getElementById(obj).style.display = "none";	//added
			} else {	//added

		var disp = (obj=="all") ? "block" : "none";
		for(i = 0; i < id.length; i++)
			document.getElementById(id[i]).style.display = disp;
			if(obj!="all") document.getElementById(obj).style.display = "block";
	
			}	//added
		
	} else {
		return false;
	}
}

function showAs2(obj) {
	var id = new Array('as2_1','as2_2','as2_3','as2_4','as2_5','as2_6','as2_7','as2_8','as2_9');
	if(!obj) return false;
	if(document.getElementById) {
	
		if(document.getElementById(obj).style.display == "block") {	//added
			document.getElementById(obj).style.display = "none";	//added
			} else {	//added

		var disp = (obj=="all") ? "block" : "none";
		for(i = 0; i < id.length; i++)
			document.getElementById(id[i]).style.display = disp;
			if(obj!="all") document.getElementById(obj).style.display = "block";
	
			}	//added
		
	} else {
		return false;
	}
}


function showAs3(obj) {
	var id = new Array('as3_1','as3_2','as3_3','as3_4','as3_5','as3_6','as3_7');
	if(!obj) return false;
	if(document.getElementById) {
	
		if(document.getElementById(obj).style.display == "block") {	//added
			document.getElementById(obj).style.display = "none";	//added
			} else {	//added

		var disp = (obj=="all") ? "block" : "none";
		for(i = 0; i < id.length; i++)
			document.getElementById(id[i]).style.display = disp;
			if(obj!="all") document.getElementById(obj).style.display = "block";
	
			}	//added
		
	} else {
		return false;
	}
}



function Wopen_privacy() {
	window.open("http://www.dfsokinawa.com/condition/privacy.html","_blank","toolbar=0,scrollbars=1,resizable=0,width=600,height=590");
	return false ;
}

function Wopen_about() {
	window.open("http://www.dfsokinawa.com/condition/about.html","_blank","toolbar=0,scrollbars=1,resizable=0,width=600,height=590");
	return false ;
}

function Wopen_map() {
	window.open("http://www.dfsokinawa.com/access/","_blank","toolbar=0,scrollbars=1,resizable=0,width=600,height=590");
	return false ;
}

function Wopen_maplarg() {
	window.open("http://www.dfsokinawa.com/access/map_enlrg.html","_blank","toolbar=0,scrollbars=1,resizable=0,width=600,height=590");
	return false ;
}

function Wopen_map1() {
	window.open("http://www.dfsokinawa.com/access/58.html","_blank","toolbar=0,scrollbars=1,resizable=0,width=665,height=820");
	return false ;
}

function Wopen_map2() {
	window.open("http://www.dfsokinawa.com/access/330north.html","_blank","toolbar=0,scrollbars=1,resizable=0,width=665,height=820");
	return false ;
}

function Wopen_map3() {
	window.open("http://www.dfsokinawa.com/access/330south.html","_blank","toolbar=0,scrollbars=1,resizable=0,width=665,height=820");
	return false ;
}

function Wopen_mail() {
	window.open("https://g.ab0.jp/client/1100_p.php/1UuenX","_blank","toolbar=0,scrollbars=1,resizable=0,width=600,height=590");
	return false ;
}


function Wopen_typhoon() {
	window.open("","_blank","toolbar=0,scrollbars=1,resizable=0,width=665,height=590");
	return false ;
}



function Wopen_apply09() {
	window.open("http://www.dfsokinawa.com/event/mDFS2009.html","_blank","toolbar=0,scrollbars=1,resizable=0,width=600,height=590");
	return false ;
}


function Wopen_ballot2010() {
	window.open("http://www.dfsokinawa.com/missDFS/ballot/","_blank","toolbar=0,scrollbars=1,resizable=0,width=520,height=600");
	return false ;
}





function Wopen_2010fuku() {
	window.open("http://www.dfsokinawa.com/fukubiki.html","_blank","toolbar=0,scrollbars=1,resizable=0,width=600,height=590");
	return false ;
}
