<?php
define
( "TOP", "/comps/9" );
define( "STYLES", TOP . "/comps.css" );
function
doHeader( $title, $title2, $lang, $frames=false )
{
  if( !
$frames ) {
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<?php
  
}
  else {
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<?php
  
}
?>
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><?php echo $title; ?></title>
<link href="<?php echo STYLES; ?>" rel="stylesheet">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<meta content="Denice Deatrich" name="author">
<SCRIPT LANGUAGE="JavaScript">
<!--
  function openWin(url) {
    newWindow = window.open( url, "", "width=700,height=600,scrollbars,resizable", false );
    newWindow.focus();
  }
// -->
</SCRIPT>
</head>
<?php
  $lang
= (strlen($lang) <= 0) ? "" : $lang . "_";
  if( !
$frames ) {
    echo
"
    <body>"
;
  }
  else {
    echo
"
    <frameset ROWS=\"50%,50%\">
     <noframes>
     Sorry, frames are required to display this page.  Yes, I know, I hate frames too...
     </noframes>
     <frame SRC=\""
.TOP."/$lang"."frames/rpms/$title.php\">
     <frame SRC=\""
.TOP."/$lang"."frames/srpms/$title2.php\">
    </frameset>
    "
;
  }
}

function
doFooter( $frames=false )
{
  if( !
$frames ) {
    echo
"
  </body>"
;
  }
  echo
"
</html>
"
;
}

function
makeLink( $name )
{
  
$link = "<a class=\"zoom\" href=\"javascript:openWin('$name')\">".
   
"$name</a>";
  return(
$link );
}
?>