var CookieR = false;
var jsver="0";
try{
    var jsver = MooTools.version;
    if (jsver == "1.11"){
        CookieR = Cookie.get("R");
    }else{
        CookieR = Cookie.read("R");
    }	
}catch(e){
	
}

if (null == CookieR || false == CookieR||""==CookieR){
	CookieR = "false";
}

function openEbook(vo){
	var window_width = screen.width;
	var window_height = screen.height - 25;
	var o_openEmag = window.open("/s/e/index.asp?vo="+vo,"","top=0,left=0,toolbar=0,directories=0,status=0,location=0,resizable=0,scrollbars=0,menubar=0,width="+window_width+",height="+window_height);
	o_openEmag.moveTo(-5, -25);
}
function oeb(obj){
	if (navigator.userAgent.indexOf("Maxthon") == -1){
		URL=obj.href;
    var width = screen.width;
    var height = screen.height;
    if (width > 1024){width = 1024;}
    if (height > 768){height = 768;}
    var left = ( screen.width - width ) / 2;
    var top = ( screen.height - height ) / 2;
    height -= 35;
    window.open(URL,'','width='+width+',height='+height+',top='+top+',left='+left+',scrollbars=0,resizable=1');
    return false;
	}
}
function openwin(url,w,h){
	childwin = window.open(url,"NewWindow","top=5,left=5,toolbar=0,directories=0,status=0,location=0,resizable=1,scrollbars=1,menubar=0,width="+w+",height="+h);
}
function change_pic_size(obj){
	var i_pic_clientHeight = obj.clientHeight;
	var i_pic_clientWidth = obj.clientWidth;
	if (obj.clientHeight > 120){
		obj.height = 120;
		obj.width = parseInt(120*i_pic_clientWidth/i_pic_clientHeight);
	}
}
function f_top(a,b,c,d){
	new Asset.css('/css/top.css', {id: 'myStyle'});
	f_newtop(a,b,c,d);
}
function f_catalog(){
    var s = "<div id='id_g_catalog' onmouseover='f_CatalogShow();' onmouseout='f_CatalogHideDelay2();' style='margin:0 auto;z-index:999; background:#fff;border:1px solid #ccc;width:968px;display:none;position:absolute;overflow:hidden;height:190px; line-height:30px;'>"; //position:absolute;top:136px;
    s+=" <table border='0' cellpadding='0' width='945' align='center' class='lh25' style='maigin:0 auto; font-size:12px; font-weight:normal'>";
    s+= "<tr>";
    s+="<td width='135'><a href='/scatalog3476.html'>生活/时尚</a></td>";
    s+="<td width='135'><a href='/scatalog3064.html'>时事/新闻</a></td>";
    s+="<td width='135'><a href='/scatalog3010.html'>财经</a></td>";
    s+="<td width='135'><a href='/scatalog3011.html'>亲子育婴</a></td>";
    s+="<td width='135'><a href='/scatalog3484.html'>IT/互联网/数码</a></td>";
    s+="<td width='135'><a href='/scatalog3066.html'>男性/女性</a></td>";
    s+="<td width='135'><a href='/scatalog3076.html'>各项文化事业</a></td>";
    s+="</tr>";
    s += "<tr><td><a href='/scatalog3081.html'>文学</a></td><td><a href='/scatalog3092.html'>医药/卫生</a></td><td><a href='/scatalog3482.html'>经营/管理</a></td><td><a href='/scatalog3549.html'>休闲/娱乐</a></td><td><a href='/scatalog3117.html'>商业/商务</a></td><td><a href='/scatalog3036.html'>旅游/户外</a></td><td><a href='/scatalog3478.html'>健康/保健</a></td></tr><tr><td><a href='/scatalog3106.html'>自动化/计算机</a></td><td><a href='/scatalog3014.html'>科普</a></td><td><a href='/scatalog3078.html'>教育教学</a></td><td><a href='/scatalog3477.html'>游戏/动漫</a></td><td><a href='/scatalog3082.html'>艺术</a></td><td><a href='/scatalog3005.html'>摄影/摄像</a></td><td><a href='/scatalog3063.html'>影视/音乐</a></td></tr><tr><td><a href='/scatalog3480.html'>家居/装饰</a></td><td><a href='/scatalog3108.html'>轻工/手工</a></td><td><a href='/scatalog3481.html'>政府/政治</a></td><td><a href='/scatalog3475.html'>体育</a></td><td><a href='/scatalog3008.html'>汽车</a></td><td><a href='/scatalog3506.html'>包装/印刷</a></td><td><a href='/scatalog3069.html'>社科综合</a></td></tr><tr><td><a href='/scatalog3516.html'>金融/保险</a></td><td><a href='/scatalog3053.html'>DM杂志</a></td><td><a href='/scatalog3111.html'>交通/运输</a></td><td><a href='/scatalog3109.html'>建筑/建材</a></td><td><a href='/scatalog3533.html'>餐饮/厨房</a></td><td><a href='/scatalog3483.html'>军事</a></td><td><a href='/scatalog3070.html'>法律/法规</a></td></tr><tr><td><a href='/scatalog3095.html'>工业技术</a></td><td><a href='/scatalog3102.html'>能源/动力</a></td><td><a href='/scatalog3112.html'>航空航天</a></td><td><a href='/scatalog3113.html'>环境科学</a></td><td><a href='/scatalog3548.html'>民族/宗教</a></td><td><a href='/scatalog3093.html'>农/林/牧/渔</a></td><td><a href='/scatalog3589.html'>外文刊</a></td></tr><tr><td><a href='/scatalog3670.html'>文化/文艺</a></td><td><a href='/scatalog3687.html'>儿童</a></td><td><a href='/scatalog3688.html'>收藏</a></td>"; 
    s+="<td><a href='/scatalog3700.html'>历史、地理</a></td><td></td><td></td><td></td><td></td><td></td>";
	s+="</tr></table><br /><br />";
	s+="</div>";
	return s;
}
function f_UserInfo(){
    var t = "<div class=\"top_bar\">";
    t+="<div class=\"clearfix\" id=\"g_head\">";
    t+="<ul class=\"login\">";
    t+= "<li class=\"u\">";
    if (isUser()) {
        t+= "<a href='/customer/'>" + f_GetEmail() + "</a>";
    } else {
        t+= "您好";
    }
    t+= "</li>";
    if (!isUser()) {
        t+= "<li class=\"spd\">|</li>";
        t+= "<li><a href=\"/customer/\">登录</a> [<a class=\"reg\" href=\"/customer/reg.asp\">免费注册</a>]</li>";
    }
    t+="<li class=\"spd\">|</li>";
    t+= "<li class=\"myShopCart\">";

    t+= "<a href='/2002/shoppingcart/shoppingcart.asp' target='_blank'>购物车";
    var ShoppingCartCount = f_GetCookie("ShoppingCartCount");
    if (ShoppingCartCount != 0) {
        t+= "(<span>";
        t+= ShoppingCartCount;
        t+= "</span>)";
    }
    t+= "</a>";
    t+="<span id=\"myShopCartNum\"></span></li>";
    t+="<li class=\"spd\">|</li>";
    t+= "<li><a href='/customer/' title='会员信息查询及管理'>会员中心</a></li>";
    t+="<li class=\"spd\">|</li>";
    t+= "<li><a href='/customer/orders.asp'>订单查询</a></li>";
    t+= "<li class=\"spd\">|</li>";
    
	t+="<li><a href=\"/info/help/\" target='_blank'>帮助中心</a></li>";
    if (isUser()) {
        t+= "<li class=\"spd\">|</li>";
        t+= "<a href='javascript:f_logout()' title='安全退出登陆' target='_top'>退出</a>";
    } 
    t+="</ul>";
    t+="</div>";
    t+= "</div>";       
    return t;
}





