<html>
<head>
<title>{$gutachten_bearbeiten_titel}</title>
<link rel="stylesheet" type="text/css" href="templates/{$global_template}/css/ajaxtabs.css" />
<link type="text/css" rel="stylesheet" href="templates/{$global_template}/css/styles_refill.css" />
<link rel="stylesheet" type="text/css" href="fancybox/jquery.fancybox-1.3.4.css" media="screen" />

  <script type="text/javascript" src="templates/{$global_template}/js/ajaxtabs.js">
    /***********************************************
    * Ajax Tabs Content script v2.2- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit Dynamic Drive at https://www.dynamicdrive.com/ for full source code
    ***********************************************/

  </script>
  <script type="text/javascript" src="./fancybox/jquery-1.5.1.min.js"></script>
  <script type="text/javascript" src="./fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
  <script type="text/javascript" src="./fancybox/jquery.fancybox-1.3.4.pack.js"></script>
  <script language='javascript' type='text/javascript' src='tinymce/jscripts/tiny_mce/tiny_mce.js'></script>
   <script type="text/javascript">
     function checkBez(wahl){

       if(wahl == "P" || wahl == "L"){
         document.getElementById('fakultaet1').style.display = (document.getElementById('fakultaet1').style.display == 'none')?'none':'none';
         document.getElementById('fakultaet2').style.display = (document.getElementById('fakultaet2').style.display == 'none')?'none':'none';
         document.getElementById('jahrgang1').style.display = (document.getElementById('jahrgang1').style.display == 'none')?'none':'none';
         document.getElementById('jahrgang2').style.display = (document.getElementById('jahrgang2').style.display == 'none')?'none':'none';

         document.getElementById('fakultaet1').style.display = (document.getElementById('fakultaet1').style.display == 'none')?'block':'block';
         document.getElementById('fakultaet2').style.display = (document.getElementById('fakultaet2').style.display == 'none')?'block':'block';
       }

       if(wahl == "S"){
         document.getElementById('fakultaet1').style.display = (document.getElementById('fakultaet1').style.display == 'none')?'none':'none';
         document.getElementById('fakultaet2').style.display = (document.getElementById('fakultaet2').style.display == 'none')?'none':'none';
         document.getElementById('jahrgang1').style.display = (document.getElementById('jahrgang1').style.display == 'none')?'none':'none';
         document.getElementById('jahrgang2').style.display = (document.getElementById('jahrgang2').style.display == 'none')?'none':'none';

         document.getElementById('jahrgang1').style.display = (document.getElementById('jahrgang1').style.display == 'none')?'block':'block';
         document.getElementById('jahrgang2').style.display = (document.getElementById('jahrgang2').style.display == 'none')?'block':'block';
       }

       if(wahl == "" || wahl == "V"){
         document.getElementById('fakultaet1').style.display = (document.getElementById('fakultaet1').style.display == 'none')?'none':'none';
         document.getElementById('fakultaet2').style.display = (document.getElementById('fakultaet2').style.display == 'none')?'none':'none';
         document.getElementById('jahrgang1').style.display = (document.getElementById('jahrgang1').style.display == 'none')?'none':'none';
         document.getElementById('jahrgang2').style.display = (document.getElementById('jahrgang2').style.display == 'none')?'none':'none';
       }
     }

  </script>

<meta http-equiv="content-type" content="text/html; charset=utf-8" />
</head>

    <body>

{if $gutachten_bearbeiten_err == '1'}
  <html>
  <head>
  <title>{$gutachten_bearbeiten_err_titel}</title>
  <link type="text/css" rel="stylesheet" href="templates/{$global_template}/css/styles_refill.css">
  </head>

  <body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">

  <div class="header">
     <div>
        <div>{$gutachten_bearbeiten_err_titel}</div>
     </div>
  </div>

  <div class="pat_list_box">
  	<p>
      <table border="0" bordercolordark="white" bordercolorlight="lightgray" cellspacing="0" width="100%" height="90%">
          <tr>
              <td align="center">
                <b>{$gutachten_bearbeiten_err_text}</b>
              </td>
          </tr>
      </table>
  </div>

  </body>
  </html>
{/if}


{if $gutachten_bearbeiten_err == '0'}
<div class="header">
	<div>
		<div>{$gutachten_bearbeiten_titel}</div>
	</div>
</div>



  <div class="tab_box">
  	<div id="detailtab" class="animatedtabs">
  	  <ul>
			<li><a href="gutachten_edit.php?id={$gutachten_bearbeiten_id}" class="selected" rel="#iframe"><span>Formular Gutachter</span></a></li>
			<!--
			<li><a href="gutachterbenennung.php?id={$gutachten_bearbeiten_id}" rel="#iframe"><span>Gutachterbenennung</span></a></li>
			<li><a href="beteiligtenbenennung.php?id={$gutachten_bearbeiten_id}" rel="#iframe"><span>Beteiligtenanh&ouml;rung</span></a></li>
			<li><a href="verlauf.php?id={$gutachten_bearbeiten_id}" rel="#iframe"><span>Verlauf</span></a></li>
			-->
  	  </ul>
  	</div>
  </div>




  <div class="pat_list_box">
  <table align="center" border="0" width="94%" height="87%">
    <tr>
      <td valign="top">
        <div id="detailtabcontainer" style="border:0px solid gray; width:100%; height:100%; margin-bottom: 0em; padding: 0px">
      </div>
    </td>
  </tr>
  </table>
  </div>

  <script type="text/javascript">
  	var mypets=new ddajaxtabs("detailtab", "detailtabcontainer")
  	mypets.setpersist(false)
  	mypets.setselectedClassTarget("link")
    mypets.onajaxpageload = function(){
      tinyMCE.init({
            // General options
            language: 'de',
            mode : 'textareas',
            theme : 'advanced',
            plugins : 'save,autosave,safari,style,table,advhr,advimage,advlink,iespell,insertdatetime,preview,searchreplace,contextmenu,paste,fullscreen,visualchars,nonbreaking,xhtmlxtras,template',
            remove_linebreaks : true,
            force_br_newlines : true,
            force_p_newlines : false,
            forced_root_block : '',
            apply_source_formatting : true,
            convert_newlines_to_brs : true,
            // init_instance_callback : 'myCustomInitInstance',
            // Theme options
            theme_advanced_buttons1 : 'save,undo,redo,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,cut,copy,paste,pastetext,pasteword,|,bullist,numlist,preview,|,link,unlink,anchor',
            theme_advanced_buttons2 : 'tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,|,fullscreen',
            theme_advanced_buttons3 : '',
            theme_advanced_toolbar_location : 'top',
            theme_advanced_toolbar_align : 'left',
            theme_advanced_statusbar_location : 'bottom',
            theme_advanced_resizing : true,
            // Example content CSS (should be your site CSS)
            content_css : 'css/example.css',
            // Drop lists for link/image/media/template dialogs
            template_external_list_url : 'js/template_list.js',
            external_link_list_url : 'js/link_list.js',
            external_image_list_url : 'js/image_list.js',
            media_external_list_url : 'js/media_list.js',
            autosave_ask_before_unload : false
      });


    };
  	mypets.init()
  </script>
{/if}

</body>

</html>