//* header for Weizmann Projects like Proposals with title like parametr 

function writeHeader(title) {
	
document.write('<table width="100%" cellpadding="0" cellspacing="0" border="0" background="/images/wbvc_table.gif"><tr>');	
document.write('<td width="199" height="85" align="left" valign="top"><img src="/images/wlogo.jpg" width="199" height="85"></td>');	
document.write('<td height="85" align="left" valign="middle" nowrap class="titlestyle">'+ title + '</td>');	
document.write('<td width="30%" align="left" valign="top" background="/images/wbc_blue.gif" ><img src="/images/wblue_end.gif" width="64" height="85"></td>');	
     
document.write('<td width="234" height="85" align="right" valign="top"><a href="/"><img src="/images/wwis.gif" alt="Weizmann Institute of Science" width="234" height="85" border="0"></a></td>');	
document.write('</tr></table>');	

	}

function writeHeaderHeb(title) {
	
document.write('<div dir="ltr"><table width="100%" cellpadding="0" cellspacing="0" border="0" background="/images/wbvc_table.gif"><tr>');	
document.write('<td width="234" height="85" align="left" valign="top"><a href="/"><img src="/images/hwwis.gif" alt="Weizmann Institute of Science" width="234" height="85" border="0"></a></td>');	
document.write('<td width="30%" align="right" valign="top" background="/images/wbc_blue.gif" ><img src="/images/hwblue_end.jpg" width="64" height="85"></td>');	
document.write('<td height="85" align="right" valign="middle" nowrap class="hebtitlestyle">'+ title + '</td>');	
     
document.write('<td width="199" height="85" align="right" valign="top"><img src="/images/hwlogo.jpg" width="199" height="85"></td>');	
document.write('</tr></table></div>');	

	}
	
function writeWeizHeader(title){
document.write('<div class="wrapper">')
document.write('<div class="headerWrapper">');	
document.write('<div class="headerTop">');	
//document.write('<div class="logo">');	
document.write('<a title="Homepage" href="/">');	
document.write('<img width="253" height="57" border="0px" alt="Homepage" title="Homepage" src="http://www.weizmann.ac.il/pages/sites/weizmann.ac.il.pages/themes/weizmann/images/logo.png"></a>');	
//document.write('</div>');	
document.write('<div class="title">' + title + '</div>');	
document.write('</div>');	
document.write('<div class="blueLine"></div>');	
document.write('</div>');	

document.write('<div class="content">');

}
function writeWeizFooter(){
document.write('</div>');
document.write('</div>')
document.write('<div id="clearfooter"></div>')
document.write('<div class="footer">');	
document.write('<p><a href="/pages/">Weizmann Institute of Science</a> | P.O. Box 26, Rehovot 76100 Israel | Tel +972-8-934-3111 | Fax +972-8-934-4107 | <a href="/pages/terms-of-use">Terms of Use</a> | <a href="mailto:Webmaster@weizmann.ac.il">Email Webmaster</a> | <a href="/pages/contact-us">Contact Us</a></p>');	
document.write('</div>');	
}


