//function loadVars() {
//	var newscript  = document.createElement("script")
//	newscript.type = "text/javascript"
//	newscript.src  = "../common/variables.js"
//	document.body.appendChild(newscript)
//}



var didYouknowThat = '...in which region people say: "Szeretyi Katyi Petyit"?';
  //'...what are the Corvinas';
//'...who was Sándor Kőrösi Csoma?';
//'...Johnny Weissmüller was Hungarian?';
//var didYouknowThat = '...Szeged is also called "the city of sunshine"?';
//var didYouKnowThat= '... Albrecht Dürer\'s father was Hungarian?';
//var didYouknowThat = '...a Hungarian baron preceded James Cook in the Pacific Northwest?';

var latestTopic = 'Materials for Learners of Hungarian';




//-----------------------------------
//     Weekly Texts Archive
//-----------------------------------

var weekly_title = [	 'Újévi fogadalmak', 
                  	 'title 2'	];

var weekly_file_suffix = [	'fogadalmak',	
				's2'	];


//-----------------------------------
//     News Archive 2004
//-----------------------------------
var month_start_2004 = 1; // the list starts in January for 2004

var month_2004 = ['November - <br>December',
		  'September - <br>October',
                  'July - <br>August',
                  'May - <br>June',
                  'March -<br>April',
                  'January -<br>February'];

var level1_2004 = ['Megduplázódott a mobiltelefon-előfizetés',
		   'Külföldön Kerryt választanák',
                   'Olimpia 2004',
                   'Alacsony volt a részvétel az uniós szavazáson',
                   'Öt dollár az iskolai késésért',
                   'Zidane még sokáig szeretne Madridban maradni'];

var level2_2004 = ['Bob Dylan dala a legjobb',
		   '69 hamburgert evett meg 8 perc alatt',
                   'Örökbefogadáson gondolkodnak Pitték',
                   'Kanabisszal az agresszív szurkolók ellen Portugáliában',
                   'Harry Potter versus Harry herceg',
                   'A növények gyógyítanak']; 

var level3_2004 = ['Gyurcsány 150 fős egységet küldene Irakba', 
		   'Sokan halnak meg megelőzhető betegségben Magyarországon',
                   'A Queen átjutott az iráni cenzúrán', 
                   'Szeged is pályázik az Európa kulturális fővárosa címre', 
                   'Kilencvenöt éves korában elhunyt Robert Merle',
                   'VIII. Henriknek a focira is jutott ideje'];


//-----------------------------------
//     News Archive 2003
//-----------------------------------

var month_start_2003 = 2; // the list starts in february for 2003

var month_2003 = [ 'December',
                   'November',
                   'October',
                   'September',
		   'August',
		   'July',
		   'June', 
		   'May', 
		   'April', 
		   'March', 
		   'February' ];

var level1_2003 = ['Angelina Jolie a legnépszerűbb az Egyesült Államokban',
                   'Horoszkóp: Skorpió',
                   'Apróhirdetés: Ingatlan eladó',
                   'Horoszkóp: Kos',
		   'Apróhirdetés: Társat keres...',
		   'Madonna novellái',
		   'Jimi Hendrix gitárjára licitálnak Londonban', 
		   'Május 7-én a Nap előtt a Merkúr', 
		   'A feketekávé jó a cukorbajra?', 
		   'Al Pacino a legnagyobb színész Angliában', 
		   'Gitárfesztivál Szegeden']; 

var level2_2003 = ['Ékszer kontra utazás',
                   'Díjat nyert a Hukkle',
                   'Tarr Béla a világ 13. legjobb rendezője',
                   'Könnyebb gyerekkel feleséget találni',
		   'Vakáció végi akció Ukrajnában',
		   'Stuttgartban nagyon elégedettek Szabiccsal',
		   'Darth Vader Magyarországon', 
		   'A magyar nyelv oktatása a csatlakozás után', 
		   'Szatírikus film készül Ceausescu életéről', 
		   'Munka kontra magánélet', 
		   '125 éve született Hajós Alfréd']; 

var level3_2003 = ['Kisebbségi képviselet',
                   'Megtalálták a legrégibb fogkefét',
                   'Létező személy volt Münchhausen báró',
                   'Fiatalodó alkoholisták',
		   'A világ legnagyobb képlopásai',
		   'Mondd meg, mit eszel, megmondom, ki vagy!',
		   'Félmilliónyi zarándok Csiksomlyón', 
		   'Riasztóan gyenge az erdők védelme Európában', 
		   'Mit ér a diploma, ha magyar?', 
		   'Asztmatérképet rajzolnak', 
		   'Francia mozik vetítik a Werckmeister harmóniákat']; 



 var colorLive= '#DD8A27';
 var colorDefault= '#ED9A37';
 var colorOn="#FFBC5B";

 var colorLiveLeft= '#eeeeFFA';
 var colorDefaultLeft= '#ffffff';
 var colorOnLeft="#dfdce4";


//-----------------------------------------------------------
// nav bar definition:
//-----------------------------------------------------------

var nav_id =    ['home', 'about', 'worksheets', 'short audio',  'easy reader', 'literature', 'weekly', 'news', 'grammar', 'lunchbreak', 'spoken', 'links', 'contact', 'topics', 'law'];

var nav_src=    ['index.html' , 'about.html', 'worksheets.html', 'shortaudio.html', 'easyreader.html', 'weekly.html', 'literature.html', 'news.html', 'grammar.html', 'lunchbreak.html', 'spoken.html', 'links.html', 'contact.html', 'topics.html', 'law.html'];

var nav_title = ['Home', 'About Us', 'Group Work', 'Pronunciation', 'Easy Readings', 'Literature', 'Short News', 'Articles', 'Grammar', 'Vocabulary', 'Spoken Hungarian', 'Links', 'Contact', 'Worksheets by Themes', 'Legal Language'];   
 
var N_navbar = nav_id.length;

//



//loadVars();

