<!--//
// 20090720 JDR - Force host to www.cafilm.org
if (window.location.host != 'www.cafilm.org'){window.location = 'http://www.cafilm.org' + window.location.pathname + window.location.search;}

var ALIAS = "";
var PASSWORD = "";
var GROUPS = "";
var ROLE = "";
var RANK = "";
var months = Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");
cookies = document.cookie.split("; ");
for(z=0;z<cookies.length;z++){
cookie = cookies[z].split("=");
if (cookie[0] == 'ALIAS'){ALIAS = replaceChars(cookie[1]);}
if (cookie[0] == 'PASSWORD'){PASSWORD = replaceChars(cookie[1]);}
if (cookie[0] == 'GROUPS'){GROUPS = replaceChars(cookie[1]);}
if (cookie[0] == 'ROLE'){ROLE = replaceChars(cookie[1]);}
if (cookie[0] == 'RANK'){ROLE = replaceChars(cookie[1]);}
}
//&#233;
<!--//BEGIN_CUSTOMMENUC//-->
var div1_menu = Array("/cfi/about.html|About CFI","/contact/board.html|Board of Directors","/contact/index.html|Contact","/cfi/press.html|News & Media","/cfi/jobs.html|Jobs and Internships","/cfi/green.html|Green Inititative","/cfi/volunteer.html|Volunteer","/cfi/recommends.html|CFI Recommends");
var div2_menu = Array("/rfc/films.html|Coming Attractions","/rfc/gallery_rafael.html|Seen at the Rafael","/rfc/about.html|Smith Rafael FAQs","/rfc/10thanniversarycelebration.html|10th Anniversary Celebration");
var div3_menu = Array("/mvff/mvff2010.html|Mill Valley Film Festival","/mvff/films.html|Films","/mvff/events.html|Events","/mvff/activecinema.html|Active Cinema","/mvff/Sponsors.html|Sponsors","/mvff/press.html|Press","/mvff/volunteers.html|Volunteer","/mvff/c4e.html|Call For Entries");
var div4_menu = Array("/education/jury.html|Young Critics Jury","/education/world.html|A Place in the World","/education/myplace.html|My Place","/education/seminar.html|MVFF Teacher Seminar","/education/inschool.html|MVFF In-School Program","/education/eyf.html|Environmental Youth Forum","/education/mvff_education_screenings.html|MVFF Education Screenings");
var div5_menu = Array("/membership/levels.html|Member Rewards");
var div6_menu = Array("/support/individualandfoundation.html|Individual Giving","/support/screeningthefuture.html|Screening the Future","/support/plannedgiving.html|Planned Giving","/support/foundationgiving.html|Foundation Giving","/support/sponsorship.html|Corporate Sponsorship","/support/membership.html|Membership");
//var div6_menu = Array("/cgi/login.cgi?Logout|Preferences","/cgi/login.cgi?Logout|Logout");
var ttl_menu = 6;

<!--//END_CUSTOMMENUC//-->
var lin_menu = Array("/cgi/login.cgi?Prefs|Preferences","/cgi/login.cgi?Logout|Logout");
var lou_menu = Array("/cgi/login.cgi?Login|Login","/cgi/login.cgi?Help|Login Help");

//if (ALIAS){
//eval("var div"+ttl_menu+"_menu = lin_menu;");
//}else{
//eval("var div"+ttl_menu+"_menu = lou_menu;");
//}