function f_search() {
    g_search_word = ""; 
    var t="<form name='SearchFrm' method='GET' action='/search/index.asp'>"; 
    t+= "<input type='hidden' name='MagID' value='0'>";
    t+="<span class=\"z_sp\">";
    t+="<ul id=\"searchType\" class=\"find_ul\">";
    t += "<li class=\"the_1\"  onmouseover='f_show_search()' onmouseout='f_search_hide_delay()'><span id=\"searchTypeContent\">刊物名称</span></li>";
    t+= "<li onmouseover='f_show_search()' onmouseout='f_search_hide_delay()' style='display:none' id=\"searchType1\"><a target=\"_self\" href=\"javascript:f_search_change(1)\">刊物名称</a></li>";
    t+= "<li onmouseover='f_show_search()' onmouseout='f_search_hide_delay()' style='display:none' id=\"searchType2\"><a target=\"_self\" href=\"javascript:f_search_change(2)\">邮发代号</a></li>";
    t+= "<li onmouseover='f_show_search()' onmouseout='f_search_hide_delay()' style='display:none' id=\"searchType3\"><a target=\"_self\" href=\"javascript:f_search_change(3)\">刊&nbsp;&nbsp;号</a></li>";
    t+="</ul>";
    t+="</span>";       
    t+="<span id=\"searchFormContent\">";
    t+= "<div class=\"text_input\">";
    t += "<input type=\"text\" value='" + g_search_word + "' name=\"SearchWord\" id=\"searchTextbox\" autocomplete=\"off\" class=\"ac_input\"";

    t += " onfocus=\"if(this.value=='" + g_search_word + "')this.value='';\" ";
    t += " onblur=\"if(this.value=='')this.value='" + g_search_word + "'\" ";
    t += ">";
    t+="</div>";
    t+= "<input type=\"hidden\" name=\"SearchID\" id=\"SearchID\" value=\"1\">";
    t+="<input type=\"submit\" style=\"cursor: pointer;\" value=\"\" class=\"text_btn\" name=\"do_search\" id=\"do_search\">";
    t+= "</span>";
    t+="</form>";
    return t;
}
function f_show_search() {
    if (typeof T_search != "undefined") { clearTimeout(T_search); }
    for (var w = 1; w < 4; w++) {
        document.getElementById("searchType" + w).style.display = "";
    }
}

function f_search_hide_delay() {
    T_search = setTimeout("f_search_hide();", 250);
}

function f_search_over() {
    if (typeof T_search != "undefined") { clearTimeout(T_search); }
    f_show_search();
}
function f_search_hide() {
    for (var w = 1; w < 4; w++) {
        document.getElementById("searchType" + w).style.display = "none";
    }
}

function f_search_change(i) {    
    var str = "";
    if (1 == i) {
        str = "刊物名称";
    } else if (2 == i) {
        str = "邮发代号";
    } else {
        str = "刊号";
    }
    document.getElementById("searchTypeContent").innerHTML = str;
    if (i == 3) {i = 2;}
    document.getElementById("SearchID").value = i;
    f_search_hide();
}

