function makeShow(type, groupName, writeTo){
	if(groupName=="" || !groupName ||groupName==" "){
		document.getElementById(writeTo).innerHTML="You forgot your group name.";
		return;
	}

		var vowels=new Array("a","e","i","o","u");
		
		var myStr=eval(type);
		myStr=myStr.split("*group*").join(groupName);
		
		var keepgoing=true;
		var startReplace;
		var endReplace;
		var wordType;
		var myArray;
		var newWord;
		var randNum;
		while(keepgoing){
			startReplace=myStr.indexOf("!*",0);
			if(startReplace>-1){
				endReplace=myStr.indexOf("*",startReplace+2);
				wordType=myStr.substr(startReplace+2,endReplace-startReplace-2);
				myArray=eval(wordType);
				
				pullRandom=true;
				while(pullRandom){
					randNum=Math.round(Math.random()*(myArray.length-1));
					newWord=myArray[randNum];
					if(!newWord){
						alert("undefined! type="+wordType+" newWord="+newWord+" randNum="+randNum);	
					}
					
					if(startReplace==0){
						newWord=newWord.substr(0,1).toUpperCase()+newWord.substr(1,newWord.length);	
					}
					if(myStr.toLowerCase().indexOf(newWord.toLowerCase(),0)==-1){
						pullRandom=false;	
						myStr=myStr.substr(0,startReplace)+newWord+myStr.substr(endReplace+1,myStr.length);
						
						for(var i=0;i<vowels.length;i++){
							if(newWord.charAt(0)==vowels[i]){
								if(myStr.charAt(startReplace-2)=="a"){
									myStr=myStr.substr(0,startReplace-2)+"an"+myStr.substr(startReplace-1,myStr.length);	
								}
							}
						}
						
					}else{
						pullRandom=true;	
					}
				}
				
				
			}else{
				keepgoing=false;	
			}
			
		}
		
		
		document.getElementById(writeTo).innerHTML=myStr;

	
};





var highconcept = "Inspired by !*propernoun*, *group* brings their signature form to !*eventtheater*, !*day*s at !*time*. Weaving together shades of !*propernoun* and !*propernoun*, *group* creates  an incredible tapestry of !*pretplural* but still with engaging, grounded scenework. Like !*propernoun* meets improv, *group*'s !*adjective* brand of comedy is sure to leave you !*audiencestate*. Be sure to catch this !*faintpraise* group !*critic* calls '!*adjective*.'";

var edgy = "!*adjective* and !*adjective*, *group* is a !*adjective* !*nounshow* of in-your-face improvisational comedy. Unafraid to !*verb* , *group* goes where other shows don't even dare, exploring topics from !*propernoun* to !*propernoun*, but still all the while developing engaging, grounded scenework. By the end of their two-act !*nounshow*, you'll be !*audiencestate*. Watch out, because it's gonna get !*adjective*! !*day*s at !*time* at !*eventtheater*.";

var art = "What happens when a !*noun* !*presentverb*? That's the question *group* explores every !*day* night at !*time* at !*eventtheater*. Starting with a series of character monologues exploring issues from !*pretplural* to !*pretplural*, *group* then breaks into a series of !*adjective*, !*adjective* scenes full of !*pretplural*, !*pretplural*, and engaging, grounded scenework. Don't miss this !*faintpraise* group that's taking Chicago by storm.";

var dontknow = "!*adjective*, !*adjective*, and !*adjective*, *group* has a style that's always !*adjective* and never stale. Come to !*eventtheater* this !*day* and prepare to be !*audiencestate* by their !*adjective* !*nounshow* driven by engaging, grounded scenework."


var propernoun=new Array(
							   "Quentin Tarantino",
							   "Karl Marx",
							   "The Wonder Years",
							   "John Stuart Mill",
							   "the late-nineteenth century scramble for Africa",
							   "Twitter",
							  "the internet",
							  "pre-revolutionary Russian literature",
							  "the steam engine",
							  "pop art",
							  "the brat pack",
							  "the iPhone",
							  "iPods",
							  "Barack Obama",
							  "<em>Saved By The Bell: The College Years</em>",
							  "Laura Ingalls-Wilder",
							  "<em>Hey Dude</em>",
							  "Dostoevsky",
							  "the battle between Edison and Tesla over DC and AC current",
							  "<em>Salute Your Shorts</em>",
							  "<em>Clarissa Explains It All</em>",
							  "<em>Boy Meets World</em>",
							  "the subprime mortgage crisis",
							  "what you see riding the bus every day",
							  "the Civil War",
							  "D-Day",
							  "William Howard Taft",
							  "<em>Antigone</em>",
							  "<em>Deal or No Deal</em>",
							  "Steve Jobs",
							  "Plato's cave"
							   );

var pretplural=new Array(
							   "dreams",
							   "cultural hallucinations",
							   "fears, laughs, and madness",
							   "postmodern antics",
							   "late-Victorian family politics",
							   "feelings of desperation",
							   "neurotic fears",
							   "hopes",
							   "nightmares",
							   "technology-induced malaise",
							   "guilt",
							   "terror",
							   "doubts",
							   "nerves",
							   "post-Reconstruction tensions",
							   "longings",
							   "anitquated biases",
							   "centuries-old truisms"
							   );

