
function DisplayHead()
{
  document.write( '<center><a href="http://www.max20.dk" class="mainsubject" target="_top">MAX20</a><center>' );
  // document.write( '<center><img src="/images/underconstr.gif"></center>');
}

function DisplayGoogle()
{
  google_ad_client = "pub-3492787355664187";
  google_ad_slot = "2220292292";
  google_ad_width = 120;
  google_ad_height = 600;

  google_ad_width = 120;
  google_ad_height = 600;
  //-->
  //</script>
  //<script type="text/javascript"
  //src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
  //</script>
  document.write( '<script type="text/javascript"><!--');
  document.write( 'google_ad_client = "pub-3492787355664187";');
  document.write( '/* 120x600, oprettet 03-12-09 */');
  document.write( 'google_ad_slot = "2220292292";');
  document.write( 'google_ad_width = 120;');
  document.write( 'google_ad_height = 600;');
  document.write( '//-->');
  document.write( '</script>');
  document.write( '<script type="text/javascript"');
  document.write( 'src="http://pagead2.googlesyndication.com/pagead/show_ads.js">');
  document.write( '</script>');
}
function Link( url,txt )
{
	document.write( '<a href="' + url + '" class="menuitem">' + txt + '</a><br>' );
}
function DisplayMenu()
{
  //document.write( '<a href="/max20/manifest.htm" class="minorsubject">Manifest</a>' );
  //Link( "","");
  //document.write( '<hr>' );
	
  // Link( "http://www.max20.dk","Forside.");
  Link( "/intro.html","Introduktion.");
  Link( "/artikler/hvorfor20.html","Hvorfor 20%.");
  Link( "/artikler/max20foralle.html","Max 20 er for alle.");
  Link( "/artikler/politikmageri.html","Politikmageri.");
  Link( "/artikler/overdosisdemokrati.html","Demokrati.");
  Link( "/artikler/demokrati.html","Virker demokratiet?");
  //document.write( '<hr>' );
  //document.write( '<iframe src="http://max20.dk/cgi-bin/max20blog.pl" height="150" width="150" frameborder="0" scrolling="no" marginheight=0 marginwidth=0> </iframe>');
  document.write( '<hr>' );
  //Link( "http://www.max20.dk/forum/list.php?4","Blog");
  //Link( "/forum/index.php","Forum");
  Link( "http://www.max20.dk/forum/list.php?5","Links");
  Link( "http://www.facebook.com/group.php?gid=8661918951","Facebook gruppe");
  document.write( '<hr><br>' );
  Link( "http://www.liberalalliance.dk","<img src='/images/liberalalliance_fugl.png' alt='Liberal Alliance' border=0>");
  document.write( '<br><hr><br><div class="address">' );
  document.write( 'Email:<a href="mailto:max20@max20.dk" class="address">max20@max20.dk</a>' );
  // Link( "/ommax20.html","Om max20.dk" );
  document.write( '</div><br><hr>Produktion:<br>' );
  Link( "/webteknik/index.html","<center>FLARUP<br>WEBTEKNIK</center>");
  document.write( '<hr>' );
  //document.write( '<iframe src="http://max20.dk/cgi-bin/max20blog.pl" height="450" width="150" frameborder="0" scrolling="no" marginheight=0 marginwidth=0> </iframe>');


  document.write( '<br>' );
  // DisplayGoogle();

}

function DisplayDocInner()
{
}

function max20Start()
{
  if ( window.name != "print" )
  {
	DisplayHead();
	//document.write( '<table width="100%"><tr><td colspan=4><img src="/pictures/shvandret.gif" width="100%" height="10"></td></tr>' );
	document.write( '<hr><table width="100%">' );
//	document.write( '<tr valign="top"><td width=5></td><td width=150>' );
	document.write( '<tr valign="top"><td width=150>' );
	DisplayMenu();
	document.write( '</td><td background="/pictures/shlodret.gif" width="10">' );
	document.write( '</td><td>' );
	DisplayDocInner();
  } else {
    DisplayHead();
    document.write( '<table width="100%"><tr><td colspan=3><img src="/pictures/shvandret.gif" width="100%" height="10"></td></tr>' );
    document.write( '<tr valign="top"><td width=5></td><td>' );
    DisplayDocInner();
  }
}

function max20End()
{
  if ( window.name != "print" )
  {
	document.write('<table><tr><td>');
    document.write('<FORM NAME="printform"><INPUT TYPE="button" NAME="B1" ');
    document.write('VALUE="Print" onClick="window.open (\''+ 
      document.URL + '\', \'print\',\'scrollbars=yes,status=yes,width=800,');
    document.write('height=600\')"></FORM>' );
	document.write('</td><td>');
	// send til en ven
    //document.write('<FORM NAME="sendform" action="/cgi-bin/sendven.pl?' + document.URL + '">' )
    //document.write('<INPUT TYPE="submit" NAME="B2" VALUE="Send til en ven"></FORM>' );
	document.write('</td></tr></table>');
  }
  document.write( '</td><td width=5></td></td></tr></table>' );
  if ( window.name == "print" )
  {
  	print();
  }
}

if ( window.name != "print" )
{
  document.write( '<link rel="StyleSheet" href="/max20.css">' );
} else {
  document.write( '<link rel="StyleSheet" href="/max20print.css">' );
}

// document.write('<script type="text/javascript" src="/jul.js"></script>');



