function crossInit(host,panel){
	var ifrs={0:'rightIfr',1:'rightIfr',2:'rightIfr',3:'rightIfr'};
	var ifr=ifrs[panel];
	o_map_extend.init();
	o_map_extend.setCfg('isReport',false);
	o_map_extend.setLocalIfr(ifr);
	o_map_extend.putRemoteIfr(host);
}
var omapUtils={
	getPosXYOpen:function(callback){
		o_map_extend.execute({action:'getPosXYOpen',params:{callback:callback}});
	},
	getPosXYClose:function(){
		o_map_extend.execute({action:'getPosXYClose'});
	},
	showResult:function(id,type){
		o_map_extend.execute({action:'showResult',params:{id:id,type:type}});
	},
	showInfoBox:function(id,index){
		o_map_extend.execute({action:'showInfoBox',params:{id:id,index:index}});
	},
	showMapInfo:function(id,type){
	o_map_extend.execute({action:'showMapInfo',params:{id:id,type:type}});
	},

	changePanel:function(panel,url){
		o_map_extend.execute({action:'changePanel',params:{panel:panel,url:url}});
	},
	showPop:function(x,y,content){
		o_map_extend.execute({action:'showPop',params:{x:x,y:y,content:content}});
	},
	go2Building:function(id,content){
		o_map_extend.execute({action:'go2Building',params:{id:id,content:content}});
	},
	openGame:function(){
		o_map_extend.execute({action:'openGame'});
	},
	goHouse:function(houseId){
		o_map_extend.execute({action:'goHouse',params:{houseId:houseId}});
	},
	buyHouse:function(houseId){
		o_map_extend.execute({action:'buyHouse',params:{houseId:houseId}});
	},
	showGameRoom:function(id){
		o_map_extend.execute({action:'showGameRoom',params:{id:id}});
	}
};