myScore=0
guessNum=0
myAdd=0
qNum=0
str1="<p>1) When you confront a problem are you expected to:"
str1A=""
str1D=""
str2="<p>2) Are your financial rewards based upon:"
str2A=""
str2D=""
str3="<p>3) If you and a co-worker had a serious disagreement, would you be more likely to: "
str3A=""
str3D=""
str4="<p>4) If you had a question that only your CEO could answer, would you:"
str4A=""
str4D=""
str5="<p>5) For most of your assignments, do you:"
str5A=""
str5D=""
str6="<p>6) Are you rewarded more for:"
str6A=""
str6D=""
str7="<p>7) If you left at 5 p.m. each day and never worked weekends, would you be viewed as:"
str7A=""
str7D=""
str8="<p>8) If you left a meeting early to attend your child&#39;s dance recital, would your behaviour be:" 
str8A=""
str8D=""
str9="<p>9) Do you think your company would downsize:"
str9A=""
str9D=""
str10="<p>10) To what extent does your performance appraisal process assess employees&#39; adherence to corporate values?"
str10A=""
str10D=""

str11="<p>11) Do most employees join your organization primarily:"

str11QA="Because they believe it provides a valuable product or service for humanity?"
str11QD="For the pay?"

str12="<p>12) Is your organization in business primarily to:"

str12QA="Create wealth for its shareholders or owners?"
str12QD="Advance a cause?"

var anly = new Array();


anly[0]="None of these cultural variables are inherently good or bad. Any of them can characterize a successful organization -- as long as the values professed by the leaders are in sync with the actual culture and the organization recruits and retains employees who thrive in such an environment."
anly[1]="None of these cultural variables are inherently good or bad. Any of them can characterize a successful organization -- as long as the values professed by the leaders are in sync with the actual culture and the organization recruits and retains employees who thrive in such an environment."
anly[2]="None of these cultural variables are inherently good or bad. Any of them can characterize a successful organization -- as long as the values professed by the leaders are in sync with the actual culture and the organization recruits and retains employees who thrive in such an environment."
anly[3]="None of these cultural variables are inherently good or bad. Any of them can characterize a successful organization -- as long as the values professed by the leaders are in sync with the actual culture and the organization recruits and retains employees who thrive in such an environment."
anly[4]="None of these cultural variables are inherently good or bad. Any of them can characterize a successful organization -- as long as the values professed by the leaders are in sync with the actual culture and the organization recruits and retains employees who thrive in such an environment."
anly[5]="None of these cultural variables are inherently good or bad. Any of them can characterize a successful organization -- as long as the values professed by the leaders are in sync with the actual culture and the organization recruits and retains employees who thrive in such an environment."
anly[6]="None of these cultural variables are inherently good or bad. Any of them can characterize a successful organization -- as long as the values professed by the leaders are in sync with the actual culture and the organization recruits and retains employees who thrive in such an environment."
anly[7]="None of these cultural variables are inherently good or bad. Any of them can characterize a successful organization -- as long as the values professed by the leaders are in sync with the actual culture and the organization recruits and retains employees who thrive in such an environment."
anly[8]="None of these cultural variables are inherently good or bad. Any of them can characterize a successful organization -- as long as the values professed by the leaders are in sync with the actual culture and the organization recruits and retains employees who thrive in such an environment."
anly[9]="None of these cultural variables are inherently good or bad. Any of them can characterize a successful organization -- as long as the values professed by the leaders are in sync with the actual culture and the organization recruits and retains employees who thrive in such an environment."
anly[10]="None of these cultural variables are inherently good or bad. Any of them can characterize a successful organization -- as long as the values professed by the leaders are in sync with the actual culture and the organization recruits and retains employees who thrive in such an environment."
anly[11]="None of these cultural variables are inherently good or bad. Any of them can characterize a successful organization -- as long as the values professed by the leaders are in sync with the actual culture and the organization recruits and retains employees who thrive in such an environment."
anly[12]="None of these cultural variables are inherently good or bad. Any of them can characterize a successful organization -- as long as the values professed by the leaders are in sync with the actual culture and the organization recruits and retains employees who thrive in such an environment."


var qstn = new Array();

