var DayOfWeek = new Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');
var MonthName = new Array('January','February','March','April','May','June','July','August','September',
                          'October','November','December');
var theDate = new Date();
document.write("<tr><td colspan=\"2\">");
document.write("<table bgcolor=\"#003366\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">");
document.write("<tr><td width=\"70%\" align=\"left\"><font color=\"#ffffff\"><b>"+
	DayOfWeek[theDate.getDay()] + ', ' + 
	MonthName[theDate.getMonth()] + ' ' +
	theDate.getDate() + ', ' +
    (theDate.getYear() < 200 ? theDate.getYear() + 1900 : theDate.getYear()) +" </b></font></td>");
document.write("<td width=\"60%\" align=\"right\"><a href=\"../per/index.htm\"><b><font color=\"#ffffff\">[ Persisch ]</font></b></a></td>");
//document.write("<td width=\"60%\" align=\"left\"><a href=\"../eng/index.htm\"><b><font color=\"#ffffff\">[ English ]</font></b></a></td>");
document.write("<td width=\"20%\" align=\"right\">");
document.write("<form style=\"display: inline\" name=links action=action>");
document.write("<select style=\"width:180; font-size:12px;\" onchange=location.href=(form.Shortcut.options[form.Shortcut.selectedIndex].value) size=1 name=Shortcut>"); 
document.write("<option value=# selected>Short cuts...</option>");
document.write("<option value=http://www.leader.ir>Supreme Leader</option>");
document.write("<option value=http://www.president.ir>Office of the President</option>");
document.write("<option value=http://www.mfa.gov.ir>Ministry of Foreign Affairs</option>");
document.write("<option value=contact.htm>Contact us</option>");
document.write("</select></form></td></tr></table></td></tr>");

