Site hosted by Angelfire.com: Build your free website today!
"); newWindow.document.write ("

To link to this page copy this HTML:

<P><A HREF = "" + myHomeURL[myStart] + ""><B>" + myTitle + "</B></A></P>"); newWindow.document.close(); } theMessage = new Array('See A Fantastic Show With' , 'Watch The Comedy Stylings Of' , 'Enjoy A Night Of Laughter With' , 'Come See Comedy Redefined With' , 'Laugh The Night Away With' , 'Come Laugh Your Ass Off With'); // CORE COOKIE FUNCTIONS function getCookie(name) { var cname = name + "="; var dc=document.cookie; if (dc.length>0) { begin = dc.indexOf(cname); if (begin != -1) { begin += cname.length; end = dc.indexOf(";",begin); if (end == -1) end = dc.length; return unescape(dc.substring(begin, end)); } } return null; } function setCookie(name, value, expires) { document.cookie = name + "=" + escape(value) + "; path=/" + ((expires == null) ? "" : "; expires=" + expires.toGMTString()); } var exp = new Date (); exp.setTime(exp.getTime()+(1000*60*60*24*31)); var theList = getCookie("mailer"); emailList = new Array(); if (theList != null && theList != '') { startHere = 0; endHere = theList.indexOf(";", startHere) counter = 0; while(endHere != -1) { temp = theList.substring(startHere, endHere) emailList[counter] = temp; startHere = endHere + 1; endHere = theList.indexOf(";" , startHere); counter += 1; } } exFields = ''; var isMember = getCookie("comedyNetwork"); if (!isMember) { exFields = " disabled"; } mySettings = getCookie("perSettings") myName = "Enter Your Name"; myCity = "Your City" myPage = "Webpage"; myEmail = "E-Mail"; myMp3 = "Mp3 or Audio Page"; myNick = "Your Nickname"; c1 = " checked"; c2 = "" c3 = "" checkSettings(); function checkSettings() { if (mySettings != null) { nameStart = mySettings.indexOf("Name=") + 5; nameEnd = mySettings.indexOf("&", nameStart); myName = mySettings.substring(nameStart, nameEnd); stateStart = mySettings.indexOf("State=") + 6; stateEnd = mySettings.indexOf("&" , stateStart); myState = mySettings.substring(stateStart, stateEnd); cityStart = mySettings.indexOf("City=") + 5; cityEnd = mySettings.indexOf("&" , cityStart); myCity = mySettings.substring(cityStart, cityEnd); pageStart = mySettings.indexOf("Web=") + 4; pageEnd = mySettings.indexOf("&" , pageStart); myPage = mySettings.substring(pageStart, pageEnd); emailStart = mySettings.indexOf("Email=") + 6; emailEnd = mySettings.indexOf("&" , emailStart); myEmail = mySettings.substring(emailStart, emailEnd); mp3Start = mySettings.indexOf("Mp3=") + 4; mp3End = mySettings.indexOf("&" , mp3Start); myMp3 = mySettings.substring(mp3Start, mp3End); nickStart = mySettings.indexOf("Nick=") + 5; nickEnd = mySettings.indexOf("&" , nickStart); myNick = mySettings.substring(nickStart, nickEnd); if (mySettings.indexOf("Purpose=Comedian") != -1) c1 = " checked" if (mySettings.indexOf("Purpose=Industry") != -1) c2 = " checked" if (mySettings.indexOf("Purpose=Comedy Lover") != -1) c3 = " checked" document.title = document.title + ": Welcome " + myName; } } function saveSettings(form) { myName = form.comicName.value; myPurpose = "Unknown"; if (form.myProf[0].checked == true) myPurpose = "Comedian"; if (form.myProf[1].checked == true) myPurpose = "Industry"; if (form.myProf[2].checked == true) myPurpose = "Comedy Lover"; myState = form.menu[form.menu.selectedIndex].value; myCity = form.comicCity.value; myPage = form.comicWeb.value; myEmail = form.comicEmail.value; myMp3 = form.comicMp3.value; myNick = form.comicNick.value; unionAffil = ""; if(form.comediansUnion.checked == true) unionAffil += "CU;" if(form.Sag.checked == true) unionAffil += "SAG;" if(form.AFTRA.checked == true) unionAffil += "AFTRA;" if(form.Equity.checked == true) unionAffil += "Equity;" if(form.EAE.checked == true) unionAffil += "EAE;" if(unionAffil == "") unionAffil = "None" myDescription = ""; if(form.Comic.checked == true) myDescription += "Comic;"; if(form.Actor.checked == true) myDescription += "Actor;"; if(form.Writer.checked == true) myDescription += "Writer;"; if(form.Teacher.checked == true) myDescription += "Teacher;"; if(form.Music.checked == true) myDescription += "Music;"; if(myDescription == "") myDescription = "Unknown"; mySetting = "Name=" + myName + "&\r\n"; mySetting += "Purpose=" + myPurpose + "&\r\n"; mySetting += "Describe=" + myDescription + "&\r\n"; mySetting += "Unions=" + unionAffil + "&\r\n"; mySetting += "State=" + myState + "&\r\n"; mySetting += "City=" + myCity + "&\r\n"; mySetting += "Web=" + myPage + "&\r\n"; mySetting += "Email=" + myEmail + "&\r\n"; mySetting += "Mp3=" + myMp3 + "&\r\n"; mySetting += "Nick=" + myNick + "&\r\n"; if (myName != "Enter Your Name") { setCookie("perSettings" , mySetting, exp); newWindow.window.close(); window.location.replace("index.htm"); } if (myName == "Enter Your Name") { alert("Please Enter Your Name"); newWindow.focus(); } } function personalizePage() { newWindow = window.open( "", "Archive", ",WIDTH=380,HEIGHT=400,scrollbars=yes"); newWindow.document.write ("Personalize Page: DO NOT USE ALL CAPS"); newWindow.document.write ("

