function MM_findObj(n, d) { //v4.01
var p,i,x;if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
 if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function LinkSelect(form, sel)
{
        adrs = sel.options[sel.selectedIndex].value;
        if (adrs != "-" ) location.href = adrs;
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);


<!--メニューの折りたたみ//-->
function add_toggle(elem){
   		var target=elem.id+'_cont';//開閉するエリア
   		Effect.BlindUp(target,{duration:0.0});//サイトアクセス時に閉じる速度（1.0→１秒）
   		var func=function(){
   			Effect.toggle(target,'blind',{duration:0.3});//クリック時に開閉する速度
   		};
   		Event.observe(elem,'click',func);//onClickイベントハンドラ
}
function init(){
   		var news=$('news_list');
   		var list=news.getElementsByTagName('h2');//h2要素を全て抽出
   		for(var i=0;i<list.length;i++){
   			add_toggle(list[i]);
   		}
}

   Event.observe(window,'load',init);//ページロード後にinit関数を実行

<!--メニューの折りたたみ//-->

function keyword() 
{
	//alert("1234")
	//document.search.Keyword.value = document.search.check1.value
	var key = ""
    if (document.search.check1[0].checked) {
		key = document.search.check1[0].value + " "
		} else {
			key = ""
		}
	if (document.search.check1[1].checked) {
		key += document.search.check1[1].value + " "
		} else {
			key += ""
		}
		
	if (document.search.check2[0].checked) {
		key += document.search.check2[0].value + " "
		} else {
			key += ""
		}
	if (document.search.check2[1].checked) {
		key += document.search.check2[1].value + " "
		} else {
			key += ""
		}
	if (document.search.check2[2].checked) {
		key += document.search.check2[2].value + " "
		} else {
			key += ""
		}
	if (document.search.check2[3].checked) {
		key += document.search.check2[3].value + " "
		} else {
			key += ""
		}
	if (document.search.check2[4].checked) {
		key += document.search.check2[4].value + " "
		} else {
			key += ""
		}
	if (document.search.check2[5].checked) {
		key += document.search.check2[5].value + " "
		} else {
			key += ""
		}
	if (document.search.check2[6].checked) {
		key += document.search.check2[6].value + " "
		} else {
			key += ""
		}

	if (document.search.check2[7].checked) {
		key += document.search.check2[7].value + " "
		} else {
			key += ""
		}
	if (document.search.check2[8].checked) {
		key += document.search.check2[8].value + " "
		} else {
			key += ""
		}
	if (document.search.check2[9].checked) {
		key += document.search.check2[9].value + " "
		} else {
			key += ""
		}
	if (document.search.check2[10].checked) {
		key += document.search.check2[10].value + " "
		} else {
			key += ""
		}
	if (document.search.check2[11].checked) {
		key += document.search.check2[11].value + " "
		} else {
			key += ""
		}
	if (document.search.check2[12].checked) {
		key += document.search.check2[12].value + " "
		} else {
			key += ""
		}
	if (document.search.check2[13].checked) {
		key += document.search.check2[13].value + " "
		} else {
			key += ""
		}
										
	if (document.search.check3[0].checked) {
		key += document.search.check3[0].value + " "
		} else {
			key += ""
		}
	if (document.search.check3[1].checked) {
		key += document.search.check3[1].value + " "
		} else {
			key += ""
		}
	if (document.search.check3[2].checked) {
		key += document.search.check3[2].value + " "
		} else {
			key += ""
		}
	if (document.search.check3[3].checked) {
		key += document.search.check3[3].value + " "
		} else {
			key += ""
		}
	if (document.search.check3[4].checked) {
		key += document.search.check3[4].value + " "
		} else {
			key += ""
		}
    if (document.search.check3[5].checked) {
		key += document.search.check3[5].value + " "
		} else {
			key += ""
		}
    if (document.search.check3[6].checked) {
		key += document.search.check3[6].value + " "
		} else {
			key += ""
		}
    if (document.search.check3[7].checked) {
		key += document.search.check3[7].value + " "
		} else {
			key += ""
		}
    if (document.search.check3[8].checked) {
		key += document.search.check3[8].value + " "
		} else {
			key += ""
		}
    if (document.search.check3[9].checked) {
		key += document.search.check3[9].value + " "
		} else {
			key += ""
		}
    if (document.search.check3[10].checked) {
		key += document.search.check3[10].value + " "
		} else {
			key += ""
		}
    if (document.search.check3[11].checked) {
		key += document.search.check3[11].value + " "
		} else {
			key += ""
		}

    if (document.search.check4[0].checked) {
		key += document.search.check4[0].value + " "
		} else {
			key += ""
		}
    if (document.search.check4[1].checked) {
		key += document.search.check4[1].value + " "
		} else {
			key += ""
		}
    if (document.search.check4[2].checked) {
		key += document.search.check4[2].value + " "
		} else {
			key += ""
		}
		
	if (document.search.check5[0].checked) {
		key += document.search.check5[0].value + " "
		} else {
			key += ""
		}
	if (document.search.check5[1].checked) {
		key += document.search.check5[1].value + " "
		} else {
			key += ""
		}

	if (document.search.check6.checked) {
		key += document.search.check6.value + " "
		} else {
			key += ""
		}

	if (document.search.check7.checked) {
		key += document.search.check7.value + " "
		} else {
			key += ""
		}

	if (document.search.check8.checked) {
		key += document.search.check8.value + " "
		} else {
			key += ""
		}
	
    if (document.search.check9.checked) {
		key += document.search.check9.value + " "
		} else {
			key += ""
		}
		
    if (document.search.check10.checked) {
		key += document.search.check10.value + " "
		} else {
			key += ""
		}

   if (document.search.check11.checked) {
		key += document.search.check11.value + " "
		} else {
			key += ""
		}
        document.search.Keyword.value = key

}

function subWin1(){ 
window.open("http://www.e-connect.jp/shouhin_html/K_Aka_Aka.html","window2","resizable=no,menubar=no,directories=no,status=no,location=no,width=480,height=710"); 
} 
function subWin2(){ 
window.open("http://www.e-connect.jp/shouhin_html/K_Aka_Pro.html","window3","resizable=no,menubar=no,directories=no,status=no,location=no,width=480,height=730"); 
} 
function subWin3(){ 
window.open("http://www.e-connect.jp/shouhin_html/K_Aka_Pro_Stand.html","window4","resizable=no,menubar=no,directories=no,status=no,location=no,width=300,height=390"); 
} 
function subWin4(){ 
window.open("http://www.e-connect.jp/shouhin_html/K_ASSA_Stand.html","window5","resizable=no,menubar=no,directories=no,status=no,location=no,width=480,height=560"); 
} 
function subWin5(){ 
window.open("http://www.e-connect.jp/shouhin_html/K_ASSA.html","window6","resizable=no,menubar=no,directories=no,status=no,location=no,width=480,height=650"); 
} 
function subWin6(){ 
window.open("http://www.e-connect.jp/shouhin_html/K_Nagate_Haikou.html","window7","resizable=no,menubar=no,directories=no,status=no,location=no,width=320,height=420"); 
} 
function subWin7(){ 
window.open("http://www.e-connect.jp/shouhin_html/K_FreePa_Tentou_Stand.html","window8","resizable=no,menubar=no,directories=no,status=no,location=no,width=320,height=420"); 
} 
function subWin8(){ 
window.open("http://www.e-connect.jp/shouhin_html/K_FreePa_Separete_Uchigenkan.html","window9","resizable=no,menubar=no,directories=no,status=no,location=no,width=320,height=420"); 
} 
function subWin9(){ 
window.open("http://www.e-connect.jp/shouhin_html/K_FreePa_Separete_Kaidan.html","window10","resizable=no,menubar=no,directories=no,status=no,location=no,width=320,height=420"); 
} 
function subWin10(){ 
window.open("http://www.e-connect.jp/shouhin_html/K_FreePa_Separete_Toilet.html","window11","resizable=no,menubar=no,directories=no,status=no,location=no,width=320,height=420"); 
} 
function subWin11(){ 
window.open("http://www.e-connect.jp/shouhin_html/K_FreePa_Separete_Fukinuke.html","window12","resizable=no,menubar=no,directories=no,status=no,location=no,width=320,height=420"); 
} 
function subWin12(){ 
window.open("http://www.e-connect.jp/shouhin_html/K_TwinPa_Produce.html","window13","resizable=no,menubar=no,directories=no,status=no,location=no,width=480,height=640"); 
} 
function subWin13(){ 
window.open("http://www.e-connect.jp/shouhin_html/K_koshoku.html","window14","resizable=no,menubar=no,directories=no,status=no,location=no,width=450,height=250"); 
}

// 入力チェック

	function SubmitCheck(){

		// 発注個数チェック

		if ( document.ItemForm.Kosuu.value == "" ) {

			msg1="入力項目に誤りがあります。\n\n";

			msg1 +=  "●発注個数を入力して下さい。";

			alert(msg1);

			return false;

		}

	}



	// 詳細選択エラー

	function SelectDetailCheck(){

		// 発注個数チェック

		if ( document.VariForm.HanyoID.value == "NoSelect" ) {

			msg1="バリエーションの選択に誤りがあります。\n\n";

			msg1 +=  "●その他のバリエーション以外を選択して下さい。";

			alert(msg1);
			return false;

		}

	}