var f_newtop = function () {
    var result = '';
    var l = arguments.length;
    if (l > 0) {
        if (11 == arguments[0]) {
            g_magid = arguments[2];
        }
    }
    var t = "";
    t += f_UserInfo();
    t += "<div class=\"header clearfix\"> <a target=\"_self\" class=\"image_bg logo\" href=\"/\"> ";
    t += "<img src=\"/images/new/logo.jpg\" width=\"239\" alt=\"大陆读者首选刊物网站\" height=\"32\" /></a>";
    t += "<div class=\"head_r\">";
    t += "<p class=\"infor\"><span class=\"tel\">服务热线：<strong>010-84938390-1&nbsp;&nbsp;13811313351</strong></span></p>";
    t += "<ul class=\"nav_ul clearfix\">";

    t += "<li><a ";
    if ("1" == arguments[0]) {
        t += "class=\"home\"";
    } else {
        t += "class=\"homehover\"";
    }
    t += " href=\"/\">首&nbsp;&nbsp;页</a></li>";

    t += "<li><a ";
    if ("3" == arguments[0]) {
        t += "class=\"other\"";
    }
    t += " href=\"/order/\">订杂志</a></li>";

    t += "<li><a ";
    if ("5" == arguments[0]) {
        t += "class=\"other\"";
    } else {
        t += "class=\"hot\"";
    }
    t += " href=\"/tuan/\">团&nbsp;&nbsp;购</a></li>";

    t += "<li><a ";
    if ("7" == arguments[0]) {
        t += "class=\"other\"";
    }
    t += " href=\"/free/\">免费杂志</a></li>";

    t += "<li><a ";
    if ("4" == arguments[0]) {
        t += "class=\"other\"";
    }
    t += " href=\"/read/article.aspx\">看杂志</a></li>";

    t += "<li><a ";
    if ("12" == arguments[0]) {
        t += "class=\"other\"";
    }
    t += " href=\"/read/\">电子杂志</a></li>";


    t += "<li><a ";
    if ("9" == arguments[0]) {
        t += "class=\"other\"";
    }
    t += " href=\"/q/\">杂志圈子</a></li>";

    t += "</ul>";
    t += "</div>";
    t += "</div>";

    t += "<div class=\"sear\">";
    t += "<div class=\"search clearfix\" id=\"id_g_catalog_div\"> ";
    t += "<strong class=\"fl_dh\">";
    t += "<a href='/catalog/more.aspx' onmouseover='f_CatalogShow();' onmouseout='f_CatalogHideDelay();' class='nav' style=' position:relative;z-index:99999'>全部杂志分类导航</a>";
    t += f_catalog();
    t += "</strong>";
    t += f_search();

    t += "<dl class=\"hot_ser\">";
    t += "<dt></dt><dd>";

    t += "<a target=\"_blank\" href=\"/mag/8132/\">父母世界</a>";
    t += "</dd></dl></div>";
    t += "</div>";

    //t += '<div style="margin:0 auto;text-align:center; width:968px;">';
    //t += '<div style="width:968px;height:60px;overflow:hidden" id="HomePageDiv1">';
    //t += '<a href="/info/contact/" target="_blank"><img src="/2012/0112/01.jpg" /></a>';
    //t += '</div>';
    //t += '</div>';
    document.write(t);
    if (10 == arguments[0]) {
        document.write("<div id='id_top'></div>");
        for (var i = 0; i < l; i++) {
            if (0 == i) {
                result += ('a' + i + '=' + arguments[i]);
            } else {
                result += ('&a' + i + '=' + arguments[i]);
            }
        }

        var url = "/include/newtop.asp";
        if (jsver == "1.11") {
            new Ajax(url + "?" + result, { method: 'get', update: $('id_top'), onComplete: function () { this.evalScripts(); } }).request();
        } else {
            new Request({ url: url, method: 'get', onSuccess: function (responseText) {
                $('id_top').set('html', responseText);
            }
            }).send(result);
        }

    }
}

function f_btm(a,b,c,d){
	f_bottom();
}

var f_newbottom = function() {
    
    var result = '';
    var l = arguments.length;
    var t = "<div class='clearfix'>";
    t += "<div class=\"botFuncBar\"><div class=\"followUs\"><h3>关注我们：</h3>";
    t += "<ul>";
    t += "<li><img align=\"absmiddle\" src=\"/images/tg/SiteIcon_SinaWeibo.gif\"><a href=\"http://weibo.com/liulanwang\">新浪微博</a></li>";
    t += "<li><img align=\"absmiddle\" src=\"/images/tg/SiteIcon_TenxunWeibo.gif\"><a href=\"http://t.qq.com/gotoread_com\">腾讯微博</a></li>";
    t += "</ul></div><div class=\"backTop\"><a href=\"#\" class=\"backToTop\">回到顶部</a></div>";
    t += "</div>";
    t += "<div class=\"helpCenter\">";
    t += "<dl class=\"noBack\"><dt>新手上路</dt>";
    t += "<dd><a title=\"交易条款\" href=\"/info/help/rules.asp\" target=\"_blank\">交易条款</a></dd>";
    t += "<dd><a title=\"购物流程\" href=\"/info/help/flow.asp\" target=\"_blank\">购物流程</a></dd>";
    t += "<dd><a title=\"优惠券使用\" href=\"/info/help/youhuiquan.asp\" target=\"_blank\">优惠券使用</a></dd>";
    t += "<dd><a title=\"会员制度\" href=\"/info/help/userlevel.asp\" target=\"_blank\">会员制度</a></dd>";
    t += "<dd><a title=\"常见问题\" href=\"/info/help/faq.asp\" target=\"_blank\">常见问题</a></dd>";
    t += "</dl>";
    t += "<dl><dt>支付方式</dt>";
    t += "<dd><a title=\"在线支付\" href=\"/info/help/onlinepay.asp\" target=\"_blank\">在线支付</a></dd>";
    t += "<dd><a title=\"银行汇款\" href=\"/info/help/onlinepay.asp#yhhk\" target=\"_blank\">银行汇款</a></dd>";
    t += "<dd><a title=\"邮局汇款\" href=\"/info/help/onlinepay.asp#yjhk\" target=\"_blank\">邮局汇款</a></dd>";
    t += "<dd><a title=\"来浏览网付款\" href=\"/info/help/onlinepay.asp#llw\" target=\"_blank\">来浏览网付款</a></dd>";
    t += "<dd><a title=\"雅高卡支付\" href=\"/info/help/onlinepay.asp#yg\" target=\"_blank\">雅高卡支付</a></dd>";
    t += "</dl>";
    t += "<dl><dt>关于配送</dt>";
    t += "<dd><a title=\"物流配送\" href=\"/info/help/wuliu.asp\" target=\"_blank\">货到付款</a></dd>";
    t += "<dd><a title=\"验货与签收\" href=\"/info/help/yanhuo.asp\" target=\"_blank\">验货与签收</a></dd>";
    t += "<dd><a title=\"邮局汇款\" href=\"/info/help/orderstate.asp\" target=\"_blank\">邮局汇款</a></dd>";
    t += "<dd><a title=\"邮政平邮\" href=\"/info/help/post.asp\" target=\"_blank\">邮政平邮</a></dd>";
    t += "</dl>";
    t += "<dl><dt>售后服务</dt>";
    t += "<dd><a title=\"退款说明\" href=\"/info/help/tuikuan.asp#sm\" target=\"_blank\">退款说明</a></dd>";
    t += "<dd><a title=\"退款流程\" href=\"/info/help/tuikuan.asp#lc\" target=\"_blank\">退款流程</a></dd>";
    t += "<dd><a title=\"退款政策\" href=\"/info/help/tuikuan.asp#zc\" target=\"_blank\">退款政策</a></dd>";
    t += "<dd><a title=\"积分说明\" href=\"/info/help/jifen.asp\" target=\"_blank\">积分说明</a></dd>";
    t += "</dl>";
    t += "<dl><dt>申请合作</dt>";
    t += "<dd><a title=\"申请成为供应商\" href=\"/info/help/hezuo.asp\" target=\"_blank\">申请成为供应商</a></dd>";
    t += "<dd><a title=\"友情合作伙伴\" href=\"/info/help/youqinglianjie.asp\" target=\"_blank\">友情合作伙伴</a></dd>";
    t += "</dl>";
    t += "<dl><dt>关于我们</dt>";
    t += "<dd><a title=\"浏览网\" href=\"/info/about/\" target=\"_blank\">关于浏览网 </a></dd>";
    t += "<dd><a title=\"联系我们\" href=\"/info/law/\" target=\"_blank\">免责与隐私</a></dd>";
    t += "<dd><a title=\"诚聘英才\" href=\"/info/contact/\" target=\"_blank\">联系与汇款方式</a></dd>";
    t += "<dd><a title=\"友情链接\" href=\"/info/join/\" target=\"_blank\">招聘信息</a></dd>";
    t += "</dl></div>";







    t += "<div class='footnc'><font color='#c8c8c8'>";
    t += "<a class='lan12i' href='/info/about/'>关于浏览网</a> |";
    t += " <a class='lan12i' href='/info/law/'>免责与隐私</a>  |";
    t += " <a class='lan12i' href='/media/'>投广告</a> |";
    t += " <a class='lan12i' href='/info/pagead/'>纸版广告代理</a> |";
    t += "<a class='lan12i' href='/info/pagead/service.asp'>网站广告服务</a> |";
    t += " <a class='lan12i' href='/info/join/'>招聘信息</a> |";
    t += " <a class='lan12i' href='/info/contact/'>联系与汇款方式</a>  |";
    t += " <a class='lan12i' href='/info/link/'>合作伙伴</a> |";
    t += " <a class='lan12i' href='/info/help/'>帮助中心</a> |";
    t += "<a href='/mag/manage/";

    if (typeof g_magid != "undefined") {
        t += "?MagID=" + g_magid;
    }

    t += "'>刊社管理</a>";

    t += "</font>";
    t += "<br />copyright&reg; 2009版权所有 | 京ICP证 110136号 | 新出网证(京)字141号 | 京公网安备 110105000118号 | 技术支持:北京网目图文信息技术有限公司";
    t += "</div>";
    t += "</div>";
    t += "<div class='ilinks'>"
    t += "<a target='_blank' href='/include/dzxh.asp'><img height='40' width='108' alt='北京市电子商务协会' src='/images/blogo/dzxh.jpg'> "
    t += "</a>"
    t += "<a target='_blank' href='http://www.ectrustprc.org.cn/certificate.id/certificateb.php?id=20003804'><img height='45' width='156' alt='中国电子商务诚信单位' src='/images/blogo/bluelogo.jpg'>"
    t += "</a>"
    t += "<a target='_blank' href='http://www.gotoread.com/info/law/read.asp'><img height='44' width='96' alt='网上交易保障中心' src='/images/blogo/315new.jpg' />"
    t += "</a> "
    t += "</div>";
    document.write(t);
    f_body_init();

    
}