//===============================================================================
//
//-------------------------------------------------------------------------------
function html_for_start(live_handle,link) { 

 var t = '';


 t+= ' 	<table width=100% cellspacing=0 cellpadding=0 border=0> ';
 t+= ' 	   <tr> ';
 t+= ' 	      <td valign=top align=left> ';
 t+= ' 	      <img src="' + ROOT_PATH + 'graphics/generic/topbar_left1.gif" width=318 height=78></td> ';
 t+= '         <td valign=top align=left width=100%> ';
 t+= ' 	      <img src="' + ROOT_PATH + 'graphics/generic/topbar_middle1.gif" width=100% height=78></td>  ';     
 t+= ' 	      <td valign=top align=right> ';
 t+= ' 	      <img src="' + ROOT_PATH + 'graphics/generic/topbar_right1.gif" width=236 height=78></td> ';
 t+= ' 	   </tr> ';
 t+= '     <tr><td colspan=3 bgcolor="DDDDDD"><img src="' + ROOT_PATH + 'graphics/generic/trans_pixel.gif" width=100% height=1></td></tr> ';
 t+= ' 	 </table> ';


t+= ' <table bgcolor="ED9A37"  width=100% cellspacing=0 cellpadding=0 border=0> ';
t+= ' <tr> ';

//--------------------------------------------------------------
// Build Navigation Bar 
//--------------------------------------------------------------


//---------------------------------------------------------------
// End Navigation Bar 
//--------------------------------------------------------------

 t+= '    <td  valign="top" width=100%> ';
 t+= '    <img src="' + ROOT_PATH + 'graphics/generic/trans_pixel.gif"  height=1></td>  ';

 t+= '    <td valign="center" align="right"><font size="1">&nbsp;<A href="'+link+'" style="text-decoration:none;color=\'#000000\'">magyar</a>&nbsp;|&nbsp;<b>english</b>&nbsp;</font></td> ';

 t+= ' </tr> ';

//<!--------------------------------------------------------- -->
//<!-- CHANGE COLSPAN IF CHANGE NUMBER OF ITEMS IN NAVIGATION -->
//<!--------------------------------------------------------- -->

 var n_colspan= 2*N_navbar+2; // "2X" because of the separation lines...
 t+= '     <tr><td colspan='+n_colspan+' bgcolor="DDDDDD"><img src="' + ROOT_PATH + 'graphics/generic/trans_pixel.gif" width=100% height=1></td></tr> ';

 t+= ' </table> ';

 document.write( t );
 

}