"); newWindow.document.write ("

Suit Site To Your Needs

"); newWindow.document.write ('

Comedian Industry Comedy Lover

'); newWindow.document.write ('

Comic Actor Writer Teacher Music

'); newWindow.document.write ('


'); newWindow.document.write ('

CU SAG Aftra Equity EAE
'); newWindow.document.write ('


'); newWindow.document.write ('


'); newWindow.document.write ('
'); newWindow.document.write ('
'); newWindow.document.write ('
'); newWindow.document.write ('
'); newWindow.document.write ("

"); newWindow.document.write (""); newWindow.document.close (); } function saveFlyer(form) { alert("This function is not yet available."); } function changeValues(form) { if(form.comedyClubs.selectedIndex == 1) { form.myClub.value = "The Comedy Store"; form.clubStreet.value = "8433 West Sunset Blvd"; form.clubCity.value = "Hollywood"; form.clubState.value = "California"; form.clubPhone.value = "(323) 650-6268"; } if(form.comedyClubs.selectedIndex == 2) { form.myClub.value = "The Laugh Factory"; form.clubStreet.value = "8001 West Sunset Blvd"; form.clubCity.value = "West Hollywood"; form.clubState.value = "California"; form.clubPhone.value = "(323) 656-1336"; } if(form.comedyClubs.selectedIndex == 3) { form.myClub.value = "The Ha Ha Cafe"; form.clubStreet.value = "5010 Lankershim Blvd"; form.clubCity.value = "North Hollywood"; form.clubState.value = "California"; form.clubPhone.value = "(818) 508-4995"; } if(form.comedyClubs.selectedIndex == 4) { form.myClub.value = "The Comedy Magic Club"; form.clubStreet.value = "1018 Hermosa Ave"; form.clubCity.value = "Hermosa Beach"; form.clubState.value = "California"; form.clubPhone.value = "(310) 372-1193"; } if(form.comedyClubs.selectedIndex == 5) { form.myClub.value = "The Hollywood Improv"; form.clubStreet.value = "8162 Melrose Ave"; form.clubCity.value = "Hollywood"; form.clubState.value = "California"; form.clubPhone.value = "(323) 651-2583"; } if(form.comedyClubs.selectedIndex == 6) { form.myClub.value = "The Ice House"; form.clubStreet.value = "24 North Mentor"; form.clubCity.value = "Pasadena"; form.clubState.value = "California"; form.clubPhone.value = "(626) 577-1894"; } if(form.comedyClubs.selectedIndex == 7) { form.myClub.value = "The Irvine Improv"; form.clubStreet.value = "71 Fortune Dr. Suite 841"; form.clubCity.value = "Irvine"; form.clubState.value = "California"; form.clubPhone.value = "(949) 854-5459"; } if(form.comedyClubs.selectedIndex == 8) { form.myClub.value = "The Brea Improv"; form.clubStreet.value = "945 East Birch Street Suite A"; form.clubCity.value = "Brea"; form.clubState.value = "California"; form.clubPhone.value = "(714) 529-7878"; } if(form.comedyClubs.selectedIndex == 9) { form.myClub.value = "The Comedy Store South"; form.clubStreet.value = "916 Pearl St"; form.clubCity.value = "La Jolla"; form.clubState.value = "California"; form.clubPhone.value = "(858) 454-9176"; } } function makeLink(form) { theName = form.myName.value; theClub = form.myClub.value; theWeb = form.clubWebSite.value; thePrice = form.myPrice.value; thePrice2 = form.myPrice2.value; theDay = form.myDay.value; theTime = form.myTime.value; thePhone = form.clubPhone.value; theStreet = form.clubStreet.value; theCity = form.clubCity.value; theState = form.clubState.value; theMess = form.openMess.selectedIndex; if (form.theColor[0].checked == true) colorSelect = "Color=Yellow&"; if (form.theColor[1].checked == true) colorSelect = "Color=Pink&"; if (form.theColor[2].checked == true) colorSelect = "Color=Aqua&"; if (form.theColor[3].checked == true) colorSelect = "Color=Lime&"; if (form.theColor[4].checked == true) colorSelect = "Color=NavajoWhite&"; if (form.callFirst[0].checked == true) callFirst = "Resv=Yes&"; if (form.callFirst[1].checked == true) callFirst = "Resv=No&"; if (form.mapLink[0].checked == true) mapLink = "useMap=Yes&"; if (form.mapLink[1].checked == true) mapLink = "useMap=Inline&"; if (form.mapLink[2].checked == true) mapLink = "useMap=No&"; linkAddOn = '?Name=' + theName + '&Club=' + theClub + '&Web=' + theWeb + '&Price=' + thePrice + '&Price2=' + thePrice2 + '&Day=' + theDay + '&Time=' + theTime + '&Phone=' + thePhone + '&Street=' + theStreet + '&City=' + theCity + '&State=' + theState + '&theMess=' + theMess + '&' + colorSelect + callFirst + mapLink; myLink.innerHTML = 'Your Flyer Is Here'; } function helpMe() { alert("HELP FILE ============>\r\n\r\nFill out the fields with your name.\r\nAnd fill out the fields that\r\ndescribe where you will be playing.\r\nPress [Make Link] button\r\nA link will appear.\r\nFollow that link to your flyer.\r\n\r\nForm that flyer you can fill in\r\nup to twenty e-mail addresses.\r\nThis allows you to promote your show.\r\nThe generator will remember the email list.\r\n\r\nThis program does not work with AOL's\r\nAOL does not allow form submission via e-mail."); } function displayForm() { document.bgColor = "skyblue"; document.write('

