<!--
// random number generator...do not edit
function generateRandom(range) {
	 return Math.floor(Math.random() * range) + 1;
}

//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//HOME MIDDLE GRAPHIC (previously called Seminar) SCRIPT
// you must provide the image path (relative to the homepage) , the title , and  a short description (no more than 30 words!!!) ...to create, simply copy from "case" to "break;" and change the variables. 
function getSeminarHome(){
// always ensure that totalSeminars reflects the total number of case items
var totalSeminars = 3;
var num = generateRandom(totalSeminars);

 var img="";
 var title="";
 var desc="";
 var link="";
 switch(num){
 //box one Report from Doculabs
  case 1:
   img += "/random_pics/front/photo.jpg";
   title += "<a href='/register/products/whitepapers1.jsp?wp=Doculabs'><img src=/images/b-1-1.gif width=241 height=145 alt='Access Report' border=0></a><br><p class=hSeminarlg>";
   desc += "<a href='/register/products/whitepapers1.jsp?wp=Doculabs'><img src=/images/b-1-1.gif width=200 height=40 alt='Access Report' border=0></a>";
   link += "";
   break;

 //box two Award Winning Technology
  case 2:
   img += "/random_pics/front/photo.jpg";
   title += "<a href='news/awards.htm'><img src=/images/b-1-1.gif width=241 height=190 alt='Read More' border=0></a><br><p class=hSeminarlg>";
   desc += "";
   link += "";
   break;

 //box three Free White Papers
  case 3:
   img += "/random_pics/front/photo.jpg";
   title += "<a href='/register/products/whitepapers1.jsp'><img src=/images/b-1-1.gif width=241 height=145 alt='Access White Papers' border=0></a><br><p class=hSeminarlg>";
   desc += "<a href='/register/products/whitepapers1.jsp'><img src=/images/b-1-1.gif width=200 height=40 alt='Access White Papers' border=0></a>";
   link += "";
   break;

 }
//no need to edit...homepage seminar format
 var text = "<td width=241 background=" + img +" rowspan=2 class=seminar>" + title + "<p class=hSeminar>" + desc + "</p><b>" + link;  return text;
}

