/*	[apr 2005]	SS fixes for showing _E FCPs in different browsers	*/
var appVersion = navigator.appVersion;
var ie4 = (document.all) ? true : false;
var ie5 = ( navigator.appVersion.indexOf("MSIE 5") != -1 );
var ns4 = ( document.layers) ? true : false;
var ns6 = ( (navigator.appName.indexOf("Netscape") != -1) && parseInt(navigator.appVersion) >= 5 );
var mac = ( navigator.userAgent.indexOf("Mac") != -1) ? true : false;
var sf01 = ( navigator.userAgent.indexOf("KHTML") != -1);
var sf12 = ( parseInt(navigator.appVersion.replace(/.*AppleWebKit\//i, "")) >= 124 ) ;

if (ns4) { window.onresize=fixMe; }
if (ns4) { origWidth = innerWidth; origHeight = innerHeight; }
function fixMe() { if (innerWidth != origWidth || innerHeight != origHeight) self.location.reload(); }

if ( mac && ie5 ) Array.prototype.push = function() {
	var thisArray = this, x;
	for ( x=0; x < arguments.length; x++ ) {
		thisArray[ thisArray.length ] = arguments[x];
	}
	return thisArray.length;
}

var urlValueOf = new Array(), queryDataArray = location.search.substr(1).split(/\&|;|\&;/);
for ( var x=0; x < queryDataArray.length; x++ ) {
	var thisQueryVariable = queryDataArray[x].split("=");
	urlValueOf[ thisQueryVariable[0] ] = new Object();
	urlValueOf[ thisQueryVariable[0] ] = thisQueryVariable[1];
}

function nsD(elementName, w){ w = (w) ? w : top; return w.document.layers[elementName]; }
function nsShow(element, w) { d(element, w).visibility = "show"; }
function nsHide(element, w) { d(element, w).visibility = "hidden"; }

function mozD(elementName, w) { w = (w) ? w : top; return w.document.getElementById(elementName); }
function mozShow(element, w)  { d(element, w).style.visibility = "visible"; }
function mozHide(element, w)  { d(element, w).style.visibility = "hidden"; }

var d, Show, Hide;
if ( ns4 ) {
	d = nsD,
	Show = nsShow;
	Hide = nsHide;
}
else {
	d = mozD;
	Show = mozShow;
	Hide = mozHide;
}

/* Sets a Cookie with the given name and value.
	name       Name of the cookie
	value      Value of the cookie
	[expires]  Expiration date of the cookie (default: end of current session)
	[path]     Path where the cookie is valid (default: path of calling document)
	[domain]   Domain where the cookie is valid
					(default: domain of calling document)
	[secure]   Boolean value indicating if the cookie transmission requires a
					secure transmission
*/
function setCookie(name, value, path, expires, domain, secure) {
	document.cookie = 
		name + "=" + escape(value) +
		((expires) ? "; expires=" + expires.toGMTString() : "") +
		((path) ? "; path=" + path : "") +
		((domain) ? "; domain=" + domain : "") +
		((secure) ? "; secure" : "");
}

function getCookie(name) {
	var dc = document.cookie;
	var prefix = name + "=";
	var begin = dc.indexOf("; " + prefix);
	if (begin == -1) {
		begin = dc.indexOf(prefix);
		if (begin != 0) return null;
	}
	else {
		begin += 2;
	}
	var end = document.cookie.indexOf(";", begin);
	if (end == -1) {
		end = dc.length;
	}
	return unescape(dc.substring(begin + prefix.length, end));
}

function BreakString( string, maxlength, replacethis, withthis ) {
	if ( string.length > maxlength ) string = string.replace( replacethis, withthis );
	document.write( string );
}


/*  This main sidebar and header function accepts parameters:
 current identifies which page is being viewed, to not make it a link
 type identifies which type of sidebar function to call for specific pages */
 function header(current,type) {
	str_sidebar = '<span class="' + type + '">'
		+ '\n<table border="0" cellpadding="0" cellspacing="0" background="" width="700">'
		+ '\n<tr><td rowspan="3" valign="top" width="100" class="side"><br />'
		+ '\n\n<!-- B E G I N    S I D E B A R -->'
		+ eval('Build' + type + '(current)')
		+ '\n<!-- E N D    S I D E B A R -->\n'
		+ '\n	</td>'
		+ '\n	<td width="800" colspan="2" valign="top" height="40" bgcolor="white">'
//		+ '\n\n<!-- B E G I N    N A V B U T T O N S -->'
//		+ '\n		<a name="top">&nbsp;</a>\n	' + NavButtons()
//		+ '\n<!-- E N D    N A V B U T T O N S -->\n'
		+ '\n	</td>\n</tr>'
		+ '\n<tr><td width="10" class="' + type + '">&nbsp;</td>'
		+ '\n	<td valign="top" class="' + type + '">'
		+ '\n\n<!-- B E G I N    C O N T E N T -->';

	document.write(str_sidebar);
//	Debug(str_sidebar, true);
}
var features = [];
//  Name,    Job Title,    Image URL,     Description

newFeature(
	'Kimberly Rohn', 			'HR Manager',		'fflynn.jb45.jpg',
	'Any growing company will need someone to handle the hiring and placement of new employees - this is handled by the Human Resource Manager. <a href="/profiles/00110.html"><i>Click here</i></a> to see what can make this such a satisfying career for you!'
);
newFeature(
	'Jerry Pieretti', 			'Crime Scene Investigator',		'JerryPieretti.gif',
	'CSI is a hot show, but is the job really like on TV?  <a href="/profiles/JerryPieretti_C.html"><i>Click here</i></a> to see what it takes and how you might get into this career.'
);
newFeature(
	'Doug Morck', 			'Engineering Project Manager',		'DougMorck.jpg',
	'Engineers make things that people use everyday.  <a href="/profiles/DougMorck_A.html"><i>Click here</i></a> to see where an engineering degree can get you in this field.'
);
newFeature(
	'Sedell Powell', 			'Registered Nurse',		'SedellPowell.jpg',
	'A nursing career can give you a lot of one-on-one time with the patients.  <a href="/profiles/SedellPowell_A.html"><i>Click here</i></a> to see how Sedell made nursing the career for her.'
);
newFeature(
	'Steve Mazzi', 			'Veterinarian',		'SteveMazzi.jpg',
	'What is it like and what does it take to be a veterinarian?  <a href="/profiles/SteveMazzi.html"><i>Click here</i></a> to learn about what is often the hardest obstacle to becoming a veterinarian.'
);
newFeature(
	'Anthony Cinfrani',		'Attorney',		'AnthonyCinfrani.jpg',
	'Clients sometimes do crazy things in court. <a href="/profiles/AnthonyCinfrani_F.html"><i>Click here</i></a> to see what one defendant wore to his sentencing hearing!'
);
newFeature(
	'Robert Hohenstein',		'Clinical Psychologist',		'RobertHohenstein.jpg',
	'Ever take a really interesting class?  Robert did - and made a career of it.  <a href="/profiles/RobertHohenstein.html"><i>Click here</i></a> to hear about the path he took ... and one he did not.'
);
newFeature(
	'Joseph McKeefery',		'Auto Repairs',		'JosephMcKeefery.jpg',
	'Do you like working on cars? <a href="/profiles/JosephMcKeefery.html"><i>Click here</i></a> to read about a job Joseph even enjoys doing on his spare time!'
);
newFeature(
	'Dave Strudwick', 		'Insurance Agent',		'DaveStrudwick.jpg',
	'Hurricane Katrina made everyone aware of the importance of insurance.  <a href="/profiles/DaveStrudwick.html"><i>Click here</i></a> to find out what skills you need for this job.'
);
newFeature(
	'Letha Walker', 		'Grade School Teacher',		'ewoods.jb45.jpg',
	'Your grade school teacher will often make a lasting impression on you.  <a href="/profiles/LethaWalker00095.html"><i>Click here</i></a> to find out how one inspired this teacher to do even better.'
);
newFeature(
	'Muey Saelee', 		'Office Manager',		'07-MFSaelee.jpg',
	'Are you very organized and good with people and paperwork?  You could be a great office manager!  <a href="/profiles/07-MFSaelee_C.html"><i>Click here</i></a> to find out about a good place to start.'
);
newFeature(
	'Jacqueline Kim', 	'Art Teacher',		'11-JKim.jpg',
	'Art programs are being cut from many schools.  <a href="/profiles/11-JKim_E.html"><i>Click here</i></a> to find out what continues to inspire this teacher in her career.'
);
newFeature(
	'Heather Morrison',		'Physical Therapist',		'jsellers.jb45.jpg',
	"Injured people often need a lot of help to fully recover.  <a href='/profiles/00104.html'><i>Click here</i></a> to find out about the many aspects of being a Physical Therapist."
);
newFeature(
	'Amy Kwiatkowski',		'Telecommunications Manager',		'telephone.jpg',
	"People don't always know what career they want.  <a href='/profiles/28-AKwiatkowski_B.html'><i>Click here</i></a> to hear how Amy got started in the telecommunications field."
);
newFeature(
	'Kenyana Brummitt',		'OB/GYN Physician',		'doctor(f).jpg',
	"The miracle of birth happens everyday - and the OB/GYN doctor helps everything go smoothly.  <a href='/profiles/38-KBrummitt_E.html'><i>Click here</i></a> to hear how assisting a birth guided this doctor's career path."
);
newFeature(
	'Jesse Morton',		'Human Resources',		'44-JMorton.jpg',
	"Do you know the most valuable resource in any business?  Yes! Its people!  <a href='/profiles/44-JMorton_A.html'><i>Click here</i></a> to hear from someone who helps manage that valuable resource every day."
);
newFeature(
	'Nicole Thomas',		'Retail Shop Owner',		'darnsocks.jpg',
	"Ever dream of opening your own shop and working for yourself?  That's how many big companies got started ... so 'Just do it!'  <a href='/profiles/56-NThomas_F.html'><i>Click here</i></a> to hear about the ups and downs of a brother and sister growing their business to 75 employees."
);
newFeature(
	'Jordan Gumucio',		'Opera Singer',		'JordanGumucio.jpg',
	"Do you love to sing?  Do you sing all the time?  <a href='/profiles/JordanGumucio.html'><i>Click here</i></a> to see what life as an Opera Singer could be like."
);
newFeature(
	'Mark Talbot',		'Auto Refinisher',		'MarkTalbot.jpg',
	"Bet you know someone who had their car damaged - and they would need to see an Auto Refinisher.  <a href='/profiles/MarkTalbot.html'><i>Click here</i></a> to read about one of many jobs working on cars."
);
newFeature(
	'Frank Williams',		'Accounting Supervisor',		'rsmith.jb45.jpg',
	"Are you good with money, people, and detail-oriented reports? If so there will always be an accounting job for you!  <a href='/profiles/FrankWilliams00105.html'><i>Click here</i></a> to read about all the reports that must be prepared to help track the money in most any organization."
);
newFeature(
	'Jim Piggot',		'Fire Fighter',		'JimPiggot.jpg',
	"Ever dream of becoming a Fire Fighter?  Jim did ... and he made it come true!  <a href='/profiles/JimPiggot_A.html'><i>Click here</i></a> to see how he made it all happen."
);
newFeature(
	'Diana Robinson',		'Interior Decorator',		'airani.w12.gif',
	"Details, details, details ... and an eye for good design. If you are good at these then <a href='/profiles/DianaRobinson00536.html'><i>Click here</i></a> to hear about being an Interior Decorator to see if it is the job for you!"
);
newFeature(
	'Renee Liles',		'Bus Driver',		'ReneeLiles.jpg',
	"It takes a lot of people to run a city.  <a href='/profiles/ReneeLiles.html'><i>Click here</i></a> to hear about the job and opportunities open to your local bus driver."
);
newFeature(
	'Scott Schwartz',		'Business Lawyer',		'52-SSchwartz.jpg',
	"Being a lawyer can be very rewarding when you have a grateful client.  <a href='/profiles/52-SSchwartz_D.html'><i>Click here</i></a> to hear a memorable case between a young boy and a large company."
);
newFeature(
	'Cindy Balzer',		'Veterinarian',		'aclark.jb45.jpg',
	"Some people are lucky and know what they want to be from an early age.  <a href='/profiles/DrCindyBalzer00084.html'><i>Click here</i></a> to hear how young Dr. Balzer was when she knew she was going to be a vet."
);
newFeature(
	'James Taylor',		'Wood Floor Refinisher',		'21-JTaylor.jpg',
	"Learning from your mistakes is important, especially if you own a small business.  <a href='/profiles/21-JTaylor_B.html'><i>Click here</i></a> to read about other important things Mr. Sandman learned about business."
);
newFeature(
	'Ed Miller',		'Electrician',		'48-EMiller.jpg',
	"Not every job requires a college degree.  <a href='/profiles/48-EMiller_A.html'><i>Click here</i></a> to read how on-the-job training after high school got Ed started as an Electrician."
);
newFeature(
	'Kathy Trasati',		'Pediatric Nurse',		'KathyTrasati.jpg',
	"Helping an expectant mother give birth to her baby can be very rewarding. <a href='/profiles/KathyTrasati.html'><i>Click here</i></a> to hear about one delivery Kathy will never forget."
);
newFeature(
	'Amanda Montgomery',		'Sea World Educator',		'AmandaMontgomery.jpg',
	"Wouldn't it be cool to work at a place like Sea World? <a href='/profiles/07-AMontgomery_F.html'><i>Click here</i></a> to read how Amanda became an animal trainer and educator at the theme park."
);
newFeature(
	'Jim Shatzmen',		'Florist',		'JimShatzmen.jpg',
	"Do you like flowers and working with your hands? <a href='/profiles/07-JShatzmen_A.html'><i>Click here</i></a> to read about the work and satisfaction Jim gets in running his own flower shop."
);
newFeature(
	'Keisha Hegamin',		'Child Advocate Attorney',		'51-KHegamin.jpg',
	"Children often need special protection. <a href='/profiles/51-KHegamin_C.html'><i>Click here</i></a> to hear how one attorney was inspired to pursue a career putting the childrens' interests first."
);
newFeature(
	'Kerry Clark',		'Network Engineer',		'PCNetwork.jpg',
	'Computer work is very technical, and even more so when you connect them! <a href="/profiles/37-KClark_D.html"><i>Click here</i></a> to read how the right certifications can get you ahead in this growing field.'
);
newFeature(
	'Robin Hill',		'Daycare Instructor',		'rhill.jb45.jpg',
	'Helping young children learn can be very rewarding. <a href="/profiles/RobinHill00096.html"><i>Click here</i></a> to read about the concerns this Daycare Instructor has for her job.'
);
newFeature(
	'Todd Simon',		'Director of Journalism Dept.',		'14a-TSimon.jpg',
	'Moving up to a Director position presents its own challenges. <a href="/profiles/14a-TSimon_D.html"><i>Click here</i></a> to read about the duties for this university administrator.'
);
newFeature(
	'Donald Hurley',		'Dentist',		'DonaldHurley.jpg',
	'Do you remember a certain adult treating you with respect when you were only 11? <a href="/profiles/DonaldHurley.html"><i>Click here</i></a> to hear how that lead to a dental career!'
);
newFeature(
	'Marsha Williams',		'Teaching Assistant',		'20-MEWilliams.jpg',
	'Not sure about a teaching career? Try assisting to check it out! <a href="/profiles/20-MEWilliams_A.html"><i>Click here</i></a> to see how fulfilling it can be.'
);
newFeature(
	'Sunny Chan',		'Science Teacher',		'24-SChan.jpg',
	'Sometimes small things have a big impact on you. <a href="/profiles/24-SChan_A.html"><i>Click here</i></a> to hear how teaching a 5-year old helped Mr. Chan decide on a teaching career.'
);
newFeature(
	'Gary Mallory',		'Information Technologist',		'GaryMallory.jpg',
	'Information Technology is growing fast! <a href="/profiles/GaryMallory.html"><i>Click here</i></a> to see how one "IT" guy made it in this field.'
);
newFeature(
	'Stephanie Brown',		'High School Counselor',		'15-SBrown.jpg',
	'Do you like helping students? <a href="/profiles/15-SBrown_A.html"><i>Click here</i></a> to see what motivates this High School Counselor.'
);
newFeature(
	'Carol Johansen',		'Senior Education Administrator',		'CarolJohansen.jpg',
	'There is more to a school than your teachers. <a href="/profiles/CarolJohansen_D.html"><i>Click here</i></a> to read why one teacher moved into administration.'
);
newFeature(
	'Fermine Fuentes',		'Auto Mechanic',		'mechanic.jpg',
	'Do you like working on cars? <a href="/profiles/FermineFuentes_A.html"><i>Click here</i></a> to read about life as an Auto Mechanic!'
);
newFeature(
	'Shirley Dudeck',		'AVID Coordinator',		'aolea.wams.jpg',
	'Teachers are special because their influence over students can change lives. <a href="/profiles/ShirleyDudeck00076.html"><i>Click here</i></a> to read how one teacher discovered her heart was in teaching.'
);
newFeature(
	'Carol Allers',		'Middle School Teacher',		'CarolAllers.jpg',
	'Have you ever been inspired by one of your teachers?  <a href="/profiles/CarolAllers.html"><i>Click here</i></a> to read how such inspiration lead Carol to become a teacher herself!'
);
newFeature(
	'George Kita',		'Criminal Justice Lawyer',		'GeorgeKita.jpg',
	'Do you enjoy watching the defense lawyers on TV? <a href="/profiles/GeorgeKita.html"><i>Click here</i></a> to read how one such attorney came to his job by accident, but now enjoys the challenges.'
);
newFeature(
	'Carrie Robertson',		'Assistant Librarian',		'CarrieRobertson.jpg',
	'Do you like to help people learn new things?  Maybe a career working in the library is for you! <a href="/profiles/CarrieRobertson.html"><i>Click here</i></a> to read how library patrons keep the job interesting for this Assistant Librarian.'
);
newFeature(
	'Rebecca Roe',	'Fashion Design Instructor',			'RebeccaRoe.jpg',
	"Do you like clothes and have an artistic eye? Maybe a career in Fashion Design is for you! <a href='/profiles/53-RRoe_A.html'><i>Click here</i></a> to read about Rebecca's inspiration for a career in Fashion Design."
);
newFeature(
	'Robert Degan',		'Maritime Attorney',		'RobertDegan.jpg',
	'Robert Degan is a Maritime and Immigration Lawyer.  <a href="/profiles/RobertDegan.html"><i>Click here</i></a> to learn how he came to be one.'
);
newFeature(
	'Peggy Loper',	'Community Health Director',			'10-PLoper.jpg',
	'Are you interested in health issues (but get nervous at the sight of blood)?  A career in Health Education might be for you! <a href="/profiles/10-PLoper_A.html"><i>Click here</i></a> to see how caring for people in this age of AIDS led to a career in health education.'
);
newFeature(
	'Elizabeth Croulet',		'Physical Therapist Assistant',		'ElizabethCroulet.jpg',
	'Would you like to help people recover from injuries and make a difference in their lives? <a href="/profiles/ElizabethCroulet.html"><i>Click here</i></a> to read how fulfilling this is for one Physical Therapist Assistant.'
);
newFeature(
	'Bob Dickson',	'Barber',			'BobDickson.jpg',
	'Do you have a sense of style and like working with your hands one-on-one with people?  Becoming a barber may be the job for you! <a href="/profiles/BobDickson.html"><i>Click here</i></a> to see how his passion for cutting hair led Bob to open a barber shop.'
);
newFeature(
	'Jewell Dent',	'Academy Teacher',			'43-JDent.jpg',
	'Ever have a teacher help you get past a big hurdle?  <a href="/profiles/43-JDent_C.html"><i>Click here</i></a> to see how return visits from her past students have kept this teacher motivated for over 34 years.'
);
newFeature(
	'Andrea McHugh',	'Registered Dietician',			'35-AMcHugh.jpg',
	'Here is another member of the hospital team that helps you get well after a setback - the Registered Dietician.  <a href="/profiles/35-AMcHugh_C.html"><i>Click here</i></a> to find out what it takes to get started in this career.'
);
newFeature(
	'John Boyle',	'Computer Programmer',			'14-JBoyle.jpg',
	'Ever wonder how computers know what to do?  <a href="/profiles/14-JBoyle_F.html"><i>Click here</i></a> to find out what it takes to get started in this field.'
);
newFeature(
	'Cleora Thornton',	'Social Worker',			'46-CThornton.jpg',
	'Do you have street smarts?  Maybe social work is for you. <a href="/profiles/46-CThornton_E.html"><i>Click here</i></a> to find out how working with street gangs led to a career as Director of Social Workers.'
);
newFeature(
	'Amanda Smith',	'Photographer',			'AmandaSmith.jpg',
	'Amanda Smith has worked on many assignments as a photographer.  <a href="/profiles/48-ASmith_A.html"><i>Click here</i></a> to find out what inspired her to become a Photographer.'
);
newFeature(
	'Ronda Blackson',		'Registered Nurse',		'RondaBlackson.jpg',
	'Ronda Blackson is a Registered Nurse (RN). <a href="/profiles/13-RBlackson_A.html"><i>Click here</i></a> to learn about what makes the job so special for her.'
);
newFeature(
	'Michael Pellechia',		'Orthopedic Consultant',		'MichaelPellecchia.jpg',
	'There are many jobs in a hospital besides doctors and nurses. <a href="/profiles/MichaelPellechia_F.html"><i>Click here</i></a> to learn what Michael Pellechia does on-the-job as an Orthopedic Consultant.'
);
newFeature(
	'Alex Kimura',		'Financial Planner',		'alex.jpg',
	'As a Certified Financial Planner (CFP), Alex Kimura enjoys giving people advice about their finances. <a href="/profiles/AlexKimura_A.html"><i>Click here</i></a> to learn how and why Alex moved from the corporate world to become a CFP.'
);
newFeature(
	'Minerva McCoy',		'Registered Nurse',		'kcunningham.jb45.jpg',
	'Minerva McCoy is a Registered Nurse (RN). <a href="/profiles/MinervaMcCoy00085.html"><i>Click here</i></a> to learn about what makes the job so special for her.'
);
newFeature(
	'Carole Torrente', 	'H.R. Coordinator',		'awilliams.jb45.jpg',
	'Are you a <i>people person</i> who enjoys meeting new people? <a href="/profiles/CaroleTorrente00108.html"><i>Click here</i></a> to find out what it is like working as a Human Resource Coordinator.'
);
newFeature(
	'Monica Harmon', 	'Registered Nurse',		'MonicaHarmon.jpg',
	'Thinking about a career in nursing? <a href="/profiles/MonicaHarmon_B.html"><i>Click here</i></a> to find out how working with a new teenage mom helped Monica Harmon discover that nursing was what she wanted to do for her career.'
);
newFeature(
	'Tim Good', 	'Architect',		'TimGood.jpg',
	'Do you like creating something from nothing?  That is what an Architect does!  <a href="/profiles/TimGood.html"><i>Click here</i></a> to read what being an Architect can be like.'
);
newFeature(
	'Erik Fleming', 	'Elementary School Teacher',		'bcopes.jb45.jpg',
	'Erik Fleming wanted to be a teacher ever since he was in elementary school himself!  <a href="/profiles/ErikFleming00083.html"><i>Click here</i></a> to find out what he hears that keeps him motivated.'
);
newFeature(
	'Lori Silver', 	'Tax Attorney',		'LoriSilver.jpg',
	'Does a <i>Tax Attorney</i> sound boring to you?  Well, <a href="/profiles/LoriSilver_D.html"><i>click here</i></a> to read how Lori Silver changed from a shy math whiz to become a tax attorney who still makes time for fun in her life (after opening her own office).'
);
newFeature(
	'Bob Hamani', 	'Senior Computer Animator',		'BobHamaniLogo.jpg',
	'Do you like to draw?  So does Bob Hamani, a Senior Computer Animator.  <a href="/profiles/BobHamani_C.html"><i>Click here</i></a> to find out what animation shops look for when evaluating a potential employee.'
);
newFeature(
	'Larry Rebbecci', 	'Small Animal Veterinarian',		'41-LRebbecci.jpg',
	'Dr. Rebbecci wanted to be a veterinarian ever since he was a teenager.  <a href="/profiles/41-LRebbecci_A.html"><i>Click here</i></a> to find out what he now thinks is the biggest hurdle to becoming a veterinarian.'
);
newFeature(
	'Steve Flemming', 	'Youth Program Director',		'jorji.jb45.jpg',
	'Steve Flemming is a YMCA Youth Program Director in Philadelphia.  <a href="/profiles/00091.html"><i>Click here</i></a> to find out why he chose this career.'
);
newFeature(
	'Brenda Hall', 	'Real Estate Agent',		'19-BHall.jpg',
	'Brenda Hall is a real estate agent, one of the hottest careers today!  <a href="/profiles/19-BHall_F.html"><i>Click here</i></a> to find out what she likes and dislikes about it.'
);
newFeature(
	'Paul Pfingst', 	'District Attorney',		'PaulPfingst.jpg',
	'Paul Pfingst is a former district attorney.  <a href="/profiles/PaulPfingst_B.html"><i>Click here</i></a> to find out how old he was when he knew he wanted to become a lawyer.'
);
newFeature(
	'Tony Vizcarra', 	'Recording Engineer',		'TonyVizcarra.jpg',
	'Tony Vizcarra is a recording engineer at Tru One Records and Rehearsals.  <a href="/profiles/TonyVizcarra.html"><i>Click here</i></a> to find out what working in a recording studio is like.'
);
newFeature(
	'Yvonne Sanchez', 	'Judge',		'YvonneSanchez.jpg',
	'Yvonne Sanchez is a judge in the Superior Court.  <a href="/profiles/YvonneSanchez.html"><i>Click here</i></a> to find out why she became a judge.'
);
newFeature(
	'Gilmar Fortis', 	'Director of Development',		'vp.gif',
	'Gilmar Fortis is the Director of Development at Franchise Pictures in Los Angeles.  <a href="/profiles/GilFortiz_A.html"><i>Click here</i></a> to find what it takes to develop movies in Hollywood.'
);
newFeature(
	'Neil Ticktin', 	'Magazine Publisher',		'NeilTicktin.jpg',
	'Neil Ticktin is the publisher of MacTech magazine, a technical magazine for programmers.  <a href="/profiles/NeilTicktin_B.html"><i>Click here</i></a> to find what magazine publishing is like.'
);
newFeature(
	'Mike Ceballos',	'Photographer',			'MikeCeballos.jpg"',
	'Mike Ceballos has worked on many assignments as a photographer.  <a href="/profiles/MikeCeballos.html"><i>Click here</i></a> to find out what a Photographer gets paid to do.'
);
newFeature(
	'Samrod Shenassa',	'Digital Artist',		'samgod2.gif',
	'Samrod Shenassa has been a freelance Digital Artist, having worked independently at many interesting jobs.  <a href="/profiles/SamrodShenassa.html"><i>Click here</i></a> to find out what a Digital Artist does.'
);
newFeature(
	'Tina Rondez',		'Nurse Educator',		'TinaRondez.jpg',
	'Tina Rondez is a Nurse Educator.  <a href="/profiles/TinaRondez_A.html"><i>Click here</i></a> to learn about what makes the job so special for her.'
);
newFeature(
	'Jose Rizo',		'Disc Jockey',		'JoseRizo.jpg',
	'Jose Rizo is a Disc Jockey at KKJAZ.  <a href="/profiles/JoseRizo_A.html"><i>Click here</i></a> to learn what it was like being one of the first Latin Jazz DJs.'
);
newFeature(
	'Andrew Furuto',	'Varsity Basketball Coach',	'AndrewFuruto.jpg',
	'Andrew Furuto is the Varsity Head Basketball Coach at Mary Star High School. <a href="/profiles/AndrewFuruto_F.html"><i>Click here</i></a> to find out what coaching high school basketball is like.'
);
newFeature(
	'Noisette John',		'Music Producer',		'NJStJean.jpg',
	'Noisette John St. Jean is a Music Producer.  <a href="/profiles/NJStJean_F.html"><i>Click here</i></a> to find out what it took to make his dream come true.'
);
newFeature(
	'Gwen Allen',		'Registered Nurse',		'nurse.gif',
	'"Gwen Allen" is a Registered Nurse (RN). <a href="/profiles/GwenAllen_F.html"><i>Click here</i></a> to learn about what makes the job so special for her.'
);

//newFeature( '', '', '', '' );

function newFeature( name, title, image, text ) {
	features[name] = new Object();
	features[name].title = title;
	features[name].text = text;
	features[name].img = '/profiles/images/' + image;
}

function showFeature( name ) {
	var thisFeature = features[name];
	document.write( '<img src="' + thisFeature.img + '" width="102" align="left" /><p><b>' + thisFeature.title + '</b>\n - ' + thisFeature.text + '</p>' );
}

var FooterLinks = new Array (
//	"View Intro",				"intro.html",
	"About Us",					"footer/aboutus.html",
	"Privacy Policy",			"footer/privacy.html",
	"Terms &amp; Conditions",	"footer/terms.html",
	"FAQs",						"footer/faq.html",
	"Contact Us",				"mailto:questions@WhatDoYouWant2Be.org",
	"Donations",				"footer/donations.html",
	'<font color="FF0000">Home</font>',	"index.php"
);

function footer(HrefRoot) {
	var str_footer = '\n<!-- E N D    C O N T E N T -->\n\n<!-- B E G I N    F O O T E R --><br />';
	if (HrefRoot == null)
		HrefRoot = '../';
	for (var i = 0; i < FooterLinks.length; i+=2) {
		if (i == 8)
			str_footer += '\n		<A HREF="' + FooterLinks[i+1] + '" class="Foot">' + FooterLinks[i] + '</a>&nbsp;|&nbsp;';
		else if (i != FooterLinks.length-2)
			str_footer += '\n		<a href="' + HrefRoot + FooterLinks[i+1] + '" class="Foot">' + FooterLinks[i] + '</a>&nbsp;|&nbsp;';
		else
			str_footer += '\n		<a href="' + HrefRoot + FooterLinks[i+1] + '" class="Foot">' + FooterLinks[i] + '</a>';
	}
//  24jul06 Remove all copyright notices for now.
//	str_footer += '<br /><br /><span class="Foot" style="color:#666666">&copy; 1999-2007 Education Technologies, LLC.  All rights reserved.</span><br /><br />'
//			   +  '\n<!-- E N D   F O O T E R -->\n\n</td>\n</tr>\n</table>';
	str_footer += '<br /><br /><span class="Foot" style="color:#666666">&copy; 1999-2010 All rights reserved.</span><br /><br />'
			   +  '\n<!-- E N D   F O O T E R -->\n\n</td>\n</tr>\n</table>';
	document.write(str_footer);
//	Debug(str_footer, true);
}

function Logo() {
//	[mar 2006]	MRF added <a href>'s to get the logos to link back to the home page
//				[but it's only working in IE, not Firefox]
	document.write('<table align="left" border="0" cellpadding="0" cellspacing="0"><td><a href="/index.php" class="noHover" /><img src="../images/WDUWTB.gif" border="0" alt="WhatDoYouWant2Be?" width="130" /></a><a href="/index.php" class="noHover" /><img src="../images/Cloudsc.gif" border="0" alt="WhatDoYouWant2Be?" width="50" /></a></td></table><br clear="all"><br /><hr>');
}

//  B U I L D   F C P   S I D E B A R 
function BuildFCP(snapshot) {
		var str_fcpside = '<a href="/index.php" class="noHover"><img src="/images/ring.gif" width="127" height="110" alt="WDYW2B" border="0" title="Main Menu" /></a><br /><br />'
		+ '\n		<span class="sidehead">Snapshot of Success</span>'
		+ '\n		<ul>';

		for (i = 0; i < snapshot.length; i++) {
			str_fcpside+= '	\n			<li class="listitem">' + snapshot[i] + '<br /><br />';
		}

	str_fcpside+= '\n		</ul>'
		+ '\n		<hr width="90%" noshade>' + Survey()
		+ '\n		<hr width="90%" noshade><br />'
		+ '\n		<a href="mailto:questions@WhatDoYouWant2Be.org" class="sidehead">Have A Question?</a><br /><br />'
		+ '\n		<hr width="90%" noshade>'
		+ '\n		<form method="POST" action="../index.php?action=search"><nobr>WhatDoYouWant2Be?<br />'
		+ '\n		&nbsp;<input class="textinput" type="text" name="search_str" size=15>&nbsp;<input class="button" type="submit" value="Go">'
		+ '\n		</nobr></form>';
		return str_fcpside;
}

var rank = new Array (
	"Perfect Job",
	"Very Likely",
	"Interested",
	"Undecided",
	"Not for me"
)

function NewWindow() {
	page = new String(document.location);
	page = page.replace(/http:\/\/www.whatdoyouwant2be.org\/profiles\//, '');
	url = '../../index.php?action=survey_results&page=' + page;
	window.open(url,'_new','width=400,height=400,resizable=yes'); 
} 

function Survey() {
        var str_survey = '\n            <form class="sidehead" name="form1" method="POST" action="../../index.php?action=survey" onsubmit = "return window.open(\'\',\'mywindow\',\'width=400,height=200\')" target="mywindow">Did you discover WhatYouWant2Be?<br /><br />';

        for (var i = 0; i < rank.length; i++) {
                str_survey +='\n                &nbsp;&nbsp;&nbsp;<input type="radio" name="rank" value="' + i + ' ">' + ' ' + rank[i] + '<br />';
        }
        str_survey += '\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input class="button" type="submit" value="Submit">';
        str_survey += '\n               </form>';
        str_survey += '\n               <A HREF="javascript:NewWindow()">Results</A>';
        return str_survey;
}

var LessonPlans = new Array (
	"Lesson I", "Multiple Intelligence and Learning Style Assessment",
	"Lesson II", "Career Assessment and Interest Inventory",
	"Lesson III", "Researching Career Options",
	"Lesson IV", "Conducting an Interview",
	"Lesson V", "Creating an Academic Action Plan",
	"Lesson VI", "Writing an Effective Business/Cover Letter",
	"Lesson VII", "Instructional Manual on Computer Skills Pertaining To Interviews"
);

function BuildLessons(current) {
		var str_lessonside = '\n		<span class="sidehead"> Curriculum Components &amp; Lesson Plans</span><br /><br />';
		for (var i = 0; i < LessonPlans.length; i+=2) {
			str_lessonside += LessonPlans[i] + '<br />';
			if (current == ((i>>1)+1))
				str_lessonside += LessonPlans[i+1] + '<br /><br />';
			else
				str_lessonside += '\n<a href="lesson' + ((i>>1)+1) + '.html">' + LessonPlans[i+1] + '</a><br /><br />';
		}
		return str_lessonside;
}

var Comics = new Array (
	"In&nbsp;the&nbsp;Bathroom",
	"Cafeteria Food",
	"Hallucinating",
	"Shades",
	"Why Study?",
	"The answer?",
	"A Teacher?!?",
	"Money Man",
	"Computer Class"
);

function BuildComicHome(current) { return BuildComic(current); }

function BuildComic(current) {
		var str_comicside = '\n		<span class="head"><nobr>Vintage&nbsp;P-Man:</nobr></span><br /><br />';
		for (var i = 0; i < Comics.length; i++) {
			if (current != i+1)	str_comicside += ('\n			&nbsp;&nbsp;<a href="comic' + (i+1) + '.html">' + Comics[i] + '</a><br /><br />');
			else str_comicside += ('\n			&nbsp;&nbsp;' + Comics[i] + '<br /><br />');
		}
		return str_comicside;
}

function BuildPrivacy() {
		var str_Privacyside = '\n		<span class="sidehead"></span><br /><br />';
		return str_Privacyside;
}


var ButtonNames = new Array (
//	'<img src="../images/pman1.gif" height="36" width="36" align="absmiddle" border="0" vspace="0" alt="" />&nbsp;&nbsp;&nbsp; by <i>Y/I\</i>',
//	"pman/intro.html",
//	"9900FF",
//	"BB22FF",
	
	"Greetings",
	"footer/greetings.html",
	"FFFFFF",
	"444444",

	"How To Use This Site",
	"footer/use.html",
	"FFFFFF",
	"444444",

	"Featured&nbsp;Career<br />Presentation",
	"index.php?action=featured",
	"FFFFFF",
	"CC0000",

//	"Featured&nbsp;Career<br />Presentation",
//	"profiles/EthelPrice_F.html",
//	"FFFFFF",
//	"CC0000",
	
	"View Intro",
	"intro.html",
	"FFFFFF",
	"444444"

//	"Special<br />Features",
//	"",
//	"F7AD00",
//	"FFEE22",
	
//	"Career<br />Links",
//	"",
//	"317352",
//	"22BB88",
	
//	"Message<br />Boards",
//	"",
//	"999999",
//	"BBBBBB"
);

function NavButtons(HrefRoot) {
	var str_buttons = '	<table border="0" cellpadding="0" cellspacing="0"><tr>';
	if (!HrefRoot)
		HrefRoot = '../';
	for (var i = 0; i< ButtonNames.length; i+=4) {
		str_buttons += '\n			<td class="header" bgcolor="' + buttonnames[i+2] + '" align="center" valign="middle" nowrap><a href="';
		if (buttonnames[i+1] == '')
			str_buttons += 'JavaScript:DoNothing();';
		else
			str_buttons += hrefroot + buttonnames[i+1];

		str_buttons += '" class="NavLinks">' + ButtonNames[i] + '</a></td><td align="right" bgcolor="#'
					+ buttonnames[i+2] + '"><img src="../images/button_' + buttonnames[i+2] + '.gif" width="11" height="36" border="0" alt="" /></td>';
		if (i != ButtonNames.length-4)
			str_buttons += '<td width=20 bgcolor="white">&nbsp;</td>';
	}
//	str_buttons += '\n	</tr></table><hr><br />';

	str_buttons += '\n	</tr></table>';
	return str_buttons;
}

function HomeButtons(HrefRoot) {
//	ButtonNames[0] = "View Intro";
//	ButtonNames[1] = "intro.html";
//	ButtonNames[2] = "000000";
//	ButtonNames[3] = "FFFFFF";
//	ButtonNames[4] = '<img src="images/pman1.gif" height="36" width="36" align="absmiddle" border="0" vspace="0" alt="" />&nbsp;&nbsp;&nbsp; by <i>Y/I\</i>';
	var str_buttons = '<div id="HomeButtons"><table border="0" cellpadding="0" cellspacing="0">';
        str_buttons += '<tr><td>&nbsp;</td></tr>\n';
        str_buttons += '<tr><td>&nbsp;</td></tr>\n';
        str_buttons += '<tr><td>&nbsp;</td></tr>\n';
        str_buttons += '<tr><td>&nbsp;</td></tr>\n';
        str_buttons += '<tr><td>&nbsp;</td></tr>\n';
	if (!HrefRoot)
		HrefRoot = '../';
	for (var i = 0; i< ButtonNames.length; i+=4) {
		str_buttons += '\n	<tr><td bgcolor="' + buttonnames[i+2] + '" align="center" valign="middle"><a href="';
		if (buttonnames[i+1] == "")
			str_buttons += 'JavaScript:DoNothing();';
		else
			str_buttons += hrefroot + buttonnames[i+1];
		str_buttons += '">' + ButtonNames[i] + '&nbsp;&nbsp;</a></td>\
		<tr><td height=15></td></tr>';
//		str_buttons += "">' + ButtonNames[i] + '&nbsp;&nbsp;</a></td>\
//		<td bgcolor="' + buttonnames[i+2] + '"><img src="images/button_' + buttonnames[i+2] + '.gif" width=11 height=36 align="absmiddle" border="0" alt="" /></td></tr>\
//		<tr><td height=15></td></tr>'
	}
	str_buttons += '</table></div>';
	document.write(str_buttons);
}

// Function to cycle through sponsor logos
var LogoIdx = 0;
var SponsorLogos = [
	'images/Sponsors/att.gif',
//	'images/Sponsors/canon.jpg',
//	'images/Sponsors/coke. gif',
//	'images/Sponsors/hplogo.jpg',
//	'images/Sponsors/kodak.jpg',
//	'images/Sponsors/sony. gif'
	'images/Sponsors/fbla3.gif',
	'images/Sponsors/sbc2.gif',
	'images/Sponsors/ITT-logo4.gif',
	'images/Sponsors/acg2.gif',
	'images/Sponsors/WritingMaster.gif'
];
function ShowSponsors() {
	setInterval("SlideShow()", 4000);	// change delay time in seconds
}

function SlideShow() {
	if (LogoIdx++ == SponsorLogos.length)
		LogoIdx = 0;

	if (document.layers)
		document["SponsorLayer"].backgroundImage = 'url("' + SponsorLogos[LogoIdx] + '")';
	else
		document["SponsorImage"].style.backgroundImage = 'url(" ' + SponsorLogos[LogoIdx] + '")';
}

function DoNothing() { var x=5; }

//	Debug Function for spitting out text to a new window - read code fragments.
function Debug(str,code) {
	str_debug = '';
	if ( code ) { str_debug += '<plaintext>'; }
	str_debug += '<html>\n<head>\n	<link rel=stylesheet  type="text/CSS" href="http://WhatDoYouWant2Be.org/css/side.html">'
			  + '\n	<script language="JavaScript" src="http://WhatDoYouWant2Be.org/js/lessons.js" type="text/javascript"></script>'
			  + '\n</head>'
			  + '\n\n<body marginheight="0" marginwidth="0">\n';
	str_debug += str + '\n</body>\n</html>';
	win_debug = window.open();
	win_debug.document.write(str_debug);
}
