
	/**
	 * 接口状态
	 */
	function interfaceStat(){
		$(".flogin_box").show();
		var fleft=parseInt($(".f_green").offset().left)-160+"px";
		var ftop=parseInt($(".f_green").offset().top)+20+"px";
		$(".flogin_box").css("left",fleft).css("top",ftop);
		var url = "loginAction!interfaceState.action";
        pf.ajaxGetRequest(url, getCallbackContent);
        return false;
		
	}
	function logout(){
	    window.parent.location.href='loginAction!logout.action'
	}
	function closeface(){
		$(".flogin_box").hide();
		return false;
	}
	
	/**
	 *  接口状态回调方法
	 */
	function getCallbackContent(date){
		
		$("#interfaceStatId").html(date);
	}
	
	 function switchRole(roleid)
	{
		
		window.parent.location.href='loginAction!switchRole.action?role='+roleid;
	}
	
	
	/*function changeSkin(skinid){ 
		var url = "basicCfgAction!changeSkin.action?skinid="+skinid;
        pf.ajaxGetRequest(url, refreshWeb);
	}
	
	function refreshWeb(data){
		alert("ok"==data);
		if("ok"==data){
			Dialog.alert("皮肤替换成功！");
		 window.reload();
		}else{
			Dialog.alert("皮肤替换失败！");
		}
	}
	*/