<!--//
var now = new Date();
var mydate = new Date();
var months_long = new Array("January","February","March","April","May","June","July","August","September","October","November","December");
var months = new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");

document.write("<center><img src=/art/todayh1.png border=0><br>");

<!--//BEGIN_TODAYFILMS//-->
document.write("<div class=TODAYFilm><div class=TODAYFilmTitle><a class=TODAYFilmTitle href=/rfc/films/1398.html>The Girl Who Played with Fire (Flickan som lekte med elden)</a></div><div class=TODAYFilmTime>1:00, 3:45, 6:30, 9:20</div></div>");
document.write("<div class=TODAYFilm><div class=TODAYFilmTitle><a class=TODAYFilmTitle href=/rfc/films/1403.html>San Francisco Opera: La Rondine</a></div><div class=TODAYFilmTime>10:00am</div></div>");
document.write("<div class=TODAYFilm><div class=TODAYFilmTitle><a class=TODAYFilmTitle href=/rfc/films/1407.html>Farewell (L'Affaire Farewell)</a></div><div class=TODAYFilmTime>1:15, 4:15, 6:45, 9:05</div></div>");
document.write("<div class=TODAYFilm><div class=TODAYFilmTitle><a class=TODAYFilmTitle href=/rfc/films/1393.html>Joan Rivers - A Piece of Work</a></div><div class=TODAYFilmTime>2:00, 6:15</div></div>");
document.write("<div class=TODAYFilm><div class=TODAYFilmTitle><a class=TODAYFilmTitle href=/rfc/films/1406.html>Anton Chekhov's The Duel</a></div><div class=TODAYFilmTime>4:00, 8:15</div></div>");

//document.write("<div class=TODAYFilm><div class=TODAYFilmTitle><a class=TODAYFilmTitle href=/rfc/films/8.html>Here is Film</a></div><div class=TODAYFilmTime>4:00pm | 8:25pm</div></div>");
//document.write("<div class=TODAYFilm><div class=TODAYFilmTitle><a class=TODAYFilmTitle href=/rfc/films/933.html>The Unknown Woman - (La Sconosciuta)</a></div><div class=TODAYFilmTime>2:00pm | 4:10pm</div></div>");
//document.write("<div class=TODAYFilm><div class=TODAYFilmTitle><a class=TODAYFilmTitle href=/rfc/films/934.html>28th Annual San Francisco Jewish Film Festival</a></div><div class=TODAYFilmTime>10:00am - 8:00pm</div></div>");
//document.write("<div class=TODAYFilm><div class=TODAYFilmTitle><a class=TODAYFilmTitle href=/rfc/films/928.html>A Man Named Pearl</a></div><div class=TODAYFilmTime>7:00pm | 9:40pm</div></div>");

<!--//END_TODAYFILMS//-->
document.write("<div class=TODAYBuyTicket><a href='http://www.ticketmakers.com/GenFilm2P.dll/zipsearch?choice=theater&theaterid=11001&date=today&TBP=11000'><img alt='Buy Tickets' src='/art/buyticket.png' border=0></a></div>");





//document.write("<form><div class=TODAYCalendar><div class=TODAYCalendarMonth>");
//document.write("<select class=\"TDY\" onchange=\"window.location='/months/'+this.options[this.selectedIndex].value+'.html'\">");
for(m = -12;m <= 3;m++){
var thisDate = new Date();
thisDate.setYear(now.getFullYear());
thisDate.setMonth((mydate.getMonth()+m));
thisDate.setDate(1);
var chk = thisDate.getMonth()+"_"+thisDate.getFullYear();
var nowchk = now.getMonth()+"_"+now.getFullYear();
var mod = "";if (chk == nowchk){mod = " SELECTED";}
////document.write("<option value=\""+months[thisDate.getMonth()]+"_"+thisDate.getFullYear()+"\""+mod+">"+months[thisDate.getMonth()]+" "+thisDate.getFullYear()+"=="+chk+" == "+nowchk+"==="+mod);
//document.write("<option class=TDY value=\""+months[thisDate.getMonth()]+"_"+thisDate.getFullYear()+"\""+mod+">"+months[thisDate.getMonth()]+" "+thisDate.getFullYear());

}
//document.write("</select></div>");
var ttlDaysDate = new Date();
if (now.getMonth() == 11) {
ttlDaysDate.setMonth(0);
ttlDaysDate.setYear(now.getFullYear() + 1);
} else {
ttlDaysDate.setMonth(now.getMonth() + 1);
}
ttlDaysDate.setDate(1);
ttlDaysDate.setDate(ttlDaysDate.getDate() - 1);
var TTLDAYS = ttlDaysDate.getDate();