function f_body_init() {
    
	var t;
	t='<div style="display:none;position:absolute;top:0px;left:0px;z-index:9999;background-color:#000;width:0px;height:0px" id="id_blackdiv"></div>';
	t+="<div id='id_middlediv' style='display:none;position:absolute;top:0px;left:0px;z-index:99998;background-color:white'>";
	t+="<table border='0' cellspacing='0' cellpadding='0' width='100%' border='0'><tr>";
	t+="<td align='middle' bgColor='#7691c7' height='25' >";
	t+="<table border='0' cellspacing='0' cellpadding='0' width='100%' border='0'><tr><td id='id_middlediv_title' align='center' style='font-weight:bold;font-size:14px;color:#fff'></td>";
	t+="<td width='22' valign='middle'><a href='javascript:f_middlediv_hide();'><img src='http://www.gotoread.com/images/close2.gif' style='margin:5px 5px 0 0' align='center'></a>&nbsp;</td></tr></table>";
	t+="</td></tr><tr><td align='middle' id='id_middlediv_body' style='font-size:12px;padding:10px'></td></tr></table>";
	t+="</div>";
	document.write(t);
	var url = window.location.href.toLowerCase();
	var idx = url.indexOf("gotoread.com");
	if (-1 == idx) {
	    idx = url.indexOf("192.168.0.210");
	}
	if (-1 == idx) {
	    idx = url.indexOf("58.68.253.25");
	}
	if (-1 == idx) {
	    window.location.href = "http://www.gotoread.com/";
	}
	if (jsver != "0" && jsver != "1.11") {
	    CustomerService_Show();
	    window.addEvent('domready', function() {
	        CustomerService('xixi', 140, -121);
	    });
	}
}

function f_bottom(){
	f_newbottom();
}

function f_backdiv_show(){
	$("id_blackdiv").style.width=getScrollWidth()+"px";
	$("id_blackdiv").style.height=getScrollHeight() +"px";
	$("id_blackdiv").setOpacity(0);
	
	$("id_blackdiv").style.top = "0px";
	$("id_blackdiv").style.display='';
	
    if (jsver == "1.11"){
    var myFx = new Fx.Style('id_blackdiv', 'opacity').start(0,0.6);
    }else{
        $('id_blackdiv').fade(0.6); 
    }
}
function f_backdiv_hide() {
    if ($chk($("id_blackdiv"))) { 
        if (jsver == "1.11"){
           var myFx = new Fx.Style('id_blackdiv', 'opacity').start(0.6,0); 
        }else{
            $('id_blackdiv').fade(0); 
        }
    }   
}
function f_middlediv_hide(){
	f_backdiv_hide();
	if ($chk($("id_middlediv"))) {
	    $("id_middlediv").style.display = "none";
	}
}
function f_middlediv_hide_delay(delaytime){
	setTimeout("f_middlediv_hide();",delaytime);
}
function f_middlediv_show(){
	f_backdiv_show();
	document.getElementById("id_middlediv").style.display="";
}
function getQueryStr(str){
	var tmpArr,QueryString;
	var URL = document.location.toString().toUpperCase();
	str = str.toUpperCase();
	var ReturnStr="";
	if(URL.lastIndexOf("?")!=-1 && URL.lastIndexOf(str)!=-1){
		QueryString= URL.substring(URL.lastIndexOf("?")+1,URL.length);
		tmpArr=QueryString.split("&");		
		for (i=0;i<=tmpArr.length;i++){
			var tmp = tmpArr[i];
			if (tmp != undefined){
				if (tmp.lastIndexOf(str)!=-1){
					var tmpstr = tmpArr[i].split("=");	
					if (tmpstr[1] != undefined){
						ReturnStr=tmpstr[1];
					}
				}
			}
		}		
	}else{}
	return unescape(ReturnStr);
}

