/* **
 * JScript
 * @line: 33
 */
 
<!--
function _HpbDays()
{
  this[0] = "日"; this[1] = "月"; this[2] = "火"; this[3] = "水";
  this[4] = "木"; this[5] = "金"; this[6] = "土";
}

var now = new Date();
var yr  = now.getYear();
var mn  = now.getMonth() + 1;
var dt  = now.getDate();
var dy  = now.getDay();

var fyr = (yr < 1900) ? 1900 + yr : yr;

var dys = new _HpbDays();
var dyj = dys[dy];
//-->

<!--ポジティブ心理テスト 仕事力１ 効力感　2008/07
//　
// 

function test2(theForm){
	var radio_btn = 191;		//ラジオボタンの数をセット。

	var a_marks = 0;
	var b_marks = 0;
	
var a = new Array("q3","q5","q11","q13","q19","q21","q23");
var b = new Array("q4","q8","q10","q14","q16","q18","q20","q24");

	
	for(var i=0; i<radio_btn; i++){		 //
		if(theForm.elements[i].checked == true){
			var radio_name = theForm.elements[i].name;
			var radio_mark = parseInt(theForm.elements[i].value);
			for(var j=0; j<61; j++){
				//には点数が入る。
				if(a[j] == radio_name){
					a_marks = a_marks + radio_mark;
					break;
				　　}else if(b[j] == radio_name){
					b_marks = b_marks + radio_mark;
					break;                              
                               }
			}
		}
	}

	//各点数を判定。
newwindow(a_marks,b_marks);
	return;
}

function newwindow(a_marks,b_marks){
verysmall = "<font color=#8228a4> <strong> 低い </strong></font>";
small = "<font color=#8000ff> <strong> 少し低い </strong></font>";
normal = "<font color=blue><strong> 普通　</strong></font>";
heavy = "<font color=#ff8000><strong> 高い　</strong></font>";
veryheavy = "<font color=red><strong> かなり高い　</strong></font>";

	
newWindow = open("bizpositeve01","pizpositive01","scrollbars=1,toolbars=1,width=550,height=500");
newWindow.document.write("<html><body bgcolor=\"#ffffFF\">");
newWindow.document.write("<strong><center>■「仕事のポジティブ効力感」「ポジティブ自己資源活用力」</strong><br>\n");
newWindow.document.write("<small>診断結果表<br>\n");
newWindow.document.write("<br>\n※最後に必ずウィンドウを閉じてください。配点は各尺度により異なります。<br>");
newWindow.document.write(fyr + "年" + mn + "月" + dt + "日" + "(" + dyj + ")");
newWindow.document.write("\n<br>");
newWindow.document.write("<br></center></small>");
newWindow.document.write("<blockquote></center></small>\n");


	if(a_marks > 0){
newWindow.document.write("<br>\n<font color=#006600><strong>◆仕事のポジティブ効力感</strong></font>：" + a_marks + "点");
(a_marks > 33)?newWindow.document.write(veryheavy):(a_marks > 26)?newWindow.document.write(heavy):(a_marks > 14)?newWindow.document.write(normal):(a_marks > 7)?newWindow.document.write(small):newWindow.document.write(verysmall);
newWindow.document.write("<br><IMG SRC='http://www.sinritest.com/graph3.gif' width=" + a_marks *6 + " height= 10 >");
newWindow.document.write("<br><BR><small>\n");
newWindow.document.write("<font color=#006699>★尺度説明：自分らしく前向きに仕事ができる。仕事に達成感、充実感、楽しみを感じることが出来るなどを判定。 （7項目 最大35点） </font><br>");
newWindow.document.write("<br>\n<font color=#0066cc>◆キーワード：自己効力感　達成感　未来志向　仕事の充実感 など</font><br>");
newWindow.document.write("<br><br>\n<font color=#000000>◇高い方：現在の仕事に対して、充実感を感じています。自分の仕事を楽しみに変えることができるなどポジティブに対応することが出来ます。また、仕事における自分の将来に対して種まきをするなど未来志向を持っています。自分の仕事において、お金以上の喜びと価値を仕事に見出している人です。　　　</font>");
newWindow.document.write("<br><br>\n<font color=#3300ff>★普 通：ある程度、現在の仕事に対して、とても充実感を持っています。今の仕事をより楽しく出来るように工夫したり、喜び、達成感が湧くような方法を考えてみると良いと思います。　</font>");
newWindow.document.write("<br><br>\n<font color=#000000>■低い方：あまり、自分の仕事に対して楽しみを感じられていないようです。様々な仕事の中に、価値、喜び、楽しみや面白み、達成感などが埋まっています。ぜひ、それらを見つけてみてください。　</font>");

newWindow.document.write("</small><br><BR>\n");
	}
	if(b_marks > 0){
newWindow.document.write("<br>\n<font color=#006600><strong>◆ポジティブ自己資源活用力</strong></font>：" + b_marks + "点");
(b_marks > 39)?newWindow.document.write(veryheavy):(b_marks > 32)?newWindow.document.write(heavy):(b_marks > 21)?newWindow.document.write(normal):(b_marks > 15)?newWindow.document.write(small):newWindow.document.write(verysmall);
newWindow.document.write("<br><IMG SRC='http://www.sinritest.com/graph3.gif' width=" + b_marks *6 + " height= 10 >");	        
newWindow.document.write("<br><small>\n");
newWindow.document.write("<br><font color=#006699>★尺度説明：過去の資源（経験、知識など）を活用して、人や社会に貢献できるなど実践的に活用力があるかを判定する。（8項目 最大40点）</font><br>");
newWindow.document.write("<br>\n<font color=#0066cc>◆キーワード：自己資源活用力　自己資源の更新　自己資源の実践的活用　資源の応用など</font><br>");

newWindow.document.write("<br><br>\n<font color=#000000>◇高い方：過去に経験した成功体験、実践的な経験、学んだ知識をフルに活用して、人や社会に実践的に活用できる人です。また、自分の資源を常にバージョンアップする意欲の高い人。また、自分の資源を新しく組み合わせたり、応用することも出来る人です。　</font>");
newWindow.document.write("<br><br>\n<font color=#3300ff>★普 通：ある程度、過去に経験した経験、知識を活用して、人や社会に実践的に活用できる人です。自分の知識や経験をより深めて、どんどん実践の場を増やしていくと良い考えます。　　</font>");
newWindow.document.write("<br><br>\n<font color=#000000>■低い方：今現在、あまり自分経験や知識をあまり活用していないようです。すべての経験や知識は、社会の中で何らかの形で役に立つこともあります。様々な経験や知識を得て、自分の資源を増やすと共に、実際に活用していきましょう。　　</font>");


newWindow.document.write("</small><br>\n");
        }
newWindow.document.write("</blockquote>\n");
newWindow.document.close;
return;
}
// 診断テストは、ここまで ----->