//==============================================================================
// 	HTML FOR NAVIGATION LEFT
//-------------------------------------------------------------------------------
function html_for_navigation_left(path) {

  var t= '' ;

 
  // If no parameter : defines variable PATH
  if(!path){path=""}
  

  t+= ' <table bgcolor="ffffff"  width="150" cellspacing=0 cellpadding=0 border=0 style="border-width:0 1 0 0; border-color:CCCCCC; border-style:solid"> ';
  t+= ' <tr>';

//t+='<td bgcolor="#cccccc" width=1><img src="../graphics/generic/trans_pixel.gif"></td>';

//--------------------------------------------------------------
// Build Navigation Bar 
//--------------------------------------------------------------
 
   //------------
   // home 
   //------------
   nav_id= 'home';
   nav_src= path+'index.html';
   nav_title='Home';

   t+= '   <td  bgcolor="';

   eval('if(nav_id == live_handle){t+=colorLiveLeft}else{t+=colorDefaultLeft;}');
   eval('thisLocation =  nav_src ; ');

   t+= '" valign="center" align="middle" style="padding:3px 5px;border-bottom:\'0 solid #eeeeee\';" onmouseover="this.style.cursor=\'hand\';colorBack=this.bgColor;this.bgColor=\''+colorOnLeft+'\'" onmouseout="this.bgColor=colorBack" onclick="location.assign(\''+thisLocation+'\');" > ';

   t+='&nbsp;';
   eval('if(nav_id==live_handle)t+=\'<b><font color="000000">\';');
   eval('t+=nav_title ');
   eval('if(nav_id == live_handle)t+=\'</font></b>\'');
   t+= '&nbsp;</td>'
   t+= '</tr>';

   t+= '<tr><td bgcolor="#eeeeee" width=100% height=1><img src="'+ROOT_PATH+'graphics/generic/trans_pixel.gif" height=1></td></tr>';

 
   //------------
   // About Us
   //------------
   nav_id= 'about';
   nav_src= path+'about.html';
   nav_title='About Us';


   t+= '  <tr>'
   t+= '   <td  bgcolor="';

   eval('if(nav_id == live_handle){t+=colorLiveLeft}else{t+=colorDefaultLeft;}');
   eval('thisLocation =  nav_src ; ');

   t+= '" valign="center" align="middle" style="padding:\'3px 5px\';" onmouseover="this.style.cursor=\'hand\';colorBack=this.bgColor;this.bgColor=\''+colorOnLeft+'\'" onmouseout="this.bgColor=colorBack" onclick="location.assign(\''+thisLocation+'\');" > ';

   t+='&nbsp;';
   eval('if(nav_id==live_handle)t+=\'<b><font color="000000">\';');
   eval('t+=nav_title ');
   eval('if(nav_id == live_handle)t+=\'</font></b>\'');
   t+= '&nbsp;</td>'
   t+= '</tr>';

   t+= '<tr><td bgcolor="#eeeeee" width=100% height=1><img src="'+ROOT_PATH+'graphics/generic/trans_pixel.gif" height=1></td></tr>';

 
   //------------
   // Forum
   //------------
   nav_id= 'forum';
   nav_src= 'http://www.magyarora.com/forum';
   nav_title='Forum';


   t+= '  <tr>'
   t+= '   <td  bgcolor="';

   eval('if(nav_id == live_handle){t+=colorLiveLeft}else{t+=colorDefaultLeft;}');
   eval('thisLocation =  nav_src ; ');

   t+= '" valign="center" align="middle" style="padding:\'3px 5px\';" onmouseover="this.style.cursor=\'hand\';colorBack=this.bgColor;this.bgColor=\''+colorOnLeft+'\'" onmouseout="this.bgColor=colorBack" onclick="window.open(\''+thisLocation+'\');" > ';

   t+='&nbsp;';
   eval('if(nav_id==live_handle)t+=\'<b><font color="000000">\';');
   eval('t+=nav_title ');
   eval('if(nav_id == live_handle)t+=\'</font></b>\'');
   t+= '&nbsp;</td>'
   t+= '</tr>';

   t+= '<tr><td bgcolor="#eeeeee" width=100% height=1><img src="'+ROOT_PATH+'graphics/generic/trans_pixel.gif" height=1></td></tr>';

 
   //------------
   // Links
   //------------
   nav_id= 'links';
   nav_src= path+'links.html';
   nav_title='Links';


   t+= '  <tr>'
   t+= '   <td  bgcolor="';

   eval('if(nav_id == live_handle){t+=colorLiveLeft}else{t+=colorDefaultLeft;}');
   eval('thisLocation =  nav_src ; ');

   t+= '" valign="center" align="middle" style="padding:\'3px 5px\';" onmouseover="this.style.cursor=\'hand\';colorBack=this.bgColor;this.bgColor=\''+colorOnLeft+'\'" onmouseout="this.bgColor=colorBack" onclick="location.assign(\''+thisLocation+'\');" > ';

   t+='&nbsp;';
   eval('if(nav_id==live_handle)t+=\'<b><font color="000000">\';');
   eval('t+=nav_title ');
   eval('if(nav_id == live_handle)t+=\'</font></b>\'');
   t+= '&nbsp;</td>'
   t+= '</tr>';

   t+= '<tr><td bgcolor="#eeeeee" width=100% height=1><img src="'+ROOT_PATH+'graphics/generic/trans_pixel.gif" height=1></td></tr>';

 
   //------------
   // Contact
   //------------
   nav_id= 'contact';
   nav_src= path+'contact.html';
   nav_title='Contact';


   t+= '  <tr>'
   t+= '   <td  bgcolor="';

   eval('if(nav_id == live_handle){t+=colorLiveLeft}else{t+=colorDefaultLeft;}');
   eval('thisLocation =  nav_src ; ');

   t+= '" valign="center" align="middle" style="padding:\'3px 5px\';" onmouseover="this.style.cursor=\'hand\';colorBack=this.bgColor;this.bgColor=\''+colorOnLeft+'\'" onmouseout="this.bgColor=colorBack" onclick="location.assign(\''+thisLocation+'\');" > ';

   t+='&nbsp;';
   eval('if(nav_id==live_handle)t+=\'<b><font color="000000">\';');
   eval('t+=nav_title ');
   eval('if(nav_id == live_handle)t+=\'</font></b>\'');
   t+= '&nbsp;</td>'
   t+= '</tr>';

   t+= '<tr><td bgcolor="#eeeeee" width=100% height=1><img src="'+ROOT_PATH+'graphics/generic/trans_pixel.gif" height=1></td></tr>';




  //=============
  // Worksheets
  //-------------

  t+='<tr><td>&nbsp;<br></td></tr>';

  t+= '<tr><td bgcolor="#cccccc" width=100% height=2><img src="'+ROOT_PATH+'graphics/generic/trans_pixel.gif" height=2></td></tr>';

  t+='<tr><td bgcolor="#eeeeee" valign="center" align="middle" style="padding:\'3px 5px\';"><b>Worksheets</b></td></tr>';
  
  t+= '<tr><td bgcolor="#eeeeee" width=100% height=1><img src="'+ROOT_PATH+'graphics/generic/trans_pixel.gif" height=1></td></tr>';
   

   //------------
   // Grammar
   //------------
   nav_id= 'grammar';
   nav_src= path+'grammar.html';
   nav_title='Grammar Sheets';


   t+= '  <tr>'
   t+= '   <td  bgcolor="';

   eval('if(nav_id == live_handle){t+=colorLiveLeft}else{t+=colorDefaultLeft;}');
   eval('thisLocation =  nav_src ; ');

   t+= '" valign="center" align="middle" style="padding:\'3px 5px\';" onmouseover="this.style.cursor=\'hand\';colorBack=this.bgColor;this.bgColor=\''+colorOnLeft+'\'" onmouseout="this.bgColor=colorBack" onclick="location.assign(\''+thisLocation+'\');" > ';

   t+='&nbsp;';
   eval('if(nav_id==live_handle)t+=\'<b><font color="000000">\';');
   eval('t+=nav_title ');
   eval('if(nav_id == live_handle)t+=\'</font></b>\'');
   t+= '&nbsp;</td>'
   t+= '</tr>';

  t+= '<tr><td bgcolor="#eeeeee" width=100% height=1><img src="'+ROOT_PATH+'graphics/generic/trans_pixel.gif" height=1></td></tr>';


   //------------
   // Worksheets by Themes
   //------------
   nav_id= 'topics';
   nav_src= path+'topics.html';
   nav_title='Worksheets by Themes';


   t+= '  <tr>'
   t+= '   <td  bgcolor="';

   eval('if(nav_id == live_handle){t+=colorLiveLeft}else{t+=colorDefaultLeft;}');
   eval('thisLocation =  nav_src ; ');

   t+= '" valign="center" align="middle" style="padding:\'3px 5px\';" onmouseover="this.style.cursor=\'hand\';colorBack=this.bgColor;this.bgColor=\''+colorOnLeft+'\'" onmouseout="this.bgColor=colorBack" onclick="location.assign(\''+thisLocation+'\');" > ';

   t+='&nbsp;';
   eval('if(nav_id==live_handle)t+=\'<b><font color="000000">\';');
   eval('t+=nav_title ');
   eval('if(nav_id == live_handle)t+=\'</font></b>\'');
   t+= '&nbsp;</td>'
   t+= '</tr>';

  t+= '<tr><td bgcolor="#eeeeee" width=100% height=1><img src="'+ROOT_PATH+'graphics/generic/trans_pixel.gif" height=1></td></tr>';


   //------------
   // Short Exercises 
   //------------
   nav_id= 'lunchbreak';
   nav_src= path+'lunchbreak.html';
   nav_title='Short Exercises';


   t+= '  <tr>'
   t+= '   <td  bgcolor="';

   eval('if(nav_id == live_handle){t+=colorLiveLeft}else{t+=colorDefaultLeft;}');
   eval('thisLocation =  nav_src ; ');

   t+= '" valign="center" align="middle" style="padding:\'3px 5px\';" onmouseover="this.style.cursor=\'hand\';colorBack=this.bgColor;this.bgColor=\''+colorOnLeft+'\'" onmouseout="this.bgColor=colorBack" onclick="location.assign(\''+thisLocation+'\');" > ';

   t+='&nbsp;';
   eval('if(nav_id==live_handle)t+=\'<b><font color="000000">\';');
   eval('t+=nav_title ');
   eval('if(nav_id == live_handle)t+=\'</font></b>\'');
   t+= '&nbsp;</td>'
   t+= '</tr>';

  t+= '<tr><td bgcolor="#eeeeee" width=100% height=1><img src="'+ROOT_PATH+'graphics/generic/trans_pixel.gif" height=1></td></tr>';


 

   //------------
   // Group Work
   //------------
   nav_id= 'worksheets';
   nav_src= path+'worksheets.html';
   nav_title='Group Work';


   t+= '  <tr>'
   t+= '   <td  bgcolor="';

   eval('if(nav_id == live_handle){t+=colorLiveLeft}else{t+=colorDefaultLeft;}');
   eval('thisLocation =  nav_src ; ');

   t+= '" valign="center" align="middle" style="padding:\'3px 5px\';" onmouseover="this.style.cursor=\'hand\';colorBack=this.bgColor;this.bgColor=\''+colorOnLeft+'\'" onmouseout="this.bgColor=colorBack" onclick="location.assign(\''+thisLocation+'\');" > ';

   t+='&nbsp;';
   eval('if(nav_id==live_handle)t+=\'<b><font color="000000">\';');
   eval('t+=nav_title ');
   eval('if(nav_id == live_handle)t+=\'</font></b>\'');
   t+= '&nbsp;</td>'
   t+= '</tr>';

   t+= '<tr><td bgcolor="#eeeeee" width=100% height=1><img src="'+ROOT_PATH+'graphics/generic/trans_pixel.gif" height=1></td></tr>';

   //------------
   // Legal Language
   //------------
   nav_id= 'law';
   nav_src= path+'law.html';
   nav_title='Legal Language';


   t+= '  <tr>'
   t+= '   <td  bgcolor="';

   eval('if(nav_id == live_handle){t+=colorLiveLeft}else{t+=colorDefaultLeft;}');
   eval('thisLocation =  nav_src ; ');

   t+= '" valign="center" align="middle" style="padding:\'3px 5px\';" onmouseover="this.style.cursor=\'hand\';colorBack=this.bgColor;this.bgColor=\''+colorOnLeft+'\'" onmouseout="this.bgColor=colorBack" onclick="location.assign(\''+thisLocation+'\');" > ';

   t+='&nbsp;';
   eval('if(nav_id==live_handle)t+=\'<b><font color="000000">\';');
   eval('t+=nav_title ');
   eval('if(nav_id == live_handle)t+=\'</font></b>\'');
   t+= '&nbsp;</td>'
   t+= '</tr>';

  t+= '<tr><td bgcolor="#eeeeee" width=100% height=1><img src="'+ROOT_PATH+'graphics/generic/trans_pixel.gif" height=1></td></tr>';



  //===================
  // Reading/Listening
  //------------------

  t+='<tr><td> &nbsp;<br></td></tr>';

  t+= '<tr><td bgcolor="#cccccc" width=100% height=2><img src="'+ROOT_PATH+'graphics/generic/trans_pixel.gif" height=2></td></tr>';

  t+='<tr><td bgcolor="#eeeeee" valign="center" align="middle" style="padding:\'3px 5px\';"><b>Reading/Listening</b></td></tr>';

    t+= '<tr><td bgcolor="#eeeeee" width=100% height=1><img src="'+ROOT_PATH+'graphics/generic/trans_pixel.gif" height=1></td></tr>';


   //---------------
   // Pronunciation
   //---------------
   nav_id= 'short audio';
   nav_src= path+'shortaudio.html';
   nav_title='Pronunciation';


   t+= '  <tr>'
   t+= '   <td  bgcolor="';

   eval('if(nav_id == live_handle){t+=colorLiveLeft}else{t+=colorDefaultLeft;}');
   eval('thisLocation =  nav_src ; ');

   t+= '" valign="center" align="middle" style="padding:\'3px 5px\';" onmouseover="this.style.cursor=\'hand\';colorBack=this.bgColor;this.bgColor=\''+colorOnLeft+'\'" onmouseout="this.bgColor=colorBack" onclick="location.assign(\''+thisLocation+'\');" > ';

   t+='&nbsp;';
   eval('if(nav_id==live_handle)t+=\'<b><font color="000000">\';');
   eval('t+=nav_title ');
   eval('if(nav_id == live_handle)t+=\'</font></b>\'');
   t+= '&nbsp;</td>'
   t+= '</tr>';

  t+= '<tr><td bgcolor="#eeeeee" width=100% height=1><img src="'+ROOT_PATH+'graphics/generic/trans_pixel.gif" height=1></td></tr>';



   //--------------
   // Easy readings
   //--------------
   nav_id= 'easy reader';
   nav_src= path+'easyreader.html';
   nav_title='Easy Readings';


   t+= '  <tr>'
   t+= '   <td  bgcolor="';

   eval('if(nav_id == live_handle){t+=colorLiveLeft}else{t+=colorDefaultLeft;}');
   eval('thisLocation =  nav_src ; ');

   t+= '" valign="center" align="middle" style="padding:\'3px 5px\';" onmouseover="this.style.cursor=\'hand\';colorBack=this.bgColor;this.bgColor=\''+colorOnLeft+'\'" onmouseout="this.bgColor=colorBack" onclick="location.assign(\''+thisLocation+'\');" > ';

   t+='&nbsp;';
   eval('if(nav_id==live_handle)t+=\'<b><font color="000000">\';');
   eval('t+=nav_title ');
   eval('if(nav_id == live_handle)t+=\'</font></b>\'');
   t+= '&nbsp;</td>'
   t+= '</tr>';

  t+= '<tr><td bgcolor="#eeeeee" width=100% height=1><img src="'+ROOT_PATH+'graphics/generic/trans_pixel.gif" height=1></td></tr>';



  //---------------
   // Short News
   //---------------
   nav_id= 'weekly';
   nav_src= path+'weekly.html';
   nav_title='Short News';


   t+= '  <tr>'
   t+= '   <td  bgcolor="';

   eval('if(nav_id == live_handle){t+=colorLiveLeft}else{t+=colorDefaultLeft;}');
   eval('thisLocation =  nav_src ; ');

   t+= '" valign="center" align="middle" style="padding:\'3px 5px\';" onmouseover="this.style.cursor=\'hand\';colorBack=this.bgColor;this.bgColor=\''+colorOnLeft+'\'" onmouseout="this.bgColor=colorBack" onclick="location.assign(\''+thisLocation+'\');" > ';

   t+='&nbsp;';
   eval('if(nav_id==live_handle)t+=\'<b><font color="000000">\';');
   eval('t+=nav_title ');
   eval('if(nav_id == live_handle)t+=\'</font></b>\'');
   t+= '&nbsp;</td>'
   t+= '</tr>';

  t+= '<tr><td bgcolor="#eeeeee" width=100% height=1><img src="'+ROOT_PATH+'graphics/generic/trans_pixel.gif" height=1></td></tr>';






   //---------------
   // News Articles
   //---------------
   nav_id= 'news';
   nav_src= path+'news.html';
   nav_title='News Articles';


   t+= '  <tr>'
   t+= '   <td  bgcolor="';

   eval('if(nav_id == live_handle){t+=colorLiveLeft}else{t+=colorDefaultLeft;}');
   eval('thisLocation =  nav_src ; ');

   t+= '" valign="center" align="middle" style="padding:\'3px 5px\';" onmouseover="this.style.cursor=\'hand\';colorBack=this.bgColor;this.bgColor=\''+colorOnLeft+'\'" onmouseout="this.bgColor=colorBack" onclick="location.assign(\''+thisLocation+'\');" > ';

   t+='&nbsp;';
   eval('if(nav_id==live_handle)t+=\'<b><font color="000000">\';');
   eval('t+=nav_title ');
   eval('if(nav_id == live_handle)t+=\'</font></b>\'');
   t+= '&nbsp;</td>'
   t+= '</tr>';

  t+= '<tr><td bgcolor="#eeeeee" width=100% height=1><img src="'+ROOT_PATH+'graphics/generic/trans_pixel.gif" height=1></td></tr>';

   //----------------
   // Literary Texts
   //----------------
   nav_id= 'literature';
   nav_src= path+'literature.html';
   nav_title='Literary Texts';


   t+= '  <tr>'
   t+= '   <td  bgcolor="';

   eval('if(nav_id == live_handle){t+=colorLiveLeft}else{t+=colorDefaultLeft;}');
   eval('thisLocation =  nav_src ; ');

   t+= '" valign="center" align="middle" style="padding:\'3px 5px\';" onmouseover="this.style.cursor=\'hand\';colorBack=this.bgColor;this.bgColor=\''+colorOnLeft+'\'" onmouseout="this.bgColor=colorBack" onclick="location.assign(\''+thisLocation+'\');" > ';

   t+='&nbsp;';
   eval('if(nav_id==live_handle)t+=\'<b><font color="000000">\';');
   eval('t+=nav_title ');
   eval('if(nav_id == live_handle)t+=\'</font></b>\'');
   t+= '&nbsp;</td>'
   t+= '</tr>';

  t+= '<tr><td bgcolor="#eeeeee" width=100% height=1><img src="'+ROOT_PATH+'graphics/generic/trans_pixel.gif" height=1></td></tr>';



   //---------------------
   // Colloquial Hungarian
   //----------------------
   nav_id= 'spoken';
   nav_src= path+'spoken.html';
   nav_title='Colloquial Hungarian';


   t+= '  <tr>'
   t+= '   <td  bgcolor="';

   eval('if(nav_id == live_handle){t+=colorLiveLeft}else{t+=colorDefaultLeft;}');
   eval('thisLocation =  nav_src ; ');

   t+= '" valign="center" align="middle" style="padding:\'3px 5px\';" onmouseover="this.style.cursor=\'hand\';colorBack=this.bgColor;this.bgColor=\''+colorOnLeft+'\'" onmouseout="this.bgColor=colorBack" onclick="location.assign(\''+thisLocation+'\');" > ';

   t+='&nbsp;';
   eval('if(nav_id==live_handle)t+=\'<b><font color="000000">\';');
   eval('t+=nav_title ');
   eval('if(nav_id == live_handle)t+=\'</font></b>\'');
   t+= '&nbsp;</td>'
   t+= '</tr>';

  t+= '<tr><td bgcolor="#eeeeee" width=100% height=1><img src="'+ROOT_PATH+'graphics/generic/trans_pixel.gif" height=1></td></tr>';




   //---------------------
   // Cultural Anecdotes
   //----------------------
   nav_id= 'cultural';
   nav_src= path+'cultural.html';
   nav_title='Facts & Anecdotes';


   t+= '  <tr>'
   t+= '   <td  bgcolor="';

   eval('if(nav_id == live_handle){t+=colorLiveLeft}else{t+=colorDefaultLeft;}');
   eval('thisLocation =  nav_src ; ');

   t+= '" valign="center" align="middle" style="padding:\'3px 5px\';" onmouseover="this.style.cursor=\'hand\';colorBack=this.bgColor;this.bgColor=\''+colorOnLeft+'\'" onmouseout="this.bgColor=colorBack" onclick="location.assign(\''+thisLocation+'\');" > ';

   t+='&nbsp;';
   eval('if(nav_id==live_handle)t+=\'<b><font color="000000">\';');
   eval('t+=nav_title ');
   eval('if(nav_id == live_handle)t+=\'</font></b>\'');
   t+= '&nbsp;</td>'
   t+= '</tr>';

  t+= '<tr><td bgcolor="#eeeeee" width=100% height=1><img src="'+ROOT_PATH+'graphics/generic/trans_pixel.gif" height=1></td></tr>';



  //===================
  // footer
  //------------------

  t+='<tr><td> &nbsp;<br></td></tr>';
 

//---------------------------------------------------------------
// End Navigation Bar 
//--------------------------------------------------------------

  t+= '</table> ';



//---------------------------------------------------------------
// new stuff
//---------------------------------------------------------------

  t+='  <table bgcolor="#FFFFFF" width="150" cellspacing=0 cellpadding=0 border=0 height=100% valign=top style="border-width:0 1 0 0; border-color:CCCCCC; border-style:solid">';
 
  var latest_add = ['Vocabulary by Topic','Practical Hungarian Grammar',
                    ''];

  var latest_add_link = ['1szomint100.html','practicalgrammar.html',
                         ''];


 
  t+= '<tr><td colspan=2 bgcolor="#cccccc" width=100% height=2><img src="'+ROOT_PATH+'graphics/generic/trans_pixel.gif" height=2></td></tr>';

  t+= '  <tr><td colspan=2 bgcolor="#eeeeee" valign=center align=middle height=30 style="padding:\' 0px 0px 0px 13px \';"><font color="#ED9A37" size="2"><b>Latest&nbsp;Additions</b></font><img src="' + ROOT_PATH + 'graphics/generic/trans_pixel.gif" width=10 height=1></td> ';

  t+= ' </tr>';

  t+= '<tr><td colspan=2 bgcolor="#cccccc" width=100% height=1><img src="'+ROOT_PATH+'graphics/generic/trans_pixel.gif" height=1></td></tr>';

  

   // ADDITIONS 1
 
    t+= ' <tr><td colspan=2><img src="' + ROOT_PATH + 'graphics/generic/trans_pixel.gif" width=10 height=10></td></tr> ';
  
    t+= ' <tr>';
    t+= '    <td  style="padding:\' 2px 0px 0px 5px \';" ></td>';
    t+= '    <td  align=middle style="padding:\' 2px 0px 0px 5px \';" ><a href="'+path+latest_add_link[0]+'">'+latest_add[0]+'</a>';
    t+=' <a href="1szomint100.html"><img src="' + ROOT_PATH + '1szomint100/1SzoMint100.jpg" width=100 border=0></a></td>';
    t+= ' </tr><tr>'; 
    t+= '    <td colspan=2><img src="' + ROOT_PATH + 'graphics/generic/trans_pixel.gif" width=10 height=20></td></tr>';  

    //ADDITIONS 2

    //t+= '<tr><td colspan=2 width=100%><hr color="#cccccc" style="width:30px;height=1px"></td></tr>';

    t+= ' <tr>';
    t+= '    <td  style="padding:\' 2px 0px 0px 5px \';" ></td>';
    t+= '    <td  align=middle style="padding:\' 2px 0px 0px 5px \';" ><a href="'+path+latest_add_link[1]+'">'+latest_add[1]+'</a><br>';
    t+='     <a href="practicalgrammar.html"><img src="' + ROOT_PATH + 'graphics/generic/Nyelvtan_front_small.jpg" width=110 border=0></a></td>';
    t+= ' </tr><tr>';
    t+= '    <td colspan=2><img src="' + ROOT_PATH + 'graphics/generic/trans_pixel.gif" width=10 height=20></td></tr>';  


  
   
// ADDITIONS 3

   // t+= '<tr><td colspan=2 width=100%><hr color="#cccccc" style="width:30px;height=1px"></td></tr>';

    t+= ' <tr>';
    t+= '    <td  style="padding:\' 2px 0px 0px 5px \';" ></td>';
    t+= '    <td  align=middle style="padding:\' 2px 0px 0px 5px \';" ><a href="'+path+latest_add_link[2]+'">'+latest_add[2]+'</a></td>';
    t+= ' </tr><tr>';
    t+= '    <td colspan=2><img src="' + ROOT_PATH + 'graphics/generic/trans_pixel.gif" width=10 height=5></td></tr>';  

   
      
 
  //t+= ' <td  colspan=2 height=100%  valign=bottom align=left style="padding:\' 0px 0px 0px 0px \';" ><img src="' + ROOT_PATH + 'graphics/generic/newspaper4.jpg" height=120 width=125 border=0 ></td></tr>' ;  
  

  //===================
  // footer
  //------------------

  t+='<tr><td height=100%> &nbsp;<br></td></tr>';

  t+= ' </table> '; 



  document.write( t );

}



