var OA_all_zones = new Array();var OA_output = new Array();OA_all_zones[1] = {'zone_rightbutton1':1,'topcolumn':1,'bigfloat':1,'leftdl':1,'rightdl':1,'focusp02':1,'focusp03':1,'seccolumn':1,'thirdcolumn':1,'forthcolumn':1,'fifthcolumn':1,'lastcolumn':1,'hotw':1,'bigxl':1,'siye':1,'mamaindex_tips':1,'c':1,'c':1,'hotwl03':1,'tianshi_qinziindex_button':1,'aihe_button':1,'headcolumn':1,'shequpic_big':1,'babypic_small':1,'babypic_big':1,'shequpic_small':1,'shequpic_right':1,'mamataidu_pic':1,'zone_rightbutton2':1,'zone_chengzhang_button':1,'zone_yuershipin_pic':1,'zone_rightbutton_zhuce':1,'zone_rightbutton_denglu':1,'babypic_small2':1,'daketang_pic':1,'huiketing_pic':1,'wangpaipic_small1':1,'wangpaipic_small2':1,'headcolumn_1':1,'zone_focus_shuqian_pic1':1,'zone_focus_shuqian_pic2':1 };if(OA_type == "1"){ OA_output = new Array();if(OA_source == "0"){ }; };OA_all_zones[2] = {'topcolumn':1,'hotnews02':1,'forthcolumn':1,'seccolumn':1,'thircolumn':1,'cellcolumn':1,'fifthcolumn':1,'sixthcolumn':1,'seventhcolumn':1,'focusp02':1,'focusp03':1,'hottopic':1,'hotnews03':1,'hotw01':1,'hotw02':1,'prewl02':1,'prewl03':1,'newwl02':1,'newwl03':1,'babywl02':1,'babywl03':1,'bigxl':1,'siye':1,'bigfloat':1,'leftdl':1,'rightdl':1,'frame_tips':1,'c':1,'c':1,'dayin_qinzi':1,'dayin_fullcolumn':1,'babywl04':1,'hotnews07':1,'hotnews06_guanzhu':1,'hotnews07_guanzhu':1,'zone_hot_xinshenger':1,'zone_hot_01baby':1 };if(OA_type == "2"){ OA_output = new Array();if(OA_source == "0"){ }; };OA_all_zones[3] = {'topcolumn':1,'seccolumn':1,'thircolumn':1,'forthcolumn':1,'rightbutton01':1,'cellcolumn':1,'fifthcolumn':1,'focusp02':1,'focusp03':1,'hotnews02':1,'hotnews03':1,'bottomcolumn':1,'rightbutton02':1,'zone_baike_citiao_pic1':1,'zone_baike_citiao_pic2':1,'zone_baike_citiao_pic3':1,'zone_baike_citiao_pic4':1,'zone_baike_citiao_pic5':1 };if(OA_type == "3"){ OA_output = new Array();if(OA_source == "0"){ }; };OA_all_zones[4] = {'topcolumn':1,'topinnerbutton':1,'rightbutton01':1,'bottominnerbutton':1,'rightbutton02':1,'zone_baike_wenzhang_pic1':1,'zone_baike_wenzhang_pic2':1,'zone_baike_wenzhang_pic3':1,'zone_baike_wenzhang_pic4':1,'zone_baike_wenzhang_pic5':1,'zone_textlink2_yinger':1,'zone_textlink2_youer':1 };if(OA_type == "4"){ OA_output = new Array();if(OA_source == "0"){ }; };OA_all_zones[5] = {'right01buttom':1,'right02buttom':1,'rightlogo':1,'zone_kanshipin_pic1_small':1,'zone_kanshipin_pic2_small':1,'shipin_focuspic_1':1,'shipin_focuspic_2':1,'shipin_wangpai_pic':1,'shipin_wangpai_textlink':1,'shipin_zongyi_pic1':1,'shipin_zongyi_pic2':1,'shipin_wangyou_pic1':1,'shipin_wangyou_pic2':1,'shipin_wangyou_textlink1':1,'shipin_wangyou_textlink2':1,'erjishipin_focuspic':1 };if(OA_type == "5"){ OA_output = new Array();if(OA_source == "0"){ }; };OA_all_zones[13] = {'srdz_leftbutton':1,'srdz_daketang_textlink':1,'srdz_daketang_shipinpic':1,'srdz_wenda_textlink':1,'srdz_wenda_pic':1,'srdz_bigou_hotpic':1,'srdz_bigou_hottextlink':1,'srdz_bigou_jingyan1':1,'srdz_bigou_jingyan2':1,'srdz_bigou_jingyan3':1,'srdz_bigou_jingyan4':1,'srdz_bigou_tuijianpic2':1,'srdz_bigou_tuijianpic1':1,'srdz_bigou_tuijian1':1,'srdz_bigou_tuijian2':1,'srdz_bigou_tuijian3':1,'srdz_bigou_tuijian4':1,'srdz_bigou_tuijian5':1,'srdz_daketang_baoban':1 };if(OA_type == "13"){ OA_output = new Array();if(OA_source == "0"){ }; };function OA_show(name,rep) { return true; }; var oa_count_adv_impr = function (srcUrl) { return function() { oa_count_adv_impr_init(srcUrl); } }; function oa_count_adv_impr_init(srcUrl){ }; var MOA={ oSetCookie :function (cookieName, cookieValue, expiredays) { var expires = new Date(); if(cookieValue == '' || expiredays < 0) { cookieValue = ''; expiredays = -2592000; } expires.setTime(expires.getTime() + expiredays * 1000); domain = location.hostname; path = '/'; document.cookie = escape(cookieName) + '=' + escape(cookieValue) + (expires ? '; expires=' + expires.toGMTString() : '') + (path ? '; path=' + path : '/') + (domain ? '; domain=' + domain : '') ; }, oGetCookie : function(c_name) { if (document.cookie.length>0) { c_start=document.cookie.indexOf(c_name + '='); if (c_start!=-1) { c_start=c_start + c_name.length+1 ; c_end=document.cookie.indexOf(';',c_start); if (c_end==-1) c_end=document.cookie.length; return unescape(document.cookie.substring(c_start,c_end)); } } return ''; } }; var TVC = { tvc_display : function() { if(jQuery("#oTvc").html()){  var display = MOA.oGetCookie('otcdip');if (display) return;jQuery("#oTvc").show(); jQuery("#oTvc_button").hide(); TVC.divcenter(); MOA.oSetCookie('otcdip','1',1800); } }, tvc_close : function () { if(jQuery("#oTvc").html()){ jQuery("#oTvc").hide(); jQuery("#oTvc_button").show(); } }, tvc_mouseover : function () { if(jQuery("#oTvc").html()){ jQuery("#oTvc").show(); jQuery("#oTvc_button").hide(); TVC.divcenter(); MOA.oSetCookie('otcdip','1',1800); } }, divcenter : function () { if(jQuery("#oTvc").html()){ var divid=document.getElementById('oTvc'); divid.style.left = (document.body.clientWidth-divid.clientWidth) / 2 + document.body.scrollLeft + 'px'; divid.style.top = (document.documentElement.clientHeight - divid.clientHeight) / 2 + 'px'; if(navigator.userAgent.indexOf("MSIE 6.0")>0){divid.style.top = (document.documentElement.clientHeight - divid.clientHeight) / 2 + document.documentElement.scrollTop + 'px'; }} } }; var ua = navigator.userAgent.toLowerCase(); var s, uaname; (s = ua.match(/msie/)) ? uaname = s[0]: (s = ua.match(/firefox/)) ? uaname = s[0] :(s = ua.match(/chrome/)) ? uaname = s[0] : (s = ua.match(/opera/)) ? uaname = s[0] :(s = ua.match(/safari/)) ? uaname = s[0] : ''; function oa_load_count_adv_impr(advPointName) {if( typeof uaname !='undefined' || uaname !='') {var _timestamp = new Date().getTime(); if(jQuery('#bigfloat').length){var c=jQuery('#bigfloat');}else{var c=jQuery("footer .footerWrap");};c.after('<iframe src="about:blank" width="0" height="0" frameborder="0" id="adlog" name="adlog"></iframe><iframe src="about:blank" width="0" height="0" frameborder="0" id="adlog2" name="adlog2"></iframe>');};} ;
if (OA_wid == 73) {
    if (OA_type == 3 || OA_type == 4) {
        var lukeJs = "//luke.mama.cn/static/js/luke_" + OA_wid + "_" + OA_type + ".js";
    } else {
        var lukeJs = "//luke.mama.cn/static/js/luke_" + OA_wid + "_" + OA_type + "_" + OA_source  + ".js";
    }
} else {
    var lukeJs = "//luke.mama.cn/static/js/luke_" + OA_wid + "_" + OA_type + "_" + OA_source  + ".js";
}