function f_top_old(x){}

function f_login(){
	f_middlediv_show();
	var i_Top = parseInt((window.getWidth() - 640)/2) + window.getScrollTop();
	$("id_middlediv").style.width ="400px";
	$("id_middlediv").style.top = i_Top+"px";
	$("id_middlediv").style.left ="200px";
	$("id_middlediv_title").innerHTML ="用户登录";	
	var url ="/customer/ajaxlogin.asp";	
    if (jsver == "1.11"){
        new Ajax(url+"?t="+Math.random(),{method: 'Post',
	    onComplete:function(request){
		    $('id_middlediv_body').setHTML(f_filter_script(request));
		    this.evalScripts();
	    },onFailure:function(){$("id_middlediv_body").setHTML("请求失败，请稍后再试。")}
	    }).request();
    }else{
        new Request({url: url, method: 'post',onSuccess: function(responseText) {
                $('id_middlediv_body').set('html', responseText);
            }        
        }).send(result);
    }		
}
function f_collection(magid,url,title){
	f_middlediv_show();

	var height = window.getHeight() / 2 - 200 / 2;
	var t = height + window.getScrollTop();
	var l = window.getWidth() / 2 - 450 / 2;
	
	$("id_middlediv").style.width ="450px";
	$("id_middlediv").style.top = t+"px";
	$("id_middlediv").style.left =l+"px";
	$("id_middlediv_title").innerHTML = "添加收藏";
	
	var url ="/customer/ajaxcollection.asp?magid="+magid+"&url="+escape(url)+"&title="+escape(title)+"&t="+Math.random();
	new Request({ url: url, evalScripts:true,method: 'Post', onSuccess: function(responseText) {
	$('id_middlediv_body').set('html', f_filter_script(responseText));
        }, onFailure: function() { $("id_middlediv_body").set("html","请求失败，请稍后再试。") }
	}).send("");
	
	
}
function f_commend(url,title){
	f_middlediv_show();
	var i_Top = parseInt((window.getWidth() - 640)/2) + window.getScrollTop();
	$("id_middlediv").style.width ="500px";
	$("id_middlediv").style.top = i_Top+"px";
	$("id_middlediv").style.left ="200px";
	$("id_middlediv_title").innerHTML ="推荐本文";
	var Ajax_url ="/article/recommend_ajax.asp?subject="+escape(title)+"&subjectlink="+escape(url)+"&t="+Math.random();
	new Ajax(Ajax_url,{method: 'Post',
	onComplete:function(request){
		$('id_middlediv_body').setHTML(f_filter_script(request));
		this.evalScripts();
	},onFailure:function(){$("id_middlediv_body").setHTML("请求失败，请稍后再试。")}
	}).request();
}
function f_citation(s){
	window.clipboardData.setData("Text",s);
	alert("网址复制成功,请直接粘贴到您的QQ/MSN上推荐给您的好友");
}
/////////////////cookie/////////////////////////////
function f_CookieEnable(){ //是否支持Cookie
		if(navigator.cookiesEnabled){return true;} 
		document.cookie = "testcookie=yes;"; 
		var cookieSet = document.cookie; 
		if (cookieSet.indexOf("testcookie=yes") > -1){
			document.cookie = ""; 
			return true;
		}else{return false;}
}
function f_SetCookie(sName,sValue,expDays){
	var d_exp = new Date();
	d_exp.setTime (d_exp.getTime() + expDays*24*60*60*1000);
	document.cookie = sName+" =" + sValue + ";"+" expires="+d_exp.toGMTString()+";path=/; "; 
}
function f_GetCookie(sName){
  var aCookie = document.cookie.split(";"+" ");
  for (i=0; i < aCookie.length; i++){
    var aCrumb = aCookie[i].split("=");
    if (sName == aCrumb[0]) 
      return unescape(aCrumb[1]);
  }
  return 0;
}
/////////////////end cookie/////////////////////////////
function pic_onerror(obj){
	obj.onerror = new Function("return false;");obj.src="/images/picture/nocover70.jpg";obj.border = 1;	
}
function bigpic_onerror(obj){
	obj.onerror = new Function("return false;");obj.src="/images/picture/nocover200.jpg";obj.border = 1;	
}
function midpic_onerror(obj){
	obj.onerror = new Function("return false;");obj.src="/images/picture/nocover110.jpg";obj.border = 1;	
}

function logo_onerror(obj){	
	obj.onerror = new Function("return false;");obj.src="/2002/images/logo.asp";obj.border = 0;
}
function f_filter_script(t){
	var regexp = /<script[^>]*>([\s\S]*?)<\/script>/gi;
    t=t.replace(regexp,''); 
    return t;
}
function  getObjectLeft(e){
  if (window.navigator.userAgent.indexOf("Firefox")>=1){return e.offsetLeft;}
  var l=e.offsetLeft;   
  while(e=e.offsetParent) l += e.offsetLeft;   
  return l;   
}   
function   getObjectTop(e){ 
  if (window.navigator.userAgent.indexOf("Firefox")>=1){return e.offsetTop;} 
  var t=e.offsetTop;   
  while(e=e.offsetParent) t += e.offsetTop;   
  return t;   
}

function GetCookie(sName){
    if (jsver == "0"){
          var aCookie = document.cookie.split(";"+" ");
          for (i=0; i < aCookie.length; i++){
            var aCrumb = aCookie[i].split("=");
            if (sName == aCrumb[0]){return unescape(aCrumb[1]);}
          }
          return "";
    }else if (jsver == "1.11"){
        return Cookie.get(sName);
    }else{
        var ck = Cookie.read(sName);
        if (null == ck){ck="";}
        return ck;
    }    
}
function f_GetHostName(){
    return window.location.host;
}
function SetCookie(sName,sValue){
    if (jsver == "0"){
        var d_exp = new Date();
        d_exp.setTime (d_exp.getTime() + 365*24*60*60*1000);
        document.cookie = sName+" =" + sValue + ";"+" expires="+d_exp.toGMTString()+";path=/; ";
    }else if (jsver == "1.11"){
        Cookie.set(sName,sValue);
    }else{
        var ip = f_GetHostName();
        if (ip != "192.168.0.210"){
            Cookie.write(sName,sValue,{domain: 'gotoread.com',path:'/'});
        }else{
            Cookie.write(sName,sValue);
        }
    }    
}
var b_history=0;
Temp="<div id='id_history_menu' onmouseover='f_history_over();' onmouseout='f_history_menu_out()' style='position:absolute;z-Index:6500;display:none;width:330px'>";
Temp+="<div class='popmenu'>";
Temp+="<div class='knob'><img src='http://www.gotoread.com/images/knob.gif'></div>";
Temp+="<div id='id_history_menu_body' class='popmenu_c' style='margin-top:1px;padding:5px;background-color:white;overflow:auto;font-size:1.2em'></div>";
Temp+="</div>";
Temp+="</div>";
document.write (Temp);
function f_history_hide(){
	T_history_menu = setTimeout("f_history_menu_hide()",250);
}

