// JavaScript Document


//相談室　Q1　ポップアップ
function OpenWin1(){
    win1=window.open("popup1_2.html","","width=625,height=445,scrollbars=no");
}
//相談室　Q3　ポップアップ
function OpenWin2(){
    win1=window.open("popup3_1.html","","width=625,height=500,scrollbars=no");
}
//相談室　Q4　ポップアップ
function OpenWin3(){
    win1=window.open("popup4_1.html","","width=625,height=550,scrollbars=no");
}
//相談室　Q5　ポップアップ
function OpenWin4(){
    win1=window.open("popup5_1.html","","width=650,height=500,scrollbars=no");
}
//年金相談室　Q1　ポップアップ
function OpenWin5(){
    win1=window.open("popup1_1.html","","width=550,height=580,scrollbars=no");
}
//年金相談室　Q1　ポップアップ
function OpenWin6(){
    win1=window.open("popup1_2.html","","width=550,height=580,scrollbars=no");
}
//年金相談室　Q2　ポップアップ
function OpenWin7(){
    win1=window.open("popup2_1.html","","width=550,height=880,scrollbars=no");
}
//年金相談室　Q2　ポップアップ
function OpenWin8(){
    win1=window.open("popup2_2.html","","width=550,height=660,scrollbars=no");
}
//年金相談室　Q3　ポップアップ
function OpenWin9(){
    win1=window.open("popup3_1.html","","width=550,height=450,scrollbars=no");
}
//年金相談室　Q4　ポップアップ
function OpenWin10(){
    win1=window.open("popup4_1.html","","width=518,height=754,scrollbars=no");
}
//年金相談室　Q4　ポップアップ
function OpenWin11(){
    win1=window.open("popup4_2.html","","width=445,height=697,scrollbars=no");
}
//年金相談室　Q5　ポップアップ
function OpenWin12(){
    win1=window.open("popup5.html","","width=538,height=625,scrollbars=no");
}
//年金相談室　Q6　ポップアップ
function OpenWin13(){
    win1=window.open("popup6_1.html","","width=650,height=600,scrollbars=no");
}
//年金相談室　Q6　ポップアップ
function OpenWin14(){
    win1=window.open("popup6_2.html","","width=530,height=400,scrollbars=no");
}
//年金相談室　Q9　ポップアップ
function OpenWin15(){
    win1=window.open("popup9.html","","width=581,height=802,scrollbars=no");
}


//あこがれロケーション 悠々土地情報　吹き出し
function setVisibility(id,visible){

document.getElementById(id).style.display = visible ? "block" : "none";

popArray = new Array('pop_1','pop_2','pop_3','pop_4','pop_5','pop_6','pop_7');

for(i = 0; i < popArray.length; i++){
	if(popArray[i]!=id && document.getElementById(popArray[i]).style.display == "block"){
			document.getElementById(popArray[i]).style.display = "none";
		}
	}

}

