<!--

var numQues = 14;
var numChoi = 2;


function getScore(form,score) {
  var score = 0;
  var myvalue = 0;
  var currElt;
  var currSelection;
  var profile = "";
  var graphic;

  for (i=0; i<numQues; i++) {
    currElt = i*numChoi;
    for (j=0; j<numChoi; j++) {
      currSelection = form.elements[currElt + j];
      if (currSelection.checked) {
	  	myvalue = parseInt(currSelection.value);
        score = score + myvalue;
        break;
      }
    }
  }
  
// form.debug.value = score 

profile = "You are missing important body cues that may reveal the attitudes of others.<span class='c2'><br><p>EXPLANATION<br>Psychologists have long-relied on ''expressive movements,'' or body cues, to probe the inner feelings of people. Today, kinesics, the study of body movements, is a natural outgrowth of this practice. Numerous pop manuals on body language promise to teach people how to read others by presenting a laundry list of postures and definitions of what each movement means. But such popular books are not always reliable.<p>What little we know for sure about body language comes from careful research done by people like anthropologist Dr. David Givens and the late psychiatrist Albert Scheflen. The items in our quiz are taken from their studies. Gestures of dominant persons are usually directed outwardly to another person. A steady unwavering gaze or the touching of one's partner is a dominant action. Submissive gestures are usually protective, such as touching one's own body or shrugging one's shoulders. <p>Unfortunately, submissiveness is equated with inadequacy. But this is not necessarily so. Submissive people are often happy, well-adjusted, and productive. Furthermore, one isn't always submissive in every situation and with all people. More likely, a person displays degrees of dominance and submissiveness at different times depending upon the setting. Assuming a role that is proper in a given situation, of course, is a sign of maturity.You are missing important body cues that may reveal the attitudes of others.</span><br>";
     graphic = "yellow";

if (score >41) {
	profile = "You have an average understanding of dominant and submissive body gestures.<span class='c2'><br><p>EXPLANATION<br>Psychologists have long-relied on ''expressive movements,'' or body cues, to probe the inner feelings of people. Today, kinesics, the study of body movements, is a natural outgrowth of this practice. Numerous pop manuals on body language promise to teach people how to read others by presenting a laundry list of postures and definitions of what each movement means. But such popular books are not always reliable.<p>What little we know for sure about body language comes from careful research done by people like anthropologist Dr. David Givens and the late psychiatrist Albert Scheflen. The items in our quiz are taken from their studies. Gestures of dominant persons are usually directed outwardly to another person. A steady unwavering gaze or the touching of one's partner is a dominant action. Submissive gestures are usually protective, such as touching one's own body or shrugging one's shoulders. <p>Unfortunately, submissiveness is equated with inadequacy. But this is not necessarily so. Submissive people are often happy, well-adjusted, and productive. Furthermore, one isn't always submissive in every situation and with all people. More likely, a person displays degrees of dominance and submissiveness at different times depending upon the setting. Assuming a role that is proper in a given situation, of course, is a sign of maturity.</span><br>";
	graphic = "red";
	} 
	
if (score >70) {
	profile = "You have an above-average sensitivity to non-verbal cues.<span class='c2'><br><p>EXPLANATION<br>Psychologists have long-relied on ''expressive movements,'' or body cues, to probe the inner feelings of people. Today, kinesics, the study of body movements, is a natural outgrowth of this practice. Numerous pop manuals on body language promise to teach people how to read others by presenting a laundry list of postures and definitions of what each movement means. But such popular books are not always reliable.<p>What little we know for sure about body language comes from careful research done by people like anthropologist Dr. David Givens and the late psychiatrist Albert Scheflen. The items in our quiz are taken from their studies. Gestures of dominant persons are usually directed outwardly to another person. A steady unwavering gaze or the touching of one's partner is a dominant action. Submissive gestures are usually protective, such as touching one's own body or shrugging one's shoulders. <p>Unfortunately, submissiveness is equated with inadequacy. But this is not necessarily so. Submissive people are often happy, well-adjusted, and productive. Furthermore, one isn't always submissive in every situation and with all people. More likely, a person displays degrees of dominance and submissiveness at different times depending upon the setting. Assuming a role that is proper in a given situation, of course, is a sign of maturity.</span><br>";
	graphic = "green";
	}
	

var scoreWin = window.open ("","scorewin","scrollbars=yes,width=600,height=400,screenX=210,screenY=180,left=210,top=180");

scoreWin.document.write('<html>'
  + '<head>'
  + '<title>Can You Read Body Language?</title>'
  + '<link rel="stylesheet" type="text/css" href="popup.css" />'
  + '</head>'
  + '<body>'
  + '<div class=c13>'
  + '<p align="center" valign="middle"><span class="c1"><b>Your score is ' + score + ' %.</span></b></p>' + profile
  + '</div>'
  + '<br>'
  + '</body>'
  + '</html>'
  + '');
  
scoreWin.document.close();  

}

// -->
