/*function writeNew(){
document.write('<div id="new">');
document.write('<ul>');
    document.write('<li>&nbsp;</li>');
    document.write('<li>&nbsp;</li>');
    document.write('<li>&nbsp;</li>');
    document.write('<li>&nbsp;</li>');
    document.write('<li>&nbsp;</li>');
    document.write('<li>&nbsp;</li>');
   document.write(' <li>&nbsp;</li>');
    document.write('<li>&nbsp;</li>');
    document.write('<li>&nbsp;</li>');
    document.write('<li>&nbsp;</li>');
document.write('</ul>');
document.write('</div>');	
}
*/


function writeHeader() {
document.write('<div id="wrapper">');
document.write('<div id="head">');
document.write('</div>');<!--closes head div-->

}
function writeFooter() {
document.write('</div> ');<!--closes content div-->
document.write('<div id="clearfooter"></div>');
document.write('</div>'); <!--closes wrapper div-->
document.write('<div id="footer">');
}

///////////////////////////////Navigation Bar/////////////////////////////
function initHorNav() { 
  var numOfBars= 20;
  var  topHtml ='';
  var  botHtml ='';
  topHtml += '<div id="menu"><div id="navigate"><ul><span class="new"><img src="/conferences/HP2010/images/new.gif"></span>';
  botHtml += '</ul></div></div>' ;//closes menu and navigate div
  botHtml += '<div id="content">' ;
  horNav= new NavClass(numOfBars, topHtml, botHtml,0 );  
  setHorBarArray(); 
}


function setHorBarArray()	  
{	
	barHorArray[1] = new BarClass(1,"home", "/conferences/HP2010/index.php?page_name=home", " <span id='new1'>NEW</span> Home");
	barHorArray[2] = new BarClass(2,"calendar", "/conferences/HP2010/index.php?page_name=calendar", "<span id='new2'>NEW</span> Calendar" ); 	 
	barHorArray[3] = new BarClass(3, "announcement", "/conferences/HP2010/index.php?page_name=announcements", "<span id='new3'>NEW</span> Announcements" ); 
	barHorArray[4] = new BarClass(4, "program", "/conferences/HP2010/index.php?page_name=program","<span id='new4'>NEW</span> Scientific Program" );
	barHorArray[5] = new BarClass(5,"abstract", "/conferences/HP2010/index.php?page_name=abstract", "<span id='new5'>NEW</span> Abstract Submission");
	barHorArray[6] = new BarClass(6,"support", "/conferences/HP2010/index.php?page_name=support", "<span id='new6'>NEW</span> Financial Support" ); 	 
	barHorArray[7] = new BarClass(7, "proceedings", "/conferences/HP2010/index.php?page_name=proceedings", "<span id='new7'>NEW</span> Proceedings" ); 
	barHorArray[8] = new BarClass(8, "instructions", "/conferences/HP2010/index.php?page_name=instructions","<span id='new8'>NEW</span> Instructions For Speakers" );
	barHorArray[9] = new BarClass(9,"posterInstructions", "/conferences/HP2010/posterInstructions", "<span id='new9'>NEW</span> Instructions for Posters" ); 	 
	barHorArray[10] = new BarClass(10,"participants", "/conferences/HP2010/index.php?page_name=participants", "<span id='new10'>NEW</span> List of Participants" ); 	 
	barHorArray[11] = new BarClass(11, "registration", "/conferences/HP2010/index.php?page_name=registration", "<span id='new11'>NEW</span>Registration" ); 
	barHorArray[12] = new BarClass(12, "accommodations", "/conferences/HP2010/index.php?page_name=accommodations","<span id='new12'>NEW</span> Accommodations" );
	barHorArray[13] = new BarClass(13,"travel", "/conferences/HP2010/index.php?page_name=travel", "<span id='new13'>NEW</span> Travel");
	barHorArray[14] = new BarClass(14,"excursions", "/conferences/HP2010/index.php?page_name=excursions", "<span id='new14'>NEW</span> Excursions, Social Program" ); 	 
	barHorArray[15] = new BarClass(15, "poster", "/conferences/HP2010/index.php?page_name=poster", "<span id='new15'>NEW</span> Conference Poster" ); 
	barHorArray[16] = new BarClass(16, "photos", "/conferences/HP2010/index.php?page_name=photos","<span id='new16'>NEW</span> Photo Gallery" );
	barHorArray[17] = new BarClass(17,"committees", "/conferences/HP2010/index.php?page_name=committees", "<span id='new17'>NEW</span> Committees");
	barHorArray[18] = new BarClass(18,"sponsors", "/conferences/HP2010/index.php?page_name=sponsors", "<span id='new18'>NEW</span> Hosts and Sponsors");
	barHorArray[19] = new BarClass(19,"probes", "/conferences/HP2010/index.php?page_name=probes", "<span id='new19'>NEW</span> Previous Hard Probes" ); 	
	barHorArray[20] = new BarClass(20, "otherEvents", "/conferences/HP2010/otherEvents", "<span id='new20'>NEW</span> Other Events" ); 
	barHorArray[21] = new BarClass(21, "contact", "/conferences/HP2010/index.php?page_name=contact", "<span id='new21'>NEW</span> Contact Us" ); 
}
 
 