var firstDOWDate = new Date();
firstDOWDate.setYear(now.getFullYear());
firstDOWDate.setMonth((now.getMonth()));
firstDOWDate.setDate(1);
var FIRDOW = firstDOWDate.getDay();
var CALHTM = "";








//CALHTM += "<li>now="+months[now.getMonth()];
//CALHTM += "<li>first="+months[ttlDaysDate.getMonth()]+" "+ttlDaysDate.getDate();
//CALHTM += "<li>TTLDAYS="+TTLDAYS;

CALHTM += "<table class=CAL border=0 cellpadding=0 cellspacing=0>";
CALHTM += "<tr><td class=DOW>S</td><td class=DOW>M</td><td class=DOW>T</td><td class=DOW>W</td><td class=DOW>T</td><td class=DOW>F</td><td class=DOW>S</td></tr>";

CALHTM += "<tr>";
if (FIRDOW > 0){CALHTM += "<td colspan="+FIRDOW+" class=CAL> </td>\n";}


var dc = FIRDOW;
for(d = 1;d <= TTLDAYS;d++){
if (dc == 7){dc = 0;
CALHTM += "<\/tr><tr>\n";
}
var nme = ""+now.getMonth()+""+d+""+now.getFullYear();
var mod = "";
var nme2 = ""+now.getMonth()+""+now.getDate()+""+now.getFullYear();
if (nme == nme2){
mod = "ISTODAY";
}
//CALHTM += "<td onMouseOver=\"tdRollover('"+nme+"',"+d+");\" onMouseOut=\"tdRollout('"+nme+"',"+d+");\" id=\""+nme+"\" class=CAL "+mod+"><a class=CAL href=\"/cgi/sql.cgi?View&T=films&V=SQL&Q_EventDateTimes_REQUIRE="+months[now.getMonth()]+" "+d+" "+now.getFullYear()+"\">"+d+"</a></td>\n";
CALHTM += "<td id=\""+nme+"\" class=CAL"+mod+"><a class=CAL href=\"/cgi/sql.cgi?View&T=films&V=SQL&Q_EventDateTimes_REQUIRE="+months[now.getMonth()]+" "+d+" "+now.getFullYear()+"\">"+d+"</a></td>\n";
dc += 1;
}
var lft = 7-dc;
if (lft > 0){CALHTM += "<td colspan="+lft+" class=CAL> </td>\n";}




CALHTM += "</tr></table></div>";

//document.write(CALHTM);


document.write("<table cellpadding=0 cellspacing=0><tr><td class=TodayInfo>");
document.write("<p>To purchase tickets, select <a href=\"http://www.ticketmakers.com/GenFilm2P.dll/zipsearch?choice=theater&theaterid=11001&date=today&TBP=11000\">Buy Tickets</a>. Select the date of the film for which you are purchasing tickets from the calendar on the following page.</p>");
document.write("<p>Tickets are also available at the <a href=\"/rfc/index.html\">Christopher B. Smith Rafael Film Center</a> box office.</p>");
document.write("<p><a href=\"/membership/index.html\">CFI member</a> discount not available for online purchases.</p>");
document.write("<p align=\"center\"><a target=_blank href=\"http://twitter.com/cafilminstitute\"><img width=\"150\" src=\"/twitter.png\" alt=\"Follow Us on Twitter\" border=\"0\"></a></p>");
document.write("<p><p align=\"center\"><a target=_blank href=\"http://www.facebook.com/pages/California-Film-Institute/82847078492\"><img width=\"150\" src=\"/facebook.png\" alt=\"Follow Us on Facebook\" border=\"0\"></a></p>");
document.write("</td></tr></table></center>");

	
//-->
