﻿var epr=';expires=Thursday,01-Jan-2099 12:00:00 GMT';
var depr=';expires=Thursday,01-Jan-2000 12:00:00 GMT';
function top(){

document.write('<img src="\/img\/500x60.jpg" height="60" width="500"><\/div>');
document.write('<div id="k_contact"><div class="top_r"><ul>');
document.write('<li><a href="\/links\/" target="_blank">申请链接<\/a><\/li>');
document.write('<li><a href="\/ad.htm" target="_blank">广告服务<\/a><\/li>');
document.write('<li><a href="#" target="_blank">用户注册<\/a><\/li>');
document.write('<li><a href="#" target="_blank">用户登录<\/a><\/li>');
document.write('<li><a href="javascript:window.external.addFavorite(\'http://www.100wedding.cn\',\'婚礼百分百\');">收藏本站<\/a><\/li>');
document.write('<li><a href="/about.htm" target="_blank">联系我们<\/a><\/li>');
document.write('<\/ul><\/div><\/div>');
}
function sa3(){document.write('<iframe id="baiduframe" marginwidth="0" marginheight="0" scrolling="no" framespacing="0" vspace="0" hspace="0" frameborder="0" width="230" height="75" src="http://unstat.baidu.com/bdun.bsc?tn=bingq&cv=0&cid=201475&csid=105&bgcr=ffffff&ftcr=000000&urlcr=0000ff&tbsz=160"></iframe>');}
function sa(){}
function ca1(){loadAdsense(336,280,'text_image','ffffff','ffffff','0000cc','000066','333333','','google_adsense_script.htm');}
function ca2(){
document.write('<div style="float:right"><script type="text/javascript" src="http://club.100wedding.cn/api/javascript.php?key=default_hotthreads24hrs"></script></div>');
loadAdsense(336,280,'text_image','ffffff','ffffff','0000cc','000066','333333','','google_adsense_script.htm');}
function sa1(){loadAdsense(250,250,'text_image','ffffff','ffffff','F86390','000066','333333','','google_adsense_script.htm');}
function ma1(){document.write('<img src="/img/ad_01.gif" width="603" height="90" />');}
function ma2(){document.write('<img src="/img/ad_01.gif" width="603" height="90" />');}
function sa5(){
document.write('<script type="text/javascript" src="http://club.100wedding.cn/api/javascript.php?key=default_hotmembers"></script>');
}
function bottom(){


document.write('	<span id="k_bottominfo">	<div id="end"><ul>');
document.write('		<li class="e"><a href="/about.htm" target="_blank">关于我们</a>&nbsp;|&nbsp;<a href="/ad.htm" target="_blank">广告服务</a>&nbsp;|&nbsp;<a href="/about.htm" target="_blank">版权申明</a>&nbsp;|&nbsp;<a href="/links/" target="_blank">申请链接</a>&nbsp;|&nbsp;<a href="/about.htm" target="_blank">联系我们</a></li>');
document.write('		<li>Copyright &copy; 2007 100Wedding.Cn &nbsp;All Right Reserved.</li>');
document.write('		<li>版权所有<strong>婚礼百分百</strong></li>');
document.write('		<script language="JavaScript" src="http://s.1024px.net/ShowRank/100wedding.cn.php?style=img1"></script>');

}


function loadAdsense(width,height,type,bg,bd,link,url,text,channel,alter){
var format='',TempA=alter;
if(type=='4links'){format=width+'x'+height+'_'+'0ads_al';}
else if(type=='5links'){format=width+'x'+height+'_'+'0ads_al_s';}
else {format=width+'x'+height+'_'+'as';}
if(document.domain!='127.0.0.1'&&document.domain!='localhost'&&document.domain!=''){
alter=document.domain+'/'+alter;
document.writeln('<script type="text\/javascript"><!--');
document.writeln('google_ad_client = "pub-3755524511065505";');
if(TempA==''){document.writeln('google_alternate_color = "'+bg+'";');}else{document.writeln('google_alternate_ad_url = "http://'+alter+'";');}
document.writeln('google_ad_width = '+width+';');
document.writeln('google_ad_height = '+height+';');
document.writeln('google_ad_format = "'+format+'";');
if(type=='image'||type=='text'||type=='text_image'){document.writeln('google_ad_type = "'+type+'";');}
document.writeln('google_ad_channel ="'+channel+'";');
document.writeln('google_color_border = "'+bd+'";');
document.writeln('google_color_bg = "'+bg+'";');
document.writeln('google_color_link = "'+link+'";');
document.writeln('google_color_text = "'+text+'";');
document.writeln('google_color_url = "'+url+'";');
document.writeln('\/\/--><\/script>');
document.writeln('<script type="text\/javascript"');
document.writeln('  src="http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js">');
document.writeln('<\/script>');
}
else{document.writeln('<div style="height:'+height+'px;width:'+width+'px;background:#'+bg+';text-align:center;font-size:13px;color:#'+link+';line-height:'+height+'px;overflow:hidden">'+width+'x'+height+' Google Adsense<\/div>');}
}











function showdiv(divnum,divbefor,id){
	for(i=1;i<=divnum;i++){
		try{
			if(i==divbefor){
				document.getElementById(id+i).style.display="inline";
			}else{
				document.getElementById(id+i).style.display="none";
			}
		}catch(e){ }
	}
}
function menuFix(){}