Enter Your Information To Create An Online Flyer

'); document.write("

Note For AOL Users: AOL Does Not Like This Type Of Form Handling"); document.write("
For AOL Generate The Link Then Cut & Paste to E-Mail Link To Friends

"); document.write("

Outlook Users: The Flyer Program Seems To Work Right

"); document.write("

Netscape Users: No Idea, I Gave Up On Netscape Long Ago E-Mail Me Bugs

"); document.write('
'); document.write(''); document.write(""); document.write(""); document.write(""); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write('
This Form Is Not To Be Used To Promote Bringer Shows | Help File
Opening Message
Background Yellow Pink Aqua Lime Gold
(With) Your Name
Playing At
Club Website
Ticket Price
Price (In Advance)
What Day & Date
What Time
Club Phone
Club Street
Club City
Club State
Call For Reservations Yes No
Map Link: Use Link In Flyer None
Link Appears Here
'); document.write('
'); } function elimSpace(astring) // Eliminate SPACE & - { temp = ""; for (var gc = 0; gc < astring.length; gc ++) if(astring.substring(gc, gc+1) != '"' && astring.substring(gc, gc+1) != "'") temp += astring.substring(gc, gc+1) return temp; } function changeEmail(form) { myMailingList = '' for(var x = 0; x < form.myEmails.length; x++) { if (form.myEmails[x].value) { myMailingList += form.myEmails[x].value + "; "; } } if (myMailingList != '') { mySubject = "See " + myName + " at " + oClubName + " on " + myDate + " at " + myTime; document.flyerForm.flyerValue.value = "View The Online Fyler @ : http://shayne-michael.com/myFlyer.htm?Decode=" + escape(window.location.search); document.flyerForm.action = "mailto:" + myMailingList + "?CC=comedySquared@hotmail.com&Subject=" + mySubject; } if (myMailingList == '') { alert("You haven't added any e-mail addresses"); } } function saveList(form) { myMailer = ''; for(var x = 0; x < form.myEmails.length; x++) { if (form.myEmails[x].value) { myMailer += form.myEmails[x].value + "; "; } } if(myMailer != '') { setCookie("mailer" , myMailer, exp); } if(myMailer == '') { alert("You haven't added any e-mail addresses to save."); } } function displayFlyer() { aolURL = "http://shayne-michael.com/myFlyer.htm?Decode=" + escape(window.location.search); document.write(""); document.write(""); colorStart = window.location.search.indexOf("Color=") + 6 colorEnd = window.location.search.indexOf("&", colorStart) myColor = unescape(window.location.search.substring(colorStart, colorEnd)) document.write(""); document.write(""); document.write(""); document.write(""); document.write("
Comedy 2 is the tool to promote your shows
"); flyerBody = ''; nameStart = window.location.search.indexOf("Name=") + 5 nameEnd = window.location.search.indexOf("&", nameStart) myName = unescape(window.location.search.substring(nameStart, nameEnd)) openStart = window.location.search.indexOf("theMess=") + 8; openEnd = window.location.search.indexOf("&", openStart); openNumber = window.location.search.substring(openStart, openEnd); openMess = theMessage[openNumber*1]; flyerBody = "

