<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="right_top.aspx.cs" Inherits="InfoPath.Inside.right_top" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <link href="css/main.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../JS/JS.js"></script>
<script type="text/javascript">
   function switchSysBar() {

        if (parent.document.getElementById("leftFrame").style.display == "none") {
            parent.document.getElementById("midf").cols = "188,*";
            parent.document.getElementById("leftFrame").style.display = ""
        }
        else {
            parent.document.getElementById("midf").cols = "0,*";
            parent.document.getElementById("leftFrame").style.display = "none"
        }
    }
    function switchTopBar() {

        if (parent.parent.document.getElementById("topFrame").style.display == "none") {
            parent.document.getElementById("topf").rows = "60,*";
            parent.parent.document.getElementById("topFrame").style.display = ""
        }
        else {
            parent.document.getElementById("topf").rows = "0,*";
            parent.parent.document.getElementById("topFrame").style.display = "none"
        }
    }  






//    function initDisplay() {
//        var element = document.getElementById("Notify");
//        element.style.display = 'none';
//    }
//    function closeIt(elementname) {
//        var element = document.getElementById(elementname);
//        element.style.display = 'none';
//    }
//    function zoomIt(elementname) {
//        var element = document.getElementById(elementname);
//        element.style.height = '0';
//    }
//    function largeIt(elementname) {
//        var element = document.getElementById(elementname);
//        element.style.height = '250';
//    }
</script>
    <style type="text/css">
        .newStyle1
        {
            display: none;
        }
        .newStyle2
        {
            color: #CC0000;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
     <div id="right_top">
			        <div id="img" onclick="switchSysBar()"><img  src="images/close.gif"/></div>
			        <span class="imgtext" onclick="switchSysBar()">←→</span>
			        <div id="img1" onclick="switchTopBar()"><img  src="images/closeUp.gif"/></div>
			        <span class="imgtext" onclick="switchTopBar()">↑↓</span>
			   
			   <div id="loginout">
			        <div id="loginoutimg"><img src="images/loginout.gif" alt="Quit" width=20/></div>
			        <a href="../default.aspx" target="topf"><span class="logintext">退出</span></a>	 
			   </div>			   		
			   </div>
    </form>
</body>
</html>