//===============================================================================
//
//-------------------------------------------------------------------------------

function html_for_box_left(path) {

 html_for_navigation_left(path);


}




//===============================================================================
//
//-------------------------------------------------------------------------------
function html_for_box_left2() {

var t= '' ;
 
 

  //------
  // 2004
  //------

  t+= ' <table bgcolor="#FFFFFF"  width="150" cellspacing=0 cellpadding=0 border=0> ';
  t+= ' <tr> ';
  t+= '    <td colspan=2 bgcolor="#FOFOFA" valign=center height=30 style="padding:\' 0px 0px 0px 13px \';border-bottom:\'1 solid #CCCCCC\'"><b>Articles&nbsp;2004</b><img src="' + ROOT_PATH + 'graphics/generic/trans_pixel.gif" width=10 height=1></td> ';

  t+= ' </tr><tr>';
  t+= ' <td colspan=2><img src="' + ROOT_PATH + 'graphics/generic/trans_pixel.gif" width=10 height=3></td> ';
  
  // Check size of the list: show only first 3 items (or less if the list contains less items)
  var N_months=3;
  if(N_months>month_2004.length){N_months=month_2004.length}

  // iterates on the list
  for(i=0;i<N_months;i++){
    var month_nb = month_start_2004 + month_2004.length - i - 1;
    t+= ' </tr><tr>';
    t+= '    <td width=10 style="padding:\' 2px 0px 0px 13px \';" >&bull;</td><td align=left><a href="news.html#'+month_nb+'">'+month_2004[i]+'</a>';

    if(i==0){t+='<font color="#ED9A37">&nbsp;-&nbsp;<b>new!</b></font></td>';}
    if(i>0){t+='</td>';}
    t+= '<tr><td colspan=2><img src="' + ROOT_PATH + 'graphics/generic/trans_pixel.gif" width=10 height=5></td>';  
  }
  t+= '</tr> ';

  t+='<tr><td colspan=2 bgcolor="#FFFFFF" width=100% height=15><img src="' + ROOT_PATH + 'graphics/generic/trans_pixel.gif" width=100% height=1></td></tr>';
  //t+='<tr><td colspan=2 bgcolor="#CCCCCC" width=100% height=1><img src="' + ROOT_PATH + 'graphics/generic/trans_pixel.gif" width=100% height=1></td></tr>';
  t+= ' </tr></table> '; 


  //------
  // 2003
  //------

  t+= ' <table bgcolor="#FFFFFF" width="150" cellspacing=0 cellpadding=0 border=0> ';
  t+= ' <tr> ';
  t+= '    <td colspan=2 bgcolor="#FFFFFF" valign=center height=30 style="padding:\' 0px 0px 0px 13px \';border-bottom:\'0 solid #CCCCCC\'"  onmouseover="this.style.cursor=\'hand\';this.bgColor=\'#F0F0FA\'" onmouseout="this.bgColor=\'#FFFFFF\'" onclick="location.assign(\'news.html#2003_0\');" ><a href="news.html"><b>Articles &nbsp;2003</b></a><img src="' + ROOT_PATH + 'graphics/generic/trans_pixel.gif" width=10 height=1></td> ';

  t+= ' </tr><tr>';
  t+= ' <td colspan=2><img src="' + ROOT_PATH + 'graphics/generic/trans_pixel.gif" width=10 height=20></td> ';

 
  //  t+= ' </tr><tr> ';
  //t+= '    <td style="padding:\' 10px 0px 0px 8px \';" ><a href="news.html"><img src="' + ROOT_PATH + 'graphics/generic/more_white.jpg" border=0 align=left></a></td>';



  t+=' </tr><tr> ';
  t+= '    <td colspan=2 bgcolor="#FFFFFF" valign=center height=30 style="padding:\' 0px 0px 0px 13px \';border-bottom:\'1 solid #CCCCCC\';border-top:\'1 solid #CCCCCC\'"><font color="#ED9A37"><b>Latest&nbsp;Additions</b></font><img src="' + ROOT_PATH + 'graphics/generic/trans_pixel.gif" width=10 height=1></td> ';

  t+= ' </tr></table>';




  t+='  <table bgcolor="#FFFFFF" width="150" cellspacing=0 cellpadding=0 border=0><tr>';
 
  var latest_add = ['News Service with Audio since January 2006'];

  var latest_add_link = ['newsservice.html'];

  
  t+= ' <td colspan=2><img src="' + ROOT_PATH + 'graphics/generic/trans_pixel.gif" width=10 height=10></td> ';

  // iterates on latest additions list
  for(i=0;i<latest_add.length;i++){  
    t+= ' </tr><tr>';
    t+= '    <td  style="padding:\' 2px 0px 0px 13px \';" >&bull;</td>';
    t+= '    <td  align=left><a href="'+latest_add_link[i]+'">'+latest_add[i]+'</a></td>';
    t+= ' </tr><tr>';
    t+= '    <td colspan=2><img src="' + ROOT_PATH + 'graphics/generic/trans_pixel.gif" width=10 height=5></td>';  
  }

  //t+= '</tr><tr> ';
  //t+= ' <td  colspan=2 height=100%  valign=bottom align=left style="padding:\' 0px 0px 0px 0px \';" ><img src="' + ROOT_PATH + 'graphics/generic/newspaper4.jpg" height=120 width=125 border=0 ></td>' ;  
  

  t+= ' </tr></table> '; 

  document.write(t);

}