function f_history_out(){f_history_hide();}
function f_history_over(){
	if (typeof T_history_menu!="undefined"){clearTimeout(T_history_menu);}
	document.getElementById("id_history_menu").style.display="";
}
function f_history_menu_out(){f_history_hide();}
function f_history_menu_hide(){
	document.getElementById("id_history_menu").style.display="none";
}


function f_GetVo_FromCookie(vo){//是否有此vo,-1不存在,>0存在，并且返回此vo
	var tmpcookie = GetCookie("emaghistory");
	if (tmpcookie =="undefined"||"" == tmpcookie){return -1;}
	var atmp=tmpcookie.split("!");
	var atmp_len=atmp.length;
	var itmp=-1;
	var vo_tmp;
	var atmp2;
	for (i=0;i<atmp_len;i++){
		atmp2 = atmp[i].split(",");
		if (atmp2[0] == vo){
			itmp = vo;
		}
	}
	return itmp;
}
function f_GetPage_FromCookie(vo){//返回Page,不存在返回封面1,
	var tmpcookie= GetCookie("emaghistory");
	if ( tmpcookie =="undefined"||"" == tmpcookie){return 1;}
	var atmp=tmpcookie.split("!");
	var atmp_len=atmp.length;
	var itmp=1;
	var vo_tmp;
	var atmp2;
	for (i=0;i<atmp_len;i++){
		atmp2 = atmp[i].split(",");
		if (atmp2[0] == vo){
			itmp = atmp2[1];
		}
	}
	return itmp;
}
function f_GetVos_FromCookie(){//返回Cookie中有几个vo
	var tmpcookie = GetCookie("emaghistory");
	if (tmpcookie =="undefined"||"" == tmpcookie){return 0;}
	var atmp=tmpcookie.split("!");
	var atmp_len=atmp.length;
	return atmp_len;
}


function f_history_show(){
	var temp_x,temp_y;
	var id_history=document.getElementById("id_history");	
	temp_x=(getObjectLeft(id_history)-20);
	temp_y=(getObjectTop(id_history)+15);	
	document.getElementById("id_history_menu").style.top=temp_y+"px";
	document.getElementById("id_history_menu").style.left=temp_x+"px";
	if (!b_history){
		var tmpstr=GetCookie("emaghistory");//123,12,111
		if ("undefined" == tmpstr){tmpstr="";}
		if ("" == tmpstr){
			$("id_history_menu_body").style.height="170px";
			document.getElementById("id_history_menu_body").innerHTML="<br/><br/><br/><br/><center>没有历史记录.</center>";
		}else{
			var atmp=tmpstr.split("!");
			var atmp2;
			var tmpvo="";
			var tmppage;
			tmpstr="<center><a href='javascript:f_DelAllVoHistory();' style='font-size:1.2em'>删除全部历史记录</a></center><br/>";
			tmpstr+="<table border='0' cellspacing='0' cellpadding='0'>";
			for (i=0;i<atmp.length;i++){
				atmp2=atmp[i].split(",");
				tmpvo=atmp2[0];
				tmppage=atmp2[1];
				if (1 == (i+1)%3 ){tmpstr+="<tr align='center'>";}
				tmpstr+="<td width='100'><div style='padding-top:3px'><a href='/s/e/?vo="+tmpvo+"&p="+tmppage+"' title='点击翻阅'><img src='/s/vo/"+tmpvo+"/7.jpg'></a></div><div style='padding:2px;text-align:center;width:100%'><a href='javascript:f_DelCookieByVo("+tmpvo+")' class='gray12'>删除</a></div></td>";
				if (0 == (i+1)%3 ){tmpstr+="</tr>";}	
			}
			if (0 != (i+1)%3){
				for (w=0;w<3 - (i+1)%3;w++){
					tmpstr+="<td> </td>";
				}tmpstr+="</tr>";
			}
			tmpstr+="</table>";
			if (i <=3){
				$("id_history_menu_body").style.height="170px";
			}else if (i<=6){
				$("id_history_menu_body").style.height="280px";
			}else{
				$("id_history_menu_body").style.height="400px";
			}
			$("id_history_menu_body").innerHTML=tmpstr;
			b_history=1;
		}
	}
	document.getElementById("id_history_menu").style.display='';
}

function f_GetVo_FromCookie(vo){//是否有此vo,-1不存在,>0存在，并且返回此vo
	var tmpcookie = GetCookie("emaghistory");
	if (tmpcookie =="undefined"||"" == tmpcookie){return -1;}
	var atmp=tmpcookie.split("!");
	var atmp_len=atmp.length;
	var itmp=-1;
	var vo_tmp;
	var atmp2;
	for (i=0;i<atmp_len;i++){
		atmp2 = atmp[i].split(",");
		if (atmp2[0] == vo){
			itmp = vo;
		}
	}
	return itmp;
}
function f_GetPage_FromCookie(vo){//返回Page,不存在返回封面1,
	var tmpcookie= GetCookie("emaghistory");
	if ( tmpcookie =="undefined"||"" == tmpcookie){return 1;}
	var atmp=tmpcookie.split("!");
	var atmp_len=atmp.length;
	var itmp=1;
	var vo_tmp;
	var atmp2;
	for (i=0;i<atmp_len;i++){
		atmp2 = atmp[i].split(",");
		if (atmp2[0] == vo){
			itmp = atmp2[1];
		}
	}
	return itmp;
}
function f_GetVos_FromCookie(){
	var tmpcookie = GetCookie("emaghistory");
	if (tmpcookie =="undefined"||"" == tmpcookie){return 0;}
	var atmp=tmpcookie.split("!");
	var atmp_len=atmp.length;
	return atmp_len;
}

