// ---lists productions--- var Show var Title var Featuring 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 upcomingPlaysDisplay function: function upcomingPlaysDisplay(type,data) { Show = (" "+Show+" ") if (type == "FindShow" && Show.indexOf(" "+data+" ") >= 0) { Found = "yes"} if (type == "FindMonth" && data == MonthOpen) { Found = "yes"} if (type == "LISTOFCITIES" && Show.indexOf(" "+data+" ") >= 0) { document.write(""+City+", "+State+" ... ")} if (type == "THEATREHISTORY" && Theatre.indexOf(data) != -1 && (!Extra || Extra == City)) { document.write("
")} if (type == "PLAY" && Show.indexOf(" "+data+" ") >= 0) { document.write("
")} if (type == "PLAYOPENING" && Show.indexOf(" "+data+" ") >= 0 && MonthWord == MonthOpen && theDay == DayOpen) { document.write("
| ")
document.write(""+Title+" ")
document.write("opens tonight in ")
document.write(City+", "+State+". ") document.write("("+Theatre+")") document.write(" |
")}
if (type == "MAPSTATE" && (data == State || (data == "INTERNATIONAL" && State.length > 2))) {
document.write("
"+Title+"
")
document.write(" ")
document.write(" ("+City+")")}
if (type == "PLUG" && data == "Today" && MonthWord == MonthOpen && theDay == DayOpen) {
document.write(""+Title+" opens tonight in "+City+", "+State+"!!")
document.write(" ")}
if (type == "PLUG" && data == "Today" && MonthWord == MonthClose && theDay == DayClose) {
document.write(""+Title+" closes tonight in "+City+", "+State+"!!")
document.write(" ")}
if (type == "PLUG" && data == "Tomorrow" && MonthWord == MonthOpen && theDay+1 == DayOpen) {
document.write("."+Title+" opens tomorrow in "+City+", "+State+"!!")
document.write(" ")}
if (type == "PLUG" && data == "Tomorrow" && MonthWord == MonthClose && theDay+1 == DayClose) {
document.write(""+Title+" closes tomorrow in "+City+", "+State+"!!")
document.write(" ")}
BlankAll()
}
function upcomingPlays(style,matching,optional) {
Found = "no"
Extra = optional
Show = "poo"; Title = "Poona the Fuckdog and other plays for children"
Featuring = ""
Link = "pnpoo10.htm#IowaCity"
Theatre = "Dreamwell Theatre"
City = "Iowa City"; State = "IA"
YearOpen = "2010"; MonthOpen = "Feb"; DayOpen = "19"; MonthClose = "Feb"; DayClose = "27"
upcomingPlaysDisplay(style,matching)
Show = "noshame"; Title = "No Shame Las Vegas"
Featuring = ""
Link = "plays/ns100305.htm"
Theatre = "No Shame Theatre"
City = "Las Vegas"; State = "NV"
YearOpen = "2010"; MonthOpen = "Mar"; DayOpen = "5"; MonthClose = ""; DayClose = ""
upcomingPlaysDisplay(style,matching)
Show = "swash gladiatrix"; Title = "New Jersey State Thespian Festival"
Featuring = "(featuring Gladiatrix Gossip)"
Link = "plays/pnthespians10.htm#NewBrunswick"
Theatre = "New Jersey State Thespians"
City = "New Brunswick"; State = "NJ"
YearOpen = "2010"; MonthOpen = "Mar"; DayOpen = "13"; MonthClose = "Mar"; DayClose = "14"
upcomingPlaysDisplay(style,matching)
Show = "swash rhlj"; Title = "The Legends of Robin Hood & Little John"
Featuring = ""
Link = "plays/pnswash10.htm#Raleigh"
Theatre = "North Carolina Christian School Association"
City = "Raleigh"; State = "NC"
YearOpen = "2010"; MonthOpen = "Mar"; DayOpen = "18"; MonthClose = "Mar"; DayClose = "19"
upcomingPlaysDisplay(style,matching)
Show = "poo"; Title = "Poona the Fuckdog and other plays for children"
Featuring = "(10th Anniversary!)"
Link = "pnpoo10.htm#Seattle"
Theatre = "Open Circle Theater"
City = "Seattle"; State = "WA"
YearOpen = "2010"; MonthOpen = "Mar"; DayOpen = "19"; MonthClose = "Apr"; DayClose = "17"
upcomingPlaysDisplay(style,matching)
Show = "8rm"; Title = "THE EIGHT: Reindeer Monologues"
Featuring = ""
Link = "pn8rm10.htm#Whangarei"
Theatre = "Pohutukawa"
City = "Whangarei"; State = "NEW ZEALAND"
YearOpen = "2010"; MonthOpen = "Mar"; DayOpen = "23"; MonthClose = "Apr"; DayClose = "3"
upcomingPlaysDisplay(style,matching)
Show = "dphd dp_10min"; Title = "Murder By Midnight"
Featuring = ""
Link = "pndphd10.htm#LaCrete"
Theatre = "Alberta High School Drama Festival"
City = "La Crete"; State = "Alberta, CANADA"
YearOpen = "2010"; MonthOpen = "Apr"; DayOpen = "30"; MonthClose = "May"; DayClose = "1"
upcomingPlaysDisplay(style,matching)
Show = "poo"; Title = "Poona the Fuckdog and other plays for children"
Featuring = ""
Link = "pnpoo10.htm#Madison"
Theatre = "Mercury Players Theatre"
City = "Madison"; State = "WI"
YearOpen = "2010"; MonthOpen = "May"; DayOpen = "28"; MonthClose = "Jun"; DayClose = "12"
upcomingPlaysDisplay(style,matching)
Show = "noshame"; Title = "No Shame Roanoke"
Featuring = ""
Link = "plays/ns100625.htm"
Theatre = "No Shame Theatre"
City = "Roanoke"; State = "VA"
YearOpen = "2010"; MonthOpen = "Jun"; DayOpen = "25"; MonthClose = ""; DayClose = ""
upcomingPlaysDisplay(style,matching)
// Show = "swash"; Title = "Your Swash Is Unbuckled"
// Featuring = ""
// Link = "plays/pnswash10.htm#Chatswood"
// Theatre = "Stage Artz Theatre Company"
// City = "Chatswood"; State = "AUSTRALIA"
// YearOpen = "2010"; MonthOpen = "Jul"; DayOpen = ""; MonthClose = ""; DayClose = ""
// upcomingPlaysDisplay(style,matching)
Show = "noshame"; Title = "No Shame Roanoke"
Featuring = ""
Link = "plays/ns100625.htm"
Theatre = "No Shame Theatre"
City = "Roanoke"; State = "VA"
YearOpen = "2010"; MonthOpen = "Jul"; DayOpen = "2"; MonthClose = "Jul"; DayClose = "30"
upcomingPlaysDisplay(style,matching)
Show = "8rm"; Title = "THE EIGHT: Reindeer Monologues"
Featuring = ""
Link = "pn8rm10.htm#AnaheimHills"
Theatre = "Chance Theater"
City = "Anaheim Hills"; State = "CA"
YearOpen = "2009"; MonthOpen = "Nov"; DayOpen = "30"; MonthClose = "Dec"; DayClose = "18"
upcomingPlaysDisplay(style,matching)
Show = "8rm"; Title = "THE EIGHT: Reindeer Monologues"
Featuring = ""
Link = "pn8rm10.htm#ChurchHill"
Theatre = "Church Hill Theatre"
City = "Church Hill"; State = "MD"
YearOpen = "2009"; MonthOpen = "Dec"; DayOpen = "8"; MonthClose = "Dec"; DayClose = "15"
upcomingPlaysDisplay(style,matching)
Show = "8rm"; Title = "THE EIGHT: Reindeer Monologues"
Featuring = ""
Link = "pn8rm10.htm#PortTownsend"
Theatre = "Key City Public Theatre"
City = "Port Townsend"; State = "WA"
YearOpen = "2009"; MonthOpen = "Dec"; DayOpen = "9"; MonthClose = "Dec"; DayClose = "19"
upcomingPlaysDisplay(style,matching)
Show = ""; Title = ""
Featuring = ""
Link = ""
Theatre = ""
City = ""; State = ""
YearOpen = ""; MonthOpen = ""; DayOpen = ""; MonthClose = ""; DayClose = ""
upcomingPlaysDisplay(style,matching)
} // keep this bracket here to end the function upcomingPlays