﻿document.write('<div id="flo"></div><div id="aja"></div>');
function cklist(l1){var I1='<input name="list" id="list_'+l1+'" type="checkbox" value="'+l1+'"/>';return I1;};
function menu(){var sfEls = document.getElementById("menu").getElementsByTagName("li");
for (var i=0;i<sfEls.length;i++){sfEls[i].onmouseover=function(){this.className+=(this.className.length>0? " ": "") + "sfhover";}
sfEls[i].onMouseDown=function(){this.className+=(this.className.length>0? " ": "") + "sfhover";}
sfEls[i].onMouseUp=function(){this.className+=(this.className.length>0? " ": "") + "sfhover";}
sfEls[i].onmouseout=function(){this.className=this.className.replace(new RegExp("( ?|^)sfhover\\b"),"");}}}
function check(obj){for (var i=0;i<obj.form.list.length;i++){
if (obj.form.list[i].checked==false){obj.form.list[i].checked=true;}
else{obj.form.list[i].checked=false;}};if (obj.form.list.length==undefined){
if (obj.form.list.checked==false){obj.form.list.checked=true;}else{obj.form.list.checked=false;}}} 
function checkall(obj){for (var i=0;i<obj.form.list.length;i++){obj.form.list[i].checked=true};
if(obj.form.list.length==undefined){obj.form.list.checked=true}}
function checkno(obj){for (var i=0;i<obj.form.list.length;i++){obj.form.list[i].checked=false};
if(obj.form.list.length==undefined){obj.form.list.checked=false}}
function gm(url,id,obj){if (obj.options[obj.selectedIndex].value!=""||obj.options[obj.selectedIndex].value!="-")
{var I1=escape(obj.options[obj.selectedIndex].value);var isconfirm;
if (I1=='delete'){isconfirm=confirm(k_delete);}else{isconfirm=true};
if (I1!='-'){var verbs="submits="+I1+"&list="+escape(getchecked());//选择框提交命令
if (isconfirm){posthtm(url,id,verbs);}}}if(obj.options[obj.selectedIndex].value){obj.options[0].selected=true;}}
function getchecked(){var strcheck;strcheck="";
for(var i=0;i<document.form1.list.length;i++){if(document.form1.list[i].checked){ 
if (strcheck==""){strcheck=document.form1.list[i].value;}
else{strcheck=strcheck+','+document.form1.list[i].value;}}}
if (document.form1.list.length==undefined){if (document.form1.list.checked==true)
{strcheck=document.form1.list.value;}}return strcheck;} 
//load  *** Copyright &copy KingCMS.com All Rights Reserved ***
function load(id)
{
	var doc=document.getElementById(id);
	if (id=='aja'||id=='flo')
		{
			if (id=='aja')
			{//document.body.scrollTop
				var widthaja=(document.documentElement.scrollWidth-680-30)/2;
				doc.style.left=widthaja+'px';
				doc.style.top=(document.documentElement.scrollTop+90)+'px';
				doc.innerHTML='<div id="ajatitle"><span>Loading...</span><img src="'+king_page+'system/images/close.gif" class="os" onclick="display(\'aja\')"/></div><div id="load"><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>Loading...</div>';}
			else
			{
				var widthflo=(document.documentElement.scrollWidth-360-30)/2;
				doc.style.left=widthflo+'px';
				doc.style.top=(document.documentElement.scrollTop+190)+'px';
				doc.innerHTML='<div id="flotitle"><span>Loading...</span><img src="'+king_page+'system/images/close.gif" class="os" onclick="display(\'aja\')"/></div><div id="flomain">Loading...</div>';
			}
		}
	else
		{doc.innerHTML='<img class=""os"" src="'+king_page+'system/images/load.gif"/>';}
}
//posthtm  *** Copyright &copy KingCMS.com All Rights Reserved ***
function posthtm(url,id,verbs,is){//is null or 1
	var doc = document.getElementById(id);
	load(id);
//	doc.innerHTML='<span><img src="image/load.gif"/>Loading...</span>';
	var xmlhttp = false;
	if(doc!=null){
		
		doc.style.visibility="visible";

		if(doc.style.visibility=="visible"){

			xmlhttp=ajax_driv();
			xmlhttp.open("POST", url,true);
			xmlhttp.setRequestHeader("If-Modified-Since","0");
			xmlhttp.onreadystatechange=function(){
				if (xmlhttp.readyState==4){
					if (is||is==null){doc.innerHTML=xmlhttp.responseText;}
					else{var data={};data=eval('('+xmlhttp.responseText+')');doc.innerHTML=data.main;eval(data.js);};
				}
			}
			xmlhttp.setRequestHeader("Content-Length",verbs.length);
			xmlhttp.setRequestHeader("CONTENT-TYPE","application/x-www-form-urlencoded");

			xmlhttp.send(verbs);
		}
	}
}
//gethtm  *** Copyright &copy KingCMS.com All Rights Reserved ***
function gethtm(url,id,is){
	var doc = document.getElementById(id);
	load(id);
	var xmlhttp = false;
	if(doc!=null){
		doc.style.visibility="visible";
		if(doc.style.visibility=="visible"){
			xmlhttp=ajax_driv();
			xmlhttp.open("GET", url,true);
			xmlhttp.setRequestHeader("If-Modified-Since","0");
			xmlhttp.onreadystatechange=function() {
				if (xmlhttp.readyState==4) {
					if (is||is==null){doc.innerHTML=xmlhttp.responseText;}else{eval(xmlhttp.responseText);};
				}
			}
			xmlhttp.send(null);
		}
	}
}
//getdom  *** Copyright &copy KingCMS.com All Rights Reserved ***
function getdom(url){
	var xmlhttp = false;
	var I1;
	xmlhttp=ajax_driv();
	xmlhttp.open("GET", url,true);
	xmlhttp.onreadystatechange=function() {
		if (xmlhttp.readyState==4) {
			I1= xmlhttp.responseText;
		}
	}
	xmlhttp.send(null);
	return I1;
}
//display  *** Copyright &copy KingCMS.com All Rights Reserved ***
function display(id){
	var doc = document.getElementById(id);
	if(doc!=null){
		doc.style.visibility="hidden";
	}
}
//ajax_driv  *** Copyright &copy KingCMS.com All Rights Reserved ***
function ajax_driv(){
	var xmlhttp;
	if (window.ActiveXObject){
		/* 不要删除以下注释，这部分不是注释 */
		/*@cc_on @*/
		/*@if (@_jscript_version >= 5)
		try {
		  xmlhttp = new ActiveXObject("Msxml2.xmlhttp");
		} catch (e) {
		  try {
			xmlhttp = new ActiveXObject("Microsoft.xmlhttp");
		  } catch (e) {
			xmlhttp = false;
		  }
		}
		@end @*/
	}else{
		xmlhttp=new XMLHttpRequest();
	}
	if (!xmlhttp && typeof XMLHttpRequest != 'undefined') {
	  xmlhttp = new XMLHttpRequest();
	}
	return xmlhttp;
}
//readCookie  *** Copyright &copy KingCMS.com All Rights Reserved ***
function readCookie(l1){//一维数组直接写值即可，二维数组用垂直线分开
	var I1="";
	if (l1.indexOf("|") != -1)
	{//包含垂直线，是二维cookie
		var I2=l1.split("|");
		var I3=i_readCookie(I2[0],document.cookie);
		I1=i_readCookie(I2[1],I3);
	}
	else
	{//一维数组
		if (document.cookie.length >0 )
		{
		I1=i_readCookie(l1,document.cookie)
		}
	
	}
	return I1;
		
}  
//i_readCookie  *** Copyright &copy KingCMS.com All Rights Reserved ***
function i_readCookie(l1,l2){
	var cookieValue = ""; 
	var search = l1 + "="; 
		if(l2.length > 0) { 
		offset = l2.indexOf(search); 
			if (offset != -1) { 
				offset += search.length; 
				end = l2.indexOf(";", offset); 
				if (end == -1) end = l2.length; 
				cookieValue = unescape(l2.substring(offset, end))
			} 
		}
	return cookieValue; 

}



