

<!--//詳細windowのホップアップ
  function subWin1(my_url)
   {
     window.open(my_url,'','resizable=yes,menubar=yes,directories=no,status=yes,location =no,scrollbars=yes,toolbar=yes,width=750');
    }
//-->

<!--//活動日記windowのホップアップ
  function subWin2(my_url)
   {
     window.open(my_url,'','resizable=yes,menubar=yes,directories=no,status=yes,location =no,scrollbars=yes,toolbar=yes,width=750');
    }
//-->

<!--//環境人ってなあに？のホップアップ
function new_win(){
window.open("pop_nani.html","","width=600,height=530");
}
//-->

<!--//プライバシーポリシーのホップアップ
function new_win2(){
window.open("pop_privacy.html","","width=650,height=360");
}
//-->

<!--//チュートリアルのホップアップ
function new_tutorial(){
window.open("pop_tutorial.html","","width=650,height=360");
}
//-->

<!--//環境人ってなあに？のホップアップ（メールフォームより）
function new_win3(){
window.open("../pop_nani.html","","width=600,height=530");
}
//-->

<!--//プライバシーポリシーのホップアップ(メールフォームより）
function new_win4(){
window.open("../pop_privacy.html","","width=600,height=330");
}
//-->


<!--//感想を書こう！フォームの入力チェック
function check_k(){
var flag = 0;

if(document.Sform.item6.value != ""){
   if(!document.Sform.item6.value.match(/.jpg/)){
    if(!document.Sform.item6.value.match(/.JPG/)){
  flag = "写真の拡張子が正しくありません。";
 }
}
}
if(document.Sform.item5.value == ""){
flag = "感想が入力されていません。";
}
var strLine = document.Sform.item5.value;
var strLenCnt = 8000;
var ix_str,strcnt=0;
for(ix_str=0;ix_str<strLine.length;ix_str++){
    if(escape(strLine.charAt(ix_str)).length >= 4 ) strcnt+=2;
    else strcnt++;
}
if(strcnt>strLenCnt){
    flag = "感想の文字数が多すぎます。";
}

if(document.Sform.item4.value == ""){
flag = "イベント名が入力されていません。";
}

if(document.Sform.item3.value == ""){
flag = "場所が入力されていません。";
}

if(document.Sform.item2.value == ""){
flag = "日が入力されていません。";
}

if(document.Sform.item1.value == ""){
flag = "月が入力されていません。";
}

if(document.Sform.item0.value == ""){
flag = "年が入力されていません。";
}

if(flag){
var txt = flag + ""
window.alert( txt );
return false;
}else{
return true;
}
}
//-->

<!--//何でも聞いてね！フォームの入力チェック
function check_n(){
var flag = 0;

if(document.Sform.item3.value == ""){
flag = "聞きたいことが入力されていません。";
}
var strLine = document.Sform.item3.value;
var strLenCnt = 8000;
var ix_str,strcnt=0;
for(ix_str=0;ix_str<strLine.length;ix_str++){
    if(escape(strLine.charAt(ix_str)).length >= 4 ) strcnt+=2;
    else strcnt++;
}
if(strcnt>strLenCnt){
    flag = "聞きたいことの文字数が多すぎます。";
}

if(document.Sform.item2.value == ""){
flag = "ご連絡先が入力されていません。";
}

if(flag){
var txt = flag + ""
window.alert( txt );
return false;
}else{
return true;
}
}
//-->

