	/*
	Random Image Link Script
	By Website Abstraction (http://www.wsabstract.com)
	and Java-scripts.net (http://www.java-scripts.net)
	*/
	
	function random_imglink(){
	  var myimages=new Array()
	  //specify random images below. You can have as many as you wish
				myimages[1]="http://www.pbtfus.org/assets/images/subpage/rotate/banner_pic1.jpg"
				myimages[2]="http://www.pbtfus.org/assets/images/subpage/rotate/banner_pic2.jpg"
				myimages[3]="http://www.pbtfus.org/assets/images/subpage/rotate/banner_pic3.jpg"
				myimages[4]="http://www.pbtfus.org/assets/images/subpage/rotate/banner_pic4.jpg"
				myimages[5]="http://www.pbtfus.org/assets/images/subpage/rotate/banner_pic5.jpg"
				myimages[6]="http://www.pbtfus.org/assets/images/subpage/rotate/banner_pic6.jpg"
				myimages[7]="http://www.pbtfus.org/assets/images/subpage/rotate/banner_pic7.jpg"
						
	  //specify corresponding links below
	  var imagelinks=new Array()
				imagelinks[1]="http://www,www.pbtfus.org/assets/images/subpage/rotate/banner_pic1.jpg"
				imagelinks[2]="http://www.pbtfus.org/assets/images/subpage/rotate/banner_pic2.jpg"
				imagelinks[3]="http://www.pbtfus.org/assets/images/subpage/rotate/banner_pic3.jpg"
				imagelinks[4]="http://www.pbtfus.org/assets/images/subpage/rotate/banner_pic4.jpg"
				imagelinks[5]="http://www.pbtfus.org/assets/images/subpage/rotate/banner_pic5.jpg"
				imagelinks[6]="http://www.pbtfus.org/assets/images/subpage/rotate/banner_pic6.jpg"
				imagelinks[7]="http://www.pbtfus.org/assets/images/subpage/rotate/banner_pic7.jpg"
				
	  var ry=Math.floor(Math.random()*myimages.length);
	
	  if (ry==0){ry=1;}
	  
	  document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" border=0></a>');
		 
	}
	
	function random_fam_imglink(){
	  var myimages=new Array()
	  //specify random images below. You can have as many as you wish
				myimages[1]="http://www.pbtfus.org/assets/images/subpage/rotate/family1.jpg"
				myimages[2]="http://www.pbtfus.org/assets/images/subpage/rotate/family2.jpg"
				myimages[3]="http://www.pbtfus.org/assets/images/subpage/rotate/family3.jpg"
				myimages[4]="http://www.pbtfus.org/assets/images/subpage/rotate/family4.jpg"
						
	  //specify corresponding links below
	  var imagelinks=new Array()
				imagelinks[1]="http://www.pbtfus.org/assets/images/subpage/rotate/family1.jpg"
				imagelinks[2]="http://www.pbtfus.org/assets/images/subpage/rotate/family2.jpg"
				imagelinks[3]="http://www.pbtfus.org/assets/images/subpage/rotate/family3.jpg"
				imagelinks[4]="http://www.pbtfus.org/assets/images/subpage/rotate/family4.jpg"
				
	  var ry=Math.floor(Math.random()*myimages.length);
	
	  if (ry==0){ry=1;}
	  
	  document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" border=0></a>');
		 
	}
	
	function random_med_imglink(){
	  var myimages=new Array()
	  //specify random images below. You can have as many as you wish
				myimages[1]="http://www.pbtfus.org/assets/images/subpage/rotate/medical1.jpg"
				myimages[2]="http://www.pbtfus.org/assets/images/subpage/rotate/medical2.jpg"
				myimages[3]="http://www.pbtfus.org/assets/images/subpage/rotate/medical3.jpg"
				myimages[4]="http://www.pbtfus.org/assets/images/subpage/rotate/medical4.jpg"
						
	  //specify corresponding links below
	  var imagelinks=new Array()
				imagelinks[1]="http://www.pbtfus.org/assets/images/subpage/rotate/medical1.jpg"
				imagelinks[2]="http://www.pbtfus.org/assets/images/subpage/rotate/medical2.jpg"
				imagelinks[3]="http://www.pbtfus.org/assets/images/subpage/rotate/medical3.jpg"
				imagelinks[4]="http://www.pbtfus.org/assets/images/subpage/rotate/medical4.jpg"
				
	  var ry=Math.floor(Math.random()*myimages.length);
	
	  if (ry==0){ry=1;}
	  
	  document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" border=0></a>');
		 
	}
	
	
	//Stories of Hope
	function random_story(){
	
	var story_image=new Array()
	  //specify image urls; to activate additional images remove the "//" from the beginning of the lines for story_image 2-6 below
	  
				story_image[1]="http://www.pbtfus.org/assets/images/stories/small/lucas.jpg"
				story_image[2]="http://www.pbtfus.org/assets/images/stories/small/michael.jpg"
				story_image[3]="http://www.pbtfus.org/assets/images/stories/small/denise.jpg"
				story_image[4]="http://www.pbtfus.org/assets/images/stories/small/katie.jpg"
				story_image[5]="http://www.pbtfus.org/assets/images/stories/small/maggie.jpg"
				story_image[6]="http://www.pbtfus.org/assets/images/stories/small/brooke.jpg"
				story_image[7]="http://www.pbtfus.org/assets/images/stories/small/eric.jpg"
				story_image[8]="http://www.pbtfus.org/assets/images/stories/small/megan.jpg"
				//story_image[9]="URL HERE"
	
	
	var name_age=new Array()
	  //specify name and age, do not use any single or double quotes within the existing double quotes!
	  //to activate additional images remove the "//" from the beginning of the lines for name_age 2-6 below
	  
				name_age[1]="Lucas, 8"
				name_age[2]="Michael, 12"
				name_age[3]="Denise, 13"
				name_age[4]="Katie, 3"
				name_age[5]="Maggie, 12"
				name_age[6]="Brooke, 18"
				name_age[7]="Eric, 19"
				name_age[8]="Megan, 18"
				//name_age[9]="NAME, AGE"
				
	var story_blurb=new Array()
	  //enter story blurb, keep it brief, do not use any single or double quotes within the existing double quotes!
	  //to activate additional images remove the "//" from the beginning of the lines for story_blurb 2-6 below
	  
				story_blurb[1]="Lucas was just 3 when his parents were told their child had cancer."
				story_blurb[2]="Michael endured the pain of five brain surgeries and countless days of poking and prodding..."
				story_blurb[3]="For the next year, we watched as the tumor began to grow."
				story_blurb[4]="Instead of a party, Katie was scheduled for a craniotomy."
				story_blurb[5]="Maggie was a normal 8-year-old until the summer of 2002."
				story_blurb[6]="Having a brain tumor has been difficult."
				story_blurb[7]="My experience with having a tumor was very sudden."
				story_blurb[8]="As I was extremely young when I developed my brain tumor."
				//story_blurb[9]="Lorem ipsum dolor sit amet consectateur nonummy lorenzino."
	
	
	var story_link=new Array()
	  //specify urls of published Stories of Hope
	  //to activate additional images remove the "//" from the beginning of the lines for story_link 2-6 below
	  
				story_link[1]="http://www.pbtfus.org/survivors/stories/lucas.html"
				story_link[2]="http://www.pbtfus.org/survivors/stories/michael.html"
				story_link[3]="http://www.pbtfus.org/survivors/stories/denise.html"
				story_link[4]="http://www.pbtfus.org/survivors/stories/katie.html"
				story_link[5]="http://www.pbtfus.org/survivors/stories/maggie.html"
				story_link[6]="http://www.pbtfus.org/survivors/stories/brooke.html"
				story_link[7]="http://www.pbtfus.org/survivors/stories/eric.html"
				story_link[8]="http://www.pbtfus.org/survivors/stories/megan.html"
				//story_link[9]="URL HERE"
				
				
	//DO NOT EDIT ANYTHING BELOW THIS LINE!!			
	var r=Math.floor(Math.random()*story_image.length);
	
	  if (r==0){r=1;}
	  
	   document.write('<td><img src='+ story_image[r] +' align=right /></td>');
	   document.write('<td>&nbsp;<img src=http://www.pbtfus.org/assets/images/mainpage/boxes/box_1/title_soh.gif border=0 /></td></tr><tr><td colspan=2>');
	   document.write('<h2>'+ name_age[r] +'</h2>');
       document.write('<p>'+ story_blurb[r] +'<br />');
       document.write('<b>&gt;&gt;</b><a href='+ story_link[r] +'> learn more</p></td>');
	  
	
	}

