document.writeln("<script type='text/javascript' src='http://pv.bbapp.net/pvCounter?sectCode=res_gd_zj_chat&siteCode=yinsha&pt=X_pageview&log=1&ref=1'></script>");
durlf=new Array()
durlf["cvnet"]="http://www.vnet.cn/public/footer.htm";
durlf["vnet"]="http://a1.gd.chinavnet.com/end/end.html";
durlf["poco"]="http://www.bliao.com/poco/bot.htm";

dheightf=new Array();
dheightf["cvnet"]=100;
dheightf["vnet"]=86;
dheightf["poco"]=42;

matcharray=new Array()
if(window.location.hostname=="bliao.chat.chinavnet.com"|| window.location.hostname=="chat.chinavnet.com"){
	matcharray[1]="cvnet"
	prefix="cvnet"
}else if(window.location.hostname=="chat.gd.chinavnet.com"){
	matcharray[1]="vnet"
	prefix="vnet"
}else if(window.location.hostname=="chat.poco.cn"){
	matcharray[1]="poco"
	prefix="poco"
}else{
	var pattern = /(.*)\.bliao.com/i;
	var matcharray=pattern.exec(window.location.hostname+"");
}

prefix=""
if(matcharray){
	tmp_prefix=matcharray[1];
	if (durlf[tmp_prefix]) {
		prefix=tmp_prefix;
		document.cookie = "yinshabliaoprefixf="+escape(prefix)+";domain=bliao.com"
	}
}

if(prefix == ""){
	pf=getCookie("yinshabliaoprefix");
	if (pf && pf!="yinsha")	prefix=pf;
}

if (prefix!="poco") document.write("<div align=center><iframe src='http://www.bliao.com:2001/vnet/chat/foot.htm' width='760' height='80' frameborder=0 border=0 resize MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 align='center' scrolling=no></iframe></div>")
if (prefix!="") 
document.write("<div align=center><iframe src='"+durlf[prefix]+"' width=760 height="+dheightf[prefix]+" align=center frameborder=0 border=0 resize MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 scrolling=no></iframe></div>");
