// JavaScript Document
function callAsFunction(movieName,functionName,args) {
    if (navigator.appName.indexOf("Microsoft") != -1) {
		if(window[movieName]){
       	 	eval("window[movieName]."+functionName+"('"+args+"');");
		}
    }
    else {
		if(document[movieName]){
        	eval("document[movieName]."+functionName+"('"+args+"');");
		}
    }
}

function openNewWindow(args){
		var name = args;
		//ヘッダメニュー
		if(args == 'outline'){
			var url = 'outline.htm';
			var width = 750;
			var height = 650;
		}
		if(args == 'gaiyo'){
			var url = 'http://www.haseko-sumai.com/asp/syuto/sinki/oomori/gaiyou.asp';
			var width = 650;
			var height = 650;
		}
		if(args == 'nittei'){
			var url = 'http://www.haseko-sumai.com/asp/syuto/sinki/oomori/nittei.asp';
			var width = 650;
			var height = 650;
		}
		if(args == 'privacy'){
			var url = 'http://www.haseko-sumai.com/asp/syuto/sinki/oomori/privacy.htm';
			var width = 775;
			var height = 650;
		}
		if(args == 'request'){
			var url = 'https://ss1.e-state.co.jp/sohgohreal/b-request/oomori/';
			var width = 650;
			var height = 650;
		}
		
		if(args == 'map'){			
			var url = 'map.html';
			var width = 650;
			var height = 650;
		}
		
		//バナー
		if(args == 'peoject'){
			var url = 'project.html';
			var width = 850;
			var height = 650;
		}
		
		if(args == 'modelroom'){
			var url = 'modelroom.html';
			var width = 750;
			var height = 650;
		}
		
		if(args == 'quo'){
			var url = 'https://ss1.e-state.co.jp/sohgohreal/yoyaku/oomori/';
			var width = 650;
			var height = 650;
		}
		if(args == 'kakaku'){
			var url = 'kakaku.html';
			var width = 650;
			var height = 650;
		}
		if(args == 'mr'){
			var url = 'mr.html';
			var width = 950;
			var height = 620;
		}
		if(args == 'mr2'){
			var url = 'mr2.html';
			var width = 950;
			var height = 620;
		}
		if(args == 'kondo'){
			var url = 'http://www.sohgohreal.co.jp/info/090205.html';
			var width = 950;
			var height = 620;
		}
		
		
		
		//間取り
		if(args == 'b1'){
			var url = 'roomplan/b1.html';
			var width = 700;
			var height = 650;
		}
		if(args == 'c8'){
			var url = 'roomplan/c8.html';
			var width = 700;
			var height = 650;
		}
		if(args == 'c14'){
			var url = 'roomplan/c14.html';
			var width = 700;
			var height = 650;
		}
		if(args == 'd7'){
			var url = 'roomplan/d7.html';
			var width = 700;
			var height = 650;
		}
		if(args == 'd1'){
			var url = 'roomplan/d1.html';
			var width = 700;
			var height = 650;
		}
		if(args == 'd4'){
			var url = 'roomplan/d4.html';
			var width = 700;
			var height = 650;
		}
		if(args == 'b4'){
			var url = 'roomplan/b4.html';
			var width = 700;
			var height = 650;
		}
		if(args == 'a2r'){
			var url = 'roomplan/a2r.html';
			var width = 700;
			var height = 650;
		}
		if(args == 'e1'){
			var url = 'roomplan/e1.html';
			var width = 700;
			var height = 650;
		}
		if(args == 'd9'){
			var url = 'roomplan/d9.html';
			var width = 700;
			var height = 650;
		}
		if(args == 'd2'){
			var url = 'roomplan/d2.html';
			var width = 700;
			var height = 650;
		}
		if(args == 'd3'){
			var url = 'roomplan/d3.html';
			var width = 700;
			var height = 650;
		}
		if(args == 'c10'){
			var url = 'roomplan/c10.html';
			var width = 700;
			var height = 650;
		}
		if(args == 'c5'){
			var url = 'roomplan/c5.html';
			var width = 700;
			var height = 650;
		}
		if(args == 'b7r'){
			var url = 'roomplan/b7r.html';
			var width = 700;
			var height = 650;
		}
		if(args == 'e2r'){
			var url = 'roomplan/e2r.html';
			var width = 700;
			var height = 650;
		}
		if(args == 'a4'){
			var url = 'roomplan/a4.html';
			var width = 700;
			var height = 650;
		}
		if(args == 'a4t'){
			var url = 'roomplan/a4t.html';
			var width = 700;
			var height = 650;
		}
		if(args == 'c1'){
			var url = 'roomplan/c1.html';
			var width = 700;
			var height = 650;
		}
		if(args == 'e5r'){
			var url = 'roomplan/e5r.html';
			var width = 700;
			var height = 650;
		}
		if(args == 'c4'){
			var url = 'roomplan/c4.html';
			var width = 700;
			var height = 650;
		}
		if(args == 'c4t'){
			var url = 'roomplan/c4t.html';
			var width = 700;
			var height = 650;
		}
		if(args == 'c9'){
			var url = 'roomplan/c9.html';
			var width = 700;
			var height = 650;
		}
		if(args == 'b2r'){
			var url = 'roomplan/b2r.html';
			var width = 700;
			var height = 650;
		}
		if(args == 'c2'){
			var url = 'roomplan/c2.html';
			var width = 700;
			var height = 650;
		}
		if(args == 'c13'){
			var url = 'roomplan/c13.html';
			var width = 700;
			var height = 650;
		}
		if(args == 'b6r'){
			var url = 'roomplan/b6r.html';
			var width = 700;
			var height = 650;
		}
		if(args == 'c11'){
			var url = 'roomplan/c11.html';
			var width = 700;
			var height = 650;
		}
		if(args == 'c12'){
			var url = 'roomplan/c12.html';
			var width = 700;
			var height = 650;
		}





		
		if(args == 'episade_1'){
			var url = 'concept/episade_1.html';
			var width = 750;
			var height = 800;
		}
		if(args == 'episade_2'){
			var url = 'concept/episade_2.html';
			var width = 750;
			var height = 800;
		}
		if(args == 'episade_3'){
			var url = 'concept/episade_3.html';
			var width = 750;
			var height = 820;
		}
		if(args == 'episade_4'){
			var url = 'concept/episade_4.html';
			var width = 750;
			var height = 820;
		}
		if(args == 'episade_5'){
			var url = 'concept/episade_5.html';
			var width = 750;
			var height = 840;
		}
		if(args == 'executive_c11'){
			var url = 'roomplan/executive_c11.html';
			var width = 770;
			var height = 750;
		}
		if(args == 'executive_c14'){
			var url = 'roomplan/executive_c14.html';
			var width = 770;
			var height = 750;
		}
		
	sw = window.open(url,name,"width="+width+",height="+height+",left=0,top=0,toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=no");
	sw.focus();
}

function setHash(args){	
	dhtmlHistory.add(args,args);
	document.title = "大田区大森のマンション| リージェントハウス大森西【公式HP】" + "#" + args;	
}

function acClickTag(_path){
	_flashTag(202, _path);
}
