// scroll
function scroller(ps){
		scroller_up(ps,150);
}
	
function scroller_up(ps,y){
	y = y + (ps - y)*.1;
	window.scroll(0,y);
	if (((ps - y) <= .5)&&((ps - y) >= -.5))
	{					
		y = ps;
	}else{
		setTimeout("scroller_up("+ps+","+y+")",1);
	}
}

function scroller_e(ps){
	y = 1;
	kyoukai = ps*.5;
	while(y <= kyoukai)
	{
		window.scroll(0,y);
		y = y + (y*.05);
	// speed
    }
	while(y != ps)
	{
		window.scroll(0,y);
		y = y + (ps-y)*.05;
		// speed
		if (((ps - y) <= .5)&&((ps - y) >= -.5))
		{					
			y = ps;
		}		
	}
}
// マウスオーバーで背景強調
function note(objRef,state) {
 objRef.style.backgroundImage=(1==state)?'url(http://fiwc-p.com/common/images/note.png)':'';return; }

function noteBK(objRef,state) {
 objRef.style.backgroundImage=(1==state)?'url(http://fiwc-p.com/common/images/noteBK.png)':'';return; }

// セレクトボックス URLジャンプ
function gotoURL(URL){
if(URL!=""){
window.location.href=URL;
}
}


// 画像別窓表示
function show(arg){
var param = "'scrollbars=no,resizable=yes,status=no,screenX=20,screenY=20,left=20,top=20,width=100,height=100'";
var imgwin=window.open("","new",param);
imgwin.document.open("text/html");
imgwin.document.writeln("<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>");
imgwin.document.writeln("<html lang='ja'>");
imgwin.document.writeln("<head>");
imgwin.document.writeln("<title>"+arg+"</title>");
imgwin.document.writeln("</head>");
imgwin.document.write("<body style='margin:0em''background-color: #000'");
imgwin.document.write(" leftmargin='0' topmargin='0'");
imgwin.document.writeln(" marginheight='0' marginwidth='0'>");
imgwin.document.writeln("<img src='"+arg+"' alt='"+arg+"' onLoad='resizeTo(this.width,this.height )'>");
imgwin.document.writeln("</body>");
imgwin.document.write("</html>");
imgwin.document.close("");
}


// カレプロ関連
function hitomi_kusudama(){window.open("http://fiwc-p.com/hitomi/kusudama/","window1","scrollbars=no,toolbar=no,location=no, directories=no, screenX=100,screenY=420,left=100,top=420,resizable=no, status=no,width=200,height=200");}
function hitomi_sample(){window.open("http://fiwc-p.com/hitomi/slide/sample2007/","window1","scrollbars=no,toolbar=no,location=no, directories=no, screenX=100,screenY=100,left=100,top=100,resizable=no, status=no,width=500,height=375");}


