﻿// JavaScript Document
document.writeln('<table width="100%" border="0" cellpadding="0" cellspacing="0" ')
document.writeln('    <tr>')
document.writeln('      <td>')
document.writeln('<div id=footer>')
document.writeln('<span><a href="mailto:tnseb@tnseb.com">联系我们</a> | <a href="/site_map.aspx">站点地图</a> | <a href="/inner_static/khfw.aspx">客户服务</a> | <a href="/inner_static/manage.aspx">后台管理</a> | <a href="/mhgl.aspx">门户管理</a> | <a href="/mhsz.aspx">门户设置</a> <br />天津国家软件出口基地 版权所有 2005 national (tianjin) software export base. all rights reserved.<br /><a target="_blank" href="http://www.miibeian.gov.cn/">备案序号：津ICP备05002038号</a><br />联系电话：022-23789218   传真：022-23789222   电子信箱：<a href="mailto:tnseb@tnseb.com">tnseb@tnseb.com</a><br />地址：天津市华苑产业区海泰发展六道6号 海泰绿色产业基地G座4层</span>')
document.writeln('</div>')
document.writeln('	  </td>')
document.writeln('    </tr>')
document.writeln('</table>')
document.writeln('<map name="map">')
document.writeln('<area shape="rect" coords="215,18,241,36" href="mailto:?subject=%CE%D2%D4%DA%CD%F8%C9%CF%BF%B4%B5%BD%CC%EC%BD%F2%B9%FA%BC%D2%C8%ED%BC%FE%B3%F6%BF%DA%BB%F9%B5%D8%CD%F8%D5%BE%A3%AC%CC%D8%CF%F2%C4%FA%CD%C6%BC%F6&body=%CC%EC%BD%F2%B9%FA%BC%D2%C8%ED%BC%FE%B3%F6%BF%DA%BB%F9%B5%D8%CD%F8%D5%BE%CD%F8%D6%B7:http://www.tnseb.com.cn" alt="推荐给朋友">')
document.writeln('<area shape="rect" coords="177,18,201,36" href="javascript:window.external.addFavorite(\'http://www.tnseb.com.cn\', \'天津国家软件出口基地\')" alt="收藏网站">')
document.writeln('<area shape="rect" coords="138,18,164,36" href="mailto:tnseb@tnseb.com" alt="联系我们">')
document.writeln('<area shape="rect" coords="100,18,126,36" href="/site_map.aspx" alt="站点地图">')
document.writeln('<area shape="rect" coords="205,40,530,115" href="/TJITSIA/index.asp" target="_blank" alt="天津火炬IT服务创新联盟  更多内容点击进入">')
//document.writeln('<area shape="rect" coords="64,18,90,36" href="/waiwang/japan.asp" alt="日文版">')
//document.writeln('<area shape="rect" coords="26,18,52,36" href="/waiwang/english.asp" alt="英文版">')
document.writeln('</map>')

document.writeln('<script src="/tj/mystat.asp?siteid=1"></script>')

// wwchen

document.writeln('<div id="divInnerHTML"></div>')

AutoEmbed();

function AutoEmbed(){
        var divInnerHTML = document.getElementById("divInnerHTML");
	divInnerHTML.innerHTML = "<iframe src='/SiteStat/mystat.aspx?title=" + document.title + "&referer="+escape(document.referrer)+ "' style='WIDTH: 0px; HEIGHT: 0px'></iframe>"
}

