










var plRow=1, plCol=1;
function createRowLists(eId, rownum, colnum, h, backimg, lPos, nPos, oPos){
	function showProList(event){
	  var eId = event.data.name; var line = 1; var row = 1;
	  if(!eId) return;
		if(event.data.line) line = Number(event.data.line);
		if(event.data.row) row = Number(event.data.row);
		if(line != plRow){
		  $("#"+eId+"_l"+plRow).css({"height":h+"px","background":"none"});
			$("#"+eId+"_l"+line).css({"height":h+"px","background":"url("+backimg+") no-repeat "+lPos});
			$("#"+eId+"_r"+String(plRow)+String(plCol)).css({"background-position":nPos}); 
			$("#"+eId+"_v"+String(plRow)+String(plCol)).hide();
			plRow = line;	 plCol = row;
			$("#"+eId+"_r"+String(line)+String(row)).css({"background-position":oPos});
			$("#"+eId+"_v"+String(line)+String(row)).show();
		} else if(row!=plCol){
			$("#"+eId+"_r"+String(plRow)+String(plCol)).css({"background-position":nPos}); 
			$("#"+eId+"_v"+String(plRow)+String(plCol)).hide();
			plCol = row;
			$("#"+eId+"_r"+String(plRow)+String(plCol)).css({"background-position":oPos});
			$("#"+eId+"_v"+String(plRow)+String(plCol)).show();
		}
	}	
	$(document).ready(function() { for(var i =1; i<=rownum;i++){	for(var r=1;r<=colnum;r++){$("#proList_r"+String(i)+String(r)).css("cursor","pointer"); $("#proList_r"+String(i)+String(r)).bind("mouseover", {name: eId, line: i, row: r}, showProList);}}});
}
function SwitchPannel(eId, cId, nCss, oCss){
	$(document).ready(function() { 
	  $('#'+eId+' li').css(nCss).hover(function(){$('#'+eId+' li').css(nCss);$(this).css(oCss);$('#'+cId).html($('#'+$(this).attr('rel')).html());},function(){});
	  $('#'+eId+' li:first').css(oCss);
		$('#'+cId).html($('#'+$('#'+eId+' li:first').attr('rel')).html());
	});
}
$(document).ready(function() {
  $.each($('.ads'), function(i){if($.trim($(this).html()).length==0)$(this).hide();}); 
  
});

$(document).ready(function() {
	if((document.getElementById("spadscont"))&&$.trim(document.getElementById("spadscont").innerHTML).length>0)
		document.getElementById("spads").style.display="block";
});

$(document).ready(function() {
	if (document.getElementById('doc_ad_44')){
		document.getElementById('doc_ad_44').innerHTML = '<iframe scrolling="no" height="450" frameborder="0" width="280" src="http://www.intozgc.com/saild_100524.html" id="ad100524"></iframe>'; document.getElementById('doc_ad_44').style.display = 'block';
	}
	
	
	
		//$(".border2:first").after('<iframe scrolling="no" height="250" frameborder="0" width="250" src="http://www.intozgc.com/DocRightMidd.html"></iframe>');
	
	      /*
            var script = document.createElement("SCRIPT");// script.defer = true;
            script.type = "text/javascript"; script.src = "http://www.intozgc.com/js/manad.js"; script.id = "manjsfile";
            document.getElementsByTagName("BODY")[0].appendChild(script);*/
           // eval("<SCRIPT id=manjsfile type=text/javascript src=\"http://www.intozgc.com/js/manad.js\"></SCRIPT>");
        });
//LoadmanJs();

var stttr="<a href='javascript:void(0)' onclick='postToWb();return false;' class='tmblog'><img src='http://v.t.qq.com/share/images/s/b24.png' border='0' alt='转播到腾讯微博' ></a>";
$(document).ready(function() {
	if(document.getElementById("docContent"))
	document.getElementById("docContent").innerHTML=document.getElementById("docContent").innerHTML+"<p style='margin-left:400px;'>"+stttr+"</p>";
});


function postToWb(){
		var _url = encodeURIComponent(document.location);
		var _assname = encodeURI("");//你注册的帐号，不是昵称
		var _appkey = encodeURI("801003580");//你从腾讯获得的appkey
		var _pic = encodeURI('');//（例如：var _pic='图片url1|图片url2|图片url3....）
		var _t = '';//标题和描述信息
		var metainfo = document.getElementsByTagName("meta");
		for(var metai = 0;metai < metainfo.length;metai++){
			if((new RegExp('description','gi')).test(metainfo[metai].getAttribute("name"))){
				_t = metainfo[metai].attributes["content"].value;
			}
		}
		_t =  document.title+_t;//请在这里添加你自定义的分享内容
		if(_t.length > 120){
			_t= _t.substr(0,117)+'...';
		}
		_t = encodeURI(_t);

		var _u = 'http://share.v.t.qq.com/index.php?c=share&a=index&url='+_url+'&appkey='+_appkey+'&pic='+_pic+'&assname='+_assname+'&title='+_t;
		window.open( _u,'', 'width=700, height=680, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, location=yes, resizable=no, status=no' );
	}
