<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
    String localPath = request.getContextPath();
 %>
	   <script type="text/javascript">
       //==============================================================
	   //该脚本段用于是用于定义各种页面元素的操作、事件，其中：
	   //initialize()函数 - 页面初始化函数，主要进行页面元素事件绑定
	   //doQuery()函数 - 根据查询字段值组合filter，然后重新列表
	   //doXXXXXXXX()函数 - 各种页面元素事件的实现函数
	   //==============================================================

	   
		gaowj.byId = dijit.byId;
		
		function initialize(){

		}
        
		dojo.addOnLoad(initialize);
  
   function showUser(node){
	  var url = "<%=localPath %>/jwapp/pages/homepage/userInfo.jsp";
	
	  var html = "";
	  html += "<div align='right'>关闭</div>";
	  html += "<iframe src='" + url + "' frameborder='0' width='700' height='400'></iframe>";
	
	  gwj.v1.util.tooltip.show(html, {node: node, timeout: 0});
  }
   
   function showHelp(node){
		  var url = "<%=localPath %>/jwapp/pages/homepage/helpInfo.jsp";
		
		  var html = "";
		  html += "<div align='right'>关闭</div>";
		  html += "<iframe src='" + url + "' frameborder='0' width='700' height='400'></iframe>";
		
		  gwj.v1.util.tooltip.show(html, {node: node, timeout: 0});
	  }

  function doMain(idx){
		  
	  if(idx=='quit'){
		  if(window.confirm('确认退出?')){
              window.location = "<%=localPath %>/logoutcas.jsp";
              //window.top.location = WebContextPath + "/logoutcas.jsp";
             return true;
           }else{
             return false;
         }
	  }else{
		  window.location = "<%=localPath %>/portal?app=HomePage"; 
	  }
  }

</script>
  <table width="100%" border="0" leftmargin="0" bottommargin="0" topmargin="0" rightmargin="0" bgcolor="#5887C7">
    <tr>
     <td width="190" height="30">
      &nbsp;
     </td>
     <td width="160" height="30">
      <img src="<%=localPath %>/image/img_vk/bannername_jw.png"/>
     </td>
     <td align="center">
       <div  id="tabs10">
          <ul id="navPyra">
           <li><a href="portal?location=HomePage" title="个人首页资源定制"><span>我的首页</span></a></li>
           <li><a href="portal?location=CommunityLifePage" title="所有已安装WEBAPP的体验区"><span>我的应用</span></a></li>
           <li><a href="portal?location=HomePage" title="所有短信、新闻、站内信、邮件的集中营"><span>消息中心</span></a></li>
           <li><a href="portal?location=ApplicationPage" title="WEBAPP的集中营，在这里可以安装和卸载你关心的APP"><span>应用中心</span></a></li>
           <li><a href="portal?location=HomePage" title="各部门在网上推出的服务，形成一个办事大厅"><span>服务中心</span></a></li>
           <li><a href="portal?location=HomePage" title="推出各种形式的数据和报表供领导决策层看"><span>决策中心</span></a></li>
          </ul>
        </div>
     </td>
     <td width="400" align="left" style="color:#ffffff;">
     <div style="float:left; padding:10px;">
     <!--
     <div class="divcss5"   style="display:inline" onclick="doMain('home');" onmouseover="this.style.background='#fffff0';" onmouseout="this.style.background=''">
     <img src="<=localPath %>/gaowj/images/icons/(14,37).png"  style="height:16px;vertical-align:middle"/>
              <span style="font-size:12px;color:#fff;">首页</span>
     </div>&nbsp;
     <div class="divcss5"   style="display:inline" onclick="showUser(this);" onmouseover="this.style.background='#ccc';" onmouseout="this.style.background=''">
     <img src="<=localPath %>/gaowj/images/icons/(08,10).png"  style="height:16px;vertical-align:middle"/>
              <span style="font-size:12px;color:#fff;">用户</span>
     </div>
     -->
     <div class="divcss5"   style="display:inline;width:100px;" onclick="showUser(this);" onmouseover="this.style.background='#ccc';" onmouseout="this.style.background=''">
     <img src="<%=localPath %>/gaowj/images/icons/(08,10).png"  style="height:16px;vertical-align:middle"/>
              <span style="font-size:12px;color:#fff;">用户信息</span>
     </div>
<!--      <div class="divcss5"   style="display:inline" onclick="showUser(this);" onmouseover="this.style.background='#ccc';" onmouseout="this.style.background=''"> -->
<!--      <img src="<%=localPath %>/gaowj/images/icons/(08,10).png"  style="height:16px;vertical-align:middle"/> -->
<!--               <span style="font-size:12px;color:#fff;">通知</span> -->
<!--      </div> -->
     
     <div class="divcss5"   id="jians" style="display:inline;width:100px;" onclick="showHelp(this);" onmouseover="this.style.background='#ccc';" onmouseout="this.style.background=''">
     <img src="<%=localPath %>/gaowj/images/icons/(08,09).png"  style="height:16px;vertical-align:middle"/>
              <span style="font-size:12px;color:#fff;">建设进度</span>
     </div>
     <div class="divcss5"   style="display:inline" onclick="doMain('quit');" onmouseover="this.style.background='#ccc';" onmouseout="this.style.background=''">
     <img src="<%=localPath %>/gaowj/images/icons/(00,47).png"  style="height:16px;vertical-align:middle"/>
              <span style="font-size:12px;color:#fff;">退出</span>
     </div>
     </div>
     </td>
    </tr>
  </table>