var adjective = new Array(
									"outrageous yet thoughtful",
									"razor-sharp",
									"all-in",
									"witty and insightful",
									"fast",
									"furious",
									"in-your-face",
									"unrelenting",
									"steeped-in-thought",
									"wild",
									"witty",
									"devastating",
									"full of oh-no-you-didn't moments",
									"laugh-ripping",
									"dirty",
									"challening",
									"unrepentant",
									"chilling",
									"mind-blowing",
									"horizons-expanding",
									"killer",
									"campy",
									"historic",
									"crazy",
									"bonkers",
									"Will Ferrel-esque",
									"Gilda Radner-esque",
									"in-line-with-what-Del-Close-would-have-wanted"
									);

var audiencestate = new Array(
									"howling with laughter",
									"outraged yet inspired",
									"screaming for more",
									"forever questioning your values",
									"in disbelief that something made up on the spot could be so hilarious yet relevant",
									"talking about it for days",
									"shaken to the core",
									"a new resident of Laugh City",
									"terrified of what you've seen onstage and inside yourself",
									"blogging frantically to get the word out about this amazing show",
									"laughing, crying, and screaming",
									"fortified and emboldened",
									"tickled to the point of exhaustion",
									"simply amazed",
									"wowed",
									"floored",
									"dazzled and amused",
									"finally able to forget the tragedies of your own life for a just a few hours in a darkened theater",
									"in stitches"
									
									);

var noun = new Array("city",
					 "dinosaur",
					 "unwed mother",
					 "immigrant",
					 "man who has everything",
					 "family",
					 "child",
					 "man who has seen an angel",
					 "son of God",
					 "priest",
					 "business executive",
					 "small town",
					 "artist",
					 "slave",
					 "has-been star of silent films",
					 "washed up cop",
					 "grizzled mechanic",
					 "doctor"
					 );

var nounshow = new Array("powerhouse",
						 "mad dash",
						 "tesla coil",
						 "pop tart",
						 "missive",
						 "squib",
						 "declaration of war",
						 "onslaught",
						 "comedy salvo",
						 "outburst",
						 "explosion",
						 "assault",
						 "tour de force",
						 "rocket blast",
						 "trip to the moon"
						 );

var verb = new Array("yield",
					 "quit",
					 "kill",
					 "lampoon",
					 "steam",
					 "sequester",
					 "condescend",
					 "go for the gut",
					 "say what we're all thinking",
					 "cut to the chase",
					 "get it all out there",
					 "say it",
					 "go there",
					 "make bold choices",
					 "do what others can only dream"
					 );
var presentverb = new Array("dies",
							"cries",
							"falls in love",
							"falls out of love",
							"questions the meaning of truth",
							"gives up",
							"kowtows to terrorism",
							"loses hope",
							"has a vision",
							"gets religion",
							"burns down",
							"loses someone close",
							"commits suicide",
							"asks the tough questsions"
							);

var eventtheater = new Array("Montana Comedy Arts Festival: Annex Stage",
							 "Second City Level B classes",
							 "Buffalo Wild Wings",
							 "a resort in Florida their uncle owns",
							 "open mics across America",
							 "The Laff Shack (opening for Dustin Diamond)",
							 "University of Sarasota's Dance Marathon",
							 "The Midwest Home and Garden Show",
							 "Lexington Improv and Jokes Festival",
							 "Elgin Cosmetic Surgery Outpatient Center",
							 "Our Lady of Perpetual Sorrows Basement Gymnasium",
							 "Troop 403 Pinewood Derby"
							 );

var critic = new Array("Time Out Chicago interns",
					   "Lorne Michaels' son",
					   "a recent graduate of jounalism school",
					   "Danny Glover",
					   "Pete Best",
					   "the Naperville Gazette",
					   "LaffTalk Podcast",
					   "the Shaumburg Enquirer",
					   "canihaveasuggestion.blogspot.com",
					   "Davis Park Highschool Crier",
					   "Bobcat Goldthwait",
					   "<em>Gay Equestrian Enthusiast Chicago</em>",
					   "Dog Movies Weekly"
					   );

var faintpraise = new Array("oft-nominated",
							   "up-and-coming",
							   "frequentlly-applauded",
							   "reliably funny",
							   "never late",
							   "soon-to-be up-and-coming",
							   "better-than-acapella",
							   "topical",
							   "festival-accepted",
							   "mentioned online",
							   "very earnest",
							   "laugh-finding",
							   "near-equity-eligible",
							   "near-SAG-eligible",
							   "quoted"
							   );

var day = new Array("Monday",
					"Tuesday",
					"Wednesday",
					"Thursday"
					);

var time = new Array("noon",
					 "midnight",
					 "11:00pm",
					 "1:30pm",
					 "11:35pm",
					 "10am",
					 "10:15pm",
					 "6:30pm",
					 "12:30am",
					 "1:00pm",
					 "5:00pm"
					 );

							   

