/**
 * jurl : rss url,htmlid: htmlelementid,prefix: prefix + <a href...>,postfix: </a>+postfix,hclass: <a href='' class=
 * example: jRss2('http://www.chinataiwan.org/tsfwzx/qybh/default_714.xml','result',11,'<li>','</li>','fo');
 */
var topImageUrl = "images/top.jpg";
function ShowRiCheng()
{
	
	if (document.getElementById("tabw1_subsdiv0").style.display == "none")
	{
		document.getElementById("tabw1_subsdiv0").style.display = "";
		document.getElementById("LunTanRiCheng").innerHTML = "论坛日程 <font style='text-decoration:underline; cursor:hand;' onclick = 'ShowRiCheng();'>收起</font>";
	}
	else
	{
		document.getElementById("tabw1_subsdiv0").style.display = "none";
		document.getElementById("LunTanRiCheng").innerHTML = "论坛日程 <font style='text-decoration:underline; cursor:hand;' onclick = 'ShowRiCheng();'>展开</font>";
	}
}


function jRss2(jurl,htmlid,num,prefix,postfix,hclass) {
	var hElement = '#'+htmlid;
	var Rssnum = num ? num : 10;
	jQuery.getFeed({
		url: jurl,
		
		success: function (feed) {
			var html = '';
            
            for(var i = 0; i < feed.items.length && i < Rssnum; i++) {
                var item = feed.items[i];
                
                html += (prefix ? prefix : '')
                + '<a href="'
                + item.link
                + '" target="_blank"'
				+ (hclass ? ' class="'+hclass+'">' : '>')
                + item.title
                + '</a>'
				+ (postfix ? postfix : '');
            }
			$(hElement).append(html);
		}
	});
}


// 加入收藏

function addCookie()
{
if (document.all)
    {
       window.external.addFavorite('http://www.chinataiwan.org','中国台湾网');
   }
   else if (window.sidebar)
   {
       window.sidebar.addPanel('中国台湾网', 'http://www.chinataiwan.org', "");
}
}

// 设为首页
function setHomepage()
{
if (document.all)
    {
        document.body.style.behavior='url(#default#homepage)';
   document.body.setHomePage('http://www.chinataiwan.org');

   }
   else if (window.sidebar)
   {
   if(window.netscape)
   {
        try
    { 
            netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); 
          } 
        catch (e) 
        { 
     alert( "该操作被浏览器拒绝，如果想启用该功能，请在地址栏内输入 about:config,然后将项 signed.applets.codebase_principal_support 值该为true" ); 
        }
   } 
   var prefs = Components.classes['@mozilla.org/preferences-service;1'].getService(Components. interfaces.nsIPrefBranch);
   prefs.setCharPref('browser.startup.homepage','http://www.chinataiwan.org');
}
}



var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
try {
var pageTracker = _gat._getTracker("UA-5303848-1");
pageTracker._trackPageview();
} catch(err) {}

//document.writeln('<script type="text/javascript" src="http://taiwan.wrating.com/a1.js"></'+'script>');
//document.writeln('<script type="text/javascript" src="http://www.chinataiwan.org/images/getacc.js"></'+'script>');
function WriteBottom()
{
	document.writeln("<DIV id=footer>");
	document.writeln("<DIV class=address>官网主办：龙口港集团有限公司 ");
	document.writeln("<BR>地址：山东省龙口市环海中路1899号<BR>联系电话：0535-8848040 0535-8845479");
	document.writeln("</DIV></DIV>");
}
function WriteRiCheng()
{
	document.writeln("<UL class=blue12pxlist>");
	document.writeln("<LI>·10月23日 全天          报道 ");
	document.writeln("<LI>·10月24日08:30-10:10   论坛开幕");
	document.writeln('<LI style="TEXT-INDENT: 5em">10:20-11:50   参观龙口港港区');
	document.writeln('<LI style="TEXT-INDENT: 5em">13:30-16:40   主题演讲');
	document.writeln('<LI style="TEXT-INDENT: 5em">16:50-17:00   中非港口战略合作签署仪式');
	document.writeln("<LI>·10月25日09:00-12:00  南山观光或商务活动");
	document.writeln('<LI  style="TEXT-INDENT: 8em">&nbsp;下午            返程');
	document.writeln("</LI></UL>");
}
function WriteTopImage()
{
	document.write('<IMG height=189 src="'+topImageUrl+'" width=1000>');
}
function WriteZhongFei()
{
	document.writeln("<UL class=blue12pxlist>");
	document.writeln('<LI style="TEXT-INDENT: 2em">近年来，在中非全面合作高速发展的国际环境下，龙口港围绕建设现代物流中心的定位，通过提供集中采购、双程配载、信息平台建设等全程一站式专业化服务，搭建起了方便、快捷的中非经贸交流平台，有效推动了加工制造业向山东省的集聚和发展，降低了企业的物流与采购成本，拉动了腹地经济的增长。目前，龙口港中非班轮航线已经连通安哥拉、尼日利亚、刚果、苏丹、埃塞俄比亚、马达加斯加等非洲主要沿海国家，业务遍布全国16个省、市、自治区。');
	document.writeln('<LI style="TEXT-INDENT: 2em">2009年1-9月，龙口港中非杂货班轮累计完成74个航次，实现吞吐量172万吨，全国市场占有率达到40%，稳居中国对非散杂货出口贸易口岸首位。');
	document.writeln('</LI>');
	document.writeln('</UL>');
}
function WriteLunTanJieShao()
{
	document.writeln("<UL class=blue12pxlist>");
	document.writeln('<LI>·<strong>论坛宗旨</strong>');
	document.writeln('<LI style="TEXT-INDENT: 2em">搭建中非贸易交流平台，促进合作，增进友谊；就中非贸易、投资的物流与采购环节进行研讨，推进物流与采购流程的优化，降低物流与采购成本，有效应对全球金融危机；拓宽中非物流企业的交流渠道，缔结战略发展联盟，为中非贸易深层次合作创造条件。');
	document.writeln('<LI>·<strong>主办单位</strong>');
	document.writeln('<LI style="TEXT-INDENT: 2em">中国港口协会、烟台市港航管理局');
	document.writeln('<LI style="TEXT-INDENT: 2em">龙口市人民政府');
	document.writeln('<LI>·<strong>协办单位</strong>');
	document.writeln('<LI style="TEXT-INDENT: 2em">中非民间商会、非洲投资网');
	document.writeln('<LI>·<strong>承办单位</strong> ');
	document.writeln('<LI style="TEXT-INDENT: 2em">龙口港集团有限公司');
	document.writeln('</LI>');
	document.writeln('</UL>');
}

