
//--------画像のswap関数---------
function rOver(num){
        if (NN3 || NC4 || NC6 || IE4 || IE5 || IE6) {
                document.images["menu_r" + num].src = "images/menu_r" + num + "_on.jpg";
        }
}

function rOut(num){
        if (NN3 || NC4 || NC6 || IE4 || IE5 || IE6) {
                document.images["menu_r" + num].src = "images/menu_r" + num + "_off.jpg";
        }
}


//--------クリックによるメイン画像のswap関数4LDK---------
n=0;
function myGo4(num){
	document.images["mainpict"].src = "images/4room" + num + ".jpg";

//	if (n > 100) return;
//	n += 2;
//	myIMG.filters['alpha'].opacity = n;
//	setTimeout("myGo4(" + num + ")",2);

	for (i = 1; i < 7; i++) {
		if (i == num) {
			document.images["rside2_menu" + i].src = "images/rside2_menu" + i + ".gif";
		}
		else{
        	document.images["rside2_menu" + i].src = "images/rside2_menu" + i + "_off.gif";
		}
	}
}

//--------間取りトップのswap関数---------
function plantOver(num){
        if (NN3 || NC4 || NC6 || IE4 || IE5 || IE6) {
                document.images["menu_pt" + num].src = "images/menu_pt" + num + "_on.gif";
        }
}

function plantOut(num){
        if (NN3 || NC4 || NC6 || IE4 || IE5 || IE6) {
                document.images["menu_pt" + num].src = "images/menu_pt" + num + "_off.gif";
        }
}

//--------各間取りのswap関数---------
function planOver(num){
        if (NN3 || NC4 || NC6 || IE4 || IE5 || IE6) {
                document.images["menu_p" + num].src = "images/menu_p" + num + "_on.jpg";
        }
}

function planOut(num){
        if (NN3 || NC4 || NC6 || IE4 || IE5 || IE6) {
                document.images["menu_p" + num].src = "images/menu_p" + num + "_off.jpg";
        }
}

//--------間取りのswap関数2---------
function planbarOver(num){
        if (NN3 || NC4 || NC6 || IE4 || IE5 || IE6) {
                document.images["plan" + num].src = "images/plan" + num + "_on.jpg";
        }
}

function planbarOut(num){
        if (NN3 || NC4 || NC6 || IE4 || IE5 || IE6) {
                document.images["plan" + num].src = "images/plan" + num + "_off.jpg";
        }
}


//--------パノラマビューのswap関数---------
function pvOver(num){
        if (NN3 || NC4 || NC6 || IE4 || IE5 || IE6) {
                document.images["pv" + num].src = "images/pv" + num + ".gif";
        }
}

function pvOut(num){
        if (NN3 || NC4 || NC6 || IE4 || IE5 || IE6) {
                document.images["pv" + num].src = "images/pv" + num + "_off.gif";
        }
}

//-----------リビング4表示 ------------
function nwin(num){
        if (NN3 || NC4 || NC6 || IE4 || IE5 || IE6){
                nWin=window.open("living2.html","","left=155,top=95,height=320,WIDTH=702,scrollbars=no,lacation=no,resizable=yes,menubar=no,toolbar=no,titlebar");
        }
}

//-----------ベッドルーム4表示 ------------
function nwin2(num){
        if (NN3 || NC4 || NC6 || IE4 || IE5 || IE6){
                nWin=window.open("bed2.html","","left=155,top=95,height=320,WIDTH=702,scrollbars=no,lacation=no,resizable=yes,menubar=no,toolbar=no,titlebar");
        }
}

//-----------リビング4表示 ------------
function nwin3(num){
        if (NN3 || NC4 || NC6 || IE4 || IE5 || IE6){
                nWin=window.open("living4.html","","left=155,top=95,height=320,WIDTH=702,scrollbars=no,lacation=no,resizable=yes,menubar=no,toolbar=no,titlebar");
        }
}

//-----------ベッドルーム4表示 ------------
function nwin4(num){
        if (NN3 || NC4 || NC6 || IE4 || IE5 || IE6){
                nWin=window.open("bed4.html","","left=155,top=95,height=320,WIDTH=702,scrollbars=no,lacation=no,resizable=yes,menubar=no,toolbar=no,titlebar");
        }
}