
function responseHeader(id, style)
{
	document.write("<div style='width:100%; height: 106px; background-image:url(/img/menu_00.gif);'>");
	document.write("<div id='menuRng' style='width:960px; height: 106px; background-image:url(/img/menu_bg.gif);'>");
	document.write("	<div style='position:absolute; width: 800px; height:40px; left:180px; top: 66px; border: 0px solid #FF0000;'>");
	document.write("		<div style='width: 10px; float: left;'>&nbsp;</div>");
	document.write("		<div id='_nav_1' class='divmenu1'><a id='_hrf_1' href='/' class='hrefguide1'>多可首页</a></div>");
	document.write("		<div id='_nav_2' class='divmenu1'><a id='_hrf_2' href='/productX.htm' class='hrefguide1'>产品介绍</a></div>");
	document.write("		<div id='_nav_4' class='divmenu1'><a id='_hrf_4' href='/download.htm' class='hrefguide1'>软件下载</a></div>");
	document.write("		<div id='_nav_5' class='divmenu1'><a id='_hrf_5' href='/purchase.htm' class='hrefguide1'>软件购买</a></div>");
	document.write("		<div id='_nav_6' class='divmenu1'><a id='_hrf_6' href='http://www.315soft.com:8080/' class='hrefguide1'>在线试用</a></div>");
	document.write("		<div id='_nav_7' class='divmenu1'><a id='_hrf_7' href='/link.htm' class='hrefguide1'>联系我们</a></div>");
	document.write("		<div id='_nav_8' class='divmenu1'><a id='_hrf_8' href='/Tags/%ce%c4%b5%b5/' class='hrefguide1'>相关知识</a></div>");
	document.write("	</div>");
	document.write("	<div style='position:relative; left:780px; top:20px; height:20px; width:170px;'>");
	document.write("		<img src='/img/namelog.gif'></div>");
	document.write("	</div>");
	document.write("</div>");
	document.write("</div>");
	/*
	document.write("<div style='margin: 10px; width: 980px; height:180px; border: 0px solid #FF0000;'>");
	document.write("	<div style='float:left; width: 780px;'><img src='/img/top_l.gif'></div>");
	document.write("	<div style='margin-left:10px; margin-right:10px; float: right; width: 180px;'><a href='/download.htm'><img src='/img/top_r.gif'></a></div>");
	document.write("</div>");
	*/

	change_nav_bg(id, style);
}

function change_nav_bg(id, style)
{
	if(document.getElementById)
	{
		var obj = document.getElementById("_nav_" + id);
		if(obj != null)
		{
			if (style == 1)
				obj.className = "divmenu2";
			else
				obj.className = "divmenu1";
		}
		var obj2 = document.getElementById("_hrf_" + id);
		if(obj2 != null)
		{
			if (style == 1)
				obj2.className = "hrefguide2";
			else
				obj2.className = "hrefguide1";
		}
	}
	return;
}

function responseBt1()    
{    
    document.write("<a href='http://www.315soft.com/' style='color:#FFFFFF' target=_blank>首页</a> | ");
	document.write("<a href='http://www.315soft.com/productX.htm' class='nav_n' target=_blank>产品介绍</a> | ");
	document.write("<a href='http://www.315soft.com/download.htm' class='nav_n' target=_blank>免费下载</a> | ");
	document.write("<a href='http://www.315soft.com/case.htm' class='nav_n' target=_blank>行业应用</a> | ");
	document.write("<a href='http://www.315soft.com/cooperation.htm' class='nav_n' target=_blank>渠道合作</a> | ");
	document.write("<a href='http://www.315soft.com/purchase.htm' class='nav_n' target=_blank>软件购买</a> | ");
	document.write("<a href='http://www.315soft.com/link.htm' class='nav_n' target=_blank>联系我们</a> | ");
}   

function responseBt2()    
{  
	document.write("<table width='100%' cellpadding=0 cellspacing=0 style='padding-left:10px;'>");
	document.write("<tr><td align=center  style='height:24px; font-size:14px; color: #666666; padding-top: 4px;'>");
	document.write(" <font style='color:#175BA4;'><img src='/img/legalsoft.gif' style='vertical-align: middle;'><img src='/img/copy.gif' style='vertical-align: middle;'>2009 北京联高软件开发有限公司</font> 版权所有 ");
	document.write(" 北京市海淀区中关村北二条13号中科科仪1号楼5层 邮编：100190 电话：010-82386887 </td></tr>");
	document.write("<tr><td align=center style='height:24px; padding-bottom: 10px;'>");
	document.write("<a href='http://www.miibeian.gov.cn'>京ICP备09026265号</a>&nbsp;&nbsp;&nbsp;&nbsp;");
	document.write("	<a href='http://www.50018.com/' class=tp1 target=_blank>幸运之门</a> | ");
	document.write("	<a href='http://www.chinesebaojian.com/' class=tp1 target=_blank>医疗文库</a> | ");
	document.write("	<a href='http://www.chineselawyerdocs.com/' class=tp1 target=_blank>法律文库</a> | ");
	document.write("	<a href='http://www.legalsoft.com.cn/' class=tp1 target=_blank>联高软件</a> | ");
	document.write("	<a href='http://www.70018.com/' class=tp1 target=_blank>免费招聘</a> | ");
	document.write("</td></tr></table>");
}


