/* **
 * 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];

//-->

<!--
//　
// 
// 

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

	var a_marks = 0;
	var b_marks = 0;
	var c_marks = 0;
	var d_marks = 0;
        
	
var a = new Array("q9","q17","q11","q3","q13","q1");
var b = new Array("q25","q31","q33","q27","q23","q29","q21");
var c = new Array("q8","q2","q12","q16","q10","q4","q6","q20");
var d = new Array("q28","q34","q24","q22","q32","q26","q30");
	
	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<51; 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;
				}else if(c[j] == radio_name){
					c_marks = c_marks + radio_mark;
					break;  
				}else if(d[j] == radio_name){
				    d_marks = d_marks + radio_mark;
					break;                              
                               }
							  
			}
		}
	}

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

function newwindow(a_marks,b_marks,c_marks,d_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("bizstress","bizstress","scrollbars=1,toolbars=1,width=750,height=700");
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>■仕事の量によるストレス要因（項目：6） </strong></font>：" + a_marks + "点");
(a_marks > 30)?newWindow.document.write(veryheavy):(a_marks > 23)?newWindow.document.write(heavy):(a_marks > 12)?newWindow.document.write(normal):(a_marks > 5)?newWindow.document.write(small):newWindow.document.write(verysmall);
newWindow.document.write("<br><IMG SRC='graph2.gif' width=" + a_marks*10  + " height= 10 >");
newWindow.document.write("<br><br><small>\n");
newWindow.document.write("<font color=#0066cc>◆ポイント：仕事量によるストレス要因について<br></font>");
newWindow.document.write("<font color=#0066cc>◆キーワード：不規則な仕事、残業、仕事量、睡眠不足、生活への影響<br></font>");
newWindow.document.write("<font color=#0066cc>◆関連のある項目：ストレス感、職場の不適合感　　<br></font>");
newWindow.document.write("<br>\n<font color=#000000>■【高い方】：明らかに仕事量が多く、休みが少ない状態です。そのことが、睡眠不足など健康面での心配や生活への多重負担になっている可能性があります。職場環境や役割などにより、なかなか残業を減らすことは、難しいかもしれませんが、時には思い切って休みを取るなどのある意味、前向きな行動も大切だと判断します。　　　</font><br>");
newWindow.document.write("<br>\n<font color=#006600>	■【普通の方】：ある程度、仕事の量に関して、ストレスを感じていますが、とくに問題となるレベルではなく、かえってよい刺激になるレベルであると判断できます。リラックスと緊張を両方とも楽しみながら、仕事ができると素晴らしいと考えます。　　　</font><br>");
newWindow.document.write("<br>\n<font color=#3300ff>	■【低い方】：特に、仕事の量においてストレスを感じていません。精神的に余裕があり、リラックスできる状態であると判断できます。　　　</font><br>");
newWindow.document.write("</small><br>\n");
	}
	if(b_marks > 0){
newWindow.document.write("<br>\n<font color=#006600><strong>●仕事の評価に対する不適合感（項目：7）  </strong></font>：" + b_marks + "点");
(b_marks > 32)?newWindow.document.write(veryheavy):(b_marks > 26)?newWindow.document.write(heavy):(b_marks > 16)?newWindow.document.write(normal):(b_marks > 10)?newWindow.document.write(small):newWindow.document.write(verysmall);
newWindow.document.write("<br><IMG SRC='graph2.gif' width=" + b_marks*10  + " height= 10 >");	        
newWindow.document.write("<br><br><small>\n");
newWindow.document.write("<font color=#0066cc>◆ポイント：現在の職場にて、自分の能力を過小評価され、職場の不適合感を感じているかを判定<br></font>");
newWindow.document.write("<font color=#0066cc>◆キーワード：過小評価、減点主義、不適合感、職場における自己の方針の不一致　　<br></font>");
newWindow.document.write("<font color=#0066cc>◆関連のある項目：人間関係のサポート（−）、年収（−）　<br></font>");
newWindow.document.write("<br>\n<font color=#000000>■【高い方】：自分は、今の職場において、過小評価をされていると感じており、不適合感を感じています。自分の意見や主張を考慮してもらえず、葛藤を抱えている状態です。今の職場が、減点主義であったり、努力が評価されない環境である場合があります。他の人からどのような評価を受けるかは大切な基準であるため、より評価してもらえるような職場・部署に変更してもらうことや思い切って、転職なども考慮してもよいと考えます。別の視点としては、どんな人が、現在の職場で高い評価を受けているのかをみて、自分の行動に取り入れてみるのもよいかもしれません。　　　　　　</font><br>");
newWindow.document.write("<br>\n<font color=#006600>■【普通の方】：今の職場では、普通に評価されていると感じています。特にトラブルがなく、人間関係も良好であれば、今の状態を維持していく事がベストであると判断できます。　　</font><br>");
newWindow.document.write("<br>\n<font color=#3300ff>■【低い方】：今の職場では、自分の意見・主張を通せたり、会社の価値観と自分の価値眼が適合しており、努力が評価されるなど最適な環境であると考えます。　　</font><br>");
newWindow.document.write("</small><br>\n");
	}
	   if(c_marks > 0){
newWindow.document.write("<br>\n<font color=#006600><strong>●仕事のやりがい（項目：8 ） </strong></font>：" + c_marks + "点");
(c_marks > 34)?newWindow.document.write(veryheavy):(c_marks > 27)?newWindow.document.write(heavy):(c_marks > 14)?newWindow.document.write(normal):(c_marks > 7)?newWindow.document.write(small):newWindow.document.write(verysmall);
newWindow.document.write("<br><IMG SRC='graph2.gif' width=" + c_marks*10  + " height= 10 >");	        
newWindow.document.write("<br><br><small>\n");
newWindow.document.write("<font color=#0066cc>◆ポイント：仕事のやりがいを感じており、仕事の相性や仕事に満足をしているかを判定<br></font>");
newWindow.document.write("<font color=#0066cc>◆キーワード：仕事のやりがい、仕事の向上心、仕事の相性、仕事の満足、仕事への誇りなど　　<br></font>");
newWindow.document.write("<font color=#0066cc>◆関連のある項目：人間関係のサポート（＋）、職場の不適合感（−）　　<br></font>");
newWindow.document.write("<br>\n<font color=#000000>◇【高い方】：仕事に対して高いやりがいを感じており、仕事に対する誇りを持っています。また、今の仕事に対して満足感をもっており、さらに、仕事の技術を高めようとする意識が高いようです。現在の仕事に対して高い将来性を感じており、今の仕事を大切にしていくのがよいと考えます。　　</font><br>");
newWindow.document.write("<br>\n<font color=#006600>■【普通の方】：適度に仕事に対してやりがいを感じており、現在の仕事にも満足している方です。仕事で、周りの人たちにより貢献することや仕事を楽しむために工夫したり、勉強をするなど向上心を持っていくと素晴らしいと考えます。　　</font><br>");
newWindow.document.write("<br>\n<font color=#3300ff>■【低い方】：今の仕事にやりがいを感じられていないようです。　</font><br>");
newWindow.document.write("</small><br>\n");
}
if(d_marks > 0){
newWindow.document.write("<br>\n<font color=#006600><strong>●職場における人間関係のサポート充実度（項目：7） </strong></font>：" + d_marks + "点");
(d_marks > 33)?newWindow.document.write(veryheavy):(d_marks > 27)?newWindow.document.write(heavy):(d_marks > 15)?newWindow.document.write(normal):(d_marks > 8)?newWindow.document.write(small):newWindow.document.write(verysmall);
newWindow.document.write("<br><IMG SRC='graph2.gif' width=" + d_marks*10  + " height= 10 >");	        
newWindow.document.write("<br><br><small>\n");
newWindow.document.write("<font color=#0066cc>◆ポイント：職場にて、周りの支援やサポートがあり、気軽に相談する相手がいるかなどを判定　<br></font>");
newWindow.document.write("<font color=#0066cc>◆キーワード：職場のサポート体制、気軽にはなせる相手、相談できる相手の存在、評価してくれる人の存在など　　<br></font>");
newWindow.document.write("<font color=#0066cc>◆関連のある項目：仕事のやりがい（＋）、ストレス感（−）、職場の不適合感（−）など　　<br></font>");
newWindow.document.write("<br>\n<font color=#000000>◇【高い方】：現在の職場において、サポートしてくれる人、困ったときに助言をしてくれる人がおり、安心して仕事ができている状態です。気軽に話し相手や相談相手がいることが、今の職場において大きな強みになっています。　</font><br>");
newWindow.document.write("<br>\n<font color=#006600>■【普通の方】：ある程度、困ったときに助言やサポートしてくれる体制があるので、安心して仕事ができます。より、人間関係を充実させていくこともよいと考えます。　</font><br>");
newWindow.document.write("<br>\n<font color=#3300ff>■【低い方】：困ったときに、気軽に相談できる相手がいないようです。一人で悩みを抱え込んでしまう場合は、要注意が必要です。気軽にはなせる仲間、先輩をみつけるのがよいと考えます。難しいようであれば、外部機関のカウンセラー、コーチなどにも当たってみるのもよいと考えます。また、職場の環境を変えるなど、思い切った行動も大切かもしれません。　</font><br>");
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;
}
// 診断テストは、ここまで ----->
