<!--
//if(top==self)top.location="index.html"

cook=g_cookie('skin');if(cook) em('skinc').href="css/sd_"+cook+".css"
var tab_now = 1;
function s(a){if(a!=tab_now) {em('tl_'+a).className='bnone';em('tl_'+tab_now).className='bcolor'
	if(a==1) {em('fav').style.display='none';em('right_top').style.display='';em('nav').style.display=''
	} else {em('nav').style.display='none';em('right_top').style.display='none';em('fav').style.display='';if(em('fav_i').src=="about:blank") { em('fav_i').src='my/login.asp' }}tab_now=a}}
function ssk(a) { em('skinc').href="css/sd_"+a+".css";s_cookie('skin',a,5184000,'/') }
function em(e){	return document.getElementById(e)}
function start() {setInterval('refreshCalendarClock()',1000);var m=g_cookie('m');if(m>17) m=17;selectedIndex=m}
function g_cookie(name)
{var arg = name + "=";var alen = arg.length;var c= document.cookie;var clen =c.length;var i = 0
while (i < clen){var j = i + alen
if (c.substring(i, j) == arg)
return _GetCookieVal (j)
i = c.indexOf(" ", i) + 1
if (i == 0) break}
return null}
function s_cookie(name, value)
{var expdate = new Date();var argv = s_cookie.arguments;var argc = s_cookie.arguments.length
var expires = (argc > 2) ? argv[2] : null;var path = (argc > 3) ? argv[3] : null
var domain = (argc > 4) ? argv[4] : null;var secure = (argc > 5) ? argv[5] : false
if(expires!=null) expdate.setTime(expdate.getTime() + ( expires * 1000 ))
document.cookie = name + "=" + escape (value) +((expires == null) ? "" : ("; expires="+ expdate.toGMTString()))
+((path == null) ? "" : ("; path=" + path)) +((domain == null) ? "" : ("; domain=" + domain))
+((secure == true) ? "; secure" : "")}
function _GetCookieVal(offset)
{var c= document.cookie;var endstr = c.indexOf (";", offset)
if (endstr == -1) endstr = c.length
return unescape(c.substring(offset, endstr))}
function write_tiao() {
if(top.location == self.location ) {
document.write('<div id="title1">&nbsp;<a href="http://www.bhcc.cn/"><B>&gt;&gt;美妆中国-全面导航美妆网站</B></a>&nbsp;&nbsp;</div>  <div id="title2"><a href="index.htm" style="behavior:url(#default#homepage)" onclick="this.style.behavior=\'url(#default#homepage)\';this.setHomePage(\'http://www.bhcc.cn\');return(false);">设为首页</a>&nbsp;&nbsp;&nbsp;<a href="GuestBook.html">网友留言</a>&nbsp;</div>');}}

var bda=[[['www.baidu.com/index.php?tn=sanshi555_pg'],['www.baidu.com/s'],['']],[['mp3.baidu.com'],['mp3.baidu.com/m'],['134217728']],[['image.baidu.com'],['image.baidu.com/i'],['201326592']],[['news.baidu.com'],['news.baidu.com/ns'],''],
[['zhidao.baidu.com'],['zhidao.baidu.com/q'],['17']],[['post.baidu.com'],['post.baidu.com/f'],['']]]
gla=[[['www.google.cn/search?'],['www.google.cn/search']],[['music.cn.yahoo.com/?pid=yahoo_cn&source=yahoo_cn'],['music.cn.yahoo.com/search']],[['images.google.cn/images?'],['images.google.cn/images']],[['news.google.cn/news?'],['news.google.cn/news']],[['search.cn.yahoo.com/search?pid=yahoo_cn&source=yahoo_cn'],['search.cn.yahoo.com/search']]]
var stab=1,srh_htm;
function sh(i) {
if(i!=stab) {
em('lt'+i).className='active'
em('lt'+stab).className=''
em('srh_a').href='http://'+bda[i-1][0];
document.bdfm.action='http://'+bda[i-1][1];
document.bdfm.ct.value=bda[i-1][2];
em('gl_a').href='http://'+gla[i-1][0];
if(i==2||i==5) {document.yhfm.action='http://'+gla[i-1][1];
} else document.gform.action='http://'+gla[i-1][1];

if(i==3) {document.bdfm.lm.value='-1'}
else {document.bdfm.lm.value=''}
if(i==5) {document.bdfm.tn.value='ikaslist'}
else {document.bdfm.tn.value='1ndex2_pg'}
if(i==6) {document.bdfm.kw.value=document.bdfm.word.value}
else {document.bdfm.kw.value=''}
stab=i
em('gl_i').src='images/gl_'+i+'.gif';
em('srh_i').src='images/srh_'+i+'.gif'}}
function gss() {
if(stab==2||stab==5) {
document.yhfm.p.value=document.gform.q.value
clickCount(document.yhfm.action);
document.yhfm.submit();

return false
} else if(gform.action!='http://www.google.cn/search') clickCount(document.gform.action)}

if(screen.width<1000) location.href = "index.html";

if(top == self)document.bdfm.word.focus();
//-->

function on_input(objname){
	var msg	;
	msg=new Array(
	"中国美妆企业网址大全",
	"<strong>免费注册　免费建铺　免费发布</strong>",
	"网上超市　厂家直销　拼购批发　快速流通",
	"现在只需1元钱　即可拥有属于自己的独立域名和网站",
	"美妆专业人才　招聘求职好平台"
	)
	var strtxt;
	var obj=document.getElementById("massge");
	//obj.background-color="#1579C4"
	switch (objname){
		case "home":
			strtxt=msg[0];
			break;
		case "max":
			strtxt=msg[1];
			break;
		case "buy":
			strtxt=msg[2];
			break;
		case "idc":
			strtxt=msg[3];
			break;
		case "job":
			strtxt=msg[4];
			break;
	}
	obj.innerHTML=strtxt;
}




//QQ客服
var LXobjfla; var LXtheTop = 250;var LXtheOldTop = LXtheTop
function startLXflaDiv() {
     var tt=10;
     if (window.innerHeight) { pos = window.pageYOffset }
     else if (document.documentElement && document.documentElement.scrollTop) { pos = document.documentElement.scrollTop }
     else if (document.body) { pos = document.body.scrollTop; }
     pos=pos-LXobjfla.offsetTop+LXtheTop;
     pos=LXobjfla.offsetTop+pos/10;
     if (pos < LXtheTop) pos = LXtheTop;
     if (pos != LXtheOldTop) {
     LXobjfla.style.top = pos+"px";
     tt=10;
     }
     LXobjfla.style.left=(document.body.clientWidth-105)+"px";
     LXtheOldTop = pos;
     setTimeout(startLXflaDiv,tt);
}
function initLXflaDiv(id,html) {
     var n=document.createElement("div");
     n.setAttribute("id",id);
     
     n.style.position="absolute";
     n.style.top=LXtheTop+"px";
     n.style.width="120px";
     n.style.background="none";
     n.style.left=(document.body.clientWidth-105)+"px";
     
     n.innerHTML=html;
     document.body.appendChild(n);
}