
var frequencyCap = 1;
function setCookie(cookieName,cookieValue, expirehours) {
  if (frequencyCap > 0){
	var today = new Date();
	var expire = new Date();
 	expire.setTime(today.getTime() + 3600000 * frequencyCap);
 	document.cookie = cookieName+"="+escape(cookieValue)
                 + ";expires="+expire.toGMTString();
  }else{document.cookie = cookieName+"="+escape(cookieValue);}
}



function ReadCookie(cookieName) {
 var theCookie=""+document.cookie;
 var ind=theCookie.indexOf(cookieName);
 if (ind==-1 || cookieName=="") return ""; 
 var ind1=theCookie.indexOf(';',ind);
 if (ind1==-1) ind1=theCookie.length; 
 return unescape(theCookie.substring(ind+cookieName.length+1,ind1));
}


if (window.screen.width>800){
document.writeln('<LINK href="http://localhost/VenShop/qqstyle.css" type=text/css rel=stylesheet>'); //localhost以后的该对应的路?
document.writeln('<SCRIPT src="js/div.js"> </SCRIPT>'); 
document.writeln('<DIV id=difonefloat style="Z-INDEX: 1; left: 88%; VISIBILITY: visible; WIDTH: 104px; POSITION: absolute; TOP: 200px; HEIGHT: 170px">'); //left: 800px 是效果在屏幕的位?
document.writeln('<TABLE cellSpacing=0 cellPadding=0 width=120 align=center border=0>'); 
document.writeln('<TBODY><TR><TD class=difonetd>'); 
document.writeln('<IMG height=29 src="js/bk_up.gif" width=120 useMap=#difonemap border=0></TD></TR></TBODY></TABLE>'); 
document.writeln('<DIV id=difone1>'); 
document.writeln('<TABLE cellSpacing=0 cellPadding=0 width=120 align=center border=0>'); 
document.writeln('<TBODY><TR><TD class=difonetd vAlign=center align=right width=120 background=js/bk_mid.gif height=80>'); 
document.writeln('<TABLE cellSpacing=0 cellPadding=0 width=110 border=0 align=left>'); 

document.writeln('<TR> <TD class=difonetd width=7></TD>'); 
document.writeln('<TD class=difonetd vAlign=bottom align=middle bgColor=#8a98ff colSpan=2 height=16><FONT class=px12 color=#ffffff>ϵ </FONT> </TD></TR>'); 
document.writeln('<TR> <TD class=difonetd width=7></TD>'); 
document.writeln('<TD class=difonetd vAlign=bottom align=middle colSpan=2 height=16></TD></TR>'); 

document.writeln('<TR> <TD class=difonetd></TD><TD height="25" align=middle class=difonetd>&nbsp; </TD>'); 
document.writeln('<TD class=difonetd>&nbsp;<a target=blank href=http://wpa.qq.com/msgrd?V=1&Uin=634363703&Site=www.sycyyb.com&Menu=yes ><img border="0" SRC=http://wpa.qq.com/pa?p=1:634363703:7></a> </TD></TR>'); 
document.writeln('<TR> <TD class=difonetd></TD><TD height="25" align=middle class=difonetd>&nbsp; </TD>'); 
document.writeln('<TD class=difonetd>&nbsp;<a href=http://amos1.sh1.china.alibaba.com/msg.atc?v=1&amp;uid=sycyyb target=_blank><img border=0 src=http://amos1.sh1.china.alibaba.com/online.atc?v=1&uid=sycyyb&s=1 ></a> </TD></TR>'); 

document.writeln('<TR> <TD class=difonetd width=7></TD>'); 
document.writeln('<TD class=difonetd vAlign=bottom align=middle bgColor=#8a98ff colSpan=2 height=16><FONT class=px12 color=#ffffff><a href="#" ><font color="#ffffff">סվַ; </FONT> </TD></TR>'); 
document.writeln('<TR> <TD class=difonetd></TD><TD height="25" align=middle class=difonetd>&nbsp; </TD>'); 
document.writeln('<TD class=difonetd width=95><img src="js/page.gif" width="16" height="16"> ');
document.writeln("<a href=# onClick=this.style.behavior='URL(#default#homepage)';this.setHomePage('http://www.sycyyb.com')>Ϊҳ</a> </TD></TR>"); 
document.writeln('<TR> <TD class=difonetd></TD><TD height="25" align=middle class=difonetd>&nbsp;</TD>'); 
document.writeln('<TD class=difonetd width=95><img src="js/Favorites.gif" width="16" height="16">');  
document.writeln("<a href=# onClick=window.external.addFavorite('http://www.sycyyb.com/','ղرվ')>ղرվ</a></TD></TR>"); 
document.writeln('</TBODY></TABLE></TD></TR>');  
document.writeln('<TR><TD class=difonetd align=middle width=120 background=js/bk_bot.gif height=53>ѹǱ<br>'); 
document.writeln('<font color="#FF0000">&nbsp;&nbsp;</font>&nbsp;&nbsp;</TD></TR></TBODY></TABLE></DIV></DIV>'); 
document.writeln('<MAP name=difonemap><AREA onclick=hidenbox1(difonefloat,difone1);return shape=CIRCLE alt=关闭浮动窗口 coords=10,10,5 href="#" false;><AREA onclick=hidenbox(difone1);return shape=CIRCLE alt=最小化浮动窗口 coords=24,10,6 href="#" false;></MAP>'); 

}
