﻿/*

Below, each seminar has a block of code that contains its 
attributes.

If you want to add a new seminar, just copy-and-paste one of
the existing blocks, and modify the values in quotes.? The
values of "sem_title_link" and "sem_leader_link" have to
correspond to locations of the files you've created in the
folders?seminar_details and?leader_profiles, respectively.

This new seminar will immediately appear in the roster and
on the registration form.? If you want to remove a seminar,
delete its code block.? If you want to remove a seminar
temporarily from the web site, you can surround the block
with comment tags exactly like those that surround the
text block you are reading now. 

The seminar the later be restored by deleting the comment tags.

If any of the seminar titles or descriptions must contain
quote marks, you have to "escape" them by placing a
backslash in front of the quote, so that they can be
distinguished from the quotes and begin and end the entire
description.  Observe the escaped quotes around the word 
"strategy:"

sem_description.push("What is \"strategy\"? Ask a hundred
	CEO's this question and you get a hundred different
	answers");

Lastly, if a seminar does not have all the attributes shown,
you must still declare the attribute and specify space(s)
for the value.? For example, if a seminar's cost had not yet
been determined, put a placeholders in its code block like
this:

sem_cost.push (" ");

*/

sem_title = new Array();
sem_title_link = new Array();
sem_description = new Array();
sem_leader = new Array();
sem_leader_link = new Array();
sem_cost = new Array();

sem_title.push ("Split Second Selling");
sem_title_link.push("Split_Second_Selling.html");
sem_description.push("March 25, 2008 & October 2, 2008 - Led by Dr. Drew Stevens, this one day seminar incorporates dialogue, discussion and presentation elements. In addition to course materials, you will receive a copy Drew Stevens' book, Split Second Selling: Achieving Winning Results in the Sales Game, and be eligible for a free 30 minute follow-up phone consultation within thirty days following the seminar.");
sem_leader.push("Dr. Drew Srevens");
sem_leader_link.push("stevens_drew.html");
sem_cost.push("$595");

sem_title.push ("Raising the Bar on Customer Service");
sem_title_link.push("Split_Second_CS.html");
sem_description.push("May 1 & September 25, 2008 - Dr. Drew Stevens leads this one-day seminar designed to help you improve your company's external and internal custoimer service skills. You will take an assessment to understand how your behavioral tendencies affect communication with others, an interactive workbook including practice skills that inspire cultural change, and a free 30-minute private follow-up phone consultation with Dr. Drew within 30-days of the seminar.");
sem_leader.push("Dr. Drew Srevens");
sem_leader_link.push("stevens_drew.html");
sem_cost.push("$595");

sem_title.push ("Power Writing");
sem_title_link.push("power_writing.html");
sem_description.push("March 27 & October 31, 2008 - 8am - 12pm - Put your best foot forward through written communication. This hands-on, interactive seminar will help you write crisply, and concisely. The half-day workshop will provide a combination of lecture, discussion, and writing exercises. You will be asked to forward a sample of your writing for critique and feedback.");
sem_leader.push("Dick Weiss");
sem_leader_link.push("weiss_dick.html");
sem_cost.push("$195");

sem_title.push ("Innovation and Creativity: Putting Your Staff's Ideas to Work");
sem_title_link.push("innovation.html");
sem_description.push("October 23, 2008 - 8am - 12pm -Innovation is a hot topic in today’s business publications as a strategy for engaging employees, creating new products and services and fueling business growth. Many companies struggle with how to create an environment that fosters creativity and innovation and leads to tangible business results. This half-day session will introduce you to practices that can facilitate creativity and innovation in the workplace. You will complete a self-assessment that provides feedback on your creative style and suggestions on how to enhance personal creativity and innovation on the job..");
sem_leader.push("Lee Konczak");
sem_leader_link.push("konczak_lee.html");
sem_cost.push("$295");

sem_title.push ("Managing Conflict & Resistance");
sem_title_link.push("managing_conflict.html");
sem_description.push("May 6th & November 20, 2008 - This one-day program is designed to help you understand your conflict style and how it affects other people. You will study how other people deal with conflict and learn techniques to reduce opposition and resistance.");
sem_leader.push("Ben Dumonceaux");
sem_leader_link.push("dumonceaux_ben.html");
sem_cost.push("$495");

sem_title.push ("A.J.I.T. Inventory Management for Small to Medium-Sized Companies");
sem_title_link.push("AJIT.html");
sem_description.push("September 30th, 2008 - 8am - 12pm - Lean operations and just-in-time deliveries are the big buzzwords in management writing today, however, there is a lack of information on inventory management for small to mid-sized companies and most organizations lack sufficient buying power to fully implement JIT inventory systems. A.J.I.T. provides a step-by-step process that any company can use. This program will teach you how to analyze your business’ consumption, customer order patterns and service levels to dramatically reduce your total inventory holding and materials costs. This seminar is designed to help you implement AJIT operations in your organization through engaging exercises and discussion. You will be encouraged to use “real life” situations to develop solutions to your day-to-day problems..");
sem_leader.push("Bill Binder");
sem_leader_link.push("binder_bill.html");
sem_cost.push("$295");