qstn[1] = str1 +"<p><img src='http://www.cmctraining.org/images/checkbox_red.gif' width='26' height='27' onclick='checkChoice(); this.src=\"http://www.cmctraining.org/images/checkbox_red_sel.gif\";reply(\"" + str1A +"\");'>Work it out yourself?<br><img src='http://www.cmctraining.org/images/checkbox_red.gif' width='26' height='27' onclick='checkChoice(); this.src=\"http://www.cmctraining.org/images/checkbox_red_sel.gif\";reply(\"" + str1D +"\");'>Confer with your co-workers?</p>";
qstn[2] = str2 +"<p><img src='http://www.cmctraining.org/images/checkbox_red.gif' width='26' height='27' onclick='checkChoice(1); this.src=\"http://www.cmctraining.org/images/checkbox_red_sel.gif\";reply(\" " + str2A +" \");'>Individual accomplishments only?<br><img src='http://www.cmctraining.org/images/checkbox_red.gif' width='26' height='27' onclick='checkChoice(); this.src=\"http://www.cmctraining.org/images/checkbox_red_sel.gif\";reply(\"" + str2D +" \");'>Group as well as individual accomplishments?</p>";
qstn[3] = str3 +"<p><img src='http://www.cmctraining.org/images/checkbox_red.gif' width='26' height='27' onclick='checkChoice(1); this.src=\"http://www.cmctraining.org/images/checkbox_red_sel.gif\";reply(\"" + str3A +"\");'>Air it openly and resolve it? <br><img src='http://www.cmctraining.org/images/checkbox_red.gif' width='26' height='27' onclick='checkChoice(); this.src=\"http://www.cmctraining.org/images/checkbox_red_sel.gif\";reply(\"" + str3D +"\");'>Avoid each other?</p>";
qstn[4] = str4 +"<p><img src='http://www.cmctraining.org/images/checkbox_red.gif' width='26' height='27' onclick='checkChoice(1); this.src=\"http://www.cmctraining.org/images/checkbox_red_sel.gif\";reply(\"" + str4A +"\");'>E-mail your question directly to the CEO?<br><img src='http://www.cmctraining.org/images/checkbox_red.gif' width='26' height='27' onclick='checkChoice(); this.src=\"http://www.cmctraining.org/images/checkbox_red_sel.gif\";reply(\"" + str4D + "\");'>Send your question up through channels and wait for an answer to return the same way?</p>";
qstn[5] = str5 +"<p><img src='http://www.cmctraining.org/images/checkbox_red.gif' width='26' height='27' onclick='checkChoice(1); this.src=\"http://www.cmctraining.org/images/checkbox_red_sel.gif\";reply(\"" + str5A +"\");'>Follow mandated processes? <br><img src='http://www.cmctraining.org/images/checkbox_red.gif' width='26' height='27' onclick='checkChoice(); this.src=\"http://www.cmctraining.org/images/checkbox_red_sel.gif\";reply(\"" + str5D +"\");'>Determine how you will achieve your goals? </p>";
qstn[6] = str6 +"<p><img src='http://www.cmctraining.org/images/checkbox_red.gif' width='26' height='27' onclick='checkChoice(1); this.src=\"http://www.cmctraining.org/images/checkbox_red_sel.gif\";reply(\"" + str6A +"\");'>Contributing and implementing new ideas? <br><img src='http://www.cmctraining.org/images/checkbox_red.gif' width='26' height='27' onclick='checkChoice(); this.src=\"http://www.cmctraining.org/images/checkbox_red_sel.gif\";reply(\"" + str6D +"\");'>Producing expected results in a predictable way?</p>";
qstn[7] = str7 + "<p><img src='http://www.cmctraining.org/images/checkbox_red.gif' width='26' height='27' onclick='checkChoice(1); this.src=\"http://www.cmctraining.org/images/checkbox_red_sel.gif\";reply(\""+str7A+"\");'>Not dedicated to your job? <br><img src='http://www.cmctraining.org/images/checkbox_red.gif' width='26' height='27' onclick='checkChoice(); this.src=\"http://www.cmctraining.org/images/checkbox_red_sel.gif\";reply(\""+str7D+"\");'>Good at managing your time?</p>";
qstn[8] = str8 + "<p><img src='http://www.cmctraining.org/images/checkbox_red.gif' width='26' height='27' onclick='checkChoice(1); this.src=\"http://www.cmctraining.org/images/checkbox_red_sel.gif\";reply(\""+ str8A +"\");'>Accepted? <br><img src='http://www.cmctraining.org/images/checkbox_red.gif' width='26' height='27' onclick='checkChoice(); this.src=\"http://www.cmctraining.org/images/checkbox_red_sel.gif\";reply(\""+ str8D +"\");'>Punished? </p>";
qstn[9] = str9 + "<p><img src='http://www.cmctraining.org/images/checkbox_red.gif' width='26' height='27' onclick='checkChoice(1); this.src=\"http://www.cmctraining.org/images/checkbox_red_sel.gif\";reply(\"" + str9A + "\");'>To maximize profits in good economic times?<br><img src='http://www.cmctraining.org/images/checkbox_red.gif' width='26' height='27' onclick='checkChoice(); this.src=\"http://www.cmctraining.org/images/checkbox_red_sel.gif\";reply(\""+str9D + "\");'>Only as a last resort? </p>";
qstn[10] = str10 + "<p><img src='http://www.cmctraining.org/images/checkbox_red.gif' width='26' height='27' onclick='checkChoice(1); this.src=\"http://www.cmctraining.org/images/checkbox_red_sel.gif\";reply(\""+ str10A+ "\");'>Very little or not at all.<br><img src='http://www.cmctraining.org/images/checkbox_red.gif' width='26' height='27' onclick='checkChoice(); this.src=\"http://www.cmctraining.org/images/checkbox_red_sel.gif\";reply(\""+ str10D+ "\");'>Significantly.</p>";
qstn[11] = str11 + "<p><img src='http://www.cmctraining.org/images/checkbox_red.gif' width='26' height='27' onclick='checkChoice(1); this.src=\"http://www.cmctraining.org/images/checkbox_red_sel.gif\";reply(\""+ str10A+ "\");'>Because they believe it provides a valuable product or service for humanity?<br><img src='http://www.cmctraining.org/images/checkbox_red.gif' width='26' height='27' onclick='checkChoice(); this.src=\"http://www.cmctraining.org/images/checkbox_red_sel.gif\";reply(\""+ str10D+ "\");'>For the pay?</p>";
qstn[12] = str12 + "<p><img src='http://www.cmctraining.org/images/checkbox_red.gif' width='26' height='27' onclick='checkChoice(1); this.src=\"http://www.cmctraining.org/images/checkbox_red_sel.gif\";reply(\""+ str10A+ "\");'>Create wealth for its shareholders or owners?<br><img src='http://www.cmctraining.org/images/checkbox_red.gif' width='26' height='27' onclick='checkChoice(); this.src=\"http://www.cmctraining.org/images/checkbox_red_sel.gif\";reply(\""+ str10D+ "\");'>Advance a cause?</p>";


