// ---lists productions--- var Show var Title var Link var Theatre var City var State var YearOpen var MonthOpen var DayOpen var MonthClose var DayClose 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 upcomingFilmDisplay function: function upcomingFilmDisplay(type,data) { Show = (" "+Show+" ") if (type == "FindShow" && Show.indexOf(" "+data+" ") >= 0) { Found = "yes"} if (type == "FindShowListings" && Show.indexOf(" "+data+" ") >= 0 && YearOpen != "") { Found = "yes"} if (type == "CALENDAR" && YearOpen != "") { // blank YearOpen indicates entry is from FIRST section (NOW PLAYING) 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"} if (type == "FindEvents" && YearOpen != "") { Found = "yes"} BlankAll() } function upcomingFilm(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 //Show = "trappedbymormons" //Title = "Trapped by the Mormons" //YearOpen = "" // upcomingFilmDisplay(style,matching) // Next section is for EPISODE PREMIERES and other SPECIFIC EVENTS //Show = "conversationJG"; Title = "Jeff Goode Talks about Playwriting" //Episode = "Hollins University podcast" //Link = "film/conversationJG/index.htm" //Theatre = "Studio Roanoke" //YearOpen = "2008"; MonthOpen = "2008" // upcomingFilmDisplay(style,matching) //Show = "trappedbymormons"; Title = "Trapped by the Mormons" //Episode = "New York City" //Link = "film/trappedbymormons/scr05_newyork2.htm" //Theatre = "Pioneer Theater" //YearOpen = "2005"; MonthOpen = "Dec"; DayOpen = "15"; MonthClose = "Dec"; DayClose = "21" // upcomingFilmDisplay(style,matching) //Show = "fin48 fin48doc rickyisfamous"; Title = "Feature-In-48: One Giant Leap" //Episode = "World Premiere" //Link = "film/fin48doc/index.htm" //Theatre = "t.b.a." //City = "Hollywood"; State = "CA" //YearOpen = "2007"; MonthOpen = "Jan"; DayOpen = "" // upcomingFilmDisplay(style,matching) // Show = "brownsoupthing"; Title = "Brown Soup Thing" // Episode = "Los Angeles Premiere" // Link = "film/brownsoupthing/index.htm" // Theatre = "t.b.a." // City = "Los Angeles"; State = "CA" // YearOpen = "2009"; MonthOpen = "May"; DayOpen = "" // upcomingFilmDisplay(style,matching) //Show = "brownsoupthing"; Title = "Brown Soup Thing" //Episode = "New Orleans Premiere hoping for Fall 2009" //Link = "film/brownsoupthing/index.htm" //Theatre = "theatreunknown" //City = "New Orleans"; State = "LA" //YearOpen = "2009"; MonthOpen = "Fall"; DayOpen = "" // upcomingFilmDisplay(style,matching) //Show = "brownsoupthing"; Title = "Brown Soup Thing" //Episode = "Dallas Premiere - I have very special plans" //Link = "film/brownsoupthing/index.htm" //Theatre = "theatreunknown" //City = "Dallas"; State = "TX" //YearOpen = "2009"; MonthOpen = ""; DayOpen = "" // upcomingFilmDisplay(style,matching) // Show = "brownsoupthing"; Title = "Brown Soup Thing" // Episode = "private screening" // Link = "film/brownsoupthing/scr10_atlanta2.htm" // Theatre = "Turner Asia" // City = "Atlanta"; State = "GA" // YearOpen = "2010"; MonthOpen = "Apr"; DayOpen = "2" // upcomingFilmDisplay(style,matching) // not sure this PTSD premiere ever happened: // Show = "ptsd"; Title = "PTSD" // Episode = "World Premiere" // Link = "film/ptsd/index.htm" // Theatre = "t.b.a." // City = "Los Angeles"; State = "CA" // YearOpen = "2013"; MonthOpen = "Mar"; DayOpen = ""; MonthClose = ""; DayClose = "" // upcomingFilmDisplay(style,matching) } // keep this bracket here to end the function upcomingFilm