{
var domain_5460_foot = location.hostname;
var domain_5460_foot_pref = domain_5460_foot.substring(0,domain_5460_foot.indexOf('.')).toLowerCase();
var type_5460_foot = 0;//头类型

if(domain_5460_foot.indexOf('chinavnet.com')>0||location.href.indexOf('vnet=1')>0)type_5460_foot=10;
else if(domain_5460_foot_pref!='201'&&domain_5460_foot_pref.indexOf("1")>0)type_5460_foot=1;
var cookieString_foot = new String(document.cookie) ;//互联星空头文件
if(domain_5460_foot.indexOf('xaonline.com')>0) type_5460_foot=30;
if(cookieString_foot.indexOf('isvnet')!=-1)type_5460_foot=10;
if(cookieString_foot.indexOf('iscdream=1')!=-1)type_5460_foot=20;//校园网
if(domain_5460_foot_pref=='222') type_5460_foot=31;//湘潭大学
if(domain_5460_foot_pref=='220') type_5460_foot=31;//湘潭大学
if(domain_5460_foot_pref=='192') type_5460_foot=32;//湘潭大学
if(domain_5460_foot.indexOf('xtu.edu.cn') > 0) type_5460_foot=31;//湘潭大学
if(domain_5460_foot.indexOf('faminet.hn.vnet.cn') > 0) type_5460_foot=33;//数字家庭
if(domain_5460_foot.indexOf('fm.5460.net') > 0) type_5460_foot=34;//fm.5460.net

switch (type_5460_foot){
	case 10:
		document.write("<table width='100%' border='0' align='center' cellpadding='0' cellspacing='0'>");
		document.write("    <tr>");
		document.write("      <td><script src='http://www.chinavnet.com/public/js/footer.js'><\/script></td>");
		document.write("    </tr>");
		document.write("</table>");
		break;
	case 20:
		document.write("<iframe name='head' src='http://www.cdream.com.cn/chpage/c1/footer.htm' height='75' width='100%' scrolling='no' noResize  border=0 frameBorder=0 marginheight='0' marginwidth='0'></iframe>");
		break;
	case 30:
		document.write("<iframe name='head' src='http://images.5460.net/images/xaonline/xafoot.htm' height='60' width='100%' scrolling='no' noResize  border=0 frameBorder=0 marginheight='0' marginwidth='0'></iframe>");
		break;	
	case 31:
		document.write("<iframe name='head' src='http://222.240.128.210:81/footer.jsp' height='60' width='100%' scrolling='no' noResize  border=0 frameBorder=0 marginheight='0' marginwidth='0'></iframe>");
		break;
	case 32:
		document.write("<iframe name='head' src='http://222.240.128.210:81/footer.jsp' height='60' width='100%' scrolling='no' noResize  border=0 frameBorder=0 marginheight='0' marginwidth='0'></iframe>");
		break;
	case 33:
		document.write("<table width='674' height='80' border='0' align='center' cellpadding='0' cellspacing='0' bgcolor='#FFFFFF' class='font_hui01'>");
		document.write("    <tr>");
		document.write("      <td height='15' align='center'><script src='http://faminet.hn.vnet.cn/web/foot.js'><\/script></td>");
		document.write("    </tr>");
		document.write("</table>");
		break;
	case 34:
		document.write("<iframe name='foot' src='http://images.5460.net/images/public/foot.html' height='115' width='100%' scrolling='no' noResize  border=0 frameBorder=0 marginheight='0' marginwidth='0'></iframe>");
		break;
	default://5460标准尾
		document.write("<iframe name='foot' src='http://images.5460.net/images/public/foot.html' height='115' width='100%' scrolling='no' noResize  border=0 frameBorder=0 marginheight='0' marginwidth='0'></iframe>");
}
}