//===============================================================================
//
//-------------------------------------------------------------------------------
function html_for_box_right() {

  var t= '' ;
 
  // MAGYARORA "DID YOU KNOW ?" BOX

  t+= ' <table bgcolor="#FFFFFF" width="150" height=100% cellspacing=0 cellpadding=0 border=0> ';
  t+= ' <tr> ';
  t+= '    <td bgcolor="#F0F0FA" valign=center height=30 style="padding:\' 0px 0px 0px 10px \';border-bottom:\'1 solid #CCCCCC\'"><b>Did you know that...</b></td> ';
  t+= ' </tr><tr>';
  t+= '    <td style="padding:\' 10px 5px 5px 12px \';">'+didYouknowThat+'</td>';
  t+= ' </tr><tr>';
  t+= '    <td style="padding:\' 10px 10px 5px 12px \';border-bottom:\'0 solid #CCCCCC\'">';
  t+= ' <a href=\'cultural.html\'><img src="' + ROOT_PATH + 'graphics/generic/more_white.jpg" border=0 align=right></a></td> ';  
  //t+= ' </tr><tr>';
  //t+= '    <td style="padding:\' 5px 0px 0px 12px \';border-bottom:\'1 solid #CCCCCC\'" ><a href="teaching.html#Intermediate">Course Material Intermediate</A><p></td> ';
  //t+= ' </tr><tr>';
  // t+= '    <td valign="top" style="padding:\' 5px 0px 30px 12px \';" ><a href="teaching.html#Book">Book</a></td> ';
  t+= ' </tr><tr> ';
   t+= '<td><img src="' + ROOT_PATH + 'graphics/generic/trans_pixel.gif" height=15 border=0 ></td>'; 
   t+= ' </tr><tr> ';

  //----------------------------------------------------
  // MAGYARORA FORUM BOX
  //----------------------------------------------------

  t+= '    <td bgcolor="#DODOEA" valign=center height=30 style="padding:\' 0px 0px 0px 10px \';border-bottom:\'1 solid #CCCCCC\'; border-top:\'1 solid #CCCCCC\'"><b>magyaróra Forum</b></td> ';   
  t+= ' </tr><tr>';
  t+= '    <td style="padding:\' 15px 10px 0px 12px \';"> ';
  //t+= '    <input type=radio name=poll>audio&nbsp;materials<br>';
  //t+= '    <input type=radio name=poll>readings<br>';
  //t+= '    <input type=radio name=poll>exercices<br>';
  t+= '<b>Latest topic:</b><br> '+latestTopic+'';
  t+= '    </td> ';
  t+= ' </tr><tr> ';
  t+= '    <td  height=30 align=right valign=bottom  style="padding:\' 0px 10px 5px 12px \';"> ';
  t+= '    <a target="forum" href="http://www.magyarora.com/forum"><img src="' + ROOT_PATH + 'graphics/generic/goto_forum.jpg" border=0 ></a> ';
  t+= '    </td> ';
  t+= ' </tr><tr> ';
  //t+= '    <td  align=left height=100% valign=center  style="padding:\' 0px 0px 0px 0px \';"> ';
  //t+= '    <img src="' + ROOT_PATH + 'graphics/generic/trans_pixel.gif" height=1 border=0 >';
  // t+= '    </td> ';
  //t+= ' </tr><tr> ';
  //t+= ' <td height=100% valign=bottom align=left style="padding:\' 0px 0px 0px 0px \';" ><img src="' + ROOT_PATH + 'graphics/generic/hands_up1.jpg" width=130 ></td>' ;
  t+= ' <td height=100% valign=bottom align=left style="padding:\' 0px 0px 0px 0px \';" ><img src="' + ROOT_PATH + 'graphics/generic/trans_pixel.gif" height=1 width=130 ></td>' ;  

  t+= ' </tr> ';
  t+= ' </table> ';  

  document.write(t);
}