//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// WHAT PEOPLE ARE SAYING script
// you must provide the image path for the logo (relative to the homepage) , the comment (no more than 40 words!!!), the persons name and their class date. you may use html within each string ...to create, simply copy from case to break; and change the variables. 
function getTestimonial(where){
// always ensure that totalTestimonials reflects the total number of case items
var totalTestimonials = 11;
var num = generateRandom(totalTestimonials);

 var img="";
 var quote="";
 var name="";
 var title="";
 switch(num){
 //testimonial one Ludwig
  case 1: 
   img += "";
   quote += "So now that I've made it to Broadway...what the hell am I supposed to do with the next 50-odd years of my life?";
   name += "Jess Ludwig";
   title += "<br>Class of 1998";
   break;

   //Langerak
  case 2:
   img += "";
   quote += "Hi everyone!! I'm in NYC singing with a country band and working on various recording projects. I miss Geneseo!";
   name += "Allison Langerak";
   title += "<br>Class of 1997";
   break;
   
  //Manelli
  case 3:
   img += "";
   quote += "Man, 10 years of hiding around the country all for nothing.  I just had to say hi to you all.  I couldn't stay away.";
   name += "Chris Manelli";
   title += "<br>Class of 1997";
   break;
   
   //Mixon
  case 4:
   img += "";
   quote += "After years in NYC, my boyfriend and I were toying with the idea of moving to California. Then our apartment flooded and the ceiling caved in. Now we live in California.";
   name += "Errin Mixon";
   title += "<br>Class od 1999";
   break;
 
   //Popplewell
  case 5:
   img += "";
   quote += "Just got married in July 2003 here in the Chicago Suburbs. I Love teaching middle and high school choir! (Although I gotta say it's been tough not wearing shorts nine months outta the year.)";
   name += "Mike Popplewell";
   title += "<br>Class of 1997";
   break;
   
   //Ring
  case 6:
   img += "";
   quote += "Ben Griffin, Jeff Tabor and I are in a Jazz Choir with a great group of singers. Come see us in our New Year's Eve performance at Blackfriars Theatre in Rochester, NY this year.";
   name += "Tania Ring";
   title += "<br>Class of 1996";
   break;
   
   //Becker
  case 7:
   img += "/images/h-logo-yankee.gif width=96 height=40 alt='Yankee Group'";
   quote += "Not much going on on LI. Things will probably get more interesting after the sex-change.";
   name += "Dan Becker";
   title += "<br>Class of 2001";
   break;
   
   //Brunk
  case 8:
   img += "";
   quote += "Graduating in 2004 with an MFA in lighting and sound design.  Sarah goes to grad school next, possibly Seattle or Ann Arbor for Creative Writing. Check out the homepage for pictures of Daisy, our 1970 VW Hippie Bus!";
   name += "Daniel Brunk";
   title += "<br>Class of 1996";
   break;
   
   //Champlin
  case 9:
   img += "";
   quote += "Hi everyone!  I just returned from a three month tour of Beauty and the Beast (not the Disney version) that traveled all over, but mostly on the west coast.";
   name += "Carrie Anne Champlin";
   title += "<br>Class of 2002";
   break;
   
   //Young
  case 10:
   img += "";
   quote += "I'm in the city attending a graduate program for Speech Pathology. Yay fun and stuff, I live in a room (not a studio but a room). I find it funny that I don't know so many people registered on the Brodie Project.";
   name += "Jessica Young";
   title += "<br>Class of 2003";
   break;
 
   //Walker
  case 11:
   img += "";
   quote += "Teaching 8th grade English in Greenwich, NY and continuing to corrupt the future of the world";
   name += "Josh Walker";
   title += "<br>Class of 1998";
   break;

 }

 var text="";
 //no need to edit...homepage testimonial format
 if (where == "home"){
 text += "<img src=" +img + " border=0 hspace=14>" + "<p class=hBox>&quot;" + quote + "&quot;<br><br><i><b>" + name + ",</b> " + title + "</i>";
	}
	
//no need to edit...sectionpage testimonial format
 if (where == "section"){
 text += "&quot;" + quote + "&quot;<br><i>" + name + ", " + title + "</i>";
	}
 return text;
}


//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// CASE STUDY script
// you must provide the link to the study and the text for the study to be displayed....to create, simply copy from case to break; and change the variables. 
function getCaseStudy(){
// always ensure that totalStudies reflects the total number of case items
var totalStudies = 4;
var num = generateRandom(totalStudies);

 var lnk="";
 var study=""

 switch(num){
 //weston
  case 1: 
	lnk += "spotlight.htm"
	study += "Rob Weston, 'I Love You, You're Perfect...Now Change'"
   break;
   
 //zygo
  case 2: 
	lnk += "spotlight.htm"
	study += "J. Michael Zygo, National Tour of 'Oklahoma'"
   break;
   
 //Michael
  case 3: 
	lnk += "spotlight.htm"
	study += "Michael McAuliffe, Directing, 'The Last Night of Ballyhoo', Nov 13th-14th"
   break;
   
 //zygo
  case 4: 
	lnk += "spotlight.htm"
	study += "Aileen Barry, 'Laughing Wild', Lynx Ensemble Theatre"
   break;
  }

  // no need to edit...case study format
 var text = "<a href=" + lnk + ">" + study + "</a>";
 return text;
}


