function reinitIframe(){

var iframe = document.getElementById("frame_content");

try{

var bHeight = iframe.contentWindow.document.body.scrollHeight;

var dHeight = iframe.contentWindow.document.documentElement.scrollHeight;

var height = Math.max(bHeight, dHeight);

iframe.height =  height;
return false;
}catch (ex){}

}

window.setInterval("reinitIframe()", 600);

function pdb(s){
	jj.style.display='none';cs.style.display='none';pc.style.display='none';xz.style.display='none';
	jjt.className="pdd2";cst.className="pdd2";pct.className="pdd2";xzt.className="pdd2";
	if(s=='jj'){
	jj.style.display='';
	jjt.className="pdd1";
	}
	else if(s=='cs'){
	cs.style.display='';
	cst.className="pdd1";
	}
	else if(s=='pc'){
	pc.style.display='';
	pct.className="pdd1";
	}
	else if(s=='xz'){
	xz.style.display='';
	xzt.className="pdd1";
	}
}

function divcenter()
{
   var a = document.getElementById("scdiv");
   var scrtop=document.documentElement.scrollTop;
   var divleft=(document.body.clientWidth/2-a.clientWidth/2);
   var divtop=(document.body.clientHeight/2-a.clientHeight/2)/2;
   a.style.left=divleft+"px"
   a.style.top=parseInt(scrtop+260)+"px"
}