//===============================================================================
//
//-------------------------------------------------------------------------------
function html_for_weekly_texts_archive(){

  var t = '';
  var weekly_root = 'text';
	    
  t+= ' <table cellpadding=0 cellspacing=0 width=100%> ';
  
  for(i=0;i<weekly_title.length;i++){
        var week_num = i+1;
	t+= '<tr> ';			  
	t+= '<td width=50% align=left>';
        t+= '<ul style="margin-bottom:5px"><li><b>'+week_num+'. </b>'+weekly_title[i]+'</ul>';
	t+= '</td>';
				  
	t+= '<td width=50% align=left>';
        t+= '[<a target="weekly" href="../weekly/'+weekly_root+week_num+'_'+weekly_file_suffix[i]+'.doc">doc</a>]';
	t+= '</td>';
	t+= '</tr>';
  }
 
  t+= '</table> ';  

  document.write(t);
}

//===============================================================================
//
//-------------------------------------------------------------------------------
function html_for_news_archive_2004(){

  var t = '';
	    
  //t+= '             <a name="2004_0"></a>';
  t+= '		    <table cellpadding=0 cellspacing=0 width=100%> ';
  t+= '			<tr> ';
  t+= '			  <td  valign="top" style="padding:\'0px 10px 10px 60px\';border-top:\'1 solid #CCCCCC\';border-bottom:\'1 none #CCCCCC\';">';

  for(i=0;i<month_2004.length;i++){

    var month_nb = month_start_2004 + month_2004.length - i - 1; 

    t+= '			    <p></p>';
    t+= '                           <a name="2004_'+month_nb+'"></a>';
    t+= '			    <table cellpadding=0 cellspacing=0> ';
    t+= '				<tr>';
    t+= '				  <td valign=top> ';
    
    t+= '				    <table width=70 cellpadding=0 cellspacing=0> ';
    t+= '					<tr>';
    t+= '					  <td  valign=top align=middle bgcolor="FAFAFF" style="padding:\'2px 4px 2px 4px\';border-top:\'1 solid #CCCCCC\';border-bottom:\'1 solid #CCCCCC\';border-left:\'1 solid #CCCCCC\';"> ';
    t+= 					    month_2004[i];
    t+= '					  </td>';
    t+= '					</tr><tr><td height=100% ></td></tr> ';
    t+= '				    </table> </td>';

    t+= '				  <td width=100% style="padding:\'2px 0px 0px 10px\';border-bottom:\'1 solid #CCCCCC\';border-left:\'1 solid #CCCCCC\';">'
      t+= '				    <table cellspacing=0 width=100% cellpadding=0> ';

    // for 2004: documents every 2 months --> "2*month_nb" 
    
    for(j=1;j<=3;j++){
      t+= '					<tr> ';
      t+= '					  <td valign=top>';
      t+= '					    <b>level&nbsp;'+j+'</b>'; 
      t+= '					  </td>';
      t+= '					  <td valign=top width=100% style="padding:\'0px 10px 10px 10px\';">';
      eval('t+= level'+j+'_2004['+i+'];');
      t+= '					  </td>';
      t+= '					  <td valign=top>';
      t+= '                                       [&nbsp;<a target="news" href="../newsMaterialArchive/2004/doc/';
     
      t+='magyarora_2004_'+2*month_nb+'_'+j+'.pdf">pdf</a>&nbsp;]';
      t+= '					  </td>';

      t+= '					  </td>';
      t+= '					  <td valign=top>';
      t+= '                                       &nbsp;&nbsp;&nbsp;[&nbsp;<a href="../newsMaterialArchive/2004/audio/';
      t+='magyarora_2004_'+2*month_nb+'_'+j+'.mp3">audio</a>&nbsp;]';
      t+= '					  </td>';



      t+= '					</tr>';
    }
					
    t+= '				    </table> ';
    t+= '				  </td>';

    t+= '				</tr>';
    t+= '			    </table>';

 
  }
 
  t+= '			  </td>';

  t+= '			</tr>';
  t+= '		    </table>';

  document.write( t );

}




