<?php if ($bank['bank_type_id'] == 5):?>
	<div class="title03">
		<ul class="ul-more" id="tab">
		<?php $cbank_num_show = 1; ?>
		<?php foreach ($bank['childs'] as $cbank): ?>
			<li id="one1" onclick="javascript:setMyTab(<?=intval($cbank_num_show);?>);" class="cbank_<?=$bank['id']?> iframe_bank_num_<?=$bank_num?> iframe_bank_num_<?=$bank_num?>_<?=$cbank_num_show;?> iframe_<?=$cbank['id']?>" cbank_id="<?=$cbank['id']?>" cbank_type_id="<?=$cbank['bank_type_id'];?>" iframe_num="<?=$iframe_num++?>">要求(<?=$cbank_num_show++;?>)</li>
			
			<script>
			
			$(document).ready(function(){
				var bank_id = <?=$cbank['id']?>;			
				var tmp = '<?= str_replace("\n",'',$cbank['answer_place']);?>';
				var answer_place = tmp+"<br><br>";
				//alert(answer_place);
				var iframe_num = parseInt($(".iframe_"+bank_id).attr("iframe_num"));	
				
				$(window.frames[iframe_num].document).find("#tmp_"+bank_id+"_iframe_iframe").html(answer_place);
			
			});
			
			</script>
		<?php endforeach; ?>
		</ul>
	</div>
	
	<div id="div_q_opt" style="">
		
		<ul class="ul-more-block" id="details">
		<?php $cbank_num_show = 1; ?>
		<?php foreach ($bank['childs'] as $cbank): ?>
			<li id="con_one_1" class="iframe_li iframe_con iframe_con_<?=$cbank_num_show++;?>">
				<p><?=$cbank['content'];?></p>
				
				<iframe width="950" height="150" id="iframe_<?=$cbank['id']?>" name="frame_content_<?=$cbank['id'];?>"  marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" id="" scrolling="no" src="Tpl/<?=C('DEFAULT_THEME')?>/paper/element/paper/iframe.php?quesNo=<?=$cbank['id'];?>&quesAnswer='<?=$cbank['answer_place']?$cbank['answer_place']:""?>'" style="padding-top:20px;"></iframe>

			</li>
		<?php endforeach; ?>
		</ul>
		
	</div>
	
<?php else: ?>
<div id="div_q_opt" style="">
	<div class="title03" style="display:none">
		<ul class="ul-more" id="tab">
			<li id="one1" onclick="javascript:setMyTab(<?=intval($cbank_num_show);?>);" class="iframe_bank_num_<?=$bank_num?> iframe_bank_num_<?=$bank_num?>_1 iframe_<?=$bank['id']?>" cbank_id="0" iframe_num="<?=$iframe_num++?>">要求(1)</li>
			
			<script>
			$(document).ready(function(){
				var bank_id = <?=$bank['id']?>;			
				var tmp = '<?= str_replace("\n",'',$bank['answer_place']);?>';
				var answer_place = tmp+"<br><br>";
				var iframe_num = parseInt($(".iframe_"+bank_id).attr("iframe_num"));	
				
				$(window.frames[iframe_num].document).find("#tmp_"+bank_id+"_iframe_iframe").html(answer_place);
			
			});
			</script>
			
		</ul>
	</div>

	<ul class="ul-more-block" id="details">

		<li id="con_one_1" class="iframe_li iframe_con iframe_con_1">
			<iframe width="950" height="150" id="iframe_<?=$bank['id']?>" name="frame_content_<?=$bank['id'];?>"  marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" id="" scrolling="no" src="Tpl/<?=C('DEFAULT_THEME')?>/paper/element/paper/iframe.php?quesNo=<?=$bank['id'];?>&quesAnswer='<?=$bank['answer_place']?$bank['answer_place']:""?>'" style="padding-top:20px;"></iframe>
		</li>
	</ul>
	
</div>

<?php endif; ?>