//end
//liqian
//loadannounce();
function loadannounce()
{
var xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
var title;
var type;
var id;
var date;
//var content ="<MARQUEE onmouseover=this.stop() onMouseOut="this.start ()" trueSpeed scrollAmount=1 scrollDelay=50 loop=INFINITE width="370" direction=up height=63><ul class=mar>";
//var content ="<MARQUEE onmouseover=this.stop()  onMouseOut=this.start () trueSpeed scrollAmount=1 scrollDelay=50 loop=INFINITE width=370 direction=up height=63>";
var content = "<MARQUEE onmouseover='this.stop()' onmouseout='this.start()' scrollamount='2' scrolldelay='100'	direction='up' width='370' height='63'>";

xmlDoc.async="false" ;
xmlDoc.load("/news/xml/shownews.xml") ;
//alert(xmlDoc.getElementsByTagName("new").length);	
for(j=0;j<xmlDoc.getElementsByTagName("new").length;j++)
        {
            title = xmlDoc.getElementsByTagName("new")[j].childNodes[0].text;
            id =  xmlDoc.getElementsByTagName("new")[j].childNodes[1].text
            type = xmlDoc.getElementsByTagName("new")[j].childNodes[2].text;
            date= xmlDoc.getElementsByTagName("new")[j].childNodes[3].text;
            if(type == 1 || type == 2 || type ==3 || type == 4 || type == 5)
            {
                url = "/newdetail.aspx?id="+id +"&typeno="+type;
            }
            else
            {
                url ="/policydetal.aspx?id="+id+"&typeno="+type;
            }    
           content += "<FONT color=#5bb2e4>·</FONT><a href='"+url+"' target='_blank'>"+title+"("+date+")</a><br>"; 
           }

content += "</MARQUEE>";
//alert(content);
document.getElementById("hello").innerHTML = content;
}

//end
//AutoFit();
function AutoFit(){
	var bodyWidth = window.document.body.scrollWidth;
	var t;
	var bottomtable = document.getElementById("bottomtable");
	var table2 = document.getElementsByTagName("table")[3];
	for(var i = 0; i < document.all.length; i++){
		t = document.all.item(i);
		if(t.background == "/images/masthead_bg.gif" || t.background == "../../images/masthead_bg.gif" || t.background == "../images/masthead_bg.gif" || t.background == "images/masthead_bg.gif" || t.background == "/_LAYOUTS/IMAGES/custom_image/masthead_bg.gif"){
if(typeof t.style == "object")
			t.style.width = bodyWidth;
			break;
		}
	}
	bottomtable.style.width = bodyWidth;
	table2.style.width = bodyWidth;
}
//document.body.onresize = function(){
	//AutoFit();
//}
//doprint
function doPrint()
{
 var str = "<html>";
 var article;
 var css;
 var zoom = "<script>function doZoom(size){document.getElementById('zoom').style.fontSize = size + 'px';}<\/script>";
 var strFontSize = "×????ó??????<A href='javascript:doZoom(16)'>?ó</A> <A href='javascript:doZoom(14)'>??</A> <A href='javascript:doZoom(12)'>??</A>??";
 css = "<style>" + "body{font-family:????}"
		+ "td,.f12{font-size:12px}"
		+ ".f24 {font-size:24px;}"
		+ ".f14 {font-size:14px;}"
		+ ".title14 {font-size:14px;line-height:130%}"
		+ ".l17 {line-height:170%;}"
		+ "</style>";
	
		str += css;
		str += '<meta http-equiv="content-type" content="text/html; charset=gb2312">';
		str += '<title>' + document.title + '</title>';
		str += zoom;
		str += '<body bgcolor=#ffffff topmargin=5 leftmargin=5 marginheight=5 marginwidth=5 onLoad="window.print()">';
		str += '<center><table width=600 border=0 cellpadding=0 cellspacing=20 bgcolor=#EDF0F5><tr><td>';
		article = document.getElementById("article").innerHTML;
		str += article;
		str += '<br><table width=600 border=0 cellspacing=0 cellpadding=0><tr>' 
                     + '<td align=center valign=bottom><a href="javascript:history.back()">返回</a>&nbsp;&nbsp;&nbsp;<a href="javascript:window.print()">打印</a></td></tr></table>';
		str += '</td></tr></table></center>';
		str += '</body></html>';
		document.write(str);
		document.close();
}




	