//===============================================================================
//
//-------------------------------------------------------------------------------
function html_for_news_archive_2003(){

  var t = '';
	    
  //t+= '             <a name="2003_0"></a>';
  t+= '		    <table cellpadding=0 cellspacing=0 width=100%> ';
  t+= '			<tr> ';
  t+= '			  <td  valign="top" style="padding:\'0px 10px 10px 60px\';border-top:\'1 solid #CCCCCC\';border-bottom:\'1 none #CCCCCC\';">';

  for(i=0;i<month_2003.length;i++){

    var month_nb = month_start_2003 + month_2003.length - i - 1; 

    t+= '			    <p></p>';
    //t+= '                           <a name="2003_'+month_nb+'"></a>';
    t+= '			    <table cellpadding=0 cellspacing=0> ';
    t+= '				<tr>';
    t+= '				  <td valign=top> ';
    
    t+= '				    <table width=70 cellpadding=0 cellspacing=0> ';
    t+= '					<tr>';
    t+= '					  <td  valign=top align=middle bgcolor="FAFAFF" style="padding:\'2px 4px 2px 4px\';border-top:\'1 solid #CCCCCC\';border-bottom:\'1 solid #CCCCCC\';border-left:\'1 solid #CCCCCC\';"> ';
    t+= 					    month_2003[i];
    t+= '					  </td>';
    t+= '					</tr><tr><td height=100% ></td></tr> ';
    t+= '				    </table> </td>';

    t+= '				  <td width=100% style="padding:\'2px 0px 0px 10px\';border-bottom:\'1 solid #CCCCCC\';border-left:\'1 solid #CCCCCC\';">'
      t+= '				    <table cellspacing=0 width=100% cellpadding=0> ';

    
    for(j=1;j<=3;j++){
      t+= '					<tr> ';
      t+= '					  <td valign=top>';
      t+= '					    <b>level&nbsp;'+j+'</b>'; 
      t+= '					  </td>';
      t+= '					  <td valign=top width=100% style="padding:\'0px 10px 10px 10px\';">';
      eval('t+= level'+j+'_2003['+i+'];');
      t+= '					  </td>';
      t+= '					  <td valign=top>';
      t+= '                                       [&nbsp;<a target="news" href="../newsMaterialArchive/2003/doc/';
      t+='magyarora_2003_'+month_nb+'_'+j+'.doc">doc</a>&nbsp;|&nbsp;';
      t+= '					  </td>';
      t+= '					  <td valign=top>';
      t+= '					    <a target="news" href="../newsMaterialArchive/2003/doc/';
      t+='magyarora_2003_'+month_nb+'_'+j+'.pdf">pdf</a>&nbsp;]';
      t+= '					  </td>';

      t+= '					  </td>';
      t+= '					  <td valign=top>';
      t+= '                                       &nbsp;&nbsp;&nbsp;[&nbsp;<a href="../newsMaterialArchive/2003/audio/';
      t+='magyarora_2003_'+month_nb+'_'+j+'.mp3">audio</a>&nbsp;]';
      t+= '					  </td>';



      t+= '					</tr>';
    }
					
    t+= '				    </table> ';
    t+= '				  </td>';

    t+= '				</tr>';
    t+= '			    </table>';

 
  }
 
  t+= '			  </td>';

  t+= '			</tr>';
  t+= '		    </table>';

  document.write( t );

}