var luke_tag = OA_wid + '-' + OA_type + '-' + OA_source;

if (luke_tag != '74-5-50001' && luke_tag != '74-5-50002' && luke_tag != '74-5-50003') {
	var today = new Date, lukeScript = document.createElement('script');
lukeScript.src = lukeJs + '?rand=' + today.getFullYear() + (today.getMonth() + 1) + today.getDate() + today.getHours() + (Math.ceil(today.getMinutes() / 10) * 10);
document.body.appendChild(lukeScript);	
}



jQuery(document).ready(function() {
    if(jQuery("#video_15")){setTimeout("jQuery('#video_15').hide();jQuery('#video_right_bottom').show()", 15000);};
if(jQuery("#video_30")){setTimeout("jQuery('#video_30').hide();jQuery('#video_right_bottom').show()", 30000);};
if(jQuery("#mdvtips")){setTimeout("jQuery('#mdvtips').hide()", 10000)};
var objdiv = document.createElement("div");objdiv.id = "frame_tips"; document.body.appendChild(objdiv);
if (document.getElementById('bigxl') != null) {setTimeout(function(){if(jQuery('#osmallshow').length>0){}else{} },1200);};
//if (jQuery('#oTvc').length){
//    if(!jQuery('#oTvc').hasClass("mytvc")){
//        if (jQuery('#oTvc')) {setTimeout('TVC.tvc_display()',1500);setTimeout('TVC.tvc_close()',13000);};
//    }
//}
if(jQuery('#leftdl').html() !=''){jQuery('#leftdl').prepend('<a style=\'float:left; margin:11px 0px 0px 0px\'  href=\'javascript:;\' onclick=\'jQuery("#leftdl").hide();return false;\'><img width=\'7\' height=\'7\' border=\'0\' alt=\'close\' src=\'https://imagesyuansu.bjmama.net/s/close.gif\'></a><br>').css({"position":"fixed","width":"80px","height":"257px","z-index":"10","right":"0px","top":"20%"})};
if(jQuery('#rightdl').html() !=''){jQuery('#rightdl').prepend('<a style=\'float:right; margin:11px 0px 0px 0px\' href=\'javascript:;\' onclick=\'jQuery("#rightdl").hide();return false;\'><img width=\'7\' height=\'7\' border=\'0\' alt=\'close\' src=\'https://imagesyuansu.bjmama.net/s/close.gif\'></a><br>').css({"position":"fixed","width":"80px","height":"257px","z-index":"10","left":"0px","top":"20%"})};
if('undefined' == typeof(document.body.style.maxHeight)){if(jQuery('#leftdl').html() !=''){jQuery('#leftdl').css({"position":"absolute","top":"120px"})};if(jQuery('#rightdl').html() !=''){jQuery('#rightdl').css({"position":"absolute","top":"120px"})};};
})
function showBig(){var oAFlashBox = document.getElementById("oaflashbox"); if(oAFlashBox){oAFlashBox.style.width = "300px"; oAFlashBox.style.height = "250px"; } }
if($("#zone-pop-video") && $("#zone-pop-video").length){
    $("#zone-pop-video").bind("click",function(){
        if(!$(this).data("swf")){
            return
        }
        var r = ($(window).width()-2740)/2;
        $("body").append($(this).next(".mask-video").clone(true).show().attr("id","mask-video"));
        $("#mask-video .mask-video-box").append('<embed width="400" height="300" src="'+$(this).data("swf")+'" type="application/x-shockwave-flash" wmode="transparent" allowscriptaccess="always" ></embed>');
        $("#mask-video").show().css("height",$(document).height());

        if($(window).width()>2740){
            $("#mask-video .bd").css("right","-800px").stop().animate({"right":r+'px'},300);
        }else{
            $(".wrap-big-bd").css("margin-left",0).stop().animate({"margin-left":r*2-100+"px"},300);
            $("#mask-video .bd").css("right","-800px").stop().animate({"right":0},300);
        }
        return false
    })
    $(document).bind("click","#mask-video .close-video",function(){
        $(".wrap-big-bd").stop().animate({"margin-left":0},300);
        $("#mask-video .bd").stop().animate({"right":"-800px"},300,function(){
            $("#mask-video").remove();
        });
    })
    $(document).bind("click","#mask-video .bd",function(event){
        event.stopPropagation();
    })
    $(document).bind("click","#mask-video",function(){
        $(".wrap-big-bd").stop().animate({"margin-left":0},300);
        $("#mask-video .bd").stop().animate({"right":"-800px"},300,function(){
            $("#mask-video").remove();
        });
    })
}