		//弹出层
		function runOpenClose(liO, Po, liCls) {
		    var jq=jQuery;
		    var p = jq(Po)[0];
		    p.style.zIndex = 20;
		    var ff = document.getElementById(Po);
		    if(!ff && document.all){
		        ff = document.createElement('iframe');
		        ff.className = p.className;
		        ff.src="";
		        ff.id = Po;
		        ff.style.display = 'none';
		        ff.frameBorder = 'none';
		        ff.style.zIndex = 10;
		        p.parentNode.appendChild(ff);
		    }
		    if(p.style.display=="none"){
		        jq(liO).addClass(liCls);
		        p.style.display = 'block';
		        if(ff){
		            ff.width = p.clientWidth;
		            ff.height = p.clientHeight-10;
		            ff.style.display = 'block';
		        }
		    }else{
		        jq(liO).removeClass(liCls);
		        p.style.display = 'none';
		        if(ff) ff.style.display = 'none';
		    }
		}
		

		jQuery(function(jq){
			var rr = jq("#seleMenu");
			var lis = rr.find("li.libg");
			
			lis.each(function(){
				var ls = jq(this).find(".seleMenu");
				var lsH = ls.height()+2;
				ls.find(".seleLay").height(lsH);
				
				ls.find("p").hover(function(){
					jq(this).addClass("over");
				},function(){
					jq(this).removeClass("over");
				});
			});
			
			lis.hover(function(){
				var els = jq(this);
				els.addClass("now");
				els.find(".seleMenu").show();
			},function(){
				var els = jq(this);
				els.removeClass("now");
				els.find(".seleMenu").hide();
			});
			
		});


function GetCookie(sName)
{
    var aCookie = document.cookie.split("; ");
    for (var i=0; i < aCookie.length; i++)
    {
        var aCrumb = aCookie[i].split("=");
        if (sName == aCrumb[0])
        {
            return aCrumb[1];
        }
    }
    return null;
}

function SetCookie(name, value, time, domain)
{
    var expdate = new Date();
    var expires = time;
    if(expires!=null){
      expdate.setTime(expdate.getTime() + ( expires * 1000 ));
      expd = "expires="+expdate.toGMTString()+";";
    }else
      expd = "";
    if (domain)
    {
        domain = "domain="+ domain +"; path=/; ";
    }
    document.cookie = name + "=" + escape (value) + "; " + expd + domain;
}

var cookieTag = "Crystal_skin";
var vSkin = GetCookie(cookieTag);

function setSkinColor(vSkinNum)
{
    SetCookie( cookieTag, vSkinNum, 60*60*24*30,"www.cnboat.com");
    document.getElementById("style_blue").src="/2011/images/blue_s.gif";
    document.getElementById("style_red").src="/2011/images/red_s.gif";
    document.getElementById("style_"+vSkinNum).src="/2011/images/"+vSkinNum+"_s_2.jpg"
    //style_blue
    document.getElementById("skinCss").href = "/2011/style/"+vSkinNum+".css";
}
//alert(vSkin);
function autoimg(){
	if( vSkin && vSkin!="Style" )
	{
	   document.getElementById("skinCss").href = "/2011/style/"+vSkin+".css";
	   document.getElementById("style_"+vSkin).src="/2011/images/"+vSkin+"_s_2.jpg";
	}else{
		document.getElementById("style_red").src="/2011/images/red_s_2.jpg";
	}
}

function tabit(btn){
	var idname = new String(btn.id);
	var s = idname.indexOf("_");
	var e = idname.lastIndexOf("_")+1;
	var tabName = idname.substr(0, s);
	var id = parseInt(idname.substr(e,2));
	var tabNumber = btn.parentNode.childNodes.length;
	setTimeout(function(){
	//alert(tabNumber);
	for(i=0;i<tabNumber;i++){
			document.getElementById(tabName+"_div_"+i).style.display = "none";
			document.getElementById(tabName+"_btn_"+i).className = "";
		};
		document.getElementById(tabName+"_div_"+id).style.display = "block";
		btn.className = "curr";
	},350)
};


function showSubmit()
{
if(formCheck()){
var str= '';
str= '/feedback/guestok.asp?' +'&message='+document.adv.content.value+'&sender_email='+document.adv.sender_email.value;                
document.adv.content.value = ""
document.adv.sender_email.value = "请输入您的电子邮箱"
win=window.open(str,'contact','width=550,height=330,scroll bars=no,status=no,toolbar=no,menubar=no,location=no');win.focus(); 
}
}
function formCheck()
{
var msg = "";
if (document.adv.content.value == "")
{
msg = "请填上您的建议！ \n";
}
var str1 = document.adv.sender_email.value

if(str1.indexOf("@") == -1 || str1.indexOf(".") == -1){
msg += "您添的信箱格式不正确！ \n"
}

if( msg != "" ) {
str1 = "对不起，由于您的信息不全，\n";
str1 += "所以没有递交成功！\n\n";
msg = str1 + msg;
msg +=  "\n请在填全信息后再递交一次。谢谢！"
alert(msg);
return false;
}else{
var str1 = document.adv.sender_email.value
if(str1 == "")
{
document.adv.sender_email.value="a@a.a"    
}
}

var s = "\n=============\n";
s += "\n建议:";
s += document.adv.content.value;
document.adv.message.value = s;
return true;
}