sem_title.push ("Managing Stress for a Healthier Life");
sem_title_link.push("managing_stress.html");
sem_description.push("March 11& October 30, 2008 - This half-day program is designed to help you identify the stressors in your life, learn the difference between ‘good stress’ and ‘bad stress’, and assess your stress qualities. You will learn techniques for reducing stress, develop strategies for managing the stresses that you can’t get rid of, and learn relaxation techniques to calm down during and after a stressful day.");
sem_leader.push("Ben Dumonceaux");
sem_leader_link.push("dumonceaux_ben.html");
sem_cost.push("$195");

sem_title.push ("Emotional Intelligence");
sem_title_link.push("emotional_intelligence.html");
sem_description.push("April 16 & November 6, 2008 - Mary Ann Moore leads this one-day seminar that eplores the EI model. After an introduction to EI, you will take a self assessment to find your personal \"EQ.\" You will then examine case studies and learn to apply EI theory in work situations.");
sem_leader.push("MaryAnn Moore");
sem_leader_link.push("moore_maryann.html");
sem_cost.push("$595");

sem_title.push ("Leadership: Creating a Climate for Successs");
sem_title_link.push("leadership.html");
sem_description.push("March 18 & October 28, 2008 - Mary Ann Moore has developed this one-day course to to help you improve the climate where you work. You will be challenged to think about your organization's climate and what you can do to improve it. You will learn what you can do to fight low morale, reduce conflict and create a happy, high-functioning team.");
sem_leader.push("MaryAnn Moore");
sem_leader_link.push("moore_maryann.html");
sem_cost.push("$595");

sem_title.push ("Working With The Media");
sem_title_link.push("media.html");
sem_description.push("October 31, 2008 - 12:30pm - 4:30pm - This half-day seminar is designed to help you exploit media opportunities and to communicate effectively in a crisis. Participants will learn to craft materials that editors will find compelling and persuasive, handle an interview, manage relationships effectively with reporters and editors, turn the volume up on good works, turn it down on negative publicity, feed the media beast and keep it at bay..");
sem_leader.push("Dick Weiss");
sem_leader_link.push("weiss_dick.html");
sem_cost.push("$195");

sem_title.push ("Professional Conversations");
sem_title_link.push("difficult_conversations.html");
sem_description.push("April 22 & November 18, 2008 - Wendy Werner guides you through a half-day of frank discussion about one of life's most difficult tasks. After your orientation, you will take an assessment to guage your level of comfort when things get uncomfortable. You will learn techniques for speaking with your boss, your peers and your subordinates, then practice them in a controlled environment.");
sem_leader.push("Wendy Werner");
sem_leader_link.push("werner_wendy.html");
sem_cost.push("$295");

sem_title.push ("Time Management for Results");
sem_title_link.push("time_management.html");
sem_description.push("March 20 & November 13, 2008 - 8am - 12pm - Bill Binder leads this half-day seminar comprised of a presentation, self-analysis exercises, written examples and discussion. You will learn to develop focus, establish priorities, and develop methods to deal with emergencies and interruptions. You will receive an application manual and a set of reminder cards to build a foundation for success.");
sem_leader.push("Bill Binder");
sem_leader_link.push("binder_bill.html");
sem_cost.push("$195");

sem_title.push ("Who is managing your career?");
sem_title_link.push("career_management.html");
sem_description.push("March 20 & November 13, 2008 - 12:30pm - 4:30pm - This seminar will help you become the CEO of your career, discover the importance of “FIT” in your success with your organization, build on your strengths and master the keys of networking.");
sem_leader.push("Bill Binder");
sem_leader_link.push("binder_bill.html");
sem_cost.push("$195");

sem_title.push ("Leadership 101");
sem_title_link.push("leadership101.html");
sem_description.push("April 10, 2008 - 8am - 12pm - Leadership 101. Leadership is the power to influence people to accomplish your goals. Every position has inherent power associated with it. How do you differentiate yourself from your predecessors? How do you get the most out of your people? This seminar is for new supervisors and an excellent refresher for experienced managers. You will take home reference materials to build a foundation for success.");
sem_leader.push("Bill Binder");
sem_leader_link.push("binder_bill.html");
sem_cost.push("$295");

