/*ゴールデンウイーク営業案内用*/
/*その他各種インフォメーション（onloadのポップアップ）でお使いください*/
function Info(winNAME){
	var w="";
	w = window.open("http://www.seikan.net./index.html",winNAME,"resizable=0,status=0,scrollbars=0,width=400,height=150,left=0,top=0");
	w.focus();
}

/*各コンテンツページウインドウサイズ*/
function cnt(){
	window.moveTo(0,0);
	resizeTo(628,768);
	focus();
}

/*女性プロフィールページウインドウサイズ*/
function prof(){
	window.moveTo(0,0);
	resizeTo(826,629);
	focus();
}

/*女性プロフィールページポップアップ*/
/*ポップアップページのURLおよびウインドウ名を引数として受け取る*/
function openWin(theURL,winNAME){
	window.open(theURL,winNAME,"resizable=0,status=0,scrollbars=0,width=800,height=600,left=0,top=0");
}

/*コンテンツページポップアップ*/
/*ポップアップページのURLを引数として受け取る*/
function op(theURL){
	var nc = "";
	wnm = "popg";
	nc = window.open(theURL,wnm,"width=616,height=700,left=0,top=0,toolbar=0,resizable=yes,status=no,scrollbars=yes");
	nc.focus();
}

/*こちらはコンテンツページからコンテンツページを開くためのスクリプト*/
function op2(theURL,wnm){
	var nc = "";
	nc = window.open(theURL,wnm,"width=616,height=700,left=15,top=0,toolbar=0,resizable=yes,status=no,scrollbars=yes");
	nc.focus();
}

/*コンテンツサブページポップアップ*/
/*ポップアップページのURLおよびウインドウ名を引数として受け取る*/
function op_sub(theURL,NWin){
	var nsc = "";
	nsc = window.open(theURL,NWin,"width=516,height=700,left=20,top=0,toolbar=0,resizable=no,status=no,scrollbars=yes");
	nsc.focus();
}

/*お気に入りに追加*/
function fv(){
window.external.addFavorite('http://www.m-seikan.net/top.html','M-SEIKAN');
}

/*ロールオーバー*/
/*変更する画像のNAMEおよび入れ替える画像ファイルのパスを引数として受け取る*/
/*画像には必ずNAMEとIDの両方を入れてね*/
function CngImg(ID,NewFile){
	if(document.layers)
		document.images[ID].src = NewFile; //NN4用
	else if(document.getElementById)
		document.getElementById(ID).src = NewFile; //IE NN6用
	else if(document.all)
		document.all(ID).src = NewFile; //IE4用
}