function f_DelCookieByVo(vo){
	f_history_menu_hide();
	var Temp=GetCookie("emaghistory");
	if ("undefined" == Temp){Temp="";}
	if (""==Temp){return;}	
	if (-1 == f_GetVo_FromCookie(vo) ){return;}
	
	var atmp=Temp.split("!");
	var str_tmp="";
	var atmp2;
	for (i=0;i<atmp.length;i++){
		atmp2=atmp[i].split(",");
		if (atmp2[0] != vo){
			str_tmp+=atmp[i]+"!";
		}
	}
	str_tmp=str_tmp.substr(0,str_tmp.length - 1);
	SetCookie("emaghistory",str_tmp);

	b_history = 0;
	f_history_show();f_history_hide();
}
function f_DelAllVoHistory(){
	SetCookie("emaghistory","");
	f_ResetHistory();
}
function f_ResetHistory(){
	b_history = 0;//history初始化
	f_history_menu_hide();
	f_history_show();f_history_hide();
}
////////////////////////////////////////////////////////////


function isUser() {
     var s = "";
    try{
	    s = Cookie.read("Sid");
    }catch(e){
	    s = Cookie.get("Sid");
    }    
    
	if (null == s || false == s){
		return false;
    }
    
	return true;
}
function IsSuperAdmin(){
	if (-1 != CookieR.indexOf("GTR=A")){
		return true;
	}
	return false;
}
function isGroup_YeWu(){
	if (IsSuperAdmin() || -1 != CookieR.indexOf("GTR=E")){
		return true;
	}
	return false;
}
function isGroup_AD(){
	if (IsSuperAdmin() ||-1 != CookieR.indexOf("GTR=C")){
		return true;
	}
	return false;
}
function isGroup_Rg(){
	if (IsSuperAdmin() ||-1 != CookieR.indexOf("GTR=D")){
		return true;
	}
	return false;
}
function isGroup_Order(){
	if (IsSuperAdmin() ||-1 != CookieR.indexOf("GTR=B")){
		return true;
	}
	return false;
}
function isAdmin(){
	if ( IsSuperAdmin()|| isGroup_YeWu()||isGroup_AD()||isGroup_Rg()||isGroup_Order()){
		return true;
	}
	return false;
}
function isMagIDAdmin(MagID){
	if ("false" == CookieR){
		return false;
	}
	var idx = CookieR.indexOf("Mag=");
	if (-1 == idx){
		return false;
	}
	var str = CookieR.substring(idx+4,CookieR.length);
	var arr= str.split(",");
	for(i=0;i<arr.length;i++){
		if (arr[i] == MagID){
			return true;
		}
	}
	return false;
}
function f_GetEmail() {
    var str = "";
    try{
	    str = Cookie.read("User");
    }catch(e){
	    str = Cookie.get("User");
    }   
    
    if (null == str || false == str) {
        return "";
    }
    var arr = str.split("&");
    var s = "";
    for (var i = 0; i < arr.length; i++) {
        if (arr[i].indexOf("Email") > -1) {
            s = arr[i].substring(6,arr[i].length);
        }
    }
    return s;
}
function AddFavorite(title,url,desc){
     if ((typeof window.sidebar == 'object') && (typeof window.sidebar.addPanel == 'function'))
     {
         window.sidebar.addPanel(title,url,desc);
     }
     else//IE
     {
         window.external.AddFavorite(url,title);
     }
}
function f_logout(){
    var url =window.location.href;
    url = url.replace(/&/g,"&amp;");
    url = escape(url);
	window.location.href="/customer/logout.asp?realReturnURL="+url;
}
function f_hideAllSelect(){
	if (typeof g_selects != "undefined"){
		try{
			var arr = g_selects.split(",");		
			for (i=0;i<arr.length;i++){
				var t = arr[i];
				$(t).style.visibility="hidden";
			}
		}catch(e){}
	}
}
function f_showAllSelect(){
	if (typeof g_selects != "undefined"){
		try{
			var arr = g_selects.split(",");		
			for (i=0;i<arr.length;i++){
				var t = arr[i];
				$(t).style.visibility="visible";
			}
		}catch(e){}
	}
}

function f_CatalogShow() {
    if (typeof T_Catalog!="undefined"){clearTimeout(T_Catalog);}
    document.getElementById("id_g_catalog").style.display = "";
}
function f_CatalogHide(){
    document.getElementById("id_g_catalog").style.display="none";
}
function f_CatalogHideDelay(){
	if (typeof T_Catalog!="undefined"){clearTimeout(T_Catalog);}
    T_Catalog = setTimeout("f_CatalogHide()",250);
}
function f_CatalogHideDelay2(){
	if (typeof T_Catalog!="undefined"){clearTimeout(T_Catalog);}
    T_Catalog = setTimeout("f_CatalogHide()",250);
}


function f_TIAShow(TypeID,MagID,aids){
    var url="/customer/TiaMainWindow.asp?MagID="+MagID+"&TypeID="+TypeID+"&aids="+aids;
    window.location.href=url;
}