var menu = Array();
var isdivopen =0;
var isdivactive = "";
var active_menu = "";
var active_open = "";
var spd = 25;
var spdAlpha = 7;
var fancy = 0;
if (navigator.appVersion.toUpperCase().split("MSIE 6.").length == 2){fancy = 0;}
//document.write(navigator.appVersion.toUpperCase().split("MSIE 6.").length);
var topCnt = 10;
var shadow_alpha = 50;
var shadow_size = 1;
//var debug = 0;
function openUploader(who){
document.getElementById(who).innerHTML = "Howdy";
}
function showMenu(who){
if (who == active_menu){return;}
active_menu = who;
document.getElementById(who).innerHTML = "";
topCnt = topCnt+1;
document.getElementById(who).style.zIndex = topCnt;
showMenuAnimated(who,0);
}//////////////////////////////////////////////////////////////////
function closeMenu(who,step){
if (!who){return;}

for(m = 1;m <= ttl_menu;m++){
if (who == "div"+m){menu = eval("div"+m+"_menu");}
}
//if (who == "div1"){menu = div1_menu;}
//if (who == "div2"){menu = div2_menu;}
//if (who == "div3"){menu = div3_menu;}
//if (who == "div4"){menu = div4_menu;}
//if (who == "div5"){menu = div5_menu;}
//if (who == "div6"){menu = div6_menu;}

if (menu.length == 0){
document.getElementById(who).innerHTML = "";
return;
}


if (step < 0){
document.getElementById(who).innerHTML = "";
return;
}else{
document.getElementById(who).innerHTML = "";
per = Math.round((step*100)/menu.length);
perd = per/100;
//alert(per);
///////
per2 = shadow_alpha;
perd2 = shadow_alpha/100;
var shadColor = "#3A0402";
var shadSize = shadow_size;
var shadl = "";
var shadr = "";
var shadlb = "";
var shadrb = "";
if (fancy == 1){
shadl = "<td width="+shadSize+" style=\"background-image:url('/fade_l.png');\"><img src=\"/cgi/trans.gif\" width=\""+shadSize+"\" height=5 border=\"0\"></td>";
shadr = "<td width="+shadSize+" style=\"background-image:url('/fade_r.png');\"><img src=\"/cgi/trans.gif\" width=\""+shadSize+"\" height=5 border=\"0\"></td>";
shadlb = "<td width="+shadSize+" style=\"background-image:url('/fade_lc2.png');\"><img src=\"/cgi/trans.gif\" width=\""+shadSize+"\" height=5 border=\"0\"></td>";
shadrb = "<td width="+shadSize+" style=\"background-image:url('/fade_rc2.png');\"><img src=\"/cgi/trans.gif\" width=\""+shadSize+"\" height=5 border=\"0\"></td>";
}else{
shadl = "<td width=\"1\" height=\"1\" class=\"SHADOWOFF\">&nbsp;</td>";
shadr = "<td width=\""+shadSize+"\" class=\"SHADOW\">&nbsp;</td>";
}

for(var x=0;x<step;x++){
////////////document.getElementById(who).innerHTML += "<table width=100% border=0 cellspacing=0 cellpadding=0><tr>"+shadl+"<td class=\"NSMENU\" style=\"xxxfilter:alpha(opacity="+per+");-moz-opacity:"+perd+";opacity:"+perd+";\"><a class=\"NSMENU\" href=\""+menu[x].split("|")[0]+"\">"+menu[x].split("|")[1]+"</a></td>"+shadr+"</tr></table>\n";
if (fancy == 1){
document.getElementById(who).innerHTML += "<table width=100% border=0 cellspacing=0 cellpadding=0><tr>"+shadl+"<td class=\"NSMENU\" style=\"xxxfilter:alpha(opacity="+per+");-moz-opacity:"+perd+";opacity:"+perd+";\"><a class=\"NSMENU\" href=\""+menu[x].split("|")[0]+"\">"+menu[x].split("|")[1]+"</a></td>"+shadr+"</tr></table>\n";
}else{
document.getElementById(who).innerHTML += "<table width=100% border=0 cellspacing=0 cellpadding=0><tr>"+shadl+"<td class=\"NSMENU\"><a class=\"NSMENU\" href=\""+menu[x].split("|")[0]+"\">"+menu[x].split("|")[1]+"</a></td>"+shadr+"</tr></table>\n";
}
}
if (fancy == 1){
document.getElementById(who).innerHTML += "<table width=100% border=0 cellspacing=0 cellpadding=0><tr>"+shadlb+"<td style=\"background-image:url('/fade_b.png');\"><img src=\"/cgi/trans.gif\" height="+shadSize+" width=5 border=0></td>"+shadrb+"</tr></table>\n";
}else{
document.getElementById(who).innerHTML += "<table width=100% border=0 cellspacing=0 cellpadding=0><tr><td width=\"7\" height=\"5\" class=\"SHADOWOFF\">&nbsp;</td><td height=\""+shadSize+"\" class=\"SHADOW\">&nbsp;</td>"+shadr+"</tr></table>\n";
}
/////////////
step = Math.round(step)-1;
//if (step >= 0){
setTimeout("closeMenu('"+who+"',"+step+");",spd);
//}
}
}//////////////////////////////////
function showMenuAnimated(who,y){
var showmenu = Array();
for(m = 1;m <= ttl_menu;m++){
if (who == "div"+m){showmenu = eval("div"+m+"_menu");}
}
//if (who == "div1"){showmenu = div1_menu;}
//if (who == "div2"){showmenu = div2_menu;}
//if (who == "div3"){showmenu = div3_menu;}
//if (who == "div4"){showmenu = div4_menu;}
//if (who == "div5"){showmenu = div5_menu;}
//if (who == "div6"){showmenu = div6_menu;}
if (showmenu.length == 0){


for(m = 1;m <= ttl_menu;m++){
if ((who != "div"+m)&&(document.getElementById("div"+m).innerHTML)){document.getElementById("div"+m).innerHTML = "";}
}
//if ((who != "div1")&&(document.getElementById('div1').innerHTML)){document.getElementById('div1').innerHTML = "";}
//if ((who != "div2")&&(document.getElementById('div2').innerHTML)){document.getElementById('div2').innerHTML = "";}
//if ((who != "div3")&&(document.getElementById('div3').innerHTML)){document.getElementById('div3').innerHTML = "";}
//if ((who != "div4")&&(document.getElementById('div4').innerHTML)){document.getElementById('div4').innerHTML = "";}
//if ((who != "div5")&&(document.getElementById('div5').innerHTML)){document.getElementById('div5').innerHTML = "";}
//if ((who != "div6")&&(document.getElementById('div6').innerHTML)){document.getElementById('div6').innerHTML = "";}
active_open = "";
return;}
//alert(showmenu.length);
if (y > showmenu.length){
for(m = 1;m <= ttl_menu;m++){
if ((who != "div"+m)&&(document.getElementById("div"+m).innerHTML)){document.getElementById("div"+m).innerHTML = "";}
}
//if ((who != "div1")&&(document.getElementById('div1').innerHTML)){document.getElementById('div1').innerHTML = "";}
//if ((who != "div2")&&(document.getElementById('div2').innerHTML)){document.getElementById('div2').innerHTML = "";}
//if ((who != "div3")&&(document.getElementById('div3').innerHTML)){document.getElementById('div3').innerHTML = "";}
//if ((who != "div4")&&(document.getElementById('div4').innerHTML)){document.getElementById('div4').innerHTML = "";}
//if ((who != "div5")&&(document.getElementById('div5').innerHTML)){document.getElementById('div5').innerHTML = "";}
//if ((who != "div6")&&(document.getElementById('div6').innerHTML)){document.getElementById('div6').innerHTML = "";}
active_open = "";
}else{
active_open = who;
document.getElementById(who).innerHTML = "";
per = Math.round((y*100)/showmenu.length);
perd = per/100;
per2 = shadow_alpha;
perd2 = shadow_alpha/100;
var shadColor = "#3A0402";
var shadSize = shadow_size;
//var shadSize = Math.floor(shadow_size*perd);
var shadl = "";
var shadr = "";
var shadlb = "";
var shadrb = "";
if (fancy == 1){
shadl = "<td width="+shadSize+" style=\"background-image:url('/fade_l.png');\"><img src=\"/cgi/trans.gif\" width=\""+shadSize+"\" height=5 border=\"0\"></td>";
shadr = "<td width="+shadSize+" style=\"background-image:url('/fade_r.png');\"><img src=\"/cgi/trans.gif\" width=\""+shadSize+"\" height=5 border=\"0\"></td>";
shadlb = "<td width="+shadSize+" style=\"background-image:url('/fade_lc2.png');\"><img src=\"/cgi/trans.gif\" width=\""+shadSize+"\" height=5 border=\"0\"></td>";
shadrb = "<td width="+shadSize+" style=\"background-image:url('/fade_rc2.png');\"><img src=\"/cgi/trans.gif\" width=\""+shadSize+"\" height=5 border=\"0\"></td>";
}else{
shadl = "<td class=\"SHADOWOFF\" width=\"1\" height=\"1\">&nbsp;</td>";
//shadr = "<td width="+shadSize+" bgcolor="+shadColor+" style=\"xxxfilter:alpha(opacity="+per2+");-moz-opacity:"+perd2+";opacity:"+perd2+";\"><img src=\"/cgi/trans.gif\" width=\""+shadSize+"\" height=1 border=\"0\"></td>";
shadr = "<td class=\"SHADOW\" width=\""+shadSize+"\">&nbsp;</td>";
}
for(var x=0;x<y;x++){
if (fancy == 1){
document.getElementById(who).innerHTML += "<table width=100% border=0 cellspacing=0 cellpadding=0><tr>"+shadl+"<td class=\"NSMENU\" style=\"xxxfilter:alpha(opacity="+per+");-moz-opacity:"+perd+";opacity:"+perd+";\"><a class=\"NSMENU\" href=\""+showmenu[x].split("|")[0]+"\">"+showmenu[x].split("|")[1]+"</a></td>"+shadr+"</tr></table>\n";
}else{
document.getElementById(who).innerHTML += "<table width=100% border=0 cellspacing=0 cellpadding=0><tr>"+shadl+"<td class=\"NSMENU\"><a class=\"NSMENU\" href=\""+showmenu[x].split("|")[0]+"\">"+showmenu[x].split("|")[1]+"</a></td>"+shadr+"</tr></table>\n";
}
}
if (fancy == 1){
document.getElementById(who).innerHTML += "<table width=100% border=0 cellspacing=0 cellpadding=0><tr>"+shadlb+"<td style=\"background-image:url('/fade_b.png');\"><img src=\"/cgi/trans.gif\" height="+shadSize+" width=5 border=0></td>"+shadrb+"</tr></table>\n";
}else{
//document.getElementById(who).innerHTML += "<table width=100% border=0 cellspacing=0 cellpadding=0><tr><td width=7><img src=/cgi/trans.gif width=7 height=5 border=0></td><td bgcolor="+shadColor+" style=\"xxxfilter:alpha(opacity="+per2+");-moz-opacity:"+perd2+";opacity:"+perd2+";\"><img src=\"/cgi/trans.gif\" height="+shadSize+" width=1 border=0></td>"+shadr+"</tr></table>\n";
document.getElementById(who).innerHTML += "<table width=100% border=0 cellspacing=0 cellpadding=0><tr><td class=\"SHADOWOFF\" width=\"7\" height=\""+shadSize+"\">&nbsp;</td><td class=\"SHADOW\">&nbsp;</td>"+shadr+"</tr></table>\n";
}
y = y+1;
setTimeout("showMenuAnimated('"+who+"',"+y+");",spd);
}
}//////////////////////////////////////////////////////////////////
function getActiveDiv(objt){
var actDiv = "";
if ((objt.nodeName == "DIV")){
actDiv = objt.id;
}
if (!actDiv){
chk = objt.parentNode;
var found = 0;
while(found != 1){
if (!chk){found = 1;}
if ((chk)&&(chk.nodeName == "DIV")){
found = 1;
actDiv = chk.id;
}
if (!found){chk = chk.parentNode;}
}
}
return actDiv;
}////////////////////////////////
function getActiveTD(objt){
var actTD = "";
if ((objt.nodeName == "TD")){
actTD = objt.id;
}
if (!actTD){
chk = objt.parentNode;
var found = 0;
while(found != 1){
if (!chk){found = 1;}
if ((chk)&&(chk.nodeName == "TD")){
found = 1;
actTD = chk.id;
}
if (!found){chk = chk.parentNode;}
}
}
return actTD;
}////////////////////////////////
function mmove(e){
var objt;
if (!e){
objt = window.event.srcElement;
}else{
objt = e.target;
}
var activeDiv = "";
var activeTD = "";
//if (debug == 1){document.forms['foo'].elements['activeDiv'].value = "well";document.forms['foo'].elements['activeTD'].value = "well";}
if (objt){
activeDiv = getActiveDiv(objt);
activeTD = getActiveTD(objt);
}
//if (debug == 1){document.forms['foo'].elements['activeDiv'].value = activeDiv;document.forms['foo'].elements['activeTD'].value = activeTD;}
//if (active_menu){return;}
if (activeTD.split("_")[1] != active_menu){
activeTD = activeTD.split("_")[1];
if (activeTD){
showMenu(activeTD);
return;
}
}
var closer = 0;
if (activeDiv){
if (active_menu != activeDiv){closer = 1;}
}
if ((!activeDiv)&&(!activeTD)){closer = 1;}
if (closer == 1){



for(m = 1;m <= ttl_menu;m++){
if ((active_menu)&&(active_menu != "div"+m)&&(document.getElementById("div"+m).innerHTML)){document.getElementById("div"+m).innerHTML = "";}
}



//if ((active_menu)&&(active_menu != "div1")&&(document.getElementById('div1').innerHTML)){document.getElementById('div1').innerHTML = "";}
//if ((active_menu)&&(active_menu != "div2")&&(document.getElementById('div2').innerHTML)){document.getElementById('div2').innerHTML = "";}
//if ((active_menu)&&(active_menu != "div3")&&(document.getElementById('div3').innerHTML)){document.getElementById('div3').innerHTML = "";}
//if ((active_menu)&&(active_menu != "div4")&&(document.getElementById('div4').innerHTML)){document.getElementById('div4').innerHTML = "";}
//if ((active_menu)&&(active_menu != "div5")&&(document.getElementById('div5').innerHTML)){document.getElementById('div5').innerHTML = "";}
//if ((active_menu)&&(active_menu != "div6")&&(document.getElementById('div6').innerHTML)){document.getElementById('div6').innerHTML = "";}


for(m = 1;m <= ttl_menu;m++){
if (active_menu == "div"+m){closeMenu("div"+m,eval("div"+m+"_menu.length"));}
}

//if (active_menu == "div1"){closeMenu('div1',div1_menu.length);}
//if (active_menu == "div2"){closeMenu('div2',div2_menu.length);}
//if (active_menu == "div3"){closeMenu('div3',div3_menu.length);}
//if (active_menu == "div4"){closeMenu('div4',div4_menu.length);}
//if (active_menu == "div5"){closeMenu('div5',div5_menu.length);}
//if (active_menu == "div6"){closeMenu('div6',div6_menu.length);}
active_menu = "";
}
}///////////////////////////////////
function isdefined( variable){
return (typeof(window[variable]) == "undefined")?  false: true;
}///////////////////////////////////////////////////////////////////////
var hoverDivLast = "";
function hoverDiv(who){
return;
if (document.all){
if (hoverDivLast){document.all("TD"+hoverDivLast).style.backgroundColor = '#FFFFFF';}
document.all("TD"+who).style.backgroundColor = '#FAFAFA';
} else if (!document.all && document.getElementById) {      
if (hoverDivLast){document.getElementById("TD"+hoverDivLast).style.backgroundColor = '#FFFFFF';}
document.getElementById("TD"+who).style.backgroundColor = '#FAFAFA';
}
hoverDivLast = who;
}///////////////////////////////////////////////////////////////////////
function tdRollover(msg,clipid){
AT = 100;
var ATM = AT/100;
if (document.all){
document.all(WHO).filters.alpha.opacity = AT;
} else if (!document.all && document.getElementById) {
document.getElementById(WHO).style.MozOpacity = ATM;
}
return;
document.all(msg).style.visibility = 'visible';
raiseTDAlpha(msg,1,100,10);
//alert(document.getElementById(msg).innerHTML);
}///////////////////////////////////////////////////////////////////////
function tdRollout(msg,clipid){
AT = 75;
var ATM = AT/100;
if (document.all){
document.all(WHO).filters.alpha.opacity = AT;
} else if (!document.all && document.getElementById) {
document.getElementById(WHO).style.MozOpacity = ATM;
}
return;
lowerTDAlpha(msg,100,1,10);
//document.all(msg).style.visibility = 'hidden';
//alert(document.getElementById(msg).innerHTML);
}///////////////////////////////////////////////////////////////////////
function raiseTDAlpha(WHO,AT,TILL,spdAlpha){
AT = Math.floor(AT)+Math.floor(spdAlpha);
var ATM = AT/100;
if (document.all){
document.all(WHO).filters.alpha.opacity = AT;
} else if (!document.all && document.getElementById) {
document.getElementById(WHO).style.MozOpacity = ATM;
}
if (AT < TILL){
setTimeout("raiseTDAlpha('"+WHO+"',"+AT+","+TILL+","+spdAlpha+");",100);
}else{
isdivopen = 0;
}
}///////////////////////////////////////////////////////////////////
function lowerTDAlpha(WHO,AT,TILL,spdAlpha){
AT = Math.floor(AT)-Math.floor(spdAlpha);
var ATM = AT/100;
if (document.all){
document.all(WHO).filters.alpha.opacity = AT;
} else if (!document.all && document.getElementById) {
document.getElementById(WHO).style.MozOpacity = ATM;
}
if (AT > TILL){
setTimeout("lowerTDAlpha('"+WHO+"',"+AT+","+TILL+","+spdAlpha+");",100);
}else{
isdivopen = 0;
}
}///////////////////////////////////////////////////////////////////
function showCalendarEvent(msg){
document.all(msg).style.visibility = 'visible';
raiseDivAlpha(msg,10);
//alert(document.getElementById(msg).innerHTML);
}///////////////////////////////////////////////////////////////////////
function hideCalendarEvent(msg){
document.all(msg).style.visibility = 'hidden';
//alert(document.getElementById(msg).innerHTML);
}///////////////////////////////////////////////////////////////////////
function copyDiv(FROM,TO){
if (isdivactive == FROM){return;}
if (isdivactive){
if (document.all){
//alert("MARK"+isdivactive);
//document.all("TD"+isdivactive).style.backgroundColor = '#FFFFFF';
document.all("MARK"+isdivactive).src = '/markoff.gif';
} else if (!document.all && document.getElementById) {      
//document.getElementById("TD"+isdivactive).style.backgroundColor = '#FFFFFF';
document.getElementById("MARK"+isdivactive).src = '/markoff.gif';
}
}
isdivactive = FROM;
isdivopen = 1;
if (document.all){
document.all(TO).filters.alpha.opacity = 0;
//document.all("TD"+FROM).style.backgroundColor = '#DDDDDD';
document.all("MARK"+FROM).src = '/mark.gif';
} else if (!document.all && document.getElementById) {      
document.getElementById(TO).style.MozOpacity = 0;
//document.getElementById("TD"+FROM).style.backgroundColor = '#DDDDDD';
document.getElementById("MARK"+FROM).src = '/mark.gif';
}
document.getElementById(TO).innerHTML = document.getElementById(FROM).innerHTML;
raiseDivAlpha("SIDEBAR",10);
}///////////////////////////////////////////////////////////////////
function raiseDivAlpha(WHO,AT){
AT = Math.floor(AT)+spdAlpha;
var ATM = AT/100;
if (document.all){
document.all(WHO).filters.alpha.opacity = AT;
} else if (!document.all && document.getElementById) {      
document.getElementById(WHO).style.MozOpacity = ATM;
}
if (AT < 100){
setTimeout("raiseDivAlpha('"+WHO+"','"+AT+"');",10);
}else{
isdivopen = 0;
}
}///////////////////////////////////////////////////////////////////