sem_title.push ("Power & Politics in the Workplace");
sem_title_link.push("politics.html");
sem_description.push("April 22 & November 18, 2008 - This seminar will help you think more strategically about work and the ways in which office power and political dynamics impact your opportunities to succeed. You will learn how to become more politically savvy in the work place and recognize political situations and potential strategies for dealing with them effectively.");
sem_leader.push("Wendy Werner");
sem_leader_link.push("werner_wendy.html");
sem_cost.push("$195");

sem_title.push ("Leadership Through People Skills (in Partnership with Psychological Associates)");
sem_title_link.push("leadership_through.html");
sem_description.push("February 26-28, May 20-22, August 12-14 & October 14-16, 2008 - Coaching to gain support, coordinate team efforts and improve performance is a critical leadership skill. Without being able to recognize and adapt to the four distinct styles of on-the-job behavior, a leader will be less than optimally effective. Through this seminar leaders will learn how to work with people's uniqueness in unique ways.");
sem_leader.push("Barrett Baebler");
sem_leader_link.push("baebler_barrett.html");
sem_cost.push("$1,995");




 




// ----------------------------------------------------------------------
//
//  do not modify any code below this line
//
// ----------------------------------------------------------------------

function displaySeminars (attributes, width, checkbox, search) {

// "attributes" must be a value containing any of the identifiers
// "title" "description" "leader" "cost" separated by commas
// and these attributes will be displayed in the order provided

// "width" specifies the width of the table in pixels

// if "checkbox" is true, then a column is added for a checkbox
// allowing users to select seminars from a list

// if a value is provided in "search," then only seminars
// that contain that phrase will be displayed.

if (!width) {width=400;}
	
var i,j,k;
var cell_contents = "";
var output = "";
var attributes_arr = attributes.split (",");

// table heading

output += "<table class=\"special1\" width=" + width + "cellspacing=\"0\" cellpadding=\"4\">\n";
output += "<tr bgcolor=\"#aaaaaa\">\n";

for (i=0; i<attributes_arr.length; i++) {
	output += "<td><nobr><b><font color=\"#ffffff\">" + wordCap(attributes_arr[i]) + "</font></b></nobr></td>\n";
	}

// if "checkbox" is true, append a heading for the column containing the selection checkbox

if (checkbox) {
	output += "<td><nobr><b><font color=\"#ffffff\">Select</font></b></nobr></td>\n";
	}

output += "</tr>";

// table rows
for (i=0; i<sem_title.length; i++) {

	// give even-numbered rows a different background color
		k = i/2;
		if (k == Math.round(k)) {
			output += "<tr bgcolor=\"#eeeeee\">";
			}
		else {
			output += "<tr>";
			}
	// end row background color calculation
	
	// table cells
	for (j=0; j<attributes_arr.length; j++) {
		cell_contents = eval("sem_" + attributes_arr[j] + "[" + i + "]");
		
		output += "<td valign=\"top\" class=\"special1\">"
		
		// wrap cell contents in a link if one exists
		if (attributes_arr[j] == "title" && sem_title_link[i]) {
			output += "<a href=\"\" onclick=\"window.open('seminar_details/" + sem_title_link[i];
			output += "','seminar_detail_win',";
			output += "'resizable=yes,scrollbars=yes,toolbar=no,location=no,directories=no,status=yes,menubar=no,width=620,height=500');return false;\">";
			output += cell_contents + "</a>\n";
			}
		else if (attributes_arr[j] == "leader" && sem_leader_link[i]) {
			output += "<a class=\"special\" href=\"javascript:popUp('leader_profiles/" + sem_leader_link[i] + "')\">" + cell_contents + "</a>\n";
			}
		else {
			output += cell_contents;
			}
			
		output += "</td>\n";
		} // end for j
	
	// if "checkbox" is true, append an additional table cell containing a checkbox
	
	if (checkbox) {
		output += "<td valign=\"top\" align=\"center\" class=\"special1\"><input name=\"Seminar[]\" value=\"" + sem_title[i] + "\" type=\"checkbox\"></td>\n";
		}
		
	// end table cells
		
	output += "</tr>";
	} // end for i
	
// table footer
output += "</tr>\n";
output += "</table>\n";

document.write (output);

return false;
}


function wordCap(string) {

	// capitalizes the first letter of every word in a string, and sets
	// subsequent letters of each word in lowercase
	
	var strArray = string.split(' ');
	var newStr = '';
	var i =0;
	var firstChar = '';
	var restChars = '';

	for (i=0; i<strArray.length; i++) {
		firstChar = strArray[i].substr(0,1);
		restChars = strArray[i].substr(1);
		newStr += firstChar.toUpperCase() + restChars.toLowerCase() + ' ';
	}
	
	newStr = newStr.substr(0,newStr.length-1);
	return newStr;
}


