// ---lists productions---
var Show
var Title
var Link
var Theatre
var todayIs = new Date()
var theMonth = todayIs.getMonth()+1
var theDay = todayIs.getDate()
var theYear = todayIs.getYear(); if (theYear < 1900) {theYear = theYear+1900}
var theWeekday = todayIs.getDay()
var Months = "JanFebMarAprMayJunJulAugSepOctNovDec"
var MonthWord = Months.substring(theMonth*3-3,theMonth*3)
// Function to blank-out all variables after checking each event
function BlankAll() {
Show = ""; Title = ""; Episode = ""; Featuring = ""; Link = ""
Theatre = ""; City =""; State = ""
YearOpen = ""; MonthOpen = ""; DayOpen = ""; MonthClose = ""; DayClose = ""
}
BlankAll()
// The pastFilmDisplay function:
function pastFilmDisplay(type,data) {
Show = (" "+Show+" ")
if (type == "FindShow" && Show.indexOf(" "+data+" ") >= 0 && (YearinQuestion == YearOpen || YearinQuestion == "")) {
Found = "yes"}
if (type == "FindShowListings" && Show.indexOf(" "+data+" ") >= 0 && YearOpen != "" && (YearinQuestion == YearOpen || YearinQuestion == "")) {
Found = "yes"}
if (type == "CALENDAR" && (YearinQuestion == YearOpen || YearinQuestion == "")) { // blank YearOpen indicates entry is from FIRST section (NOW PLAYING, non-specific dates)
document.write(""+Title+"
")
document.write(""+MonthOpen+" "+DayOpen+" - ")
if (MonthClose) {
document.write("")
if (MonthOpen != MonthClose) {document.write(MonthClose+" ")}
document.write(DayClose+" - ")}
document.write(Episode+"
")
document.write("
")}
if (type == "PAGE" && Show.indexOf(" "+data+" ") >= 0 && YearOpen != "") { // blank YearOpen indicates entry is from FIRST section (NOW PLAYING)
document.write(""+Theatre+"
")
if(City !="") {
document.write(City+", "+State+"
")}
document.write(""+MonthOpen+" "+DayOpen+" - ")
if (MonthClose) {
document.write("")
if (MonthOpen != MonthClose) {document.write(MonthClose+" ")}
document.write(DayClose+" - ")}
document.write(Episode+"
")
document.write("
")}
if (type == "PAGEOPENING" && Show.indexOf(" "+data+" ") >= 0 && MonthWord == MonthOpen) {
document.write("")
document.write("
")
document.write("
")
document.write("")
document.write(MonthOpen+" "+DayOpen)
if (MonthClose) {
document.write(" - ")
if (MonthOpen != MonthClose) {document.write(MonthClose+" ")}
document.write(DayClose)}
document.write(" --- "+Episode+"!!")
document.write("")
document.write("
")
document.write("")
document.write("
")}
if (type == "FindYear" && data == YearOpen) {
Found = "yes"}
BlankAll()
}
function pastFilm(style,matching) {
Found = "no"
// This first section is shows that are NOW PLAYING in general - such as American Dragon running indefinitely on Disney Channel, which MAY NOT have any specific events upcoming
// (this prevents a show that is in reruns from dropping off the calendar completely OR a film that is in theatres OR available on video from dropping off the calendar
Show = "trappedbymormons"
Title = "Trapped By The Mormons"
YearOpen = ""
pastFilmDisplay(style,matching)
// Next section is for EPISODE PREMIERES and other SPECIFIC EVENTS
// 2002
Show = "poo"; Title = "Poona the Fuckdog and other plays for children"
Episode = "[screening]"
Link = "film/poona/pnpoo02_seattle.htm"
Theatre = "University of Washington (Film Appreciation Club)"
City = "Seattle"; State = "WA"
YearOpen = "2002"; MonthOpen = "Jun"; DayOpen = "6"; MonthClose = ""; DayClose = ""
pastFilmDisplay(style,matching)
Show = "poo"; Title = "Poona the Fuckdog and other plays for children"
Episode = "[screening]"
Link = "pnpoo02.htm#Portland"
Theatre = "Cinema 21"
City = "Portland"; State = "OR"
YearOpen = "2002"; MonthOpen = "Jul"; DayOpen = "30"; MonthClose = ""; DayClose = ""
pastFilmDisplay(style,matching)
Show = "poo"; Title = "Poona the Fuckdog and other plays for children"
Episode = "[screening]"
Link = "pnpoo02.htm#NewYork1"
Theatre = "New York International Independent Film & Video Festival"
City = "New York"; State = "NY"
YearOpen = "2002"; MonthOpen = "Sep"; DayOpen = "20"; MonthClose = ""; DayClose = ""
pastFilmDisplay(style,matching)
Show = "poo"; Title = "Poona the Fuckdog and other plays for children"
Episode = "[screening]"
Link = "pnpoo02.htm#NewYork2"
Theatre = "Guerilla Film & Video Festival"
City = "New York"; State = "NY"
YearOpen = "2002"; MonthOpen = "Sep"; DayOpen = "21"; MonthClose = ""; DayClose = ""
pastFilmDisplay(style,matching)
// 2005
Show = "trappedbymormons"; Title = "Trapped by the Mormons"
Episode = "Boston premiere"
Link = "film/trappedbymormons/scr05_boston.htm"
Theatre = "Brattle Theatre"
City = "Boston"; State = "MA"
YearOpen = "2005"; MonthOpen = "Oct"; DayOpen = "14"
pastFilmDisplay(style,matching)
Show = "trappedbymormons"; Title = "Trapped by the Mormons"
Episode = "New York premiere"
Link = "film/trappedbymormons/scr05_newyork.htm"
Theatre = "Pioneer Theater"
City = "New York"; State = "NY"
YearOpen = "2005"; MonthOpen = "Oct"; DayOpen = "19"
pastFilmDisplay(style,matching)
Show = "trappedbymormons"; Title = "Trapped by the Mormons"
Episode = "New York City"
Link = "film/trappedbymormons/scr05_newyork2.htm"
Theatre = "Pioneer Theater"
City = "New York"; State = "NY"
YearOpen = "2005"; MonthOpen = "Dec"; DayOpen = "15"; MonthClose = "Dec"; DayClose = "21"
pastFilmDisplay(style,matching)
// 2006
Show = "trappedbymormons"; Title = "Trapped by the Mormons"
Episode = "The Fantastic Ryder Film Series"
Link = "film/trappedbymormons/scr06_bloomington.htm"
Theatre = "The Ryder (Buskirk Chumley Theater)"
City = "Bloomington"; State = "IN"
YearOpen = "2006"; MonthOpen = "Mar"; DayOpen = "10"; MonthClose = "Mar"; DayClose = "11"
pastFilmDisplay(style,matching)
Show = "fin48 rickyisfamous fin48doc"; Title = "Ricky is "Famous!""
Episode = "World Premiere Screening & Exclusive trailer from the Making Of documentary"
Link = "film/rickyisfamous/scr06_losangeles.htm"
Theatre = "M Bar Hollywood"
City = "Hollywood"; State = "CA"
YearOpen = "2006"; MonthOpen = "Apr"; DayOpen = "5"
pastFilmDisplay(style,matching)
Show = "trappedbymormons"; Title = "Trapped by the Mormons"
Episode = "San Francisco premiere"
Link = "film/trappedbymormons/scr06_sanfrancisco.htm"
Theatre = "Yerba Buena Center for the Arts"
City = "San Francisco"; State = "CA"
YearOpen = "2006"; MonthOpen = "May"; DayOpen = "25"; MonthClose = "May"; DayClose = "27"
pastFilmDisplay(style,matching)
Show = "trappedbymormons"; Title = "Trapped by the Mormons"
Episode = "Panorama Film Series"
Link = "film/trappedbymormons/scr06_cleveland.htm"
Theatre = "Cleveland Museum of Art"
City = "Cleveland"; State = "OH"
YearOpen = "2006"; MonthOpen = "Jun"; DayOpen = "7"; MonthClose = "Jun"; DayClose = "14"
pastFilmDisplay(style,matching)
Show = "trappedbymormons"; Title = "Trapped by the Mormons"
Episode = "DVD release!"
Link = "film/trappedbymormons/index.htm"
Theatre = ""
YearOpen = "2006"; MonthOpen = "Oct"; DayOpen = "25"
pastFilmDisplay(style,matching)
Show = "trappedbymormons"; Title = "Trapped by the Mormons"
Episode = "Virginia Film Festival"
Link = "film/trappedbymormons/scr06_charlottesville.htm"
Theatre = "University of Virginia"
City = "Charlottesville"; State = "VA"
YearOpen = "2006"; MonthOpen = "Oct"; DayOpen = "26"
pastFilmDisplay(style,matching)
// 2007
// 2008
Show = "thetalk"; Title = "The Talk"
Episode = "World Premiere Screening"
Link = "plays/pnmisc08_losangeles.htm#LosAngeles"
Theatre = "Rogue Theatrics"
City = "Hollywood"; State = "CA"
YearOpen = "2008"; MonthOpen = "Mar"; DayOpen = "13"
pastFilmDisplay(style,matching)
Show = "conversationJG"; Title = "A Conversation with Jeff Goode"
Episode = "Hollins University podcast"
Link = "film/conversationJG/index.htm"
Theatre = "Studio Roanoke"
YearOpen = "2008"; MonthOpen = "Jun"; DayOpen = "23"
pastFilmDisplay(style,matching)
Show = "brownsoupthing"; Title = "Brown Soup Thing"
Episode = "World Premiere"
Link = "film/brownsoupthing/scr08_chicago.htm"
Theatre = "Chicago Filipino American Film Festival"
City = "Chicago"; State = "IL"
YearOpen = "2008"; MonthOpen = "Nov"; DayOpen = "8"
pastFilmDisplay(style,matching)
// 2009
Show = "brownsoupthing"; Title = "Brown Soup Thing"
Episode = "West Coast premiere"
Link = "film/brownsoupthing/scr09_losangeles.htm"
Theatre = "Filipino International Film Festival"
City = "Los Angeles"; State = "CA"
YearOpen = "2009"; MonthOpen = "Oct"; DayOpen = "17"
pastFilmDisplay(style,matching)
Show = "brownsoupthing"; Title = "Brown Soup Thing"
Episode = "Pacific Media Expo"
Link = "film/brownsoupthing/scr09_losangeles2.htm"
Theatre = "Pacific Media Expo"
City = "Los Angeles"; State = "CA"
YearOpen = "2009"; MonthOpen = "Nov"; DayOpen = "7"
pastFilmDisplay(style,matching)
Show = "brownsoupthing"; Title = "Brown Soup Thing"
Episode = "Vegas premiere"
Link = "film/brownsoupthing/scr09_lasvegas.htm"
Theatre = "UNLV"
City = "Las Vegas"; State = "NV"
YearOpen = "2009"; MonthOpen = "Nov"; DayOpen = "14"; MonthClose = "Nov"; DayClose = "15"
pastFilmDisplay(style,matching)
} // keep this bracket here to end the function pastFilm