function replaceChars(entry) {
out = "+"; // replace this
add = " "; // with this
temp = "" + entry; // temporary holder
while (temp.indexOf(out)>-1) {
pos= temp.indexOf(out);
temp = "" + (temp.substring(0, pos) + add + 
temp.substring((pos + out.length), temp.length));
}
return temp;
}////////////////////////////////////////////////////////
function WriteFLA(swf,wdth,hgth,nme){
//var wdth = 760;
//var hgth = 264;
//var nme = "static";
////document.write(swf);
document.write("<div id=fla style='position:relative;z-index:1;'><OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' WIDTH='"+wdth+"' HEIGHT='"+hgth+"' id='"+nme+"' ALIGN=''>");
document.write("<PARAM NAME=movie VALUE='"+swf+"'>");
document.write("<EMBED src='"+swf+"' quality=high wmode=transparent bgcolor=#FFFFFF WIDTH='"+wdth+"' HEIGHT='"+hgth+"' NAME='"+nme+"' ALIGN='' TYPE='application/x-shockwave-flash' PLUGINSPAGE='http://www.macromedia.com/go/getflashplayer'>");
document.write("<PARAM NAME=quality VALUE=high><param name=wmode value=transparent><PARAM NAME=bgcolor VALUE=#FFFFFF></EMBED></OBJECT></div>");
}////////////////////////////////////////////////////////
function daySelectOptions(days){
var from = Math.round(CUR.getTime()/1000);
//var content = "<option value=\""+from+"\">"+months[CUR.getMonth()]+" "+CUR.getDate()+" "+CUR.getYear();
var content = "";
for(x=1;x<=days;x++){
var fromli = from+(x*86400);
var thisdate = new Date();
thisdate.setTime(fromli*1000);
content = ""+content+"<option value=\""+fromli+"\">"+months[thisdate.getMonth()]+" "+thisdate.getDate()+" "+thisdate.getYear();
}
return content;
}////////////////////////////////////////////////////////
function AsLink(mtitle){
var mreq = mtitle;
return "/cgi/sql.cgi?View&TITLE="+mtitle+"&V=SQL&T=films&Q_EventDateTimes_REQUIRE="+mreq;
}///////////////////////////////////////////////////////////////////////
function tdToday(msg){
//alert(document.getElementById(msg).innerHTML);
if (!document.getElementById(msg)){
return;
}else{
document.all(msg).style.visibility = 'visible';
document.all(msg).style.border = 'solid 1px white';
raiseTDAlpha(msg,10);
}
//alert(document.getElementById(msg).innerHTML);
}///////////////////////////////////////////////////////////////////////

//-->