var anecdote_list=['About the Hungarian traveler Benyovszky Móric',
		   'Albrecht Dürer and his Hungarian father',
                   'Szeged, the city of sunshine',
                   'Johnny Weissmüller was of Hungarian origin',
                   'Sándor Kőrösi Csoma, a Hungarian traveler in Tibet',
		   'About the Corvinas',
                   'In which region could you hear: "Szeretyi Katyi Petyit"?',
                   'Caves in Hungary',
                   'The unification of Budapest',
                   'Kincsem, the legendary race horse',
                   'Süsü, the one-headed dragon'];


//===============================================================================
//
//-------------------------------------------------------------------------------
function html_for_anecdote_list( anecdote_nb ){
     
 var t = '';

 for(i=0;i<anecdote_list.length;i++){
   if( i == anecdote_nb-1 ){
     t+='<li>'+anecdote_list[i];
   }
   else{
     var j=i+1;
     if(i<anecdote_list.length-1){
       t+='<li><a href="cultural'+j+'.html">'+anecdote_list[i]+'</a>';
     }
     else{
       t+='<li><a href="cultural.html">'+anecdote_list[i]+'</a>';
     }
   }
 }
 
 document.write( t );
}





//===============================================================================
//
//-------------------------------------------------------------------------------
function html_for_end() {

  var t = '';

  t+= ' <table align=center width=770 cellspacing=0 cellpadding=0 border=0><tr><td width=100% id="thep" valign="bottom" align="center" nowrap style="padding:2px 0px 2px 150px;">';
  t+= ' 		';
  t+= ' <a onmouseover="thep.style.backgroundColor=' + "'#FAFAFF'" + '" onmouseout="thep.style.backgroundColor=' + "'#FFFFFF'" + '" href="' + ROOT_PATH + 'english\\contact.html" style="text-decoration:none;font-size:xx-small"><font color="#666699">February&nbsp;2002&nbsp;-&nbsp;January 2010&nbsp;-&nbsp;&#169;&nbsp;Szilvia&nbsp;Szita&nbsp;-&nbsp;all rights reserved</font></a><br>Forum registration code: <b>1235</b></td></tr></table>';

  document.write( t );
}