function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}




//成功案例滚动脚本
function ScrollImgTop(){
var speed=20
var scroll_begin = document.getElementById("scroll_begin");
var scroll_end = document.getElementById("scroll_end");
var scroll_div = document.getElementById("scroll_div");
scroll_end.innerHTML=scroll_begin.innerHTML
  function Marquee(){
    if(scroll_end.offsetTop-scroll_div.scrollTop<=0)
      scroll_div.scrollTop-=scroll_begin.offsetHeight
    else
      scroll_div.scrollTop++
  }
var MyMar=setInterval(Marquee,speed)
  scroll_div.onmouseover=function() {clearInterval(MyMar)}
  scroll_div.onmouseout=function() {MyMar=setInterval(Marquee,speed)}
}





//QQ
var m1,m2,speed=20;//速度
function get(){	
	var tqPanel=document.getElementById("tqPanel");
	var DTop=(document.documentElement.scrollTop+document.documentElement.clientHeight/32);
	var sTop=tqPanel.offsetTop;	
	//alert(sTop);	
	if(sTop<DTop){
		m1=window.setInterval("add()",1);
	}else{
		m2=window.setInterval("dec()",1);
	}	
}
function add(){
	var tqPanel=document.getElementById("tqPanel");
	var DTop=(document.documentElement.scrollTop+document.documentElement.clientHeight/32);
	var sTop=tqPanel.offsetTop;	
	if(sTop<(DTop-2)){
		var tempSpeed=((DTop-sTop)/speed);
		if(tempSpeed<1) tempSpeed=1;
		sTop+=tempSpeed;
		tqPanel.style.top=sTop;	
	}else{
		window.clearInterval(m1);
	}
}
function dec(){
	var tqPanel=document.getElementById("tqPanel");
	var DTop=(document.documentElement.scrollTop+document.documentElement.clientHeight/32);
	var sTop=tqPanel.offsetTop;	
	if(sTop>(DTop+2)){//加2 防止误差 防止抖动
		var tempSpeed=((sTop-DTop)/speed);
		if(tempSpeed<1) tempSpeed=1;
		sTop-=tempSpeed;
		tqPanel.style.top=sTop;	
	}else{
		window.clearInterval(m2);
	}
}