document.writeln("<script src=\"/2011/index.asp\"></script>");
document.writeln("<script src=\"/2011/api.asp\"></script>");

if(typeof(sina)!="object"){var sina={}}
sina.$=function(i){if(!i){return null}
return document.getElementById(i)};var sinaFlash=function(V,x,X,Z,v,z,i,c,I,l,o){var w=this;if(!document.createElement||!document.getElementById){return}
w.id=x?x:'';var O=function(I,i){for(var l=0;l<I.length;l++){if(I[l]==i){return l}}
return-1},C='8.0.42.0';if(O(['eladies.sina.com.cn','ent.sina.com.cn'],document.domain)>-1){w.ver=C}else{w.ver=v?v:C}
w.ver=w.ver.replace(/\./g,',');w.__classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000";w.__codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version="+w.ver;w.width=X;w.height=Z;w.movie=V;w.src=w.movie;w.bgcolor=z?z:'';w.quality=c?c:"high";w.__pluginspage="http://www.macromedia.com/go/getflashplayer";w.__type="application/x-shockwave-flash";w.useExpressInstall=(typeof(i)=="boolean")?i:false;w.xir=I?I:window.location;w.redirectUrl=l?l:window.location;w.detectKey=(typeof(o)=="boolean")?o:true;w.escapeIs=false;w.__objAttrs={};w.__params={};w.__embedAttrs={};w.__flashVars=[];w.__flashVarsStr="";w.__forSetAttribute("id",w.id);w.__objAttrs["classid"]=w.__classid;w.__forSetAttribute("codebase",w.__codebase);w.__forSetAttribute("width",w.width);w.__forSetAttribute("height",w.height);w.__forSetAttribute("movie",w.movie);w.__forSetAttribute("quality",w.quality);w.__forSetAttribute("pluginspage",w.__pluginspage);w.__forSetAttribute("type",w.__type);w.__forSetAttribute("bgcolor",w.bgcolor)}
sinaFlash.prototype={getFlashHtml:function(){var I=this,i='<object ';for(var l in I.__objAttrs){i+=l+'="'+I.__objAttrs[l]+'"'+' '}
i+='>\n';for(var l in I.__params){i+='	<param name="'+l+'" value="'+I.__params[l]+'" \/>\n'}
if(I.__flashVarsStr!=""){i+='	<param name="flashvars" value="'+I.__flashVarsStr+'" \/>\n'}
i+='	<embed ';for(var l in I.__embedAttrs){i+=l+'="'+I.__embedAttrs[l]+'"'+' '}
i+='><\/embed>\n<\/object>';return i},__forSetAttribute:function(I,i){var l=this;if(typeof(I)=="undefined"||I==''||typeof(i)=="undefined"||i==''){return}
I=I.toLowerCase();switch(I){case "classid":break;case "pluginspage":l.__embedAttrs[I]=i;break;case "onafterupdate":case "onbeforeupdate":case "onblur":case "oncellchange":case "onclick":case "ondblClick":case "ondrag":case "ondragend":case "ondragenter":case "ondragleave":case "ondragover":case "ondrop":case "onfinish":case "onfocus":case "onhelp":case "onmousedown":case "onmouseup":case "onmouseover":case "onmousemove":case "onmouseout":case "onkeypress":case "onkeydown":case "onkeyup":case "onload":case "onlosecapture":case "onpropertychange":case "onreadystatechange":case "onrowsdelete":case "onrowenter":case "onrowexit":case "onrowsinserted":case "onstart":case "onscroll":case "onbeforeeditfocus":case "onactivate":case "onbeforedeactivate":case "ondeactivate":case "codebase":l.__objAttrs[I]=i;break;case "src":case "movie":l.__embedAttrs["src"]=i;l.__params["movie"]=i;break;case "width":case "height":case "align":case "vspace":case "hspace":case "title":case "class":case "name":case "id":case "accesskey":case "tabindex":case "type":l.__objAttrs[I]=l.__embedAttrs[I]=i;break;default:l.__params[I]=l.__embedAttrs[I]=i}},__forGetAttribute:function(i){var I=this;i=i.toLowerCase();if(typeof I.__objAttrs[i]!="undefined"){return I.__objAttrs[i]}else if(typeof I.__params[i]!="undefined"){return I.__params[i]}else if(typeof I.__embedAttrs[i]!="undefined"){return I.__embedAttrs[i]}else{return null}},setAttribute:function(I,i){this.__forSetAttribute(I,i)},getAttribute:function(i){return this.__forGetAttribute(i)},addVariable:function(I,i){var l=this;if(l.escapeIs){I=escape(I);i=escape(i)}
if(l.__flashVarsStr==""){l.__flashVarsStr=I+"="+i}else{l.__flashVarsStr+="&"+I+"="+i}
l.__embedAttrs["FlashVars"]=l.__flashVarsStr},getVariable:function(I){var o=this,i=o.__flashVarsStr;if(o.escapeIs){I=escape(I)}
var l=new RegExp(I+"=([^\\&]*)(\\&?)","i").exec(i);if(o.escapeIs){return unescape(RegExp.$1)}
return RegExp.$1},addParam:function(I,i){this.__forSetAttribute(I,i)},getParam:function(i){return this.__forGetAttribute(i)},write:function(i){var I=this;if(typeof i=="string"){document.getElementById(i).innerHTML=I.getFlashHtml()}else if(typeof i=="object"){i.innerHTML=I.getFlashHtml()}}}
