<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<style>
.main_l .content{ margin:10px auto; width:480px; text-align:left; margin-bottom:50px}
.main_l .content .question{padding:10px 0; display:none;}
.main_l .content .q_title{ margin-bottom:30px;color:#27F;}
.main_l .item,.content .last_item{ font-size:15px; padding:5px 12px;line-height:28px; background:#f8f8f8; border:1px solid #ddd; margin-bottom:15px; cursor:pointer; color:#565656}
.content .item:hover,.content .last_item:hover{background:#eee; border:1px solid #ddd;}
</style>
<p style="color:#F06; line-height:30px; text-align:center; margin:20px;">已完成：<span id="count">0</span>/12，计时：<span id="show_time">0</span> 秒</p>
<div class="content">
<form action="./" method="post" id="form1" name="form1">
<input type="hidden" id="v_time" name="v_time" />
<input type="hidden" id="follow" name="follow" />


<div class="question" style="display:block">
    <p class="q_title">1、你是否在工作餐时感觉没食欲，嘴巴发苦，对美食也失去兴趣？  </p>
    <p class="item"><input type="radio" name="i1" value="5"/>A、经常</p>
    <p class="item"><input type="radio" name="i1" value="3"/>B、有时候</p>
    <p class="item"><input type="radio" name="i1" value="1"/>C、从来不</p>
</div>

<div class="question">
    <p class="q_title">2、你是否感觉工作负担过重，常常感觉难以承受，或有感觉喘不过气来？ </p>
    <p class="item"><input type="radio" name="i2" value="5"/>A、经常</p>
    <p class="item"><input type="radio" name="i2" value="3"/>B、有时候</p>
    <p class="item"><input type="radio" name="i2" value="1"/>C、从来不</p>
</div>

<div class="question">
    <p class="q_title">3、你是否感觉缺乏工作自主性，往往只是领导让做什么才做什么？</p>
    <p class="item"><input type="radio" name="i3" value="5"/>A、经常</p>
    <p class="item"><input type="radio" name="i3" value="3"/>B、有时候</p>
    <p class="item"><input type="radio" name="i3" value="1"/>C、从来不</p>
</div>

<div class="question">
    <p class="q_title">4、你是否认为自己基本上待遇微薄，付出没有得到应有的回报？</p>
    <p class="item"><input type="radio" name="i4" value="5"/>A、经常</p>
    <p class="item"><input type="radio" name="i4" value="3"/>B、有时候</p>
    <p class="item"><input type="radio" name="i4" value="1"/>C、从来不</p>
</div>

<div class="question">
    <p class="q_title">5、你是否经常在工作时感到困倦疲乏，想睡觉，做什么事儿都无精打采？</p>
    <p class="item"><input type="radio" name="i5" value="5"/>A、经常</p>
    <p class="item"><input type="radio" name="i5" value="3"/>B、有时候</p>
    <p class="item"><input type="radio" name="i5" value="1"/>C、从来不</p>
</div>

<div class="question">
    <p class="q_title">6、 你有没有觉得工作待遇不公，常常有受委屈的感觉？</p>
    <p class="item"><input type="radio" name="i6" value="5"/>A、经常</p>
    <p class="item"><input type="radio" name="i6" value="3"/>B、有时候</p>
    <p class="item"><input type="radio" name="i6" value="1"/>C、从来不</p>
</div>

<div class="question">
    <p class="q_title">7、你是否在以前一项很上进，而现在却一心梦想着放假？</p>
    <p class="item"><input type="radio" name="i7" value="5"/>A、经常</p>
    <p class="item"><input type="radio" name="i7" value="3"/>B、有时候</p>
    <p class="item"><input type="radio" name="i7" value="1"/>C、从来不</p>
</div>

<div class="question">
    <p class="q_title">8、你是否会觉得工作上常常发生与上级不和的情况？</p>
    <p class="item"><input type="radio" name="i8" value="5"/>A、经常</p>
    <p class="item"><input type="radio" name="i8" value="3"/>B、有时候 </p>
    <p class="item"><input type="radio" name="i8" value="1"/>C、从来不 </p>
</div>

<div class="question">
    <p class="q_title">9、你是否觉得自己和同事相处不好，有各种各样的隔阂存在？</p>
    <p class="item"><input type="radio" name="i9" value="5"/>A、经常  </p>
    <p class="item"><input type="radio" name="i9" value="3"/>B、有时候</p>
    <p class="item"><input type="radio" name="i9" value="1"/>C、从来不</p>
</div>

<div class="question">
    <p class="q_title">10、你是否在工作上碰到一些麻烦事时急躁、易怒，甚至情绪失控？</p>
    <p class="item"><input type="radio" name="i10" value="5"/>A、经常</p>
    <p class="item"><input type="radio" name="i10" value="3"/>B、有时候</p>
    <p class="item"><input type="radio" name="i10" value="1"/>C、从来不 </p>
</div>

<div class="question">
    <p class="q_title">11、你是否对别人的指责无能为力，无动于衷或者消极抵抗？</p>
    <p class="item"><input type="radio" name="i11" value="5"/>A、经常  </p>
    <p class="item"><input type="radio" name="i11" value="3"/>B、有时候</p>
    <p class="item"><input type="radio" name="i11" value="1"/>C、从来不</p>
</div>

<div class="question">
    <p class="q_title">12、你是否觉得自己的工作不断重复而且单调乏味？</p>
    <p class="last_item"><input type="radio" name="i12" value="5"/>A、经常</p>
    <p class="last_item"><input type="radio" name="i12" value="3"/>B、有时候</p>
    <p class="last_item"><input type="radio" name="i12" value="1"/>C、从来不</p>
    <p style="text-align:center; margin-top:30px;">
    <a href="#" onclick="on_submit(); return false;"><img src="http://app.qpic.cn/mblogpic/05f902135224a3463866/2000" /></a>
    </p>
</div>
</form>
</div><!--/content-->

<script>
var v_time=0;
var current_i=0;
var i12_ischecked=0;
$(function()
{
	$('.item').click(function()
	{
		
		$(this).children('input').attr('checked',true);
		current_i++;
		$('#count').html(current_i);
		$(this).parent('.question').hide(300);
		$(this).parent('.question').next().show(300);
	});
	$('.item').hover(function(){$(this).css('background','#eee');},function(){$(this).css('background','#f8f8f8');});
	
	$('.last_item').click(function()
	{
		$(this).children('input').attr('checked',true);
		if(i12_ischecked==0)
		{
			current_i++;
			$('#count').html(current_i);
		}
		i12_ischecked=1;
	});
	$('.last_item').hover(function(){$(this).css('background','#eee');},function(){$(this).css('background','#f8f8f8');});

});
function on_submit()
{
	document.getElementById('v_time').value=v_time;
	if(i12_ischecked==0)
	{
		alert('请选择一项！');
		return;
	}
	var form1=document.getElementById('form1');
	form1.submit();
}

function show_time()
{
	v_time++;
	document.getElementById('show_time').innerHTML=v_time;
	r_show_time();
}
function r_show_time()
{
	setTimeout("show_time()", 1000);
}
setTimeout("show_time()", 1000);
</script>