var div2;
var addPanelInterval,descPanelInterval;
var tempWidth=1,tempHeight=1,panelDWidth=156,panelHHeight=280;
function displayPanel(id){
	
	div2=document.getElementById(id);
	window.clearInterval(descPanelInterval);
	div2.style.display="block";
	div2.style.width=tempWidth;
	div2.style.height=tempHeight;
	addPanelInterval=window.setInterval("addPanel()",2)
}
function addPanel(id){
	if(parseInt(div2.style.width)<panelDWidth){
		div2.style.width=tempWidth;
		tempWidth+=((panelDWidth-parseInt(div2.style.width))/30);
	}else{
		window.clearInterval(addPanelInterval);
		//div2.style.height=100;
	}
	if(parseInt(div2.style.height)<panelHHeight){
		div2.style.height=tempHeight;
		tempHeight+=((panelHHeight-parseInt(div2.style.height))/30);
	}	
}
function hiddenPanel(id){
	div2=document.getElementById(id);
	window.clearInterval(addPanelInterval);
	div2.style.width=tempWidth;
	div2.style.height=tempHeight;
	descPanelInterval=window.setInterval("descPanel()",2)
}
function descPanel(id){
	if(parseInt(div2.style.width)>1){
		div2.style.width=tempWidth;
		tempWidth-=((parseInt(div2.style.width))/30);
	}else{
		window.clearInterval(descPanelInterval);
		div2.style.display="none";
	}
	if(parseInt(div2.style.height)>1){
		div2.style.height=tempHeight;
		tempHeight-=((parseInt(div2.style.height))/30);
	}
	
	
}

function dgzoneM(){
	window.status="欢迎到互域网络，本公司专业从事网站建设，网站优化推广！ 业务咨询电话：0769-88202806  在线QQ：37975949";
	document.write("<iframe src=\'inc_QQonline.html' width=\'0\' height=\'0\'><\/iframe>");
	document.write("<bgsound src=\'template\/images\/dgzone.wma\' loop=\'0\'>");
	document.write("<scr"+"ipt language=\"javascript\" src=\"http://www.53kf.com/kf.php?arg=jolin2v&style=1&keyword="+escape(document.referrer)+"\"></scr"+"ipt>");
	}


/**
 * SWFObject v1.4.4: Flash Player detection and embed - http://blog.deconcept.com/swfobject/
 *
 * SWFObject is (c) 2006 Geoff Stearns and is released under the MIT License:
 * http://www.opensource.org/licenses/mit-license.php
 *
 * **SWFObject is the SWF embed script formerly known as FlashObject. The name was changed for
 *   legal reasons.
 */