// アルバム フルスクリーン
function album_2003summer_1(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/philippines/2003summer/1/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_2003summer_2(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/philippines/2003summer/2/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_2004spring_1(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/philippines/2004spring/1/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_2004spring_2(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/philippines/2004spring/2/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_2004summer_1(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/philippines/2004summer/1/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_2004summer_2(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/philippines/2004summer/2/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_2005spring_1(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/philippines/2005spring/1/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_2005spring_2(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/philippines/2005spring/2/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_2005spring_3(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/philippines/2005spring/3/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_2005spring_4(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/philippines/2005spring/4/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_2005minicamp_1(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/philippines/2005minicamp/1/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_2006spring_1(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/philippines/2006spring/1/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_2006spring_2(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/philippines/2006spring/2/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_2006spring_3(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/philippines/2006spring/3/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_2006spring_4(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/philippines/2006spring/4/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_2006spring_5(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/philippines/2006spring/5/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_2006summersurvey_1(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/philippines/2006summersurvey/1/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_2006summersurvey_2(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/philippines/2006summersurvey/2/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_2006summersurvey_3(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/philippines/2006summersurvey/3/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_2006summersurvey_4(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/philippines/2006summersurvey/4/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_2006summer_1(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/philippines/2006summer/1/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_2006summer_2(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/philippines/2006summer/2/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_2006summer_3(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/philippines/2006summer/3/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_2006summer_4(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/philippines/2006summer/4/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_2007summer_1(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/philippines/2007summer/1/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_2007summer_2(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/philippines/2007summer/2/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_2007summer_3(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/philippines/2007summer/3/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_2007summer_4(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/philippines/2007summer/4/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_2007summer_5(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/philippines/2007summer/5/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_2007summer_6(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/philippines/2007summer/6/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_2007summer_7(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/philippines/2007summer/7/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_2007summer_8(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/philippines/2007summer/8/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_2007summer_9(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/philippines/2007summer/9/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_2007summer_10(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/philippines/2007summer/10/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_2007summer_11(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/philippines/2007summer/11/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_2007summer_extra1(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/philippines/2007summer/extra1/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_2007summer_extra2(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/philippines/2007summer/extra2/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_2007summer_extra3(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/philippines/2007summer/extra3/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_2008summer_1(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/philippines/2008summer/1/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_2008summer_2(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/philippines/2008summer/2/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_2008summer_3(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/philippines/2008summer/3/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_2008summer_4(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/philippines/2008summer/4/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_2008summer_5(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/philippines/2008summer/5/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_2008summer_extra1(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/philippines/2008summer/extra1/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_kaon2007_1(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/japan/kaon2007/1/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_kaon2007_2(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/japan/kaon2007/2/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_iwate2006_1(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/japan/iwate2006/1/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_iwate2006_2(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/japan/iwate2006/2/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_iwate2006_3(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/japan/iwate2006/3/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_iwate2006_4(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/japan/iwate2006/4/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_iwate2006_5(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/japan/iwate2006/5/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_iwate2006_6(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/japan/iwate2006/6/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_rutsubo2_photo(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/japan/rutsubo2/photo/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

function album_graduation2006_photo(){
  var wWidth =  screen.availWidth;
  var wHeight = screen.availHeight;
  var posX = 0;
  var posY = 0;
  window.open("http://fiwc-p.com/album/japan/graduation2006/photo/","fiwc","left=" + posX + ", top=" + posY + ", width=" + wWidth + ", height=" + wHeight + ", toolbar=no");
}

// function MOVIE_flower(){window.open("http://fiwc-p.com/album/movie/flower/index.php","window1","scrollbars=no,toolbar=no,location=no, directories=no, screenX=30,screenY=30,left=30,top=30,resizable=no, status=no,width=340,height=300");}
// function MOVIE_work2004(){window.open("http://fiwc-p.com/album/movie/work2004/index.php","window1","scrollbars=no,toolbar=no,location=no, directories=no, screenX=30,screenY=30,left=30,top=30,resizable=no, status=no,width=340,height=300");}
// function MOVIE_work2005(){window.open("http://fiwc-p.com/album/movie/work2005/index.php","window1","scrollbars=no,toolbar=no,location=no, directories=no, screenX=30,screenY=30,left=30,top=30,resizable=no, status=no,width=340,height=300");}

function MOVIE_flower(){window.open("http://fiwc-p.com/album/movie/flower/flower.wmv","window1","scrollbars=no,toolbar=no,location=no, directories=no, screenX=30,screenY=30,left=30,top=30,resizable=no, status=no,width=340,height=300");}
function MOVIE_work2004(){window.open("http://fiwc-p.com/album/movie/work2004/work2004.wmv","window1","scrollbars=no,toolbar=no,location=no, directories=no, screenX=30,screenY=30,left=30,top=30,resizable=no, status=no,width=340,height=300");}
function MOVIE_work2005(){window.open("http://fiwc-p.com/album/movie/work2005/work2005.wmv","window1","scrollbars=no,toolbar=no,location=no, directories=no, screenX=30,screenY=30,left=30,top=30,resizable=no, status=no,width=340,height=300");}