//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// SECTION LEFT COLUMN BANNER (FORMERLY SEMINAR) script
// you must provide the link to the seminar and path the the image and its width height and alt tag....to create, simply copy from case to break; and change the variables. 
function getPictureSec(){
// always ensure that totalSeminars reflects the total number of case items
var totalPics = 11;
var num = generateRandom(totalPics);

	var img =""
	var lnk =""

switch(num){
//Ashia & Dennis
  case 1: 
	img += "random_pics/small/ashiadennis.jpg width=97 height=73 alt='Ashia & Dennis on Daytona Beach'"
	lnk += "javascript:popPicture('http://www.brodieproject.com/random_pics/large/ashiadennis.jpg')"
   break;

//Jim on a rocket
  case 2: 
	img += "random_pics/small/nurre.jpg width=97 height=73 alt='Jim Nurre enjoying himself'"
    lnk += "javascript:popPicture('http://www.brodieproject.com/random_pics/large/nurre.jpg')"
   break;
   
   //chorus line cast
  case 3: 
	img += "random_pics/small/chorusline.jpg width=97 height=78 alt='The Chorus Line Cast'"
    lnk += "javascript:popPicture('http://www.brodieproject.com/random_pics/large/chorusline.jpg')"
   break;
   
   //Houli and Casey
  case 4: 
	img += "random_pics/small/houlicasey.jpg width=97 height=73 alt='Mike Houlihan & Casey'"
    lnk += "javascript:popPicture('http://www.brodieproject.com/random_pics/large/houlicasey.jpg')"
   break;
   
   //Jeannine and Christie in Spain
  case 5: 
	img += "random_pics/small/JeannineChristie.jpg width=97 height=62 alt='Jeannine and Christie in Spain'"
    lnk += "javascript:popPicture('http://www.brodieproject.com/random_pics/large/JeannineChristie.jpg')"
   break;

//Green Party
  case 6: 
	img += "random_pics/small/greenparty.jpg width=97 height=73 alt='The Green Team'"
    lnk += "javascript:popPicture('http://www.brodieproject.com/random_pics/large/greenparty.jpg')"
   break;
   
   //Matt and Mike
  case 7: 
	img += "random_pics/small/mattmike.jpg width=97 height=73 alt='Matt & Mike at Halloween'"
    lnk += "javascript:popPicture('http://www.brodieproject.com/random_pics/large/mattmike.jpg')"
   break;
   
   //Group One
  case 8: 
	img += "random_pics/small/group1.jpg width=97 height=73 alt='Three Matts at Big Yellow'"
    lnk += "javascript:popPicture('http://www.brodieproject.com/random_pics/large/group1.jpg')"
   break;
   
   //Jill and Martin
  case 9: 
	img += "random_pics/small/jillmartin.jpg width=97 height=73 alt='Jill and Martin'"
    lnk += "javascript:popPicture('http://www.brodieproject.com/random_pics/large/jillmatt.jpg')"
   break;
   
   //Ben and Trudy
  case 10: 
	img += "random_pics/small/BenTrudy.jpg width=97 height=63 alt='Ben and Trudy'"
    lnk += "javascript:popPicture('http://www.brodieproject.com/random_pics/large/BenTrudy.jpg')"
   break;
   
//Jzm Grad
  case 11: 
	img += "random_pics/small/jzmgrad.jpg width=97 height=73 alt='Zygo, Matt, and Joe at Graduation '00'"
	lnk += "javascript:popPicture('http://www.brodieproject.com/random_pics/large/jzmgrad.jpg')"
   break;
   }
   
//no need to edit...seminar format
var text = "<a href="+ lnk + "><img src=" + img + " vspace=10 border=0></a>";
return text;
}


//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// ARTICLE script
// the link to the article (including the reference to the popArticle window opener script if necessary and the title of the artilce....to create, simply copy from case to break; and change the variables. 
function getArticle(){
// always ensure that totalArticles reflects the total number of case items
var totalArticles = 4;
var num = generateRandom(totalArticles);

	var lnk=""
	var title=""
	
switch(num){
//gallery
  case 1: 
	lnk += "http://www.keyboardpress.com/gallery"
	title += "Check out the latest photos, music and videos online now! OR upload your own!"
   break;
   
//donate
  case 2: 
	lnk += "donate.htm"
	title += "Find out how you can help give back to Brodie!"
   break;

//forums
  case 3: 
	lnk += "javascript:popArticle('http://www.brodieproject.com/phpbb/index.php',0)"
	title += "Don't miss out on a conversation. Hit the forums now!"
   break;
   
//forums
  case 4: 
	lnk += "alumni_directory.htm"
	title += "Not Registered? Sign up with the Brodie Project!"
   break;

//spotlight
  case 5: 
	lnk += "spotlight.htm"
	title += "Check out upcoming alumni performances in the Spotlight! page."
   break;
   }
   
//no need to edit...article format.
var text = title + "<br><a href="+ lnk + ">Read More</a>";
return text;
}

//-->