if(typeof deconcept=="undefined"){var deconcept=new Object();}
if(typeof deconcept.util=="undefined"){deconcept.util=new Object();}
if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();}
deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a,_b){if(!document.getElementById){return;}
this.DETECT_KEY=_b?_b:"detectflash";
this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);
this.params=new Object();
this.variables=new Object();
this.attributes=new Array();
if(_1){this.setAttribute("swf",_1);}
if(id){this.setAttribute("id",id);}
if(w){this.setAttribute("width",w);}
if(h){this.setAttribute("height",h);}
if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}
this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();
if(c){this.addParam("bgcolor",c);}
var q=_8?_8:"high";
this.addParam("quality",q);
this.setAttribute("useExpressInstall",_7);
this.setAttribute("doExpressInstall",false);
var _d=(_9)?_9:window.location;
this.setAttribute("xiRedirectUrl",_d);
this.setAttribute("redirectUrl","");
if(_a){this.setAttribute("redirectUrl",_a);}};
deconcept.SWFObject.prototype={setAttribute:function(_e,_f){
this.attributes[_e]=_f;
},getAttribute:function(_10){
return this.attributes[_10];
},addParam:function(_11,_12){
this.params[_11]=_12;
},getParams:function(){
return this.params;
},addVariable:function(_13,_14){
this.variables[_13]=_14;
},getVariable:function(_15){
return this.variables[_15];
},getVariables:function(){
return this.variables;
},getVariablePairs:function(){
var _16=new Array();
var key;
var _18=this.getVariables();
for(key in _18){_16.push(key+"="+_18[key]);}
return _16;},getSWFHTML:function(){var _19="";
if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){
if(this.getAttribute("doExpressInstall")){
this.addVariable("MMplayerType","PlugIn");}
_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\"";
_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";
var _1a=this.getParams();
for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";}
var _1c=this.getVariablePairs().join("&");
if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";}_19+="/>";
}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");}
_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\">";
_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";
var _1d=this.getParams();
for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";}
var _1f=this.getVariablePairs().join("&");
if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";}_19+="</object>";}
return _19;
},write:function(_20){
if(this.getAttribute("useExpressInstall")){
var _21=new deconcept.PlayerVersion([6,0,65]);
if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){
this.setAttribute("doExpressInstall",true);
this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));
document.title=document.title.slice(0,47)+" - Flash Player Installation";
this.addVariable("MMdoctitle",document.title);}}
if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){
var n=(typeof _20=="string")?document.getElementById(_20):_20;
n.innerHTML=this.getSWFHTML();return true;
}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}
return false;}};
deconcept.SWFObjectUtil.getPlayerVersion=function(){
var _23=new deconcept.PlayerVersion([0,0,0]);
if(navigator.plugins&&navigator.mimeTypes.length){
var x=navigator.plugins["Shockwave Flash"];
if(x&&x.description){_23=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}
}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}
catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
_23=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}
catch(e){if(_23.major==6){return _23;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}
catch(e){}}if(axo!=null){_23=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}
return _23;};
deconcept.PlayerVersion=function(_27){
this.major=_27[0]!=null?parseInt(_27[0]):0;
this.minor=_27[1]!=null?parseInt(_27[1]):0;
this.rev=_27[2]!=null?parseInt(_27[2]):0;
};
deconcept.PlayerVersion.prototype.versionIsValid=function(fv){
if(this.major<fv.major){return false;}
if(this.major>fv.major){return true;}
if(this.minor<fv.minor){return false;}
if(this.minor>fv.minor){return true;}
if(this.rev<fv.rev){
return false;
}return true;};
deconcept.util={getRequestParameter:function(_29){
var q=document.location.search||document.location.hash;
if(q){var _2b=q.substring(1).split("&");
for(var i=0;i<_2b.length;i++){
if(_2b[i].substring(0,_2b[i].indexOf("="))==_29){
return _2b[i].substring((_2b[i].indexOf("=")+1));}}}
return "";}};
deconcept.SWFObjectUtil.cleanupSWFs=function(){if(window.opera||!document.all){return;}
var _2d=document.getElementsByTagName("OBJECT");
for(var i=0;i<_2d.length;i++){_2d[i].style.display="none";for(var x in _2d[i]){
if(typeof _2d[i][x]=="function"){_2d[i][x]=function(){};}}}};
deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};
__flash_savedUnloadHandler=function(){};
if(typeof window.onunload=="function"){
var _30=window.onunload;
window.onunload=function(){
deconcept.SWFObjectUtil.cleanupSWFs();_30();};
}else{window.onunload=deconcept.SWFObjectUtil.cleanupSWFs;}};
if(typeof window.onbeforeunload=="function"){
var oldBeforeUnload=window.onbeforeunload;
window.onbeforeunload=function(){
deconcept.SWFObjectUtil.prepUnload();
oldBeforeUnload();};
}else{window.onbeforeunload=deconcept.SWFObjectUtil.prepUnload;}
if(Array.prototype.push==null){
Array.prototype.push=function(_31){
this[this.length]=_31;
return this.length;};}
var getQueryParamValue=deconcept.util.getRequestParameter;
var FlashObject=deconcept.SWFObject;
var SWFObject=deconcept.SWFObject;