" + openMess + "

"; flyerBody += "

" + myName + "

"; clubStart = window.location.search.indexOf("Club=") + 5 clubEnd = window.location.search.indexOf("&" , clubStart) clubName = unescape(window.location.search.substring(clubStart, clubEnd)) oClubName = clubName; webStart = window.location.search.indexOf("Web=") + 4; webEnd = window.location.search.indexOf("&" , webStart); webSite = window.location.search.substring(webStart, webEnd); if (webSite != "http://") { clubName = '' + clubName + '' } flyerBody += "

At " + clubName + "

"; dateStart = window.location.search.indexOf("Day=") + 4; dateEnd = window.location.search.indexOf("&", dateStart); myDate = unescape(window.location.search.substring(dateStart, dateEnd)); timeStart = window.location.search.indexOf("Time=") + 5; timeEnd = window.location.search.indexOf("&", timeStart); myTime = unescape(window.location.search.substring(timeStart, timeEnd)); if (myDate) { flyerBody += "

On " + myDate + " at " + myTime + "

"; } priceStart = window.location.search.indexOf("Price=") + 6; priceEnd = window.location.search.indexOf("&", priceStart); myPrice = unescape(window.location.search.substring(priceStart, priceEnd)) if (myPrice != "$") { if(myPrice.toLowerCase() != "free") flyerBody += "

Tickets only: " + myPrice + "

"; if(myPrice.toLowerCase() == "free") flyerBody += "

Free Admission!!!

"; priceStart = window.location.search.indexOf("Price2=") + 7; priceEnd = window.location.search.indexOf("&", priceStart); myPrice2 = unescape(window.location.search.substring(priceStart, priceEnd)) if (myPrice2 != "$") { if(myPrice.toLowerCase() != "free") flyerBody += "

Or only " + myPrice2 + " in advance

"; } } phoneStart = window.location.search.indexOf("Phone=") + 6 phoneEnd = window.location.search.indexOf("&", phoneStart); myPhone = unescape(window.location.search.substring(phoneStart, phoneEnd)) streetStart = window.location.search.indexOf("Street=") + 7 streetEnd = window.location.search.indexOf("&", streetStart); myStreet = unescape(window.location.search.substring(streetStart, streetEnd)) cityStart = window.location.search.indexOf("City=") + 5 cityEnd = window.location.search.indexOf("&", cityStart); myCity = unescape(window.location.search.substring(cityStart, cityEnd)) stateStart = window.location.search.indexOf("State=") + 6 stateEnd = window.location.search.indexOf("&", stateStart); myState = unescape(window.location.search.substring(stateStart, stateEnd)) mapStart = window.location.search.indexOf("useMap=") + 7 mapEnd = window.location.search.indexOf("&", mapStart); useMap = unescape(window.location.search.substring(mapStart, mapEnd)) if (myPhone != '') { flyerBody += "

Call " + myPhone + " for details."; } if (myStreet != '') { theLink2 = "http://maps.yahoo.com/py/maps.py?Pyt=Tmap&addr=" + myStreet + "&csz=" + myCity + " " + myState + "&Get+Map=Get+Map"; var theLink = "" if(useMap == "Yes") { myStreet = theLink + myStreet + ""; } flyerBody += "

" + myStreet + " " + myCity + " " + myState + "

"; } callStart = window.location.search.indexOf("Resv=") + 5 callEnd = window.location.search.indexOf("&", callStart) callFirst = unescape(window.location.search.substring(callStart, callEnd)) if(callFirst == "Yes") flyerBody += "
Reservations Required
"; document.write(flyerBody); if (myStreet != '') { if (useMap == "Inline") { document.write(""); } } document.write("
"); for (var counter = 0; counter < 20; counter ++) { document.write("
"); } document.write("
AOL Users: Cut & Paste This Link To E-Mail This Flyer To Friends
1.) Use [Select] ==> select link. 2) [cntrl-c] ==> copy link
3) Open E-Mail 4) [cntrl-v] ==> paste link

"); }