<!-- Begin

// head
document.write('<meta http-equiv="Expires" content="0">');
document.write('<meta http-equiv="Pragma" content="no-cache">');
document.write('<meta http-equiv="Cache-Control" content="no-cache">');
document.write('<meta http-equiv="content-language" content="en">');
document.write('<meta http-equiv="Reply-to" content="office@fkit.hr">');
document.write('<meta name="description" content="Faculty of Chemical Engineering And Technology, University of Zagreb, Marulicev trg 19, 10000 Zagreb, Croatia. t. ++385 1 4597 284, f. ++385 1 4597 260, officefkit.hr, www.fkit.hr">');
document.write('<meta name="keywords" content="faculty, chemical engineering, university, Zagreb, Croatia">');
document.write('<meta name="robots" content="index, follow">');
document.write('<link rel="SHORTCUT ICON" href="http://www.fkit.hr/favicon.ico">');
document.write('<link rel=StyleSheet href="style.css" type="text/css">');

// header
document.write('<div id="header_left"></div><div id="header_center"><img src="FKIT.jpg"></div><div id="header_right"></div>');
document.write('<div id="header_flag"><a href="http://www.fkit.hr/"><img src="./img/main/hr.jpg" border="0" width="32" height="18" /></a></div>');
// menu
document.write('<div id="menu_location">');
document.write('<div id="menu_header">Menu</div>');
document.write('<a href="index.html" class="menu">Home</a>');
document.write('<a href="info.php?action=departments" class="menu">Departments and Chairs</a>');
document.write('<a href="info.php?action=all" class="menu">Faculty Staff</a>');
document.write('<a href="history.html" class="menu">Faculty history</a>');
document.write('<br />');
document.write('<div id="menu_header">Curricula</div>');
document.write('<a href="u_g_courses.html" class="menu2">Undergraduate &amp<br />Graduate courses</a>');
document.write('<a href="p_s_courses.html" class="menu2">Postgraduate<br />scientific courses</a>');
document.write('<a href="p_sp_courses.html" class="menu2">Postgraduate<br />specialist courses</a>');
document.write('<br />');
document.write('<div id="menu_header">Projects</div>');
document.write('<a href="projects.html" class="menu">Current projects</a>');
document.write('<a href="links.html" class="menu">Links</a>');
document.write('</div>');
// right side       
document.write('<div id="contact">');
document.write('<div id="menu_header">Contact</div>')
document.write('University of Zagreb<br />Faculty of Chemical Engineering and Technology<br /><a href=\"http://maps.google.com/maps/ms?msa=0&msid=102257899916319435110.0004490425a1a67cc9527\" target=\"new\">Maruli&#263;ev trg 19</a><br />10 000 Zagreb, Croatia<br />CROATIA<br /><br />Phone: +385 (0) 1 4597 281<br />Fax: +385 (0) 1 4597 260<br />e-mail: <a href=\"mailto:office@fkit.hr\">office@fkit.hr</a><br />web: <a href=\"http://www.fkit.hr\" target=\"new\">http://www.fkit.hr</a>');
document.write('</div>');
// footer

function resize() { 
  var headerframe = document.getElementById('header_left'); 
  var frame = document.getElementById('content');

  var divheight = frame.offsetHeight;
  var headerheight = headerframe.offsetHeight;
  var windowheight = getWindowHeight();
  
  if ( divheight < windowheight ) { frame.style.height = windowheight-headerheight-58; } 
}

window.onload = function() {resize();} 
window.onresize = function() {resize();}


function getWindowHeight() { 
  var windowheight = 0; 
  if (typeof(window.innerHeight) == 'number') { 
    windowheight = window.innerHeight;
  } 
  else { 
    if (document.documentElement && document.documentElement.clientHeight) { 
      windowheight = document.documentElement.clientHeight; 
    } else { 
      if (document.body && document.body.clientHeight) { 
        windowheight = document.body.clientHeight + 54; 
      } 
    } 
  }
  return windowheight; 
} 
// End -->