/******************************************	
	menu	heart season
	word	ureshii natsukashii 
	cat 	word song
 ******************************************/
function chglist(word ,cat){
	var sen="lis" + "_" + word + "_" + cat + ".html";
//		document.write(sen);
		parent.lis.location.href=sen;
		parent.submenu.category.value=cat;
		parent.menu.wordsel.value=word;
}
/******************************************	
 ******************************************/
function preload(){
	if(document.images){
		dummy = new Array(11)
		var i;
		for(i=0 ;i<12;i++){
			dummy[i] = new Image();
		}
		dummy[0].src='./img/f_dres.jpg';
		dummy[1].src='./img/f_make.jpg';
		dummy[2].src='./img/f_cake.jpg';
		dummy[3].src='./img/f_plan.jpg';
		dummy[4].src='./img/f_pres.jpg';
		dummy[5].src='./img/f_flow.jpg';
		dummy[6].src='./img/f_menu.jpg';
		dummy[7].src='./img/f_serv.jpg';
		dummy[8].src='./img/f_spir.jpg';
		dummy[9].src='./img/f_prod.jpg';
		dummy[10].src='./img/f_spac.jpg';
	}
}
/***************
 ***************/
function Init_submenu(){
	category.value = 'song';

}

/***************
 ***************/

function Init_menu(){
	wordsel.value = 'umi';

}

/******************************************	
	menu	heart season
	word	ureshii natsukashii 
	cat 	word song
 ******************************************/
function chglist(word ,cat){
	var sen="lis" + "_" + word + "_" + cat + ".html";
//		document.write(sen);
		parent.lis.location.href=sen;
		parent.submenu.category.value=cat;
		parent.menu.wordsel.value=word;
}

/******************************************	
 ******************************************/
/***************
 ***************/
function tenkai() {
if ("" !=event.srcElement.id) {
	 var ka = event.srcElement.id+ "kaisetu"
	 var ko = document.all[ka] 
	 if (null!=ko) ko.style.display = "none" == ko.style.display ? "" : "none"
    	  event.returnValue=false
	}
}

/***************
 ***************/
function tenkai1() {
if ("" !=event.srcElement.id) {
	 var ko = document.all["menuarray"] 
	 if (null!=ko) ko.style.display = "none" == ko.style.display ? "" : "none"
    	  event.returnValue=false
	}
}

/******************************************	
 ******************************************/
function jamp(parts){ 
	top.location.href= parts.options[parts.selectedIndex].value;
} 

/******************************************	
 ******************************************/
/***************
 ***************/
function Scroll(){
	if(document.all["sheet1"].all["sheet2"].style.pixelTop > -110){
		document.all["sheet1"].all["sheet2"].style.pixelTop -= 1;
			setTimeout("Scroll()",90);
	}
	if(document.all["sheet1"].all["sheet2"].style.pixelTop == -110){
		document.all["sheet1"].all["sheet2"].style.pixelTop = 100;
	}
}
/***************
 ***************/
function Scrolls(){
	if(document.all["sheet1"].all["sheet2"].style.pixelTop > -400){
		document.all["sheet1"].all["sheet2"].style.pixelTop -= 1;
			setTimeout("Scrolls()",90);
	}
	if(document.all["sheet1"].all["sheet2"].style.pixelTop == -400){
		document.all["sheet1"].all["sheet2"].style.pixelTop = 100;
//		document.write(document.all["sheet1"].all["sheet2"].style.pixelTop);
	}

}
/***************
 ***************/
function Scroll1(val){
	var val1 = val * (-1);
	var val2 = val ;

	if(document.all["sheet1"].all["sheet2"].style.pixelTop > val1){
		document.all["sheet1"].all["sheet2"].style.pixelTop -= 1;
			setTimeout("Scroll1(val2)",90);
	}
	if(document.all["sheet1"].all["sheet2"].style.pixelTop == val1){
		document.all["sheet1"].all["sheet2"].style.pixelTop = 100;
	}
}