function responseLeft()
{
	document.write("<table cellpadding=0 cellspacing=0 width='180'>")
	document.write("<tr><td style='padding-top:0px;'><img src='/img/propagand.gif'></td></tr>");
	document.write("<tr><td style='padding-top:6px; padding-bottom:6px;'><img src='/img/tel.gif'></td></tr>");
	document.write("<tr><td class='td_left1'>媒体聚焦：</td></tr>");
	document.write("</table>");

	document.write("<table cellpadding=0 cellspacing=0 width='180' style='border: 1px solid #C1C4C4; margin-bottom:16px;'>")
	document.write("<tr><td style='line-height: 22px; padding-left:6px; padding-top:4px;'>");
	document.write("<a href='http://it.people.com.cn/GB/42891/42893/11210735.html' target='_blank'>人民网 people.com.cn</a><br>");
	document.write("<a href='http://www.bbtnews.com.cn/nbbtnews/ithlw/channel/ithlw88537.shtml' target='_blank'>北京商报 bbtnews.com.cn</a><br>");
	document.write("<a href='http://www.stdaily.com/kjrb/content/2010-03/17/content_165289.htm' target='_blank'>科技日报 stdaily.com</a><br>");

	document.write("<a href='http://tech.qq.com/a/20100324/000043.htm' target='_blank'>腾讯 tech.qq.com</a><br>");
	document.write("<a href='http://tech.163.com/10/0324/07/62H90UQA000915BD.html' target='_blank'>网易 tech.163.com</a><br>");
	document.write("<a href='http://it.sohu.com/20100322/n271005411.shtml' target='_blank'>搜狐 it.sohu.com</a><br>");
	document.write("<a href='http://news.yesky.com/310/11172810.shtml' target='_blank'>天极网 news.yesky.com</a><br>");
	document.write("<a href='http://www.techweb.com.cn/news/2010-03-15/557721.shtml' target='_blank'>TechWeb TechWeb.com.cn</a><br>");
	document.write("<a href='http://news.zdnet.com.cn/zdnetnews/2010/0312/1661370.shtml' target='_blank'>至顶网  zdnet.com.cn</a><br>");
	document.write("</td></tr></table>");

	document.write("<table cellpadding=0 cellspacing=0 width='180'>")
	document.write("<tr><td class='td_left1'>典型用户：</td></tr>");
	document.write("</table>");

	document.write("<table cellpadding=0 cellspacing=0 width='180' style='border: 1px solid #C1C4C4; margin-bottom:16px;'>")
	document.write("<tr><td style='line-height: 22px; padding-left:6px; padding-top:4px;'>");
	document.write("<a href='/user.htm'>国家信息安全评测中心<br>");
	document.write("中央文献研究室<br>");
	document.write("天津车务段<br>");
	document.write("国银金融租赁有限公司<br>");
	document.write("江西景德镇发电<br>");
	document.write("北京九州人杰化工集团<br>");
	document.write("北京汉德尔电气有限公司<br>");
	document.write("舒城县国土资源局<br>");
	document.write("黑龙江省铁力市公安局<br>");
	document.write("更多。。。<br>");
	document.write("</a></td></tr></table>");
}


function getCookie(name)//取cookies函数        
{
    var arr = document.cookie.match(new RegExp("(^| )" + name+"=([^;]*)(;|$)"));
     if(arr != null) 
		 return unescape(arr[2]); 
	 return null;

}

//var g_xmlHttp;
function processReqChange()
{
	return;
}

var g_tmp_txt;
var g_xmlHttp;

function compressResult(url, params)
{	
	if (isIE())
	{
		var len = 0;
	    if (params != null)
	        len = params.length;
	        
	    var result;
	    var XMLHTTP;
	    try {
	        XMLHTTP = new ActiveXObject("Microsoft.XMLHTTP");
	        if(!XMLHTTP) XMLHTTP = new ActiveXObject("MSXML2.XMLHTTP");
	    }
	    catch(e) {
	        alert("XMLHTTPRequest(IE 7)");
	        return "";
	    }
	    
	    XMLHTTP.Open("GET", url, false);
	    XMLHTTP.setRequestHeader("Content-Length", len);   
	    XMLHTTP.setRequestHeader("Content-Type", "application/x-www-form-urlencoded; charset=utf-8"); 
	    XMLHTTP.Send(params);
	    if(XMLHTTP.readyState==4) {
		    if(document.defaultCharset=="utf-8" && navigator.userLanguage=="zh-cn") {
			    result = unescape(XMLHTTP.responseText);
		    }
		    else 
		    {
			    result = XMLHTTP.responseText; 
		    }
	    }
	    else {
		    result = "";
	    }
	    delete XMLHTTP;

	    return result;
		
	} 
	else
	{
		g_tmp_txt = "";
		g_xmlHttp = new XMLHttpRequest();

		g_xmlHttp.onreadystatechange = processReqChange;
		g_xmlHttp.open("GET", url, false); 
	    g_xmlHttp.setRequestHeader("Content-Type", "application/x-www-form-utf8encoded");
		g_xmlHttp.send(params);
		
        if(g_xmlHttp.readyState == 4) {
           if(g_xmlHttp.status == 200){
               g_tmp_txt = g_xmlHttp.responseText;
           } 
        }
		
		delete g_xmlHttp;
		return g_tmp_txt;
	}
}