function f_digit(magid,id,dig,func){//3投稿，2数字杂志，1精选文章，0杂志,4话题
    var url1 ="";
	var url2="";
	var sendstr="";
	if (func == 3){
        url1 ="/mag/dig/contributedig.asp";
        sendstr="magid="+magid+"&wid="+id+"&dig="+dig+"&t="+Math.random();
	    url2="/article/?MagID="+magid+"&wid="+id;
    }else if(func == 2){
        url1 ="/mag/dig/emagdig.asp";
        sendstr="vo="+id+"&dig="+dig+"&t="+Math.random();
	    url2="/mag/dig/emagdiglist.aspx?MagID="+magid+"&vo="+id;
    }else if (func == 1){
        url1 ="/mag/dig/articledig.asp";
        sendstr="id="+id+"&dig="+dig+"&t="+Math.random();
	    url2="/mag/"+magid+"/sarticle_"+id+".html";
    }else{
        url1 ="/mag/dig/magiddig.asp";
        sendstr="magid="+magid+"&dig="+dig+"&t="+Math.random();
	    url2="/mag/dig/diglist.aspx?MagID="+magid;
    }
    
    $('id_vote'+func+'_'+id).className="dugg-it";
    $('id_vote'+func+'_'+id).set('html',"<span>处理中</span>");
	$('id_poll'+func+'_'+id).set('html',"<img src='/images/loading.gif'>");
	
    new Request({url: url1, method: 'get',
        evalScripts:true,
        onSuccess: function(responseText) {
            $('id_vote'+func+'_'+id).set('html', "<a href='"+url2+"' class='orange'>查看</a>");
        },
        onFailure:function(){
        $('id_poll'+func+'_'+id).set('html',"<span>请求失败</span>")
        }       
    }).send(sendstr);
}

 function f_dig(magid,id,dig,godown,digtype,func){////func 3投稿，2数字杂志，1精选文章，0杂志
    var url1 ="";
    var sendstr="";
    if (func == 3){
        url1 ="/mag/dig/contributedig.asp";
        sendstr="magid="+magid+"&wid="+id+"&digtype="+digtype+"&t="+Math.random();
    }else if(func == 2){
        url1 ="/mag/dig/emagdig.asp";
        sendstr="vo="+id+"&dig="+dig+"&t="+Math.random();
    }else if (func == 1){
        url1 ="/mag/dig/articledig.asp";
        sendstr="magid="+magid+"&id="+id+"&digtype="+digtype+"&t="+Math.random();
    }else{
        url1 ="/mag/dig/magiddig.asp";
        sendstr="magid="+magid+"&dig="+dig+"&t="+Math.random();
    }
    
    if (digtype == 1){
        dig++;
    }else if(digtype ==2 ){
        godown++;
    }else{}      
    $('id_vote'+func+'_'+id).set('html',"&nbsp;处理中...");      
    
    var s = "<div class='item disabled'>您已投票";    
    s+=" <span class='ico__up'></span><span class='num'>";
    s+=dig;
    s+="</span><span class='ico__down'></span>";
    s+="<span class='num'>";
    s+=godown;
    s+="</span></div>";    
    new Request({url: url1, method: 'get',
        onSuccess: function(responseText) {
            if ("2" == responseText){
                s = s.replace("顶","投");
                s = s.replace("踩","投");
            }
            $('id_vote'+func+'_'+id).set('html', s);
        },
        onFailure:function(){
            $('id_vote'+func+'_'+id).set('html',"<span>请求失败</span>");
        }      
    }).send(sendstr);
}

///////////////////////////////////
CustomerService = function(id, _top, _left) {
    var me = id.charAt ? document.getElementById(id) : id, d1 = document.body, d2 = document.documentElement;
    d1.style.height = d2.style.height = '100%'; me.style.top = _top ? _top + 'px' : 0; me.style.left = _left + "px"; //[(_left>0?'left':'left')]=_left?Math.abs(_left)+'px':0;
    me.style.position = 'absolute';
    setInterval(function() { me.style.top = parseInt(me.style.top) + (Math.max(d1.scrollTop, d2.scrollTop) + _top - parseInt(me.style.top)) * 0.1 + 'px'; }, 10 + parseInt(Math.random() * 20));
    return arguments.callee;
};
var _CustomerService_InterTime = 5; //1
var _CustomerService_maxWidth = -1;
var _CustomerService_minWidth = -121;
var _CustomerService_numInter = 4; //8

var _CustomerService_BigInter;
var _CustomerService_SmallInter;

var _CustomerService_i = -121; //parseInt($("xixi").style.left);
function CustomerService_Big() {
    if (parseInt($("xixi").style.left) < _CustomerService_maxWidth) {
        _CustomerService_i = parseInt($("xixi").style.left);
        _CustomerService_i += _CustomerService_numInter;
        $("xixi").style.left = _CustomerService_i + "px";
        if (_CustomerService_i == _CustomerService_maxWidth)
            clearInterval(_CustomerService_BigInter);
    }
}
function CustomerService_toBig() {
    clearInterval(_CustomerService_SmallInter);
    clearInterval(_CustomerService_BigInter);
    _CustomerService_BigInter = setInterval(CustomerService_Big, _CustomerService_InterTime);
}
function CustomerService_Small() {
    if (parseInt($("xixi").style.left) > _CustomerService_minWidth) {
        _CustomerService_i = parseInt($("xixi").style.left);
        _CustomerService_i -= _CustomerService_numInter;
        $("xixi").style.left = _CustomerService_i + "px";
        if (_CustomerService_i == _CustomerService_minWidth)
            clearInterval(_CustomerService_SmallInter);
    }
}
function CustomerService_toSmall() {
    clearInterval(_CustomerService_SmallInter);
    clearInterval(_CustomerService_BigInter);
    _CustomerService_SmallInter = setInterval(CustomerService_Small, _CustomerService_InterTime);
}

function CustomerService_Show() {
    if (typeof customerServiceOnline == "undefined") { customerServiceOnline = false; }
    var cssstr = "-gray";
    if (customerServiceOnline) {cssstr = ""; }
    var t = "<div id='xixi' onmouseover='CustomerService_toBig()' onmouseout='CustomerService_toSmall()'>";
    t += "<div id='kflist' class='kflist" + cssstr + "' style='display: block;'>";
    t += "<div class='cs_hd'></div>";
    t += "<div class='cs_bd'>";
    t += "<dl class='cs_dl'>";
    t += "<dt class='current'>";
    if (customerServiceOnline) {
        t += "<a href='/kf/dialog_1.htm' target='_blank'>在线客服</a>";
    } else {
    t += "&nbsp;";
    }
    t += "</dt>";
    t += "<dd class='show'>";
    t += "<ul>";
    if (customerServiceOnline) {
        
        t += "<li><a  href='/kf/dialog_1.htm' target='_blank'>客服01</a></li>";
        t += "<li><a href='/kf/dialog_1.htm' target='_blank'>客服02</a></li>";
        t += "<li><a href='/kf/dialog_1.htm' target='_blank'>客服03</a></li>";
        t += "<li><a href='/kf/dialog_1.htm' target='_blank'>客服04</a></li>";
        t += "<li><a href='/kf/dialog_1.htm' target='_blank'>客服05</a></li>";
    } else {
    t += "<li>客户您好！目前客服不在线，如您有问题咨询，<a href='/customer/myguestbook.asp' target='_blank'>请点此留言</a></li>";
        t += "<li>&nbsp;</li>";
        t += "<li>&nbsp;</li>";
        t += "<li>&nbsp;</li>";
        t += "<li>&nbsp;</li>";
    }
 t += "</ul>";
    t += "</dd></dl>";
    t += "</div>";
    t += "<div class='cs_ft'></div>";
    t += "</div><div class='cs_lcc" + cssstr + "' id='lcfd'></div>";
    t += "</div>";
    document.write(t);
}
///////////////////////////////////