function checkChoice(good) {
    guessNum = guessNum + 1;
    if (guessNum > 1) {
        alert("You've already made your choice!");
    }
    if (good == 1 & guessNum == 1) {
        myScore = myScore + 1;
    }
    document.getElementById('qzscr').innerHTML = '';
}

function reply(what) {
     if (qNum+2 <= qstn.length) {
        msg = '<div align="center"><input type="button" name="next" value=" Next Question " onclick="doquiz(qNum)"></div>';
    } else {
        msg = '<div align="center"><input type="button" name="next" value=" Analysis " onclick="analyze()"></div>';
    }
    document.getElementById('qzaswr').innerHTML = what + msg;
}

function analyze() {
    document.getElementById('qzaswr').innerHTML = '';
    document.getElementById('qzqstn').innerHTML = '<b>Your Final Analysis:</b><p>' + anly[myScore] + '</p><p>To view resources that will stimulate improvement click <a href="http://www.cmctraining.org/faculty_articles.asp?sid=0" target="_blank">here.</a>';
}

document.write("<div id='qzhldr'><p><b>Define Your Corporate Culture</b><br><i>by Donna Deeprose</i></p>");
document.write("<div id='qzscr'></div>");
document.write("<div id='qzqstn'></div>");
document.write("<div id='qzaswr'></div>");
document.write("<div id='sep' style='margin-top:10px;font-size:75%;text-align:center'><a target='_blank' href='http://www.cmctraining.org'><img src='http://www.cmctraining.org/images/mainlogo.gif' border=0></a><br><a target='_blank' href='http://www.cmctraining.org/self_assessment/'>Add this quiz to your site</a></div>");
document.write("</div>");

function doquiz() {
    document.getElementById('qzaswr').innerHTML = '';
    qNum = qNum + 1;
    guessNum = 0;
    document.getElementById('qzqstn').innerHTML = qstn[qNum];
}

document.getElementById('qzqstn').innerHTML = '<img src="http://www.cmctraining.org/images/checkbox_red.gif" style="display:none"><img src="http://www.cmctraining.org/images/checkbox_red_sel.gif" style="display:none"><p><ul><li> Competitive vs. Cooperative</li><li>Spontaneous vs. Structured</li><li>Task-oriented vs. People-oriented</li><li>Pragmatic vs. Idealistic </li>  </ul></p><p><input type="button" value=" Click to start this assessment! " onclick="doquiz(qNum)"></p>';
