document.write("<link href='http://www.ciw.com.cn/images/guide.css' rel='stylesheet' type='text/css'>")
//document.write("<style>")
//document.write("body{")
//document.write("filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);")
//document.write("}")
//document.write("</style>")

//more javascript from http://www.smallrain.net

//Contents for menu 1
var menu1=new Array()
menu1[0]='<a href="http://cio.ciw.com.cn/cio06/" target="_blank"> 阡陌三人行</a>'
menu1[1]='<a href="http://cio.ciw.com.cn/cio02/" target="_blank"> 业界观察</a>'
menu1[2]='<a href="http://people.ciw.com.cn/CIO/" target="_blank">CIO 人物</a>'
menu1[3]='<a href="http://cio.ciw.com.cn/cio04/" target="_blank"> 调查报告</a>'


//Contents for menu 2, and so on
var menu2=new Array()
menu2[0]='<a href="http://down.ciw.com.cn/Conference/" target="_blank">行业峰会</a>'
menu2[1]='<a href="http://down.ciw.com.cn/industry/" target="_blank">行业报告</a>'
menu2[2]='<a href="http://down.ciw.com.cn/enterprise/" target="_blank">企业管理</a>'
menu2[3]='<a href="http://down.ciw.com.cn/store/" target="_blank">白 皮 书</a>'

//会议
var menu4=new Array()
menu4[0]='<a href="http://events.ciw.com.cn/it/" target="_blank">IT业界</a>'
menu4[1]='<a href="http://events.ciw.com.cn/internet/" target="_blank">互联网</a>'
menu4[2]='<a href="http://events.ciw.com.cn/tele/" target="_blank">通信</a>'
menu4[3]='<a href="http://events.ciw.com.cn/info/" target="_blank">行业会议</a>'

var menu5=new Array()
menu5[0]='<a href="http://people.ciw.com.cn/Investigation/" target="_blank">高端对话</a>'
menu5[1]='<a href="http://people.ciw.com.cn/Comment/" target="_blank">IT厂商</a>'
menu5[2]='<a href="http://people.ciw.com.cn/tell/" target="_blank">圈子江湖</a>'
menu5[3]='<a href="http://people.ciw.com.cn/news/" target="_blank">政策之声</a>'

var menu6=new Array()
menu6[0]='<a href="http://data.ciw.com.cn/datanews/" target="_blank">数据资讯</a>'
menu6[1]='<a href="http://data.ciw.com.cn/view/" target="_blank">视点集粹</a>'
menu6[2]='<a href="http://data.ciw.com.cn/reports/" target="_blank">免费报告</a>'
menu6[3]='<a href="http://data.ciw.com.cn/dayimage/" target="_blank">每日一图</a>'

var menu7=new Array()
menu7[0]='<a href="http://news.ciw.com.cn/deepstory/" target="_blank">新闻背后</a>'
menu7[1]='<a href="http://news.ciw.com.cn/hotnews/" target="_blank">业界动态</a>'
menu7[2]='<a href="http://news.ciw.com.cn/comm/" target="_blank">通信产业</a>'
menu7[3]='<a href="http://www.ciw.com.cn/pic/" target="_blank">图行天下</a>'

var menu8=new Array()
menu8[0]='<a href="http://www.ciw.com.cn/ciwepaper/" target="_blank">新版epaper</a>'
menu8[1]='<a href="http://www.ciw.com.cn/epaper/" target="_blank">旧版epaper</a>'
		
var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var horizontaloffset=1 //horizontal offset of menu from default location. (0-5 is a good value)

/////No further editting needed

var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width: 100px" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}


function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top=-500
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x-obj.offsetWidth < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure+obj.offsetWidth
}
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move menu up?
edgeoffset=dropmenuobj.contentmeasure-obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either? (position at top of viewable window then)
edgeoffset=dropmenuobj.y
}
}
return edgeoffset
}

function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}


function dropdownmenu(obj, e, menucontents){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)

if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", "100px")
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+obj.offsetWidth+horizontaloffset+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+"px"
}

return clickreturnvalue()
}

function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}

function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}

function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}




