document.write('<style type="text/css">');
document.write('#footer {');
document.write('	width: 775px;');
document.write('	margin-right: auto;');
document.write('	margin-left: auto;');
document.write('	padding-top: 20px;');
document.write('	background-color: #FFFFFF;');
document.write('}');
document.write('#footer #f_nav {');
document.write('	text-align: center;');
document.write('	margin-right: 10px;');
document.write('	margin-left: 10px;');
document.write('	border-top-width: 1px;');
document.write('	border-top-style: solid;');
document.write('	border-top-color: #CCCCCC;');
document.write('	padding-top: 20px;');
document.write('	font-family: "宋体";');
document.write('	color: #333333;');
document.write('	font-size: 12px;');
document.write('	padding-bottom: 20px;');
document.write('}');
document.write('#footer #f_icp {');
document.write('	text-align: center;');
document.write('	padding-bottom: 30px;');
document.write('}');

document.write('.f_link:hover {');
document.write('	font-family: "宋体";');
document.write('	font-size: 12px;');
document.write('	color: #333333;');
document.write('	text-decoration: underline;');
document.write('}');
document.write('.f_link:link {');
document.write('	font-family: "宋体";');
document.write('	font-size: 12px;');
document.write('	color: #333333;');
document.write('	text-decoration: none;');
document.write('}');
document.write('.f_link {');
document.write('	font-family: "宋体";');
document.write('	font-size: 12px;');
document.write('	color: #333333;');
document.write('	text-decoration: none;');
document.write('}');
document.write('.f_icp {');
document.write('	font-family: "宋体";');
document.write('	font-size: 12px;');
document.write('	color: #333333;');
document.write('	text-decoration: none;');
document.write('	line-height: 20px;');
document.write('}');
document.write('.f_icp:link {');
document.write('	font-family: "宋体";');
document.write('	font-size: 12px;');
document.write('	color: #333333;');
document.write('	text-decoration: none;');
document.write('}');
document.write('.f_icp:hover {');
document.write('	font-family: "宋体";');
document.write('	font-size: 12px;');
document.write('	color: #333333;');
document.write('	text-decoration: underline;');
document.write('}');
document.write('</style>');


document.writeln('<div id="footer">');

// add alimama ad
document.writeln('<div id="footer_ad" style="margin-left: 20px"></div>');

document.writeln('<div id="f_nav"><a class="f_link" href="http://public.marry5.com/home/aboutus/aboutus.htm" target=_blank>关于我们</a> |'); 
document.writeln('<a class="f_link" href="http://www.marry5.com/story" target=_blank>成功故事</a> |');
document.writeln('<a class="f_link" href="http://public.marry5.com/home/helpcenter/denonce.htm" target=_blank>服务声明</a> |');
document.writeln('<a class="f_link" href="http://public.marry5.com/home/help/help_index.htm" target=_blank>交友帮助</a> |');
document.writeln('<a class="f_link" href="http://public.marry5.com/home/helpcenter/reply.htm" target=_blank>会员来信</a> |');
document.writeln('<a class="f_link" href="http://public.marry5.com/home/aboutus/lianjie.htm" target=_blank>友情链接</a> |');
document.writeln('<a class="f_link" href="http://public.marry5.com/home/registration/hotline.htm" target=_blank>客服中心</a> |');
document.writeln('<a class="f_link" href="http://public.marry5.com/home/registration/sitemap.htm" target=_blank>网站地图</a> |'); 
document.writeln('<a class="f_link" href="http://public.marry5.com/home/aboutus/ad_service.htm" target=_blank>广告服务</a></div>');
document.writeln('<div id="f_icp">');
document.writeln('<a class="f_icp" href="http://www.miibeian.gov.cn/" target="_blank">粤ICP 备06036239号</a><br />');
document.writeln('<a class="f_icp">Copyright  2005-2008 All Rights Reserved</a>');
document.writeln('</div>');
document.writeln('</div>');

<!-- import the quick entrance javascript-->
try{
	if(CONTEXT_RES_URL == null){
		//do nothing
	}
}catch(e){
	var CONTEXT_RES_URL = "http://image.marry5.com/www";
}
document.write("<script src='"+CONTEXT_RES_URL+"/home/js/quick_entrance.js'></script>");

//console ad
var f_u = document.URL;
if(f_u.indexOf("http://buy.marry5.com") > -1){
  document.getElementById("footer_ad").style.display="none";
}if(f_u.indexOf("http://truelove.marry5.com") > -1){
	if((f_u.indexOf("recommendGuide.m5") > -1)||(f_u.indexOf("priceList.m5") > -1))
	document.getElementById("footer_ad").style.display="none";
}if (f_u.indexOf("/sso/signOn.m5") > -1)
{
	document.getElementById("footer_ad").style.display="none";
}if ((f_u.indexOf("/sso/register.m5") > -1)||(f_u.indexOf("/my/phase1.m5") > -1)||(f_u.indexOf("/my/phase2.m5") > -1)||(f_u.indexOf("/my/phase3.m5") > -1))
{
	document.getElementById("footer_ad").style.display="none";
}

// alimama footer ad
alimama_pid="mm_11467074_1296923_2797156"; 
alimama_titlecolor="0000FF"; 
alimama_descolor ="000000"; 
alimama_bgcolor="FFFFFF"; 
alimama_bordercolor="E6E6E6"; 
alimama_linkcolor="008000"; 
alimama_bottomcolor="FFFFFF"; 
alimama_anglesize="0"; 
alimama_bgpic="0"; 
alimama_icon="0"; 
alimama_sizecode="14"; 
alimama_width=728; 
alimama_height=90; 
alimama_type=2; 
alimama_containerid="footer_ad";
document.writeln('<script src="http://a.alimama.cn/inf.js" type=text/javascript></script>');