var imgSrc = "http://www.mcgrawhill.ca/college/olcsupport/mcshane6e/selfassess/";
// -----------------------------
function GetSelection(radios) {
for (var i=0; i<radios.length; i++) {
	if (radios[i].checked) {
		return i;
	}
}
return 99;
}
// ---------------------------------------
var ansWin = null;
var qCount = 11;
// ---------------------------------------
function WriteResponse(content) {
if (ansWin && !ansWin.closed) {
	ansWin.close()
}
ansWin = window.open("","","toolbar=NO,location=NO,resizable,scrollbars,width=650,height=450");
ansWin.document.write(content);
ansWin.document.close();
}
// ---------------------------------------
function GradeAssess(theForm) {
// add all the values
var cntlname; var cont; var atotal = 0; var tmp;
for (var i = 0; i < qCount; i++) {
	cntlname = "QX"+ (i+1);
	tmp = GetSelection(theForm[cntlname]);
	if (tmp == 99) {
		alert("One or more questions are unanswered. Please complete the form and try again.");
		return false;
	}
	cont = theForm[cntlname][tmp].value;
	atotal += (cont/1);
}
var llabel = "" + " Low 0";
var rlabel = "" + "11 High";
var rsp = "";
rsp += BeginPage();
rsp += GetFeedback0();
rsp += MakeTable(0,11,atotal,llabel,rlabel,"","","",3,3,5);
rsp += GetFeedback1();
rsp += EndPage();
WriteResponse(rsp);
return false;
}
// ---------------------------------------
function GetFeedback0() {
var winCode = "<h3 class=\"explanation\">Understanding Your Score on the \"It All Makes Sense\" Self-assessment</h3><p>This self-assessment offers a small test of your \"common sense\" or personal theories about life in organizations. These statements are not intended to be representative of questions that you might find on a final exam. Rather, they relate to specific aspects of organizational behaviour that are often misunderstood, even among OB scholars!<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Scores on this self-assessment range from 0 to 11. The higher the score, the closer your personal theories are to current organizational behaviour knowledge. There are no norms for this scale. Instead, the results provide further details regarding the statements that were answered incorrectly.</p><hr noshade size=\"1\">\n";
return winCode
}
// ---------------------------------------
function GetFeedback1() {
var winCode = "<p>Feedback:</p>\n<p>1. A happy worker is a productive worker. <b>TRUE (sort of...).</b>\n<blockquote>\nPeople tend to answer \"True\" to this age-old statement, whereas OB scholars have said for many years that employees with the highest job satisfaction don't perform much better than unhappy employees. But very recent research supports the common sense view to some extent. Happy employees are moderately more likely to perform better on the job. For details, see Chapter 4.\n</blockquote></p>\n<p>2. Decision makers tend to continue supporting a course of action even though information suggests that the decision is ineffective. <b>TRUE.</b>\n<blockquote>\nThis statement represents the escalation of commitment phenomenon, which is described in Chapter 8. There are several reasons why people continue to support a bad decision. These include: (a) self-justification &#151; people want to present themselves in a positive light; (b) gambler's fallacy &#151; decision makers under-estimate the risk and over estimate their probability of success; (c) perceptual blinders &#151; decision makers do not see the problems soon enough; and (d) closing costs &#151; decision makers will persist because the costs of ending the project are high or unknown.\n</blockquote></p>\n<p>3. Organizations are more effective when they prevent conflict among employees. <b>FALSE.</b>\n<blockquote>\nActually, the correct answer is \"it depends on the type of conflict.\" In Chapter 13, we distinguish task-oriented from socioemotional conflict. We also discuss both the benefits of and problems with conflict. Briefly, task-oriented conflict is potentially beneficial because it improves decision making.\n</blockquote></p>\n<p>4. It is better to negotiate alone than as a team. <b>FALSE.</b>\n<blockquote>\nAs described in the latter part of Chapter 13, team listening is an important virtue in negotiations. The more people listening, the more your side will hear valuable information and understand the subtle nonverbal cues communicated by the other party. This information makes it easier to identify low-cost concessions or proposals that will satisfy the other side.\n</blockquote></p>\n<p>5. Companies are most effective when they have a strong corporate culture. <b>FALSE.</b>\n<blockquote>\nAs with so many organizational behaviour concepts, the more precise answer is \"it depends.\" Chapter 16 states that there is a weak relationship between corporate culture strength and organizational performance. Three reasons are offered. First, a strong culture can be a problem when the values are inconsistent with the organization's environment. Second, a very strong culture can blind employees from seeing other perspectives. Third, a very strong culture suppresses dissenting values that may be important in the future as the environment changes.\n</blockquote></p>\n<p>6. Employees perform better without stress. <b>FALSE.</b>\n<blockquote>\nAs we learn in Chapter 7, some level of stress is essential for life. We need a certain level of stress to energize us. The problem is that we sometimes (or often) experience stress beyond this beneficial level. \n</blockquote></p>\n<p>7. Effective organizational change always begins by pinpointing the source of its current problems.. <b>FALSE.</b>\n<blockquote>\nThis statement refers to the dominant model of problem solving and organizational change, namely, to identify the problem before looking for solutions. In Chapter 17, we introduce an emerging perspective of organizational change called appreciative inquiry. According to this model, dwelling on problems can bog down the change process and degenerate into a political quagmire. Instead, change agents need to focus the group on its potential and positive elements.\n</blockquote></p>\n<p>8. Female leaders involve employees in decisions to a greater degree than do male leaders. <b>TRUE.</b>\n<blockquote>\nThere is lot of debate about whether and how men and women lead differently. As we learn at the end of Chapter 14, men and women are mostly similar in their leadership styles. But there is one exception: female leaders involve employees in decisions to a greater degree than do male leaders. Of course, some female leaders are not participative, and some male leaders are very participative. But generally, female leaders are more participative.\n</blockquote></p>\n<p>9. People in Japan value group harmony and duty to the group (high collectivism) more than do Canadians or Americans (low collectivism). <b>FALSE.</b>\n<blockquote>\nChances are, even your instructor will get this statement wrong. People widely believe that Japanese culture is very group-oriented. According to recent studies, this simply isn't true. The error relates back to how group orientation (called collectivism) was measured in a major study of IBM employees over 20 years ago. Scholars now conclude that Japanese culture has fairly low collectivism and that the famous early study measured collectivism incorrectly.\n</blockquote></p>\n<p>10. Top-level executives tend to exhibit a Type A behaviour pattern (i.e., hard-driving, impatient, competitive, short-tempered, strong sense of time urgency, rapid talkers). <b>FALSE.</b>\n<blockquote>\nChapter 7 introduces the concepts of Type A and Type B behaviour patterns. While most people think senior executives are hard-driving Type As, research suggests that they tend to exhibit more of the Type B behaviour pattern. In other words, they tend to work steadily, take a more relaxed approach to life, and be even-tempered. In fact, these features may provide superior human relations skills which give Type B people more promotions. \n</blockquote></p>\n<p>11. Employees usually feel overreward inequity when they are paid more than coworkers performing the same work. <b>FALSE.</b>\n<blockquote>\nWhen it comes to money, people tend to play interesting mind games to avoid feeling overreward inequity. Students will read in Chapter 5 that overrewarded employees often distort their perceived inputs or outcomes to reduce inequitable feelings. For example, they might begin to think that their higher pay is justified because they offer more skills or experience than they previously thought. They might think: \"This large bonus means that the company values my talent more than I thought!\"\n</blockquote></p>\n";
return winCode
}
// ---------------------------------------
function MakeTable(datamin,datamax,dscore,ll,lr,lt1,lt2,lt3,bl1,bl2,bl3) {
// bl1 + bl2 + bl3 should equal spread
var spread = datamax - datamin;
var maxwidth = 550;
var dfactor = (maxwidth - (maxwidth%spread))/spread;
var gwidth = spread * dfactor;
var gscore = (dscore - datamin) * dfactor;
var ptrloc = gscore - 7;
var ptricon;
if ( (ptrloc) < 0 ) {
	ptricon = "redpointerleft.gif\" width=\"8\"";
	ptrloc = gscore
} else {
	if ( (ptrloc + 15) > gwidth ) {
		ptricon = "redpointerright.gif\" width=\"8\"";
		ptrloc = gscore - 8
	} else {
		ptricon = "redpointer.gif\" width=\"15\""
	}
}
// var padder = 0;
var bar1 = bl1*dfactor;
var bar2 = bl2*dfactor;
var bar3 = gwidth - (bar1 + bar2);
var winCode = "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\"><tr valign=\"bottom\"><td></td><td></td><td width=\"" + gwidth + "\" align=\"center\"><table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\"><tr valign=\"bottom\" align=\"center\"><td class=\"smlabel\" width=\"33%\">" + lt1 + "</td><td class=\"smlabel\" width=\"34%\">" + lt2 + "</td><td class=\"smlabel\" width=\"33%\">" + lt3 + "</td></tr></table></td><td></td><td></td></tr><tr valign=\"bottom\"><td rowspan=\"2\" align=\"right\" valign=\"middle\" class=\"smlabel\">" + ll + "</td><td align=\"right\"><img src=\"" + imgSrc + "whitespacer.gif\" width=\"4\" height=\"1\"><img src=\"" + imgSrc + "blackspacer.gif\" width=\"1\" height=\"25\"></td><td nowrap align=\"center\"><img src=\"" + imgSrc + "grayspacer.gif\" width=\"" + bar1 + "\" height=\"10\"><img src=\"" + imgSrc + "grayspacer.gif\" width=\"" + bar2 + "\" height=\"10\"><img src=\"" + imgSrc + "grayspacer.gif\" width=\"" + (bar3) + "\" height=\"10\"></td><td><img src=\"" + imgSrc + "blackspacer.gif\" width=\"1\" height=\"25\"><img src=\"" + imgSrc + "whitespacer.gif\" width=\"4\" height=\"1\"></td><td rowspan=\"2\" valign=\"middle\" class=\"smlabel\">" + lr + "</td></tr><tr valign=\"top\"><td align=\"right\"><img src=\"" + imgSrc + "whitespacer.gif\" width=\"4\" height=\"1\"><img src=\"" + imgSrc + "blackspacer.gif\" width=\"1\" height=\"20\"></td><td nowrap valign=\"bottom\"><img src=\"" + imgSrc + "whitespacer.gif\" width=\"" + ptrloc + "\" height=\"1\"><img height=\"12\" src=\"" + imgSrc + ptricon + "></td><td><img src=\"" + imgSrc + "blackspacer.gif\" width=\"1\" height=\"20\"><img src=\"" + imgSrc + "whitespacer.gif\" width=\"4\" height=\"1\"></td></tr></tr></table>";
winCode += "<p align=\"center\"><font color=\"#cc0000\"><b>Your score was " + dscore + ".</b></font> The range of possible scores is from " + datamin + " to " + datamax + ".</p>";
return winCode
}
// ---------------------------------------
function BeginPage() {
var winCode = "<html><head><title>Organizational Behaviour Self-Assessment Exercises</title>\n\n";
winCode += "<script language=\"JavaScript\">\n<!--\n// ---------------------------\n";
winCode += "function printScreen(){\nif (window.print) {\n window.print();\n} else {\n alert(\"Your browser does not support printer links embedded within a web page. PC users, however, can right-click within the window and a popup menu will appear from which you can print. Macintosh users can access a similar menu by holding down the mouse for several seconds.\");\n}\n}\n";
winCode += "//-" + "->\n</script>\n" + GetStyles() + "</head>\n";
winCode += "<body bgcolor=\"#ffffff\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">\n<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">\n<tr><td bgcolor=\"#000000\"><font size=\"4\">&nbsp;</font></td></tr>\n</table>\n<table border=\"0\" width=\"100%\" cellpadding=\"20\" cellspacing=\"0\">\n<tr valign=\"top\"><td>\n\n";
return winCode
}
//----------------------------------------
function GetStyles() {
return "\n<link href=\"http://www.mcgrawhill.ca/college/olcsupport/mcshane6e/selfassess/selfassess.css\" type=\"text/css\" rel=\"stylesheet\"></link>\n";
var winCode = "\n<style>\n<!-- For some reason Netscape seems to go for case sensitivity. Here's uppercase tags. -->\nA\n{\ntext-decoration: none;\n}\nA:HOVER\n{\ntext-decoration: underline;\n}\nA.hint \n{\ncolor: #999999;\ntext-decoration: none;\nfont-weight: bold;\n}\nA.nav \n{\nfont-size: 10px;\ncolor:#999999;\ntext-decoration: none;\nfont-weight:bold;\n}\nA.navCur \n{\nfont-size: 10px;\ncolor:#FFFFFF;\ntext-decoration: none;\nfont-weight:bold;\n}\nBODY \n{\nfont-family: verdana, sans-serif;\nfont-size: 12px;\n}\nTABLE\n{\nfont-family: verdana, sans-serif; \nfont-size: 12px;\n}\nTR\n{\nfont-family: verdana, sans-serif; \nfont-size: 12px;\n}\nTD\n{\nfont-family: verdana, sans-serif; \nfont-size: 12px;\n}\nTD.smlabel\n{\nfont-family: verdana, sans-serif; \nfont-size: 10px;\ncolor: #999999;\n}\nP\n{\nfont-family: verdana, sans-serif; \nfont-size: 12px\n}\np\n{\nfont-family: verdana, sans-serif; \nfont-size: 12px;\n}\nUL\n{\nfont-family: verdana, sans-serif; \nfont-size: 12px;\n}\nOL\n{\nfont-family: verdana, sans-serif;\nfont-size: 12px;\n}\nLI\n{\nfont-family: verdana, sans-serif;\nfont-size: 12px;\n}\nH3 \n{\nfont-family: verdana, sans-serif;\nfont-size: 16px;\nfont-weight: bold;\ncolor: #000000;\nmargin: 0px;\npadding: 0px;\npadding-bottom: 3px;\npadding-top: 2px;\n}\n<!-- For some reason Netscape seems to go for case sensitivity. Here's lowercase tags. -->\na\n{\ntext-decoration: none;\n}\na:hover\n{\ntext-decoration: underline;\n}\na.hint \n{\ncolor: #999999;\ntext-decoration: none;\nfont-weight: bold;\n}\na.nav \n{\nfont-size: 10px;\ncolor:#999999;\ntext-decoration: none;\nfont-weight:bold;\n}\na.navCur \n{\nfont-size: 10px;\ncolor:#FFFFFF;\ntext-decoration: none;\nfont-weight:bold;\n}\nbody \n{\nfont-family: verdana, sans-serif;\nfont-size: 12px;\n}\ntable\n{\nfont-family: verdana, sans-serif; \nfont-size: 12px;\n}\ntr\n{\nfont-family: verdana, sans-serif; \nfont-size: 12px;\n}\ntd\n{\nfont-family: verdana, sans-serif; \nfont-size: 12px;\n}\ntd.smlabel\n{\nfont-family: verdana, sans-serif; \nfont-size: 10px;\ncolor: #999999;\n}\nul\n{\nfont-family: verdana, sans-serif; \nfont-size: 12px;\n}\nol\n{\nfont-family: verdana, sans-serif;\nfont-size: 12px;\n}\nli\n{\nfont-family: verdana, sans-serif;\nfont-size: 12px;\n}\nh3 \n{\nfont-family: verdana, sans-serif;\nfont-size: 16px;\nfont-weight: bold;\ncolor: #000000;\nmargin: 0px;\npadding: 0px;\npadding-bottom: 3px;\npadding-top: 2px;\n}\n.explanation\n{\ncolor: #0000ff;\n}\n.footer\n{\nfont-size: 10px;\n}\n</style>\n\n";
return winCode;
}
// ---------------------------------------
function EndPage() {
var winCode = "\n\n<p class=\"footer\"><hr noshade size=\"1\" />\n<font face=\"Symbol\" color=\"ff0000\">&#168;</font> <a href=\"javascript:printScreen()\"><b>Print Screen</b></a>\n</p>\n<p class=\"footer\"><a href=\"mailto:highered_web@mcgrawhill.ca\">Comments or questions?</a><br>Copyright &copy; 2004 McGraw-Hill Ryerson Limited<br>&nbsp;</p></td></tr></table></body></html>";
return winCode
}