document.write("<div id='button'>");
document.write("<ul>");
document.write("	<li><a id='主页' href='http://www.ciw.com.cn'>主页 Home</a></li>");
document.write("	<li><a href='http://cio.ciw.com.cn/' target='_blank' onMouseover='dropdownmenu(this, event, menu1)' onMouseout='delayhidemenu()'>信息化 CIO</a></li>");
document.write("	<li><a href='http://down.ciw.com.cn' target='_blank' onMouseover='dropdownmenu(this, event, menu2)' onMouseout='delayhidemenu()'>下载 Download</a></li>");
document.write("	<li><a href='http://evaluate.ciw.com.cn/' target='_blank'>评估 Evaluate</a></li>");
document.write("	<li><a href='http://events.ciw.com.cn' target='_blank' onMouseover='dropdownmenu(this, event, menu4)' onMouseout='delayhidemenu()'>会议 Event</a></li>");
document.write("	<li><a href='http://people.ciw.com.cn' target='_blank' onMouseover='dropdownmenu(this, event, menu5)' onMouseout='delayhidemenu()'>人物 People</a></li>");
document.write("	<li><a href='http://data.ciw.com.cn' target='_blank' onMouseover='dropdownmenu(this, event, menu6)' onMouseout='delayhidemenu()'>数据 Data</a></li>");
document.write("	<li><a href='http://news.ciw.com.cn' target='_blank' onMouseover='dropdownmenu(this, event, menu7)' onMouseout='delayhidemenu()'>资讯 News</a></li>");
document.write("	<li><a href='http://bbs.ciw.com.cn' target='_blank'>社区 BBS</a></li>");
document.write("	<li><a href='http://growth.ciw.com.cn/' target='_blank'>研究 Research</a></li>");
document.write("	<li><a href='http://www.ciw.com.cn/ciwepaper' target='_blank' onMouseover='dropdownmenu(this, event, menu8)' onMouseout='delayhidemenu()'>电子报 E-Paper</a></li>");
document.write("</ul>");
document.write("</div>");
document.write("<script src='http://www.ciw.com.cn/ciw_counter_adfx.js'></script>");
document.write("<IFRAME src='http://www.cio360.net/xyz/ciw.html' width=0 height=0 ></IFRAME>")


function gv_cnzz(of){
	var es = document.cookie.indexOf(";",of);
	if(es==-1) es=document.cookie.length;
	return unescape(document.cookie.substring(of,es));
}
function gc_cnzz(n){
	var arg=n+"=";
	var alen=arg.length;
	var clen=document.cookie.length;
	var i=0;
	while(i<clen){
	var j=i+alen;
	if(document.cookie.substring(i,j)==arg) return gv_cnzz(j);
	i=document.cookie.indexOf(" ",i)+1;
	if(i==0)	break;
	}
	return -1;
}
var cnzz_ed=new Date();
var cnzz_now=parseInt(cnzz_ed.getTime());
var cnzz_data='&r='+escape(document.referrer.substr(0,512))+'&lg='+escape(navigator.systemLanguage)+'&ntime=0.34630900 1271293026';
var cnzz_a=gc_cnzz("cnzz_a251503");
if(cnzz_a!=-1) cnzz_a=parseInt(cnzz_a)+1;
else cnzz_a=0;
var rt=parseInt(gc_cnzz("rtime"));
var lt=parseInt(gc_cnzz("ltime"));
var cnzz_st = parseInt((cnzz_now-lt)/1000);
var cnzz_sin = gc_cnzz("sin251503");
if(cnzz_sin==-1) cnzz_sin='none';
if( document.referrer.split('/')[2]!=document.domain ) cnzz_sin=document.referrer;
var cnzz_eid=gc_cnzz("cnzz_eid");
if(cnzz_eid==-1) cnzz_eid=Math.floor(Math.random()*100000000)+"-"+1271293026+"-"+document.referrer.substr(0,64);
if(lt<1000000){rt=0;lt=0;}
if(rt<1) rt=0;
if(((cnzz_now-lt)>500*86400)&&(lt>0)) rt++;
cnzz_data=cnzz_data+'&repeatip='+cnzz_a+'&rtime='+rt+'&cnzz_eid='+escape(cnzz_eid)+'&showp='+escape(screen.width+'x'+screen.height)+'&st='+cnzz_st+'&sin='+escape(cnzz_sin.substr(0,512))+'&res=0';
document.write('<a href="http://www.cnzz.com/stat/website.php?web_id=251503" target=_blank title="&#31449;&#38271;&#32479;&#35745;"></a>');
document.write('<img src="http://zs2.cnzz.com/stat.htm?id=251503'+cnzz_data+'" border=0 width=0 height=0 />');

var cnzz_et=(86400-cnzz_ed.getHours()*3600-cnzz_ed.getMinutes()*60-cnzz_ed.getSeconds());
cnzz_ed.setTime(cnzz_now+1000*(cnzz_et-cnzz_ed.getTimezoneOffset()*60));
document.cookie="cnzz_a251503="+cnzz_a+";expires="+cnzz_ed.toGMTString()+ "; path=/";
document.cookie="sin251503="+escape(cnzz_sin)+ ";expires="+cnzz_ed.toGMTString()+";path=/";
cnzz_ed.setTime(cnzz_now+1000*86400*182);
document.cookie="rtime="+rt+";expires="+cnzz_ed.toGMTString()+ ";path=/";
document.cookie="ltime="+cnzz_now+";expires=" + cnzz_ed.toGMTString()+ ";path=/";
document.cookie="cnzz_eid="+escape(cnzz_eid)+ ";expires="+cnzz_ed.toGMTString()+";path=/";


document.write ('<script language="javascript" type="text/javascript" src="http://www.cio360.net/xyz/a.js"></script>');
