var undefined,img=new Image;img.src="img/opinion.over.gif";var Config,m_Request=null,m_strURL="",m_bReport=!0,m_nInterval=null,SendingButton=null,m_nProductId=0;function StartSending(){m_strURL="notify.ashx?id="+m_nProductId+"&report=1";var e=parseInt(1e3*Math.random()+2);m_nInterval=setInterval("InitSending()",e),(SendingButton=document.getElementById("SendingButton"))&&(SendingButton.disabled=!0,SendingButton.value="Идет отправка...")}function InitSending(){try{(m_Request=GetRequest()).open("GET",m_strURL,!0),m_Request.onreadystatechange=OnSendingComplete,m_Request.setRequestHeader("Content-Type","text/html; charset=windows-1251"),m_Request.send(null)}catch(e){}finally{clearInterval(m_nInterval)}}function OnSendingComplete(){if(4==m_Request.readyState&&200==m_Request.status){var e=m_Request.responseText,t=parseInt(e);if(m_bReport){var n=document.getElementById("TextToSend");n&&(n.innerHTML=t)}t>0?StartSending():SendingButton&&(SendingButton.disabled=!1,SendingButton.value="Начать отправку")}}Config||(Config={});var opinion_timer,BlinkTextNodex=null,BlinkNodes=[];function BlinkSetColor(e){"hidden"!=e.style.visibility?(e.style.visibility="hidden",window.setTimeout(function(){BlinkSetColor(e)},500)):(e.style.visibility="visible",window.setTimeout(function(){BlinkSetColor(e)},1200))}function BlinkInit(){for(BlinkTextNodex=document.getElementsByTagName("span"),i=0;iОтправлено: "+Config.sendingSent+"
Осталось: "+t,t>0&&window.setTimeout(SendingStart,600)})}else alert("Необходимо выбрать новости для рассылки")}}function OnUnsubscribeChecked(e){e.checked?(document.getElementById("sending_btn").value="Отказаться",Config.sendingInititalMessage||(Config.sendingInititalMessage=document.getElementById("sending_message").innerHTML),document.getElementById("sending_message").innerHTML="Отказаться от рассылки новостей BodyBuildingRussia.com"):(document.getElementById("sending_btn").value="Подписаться",document.getElementById("sending_message").innerHTML=Config.sendingInititalMessage)}function OnNewsScroll(e){var t=document.getElementById("news_table");FindParent(t,{tagname:"div"}).scrollTop=e.scrollTop}function OnNewsContainerScroll(e){var t=!0,n=document.getElementById("news_container");if(n){var i=n.offsetWidth,o=GetOffset(n);if(e.clientX||(t=!1),e.clientX
Вступайте в нашу группу ВКонтакте - BodyBuildingRussia.com. Новые видео бодибилдинга, полезная информация, фотографии атлетов, новости в мире спортивного питания и акции нашего интернет-магазина.
';var n=GetOffset(Group.s);t.style.left=n.left-337+"px",t.style.top=n.top+30+"px",document.getElementById("tooltip").appendChild(t),AddListener("mouseover",t,GroupOnMouseOver),AddListener("mouseout",t,GroupOnMouseOut),VK.Widgets.Group("group_widget",{mode:0,width:"345",height:"290"},11241450)}}function GroupOnBtnMouseOut(e){Group.timer=window.setTimeout(GroupClose,400)}function GroupOnMouseOver(e){Group.timer&&window.clearTimeout(Group.timer)}function GroupOnMouseOut(e){e||(e=window.event);var t=e.target;t||(t=e.srcElement);var n=e.relatedTarget;n||(n=e.toElement);var i=FindParent(t,{id:"group_wnd"},!0),o=FindParent(n,{id:"group_wnd"},!0);i&&o&&i==o||(Group.timer=window.setTimeout(GroupClose,400))}function GroupClose(){var e=document.getElementById("group_wnd");e&&e.parentNode.removeChild(e)}function InitZag(){var e=document.getElementsByTagName("div");for(i=0;iЗаказ аннулирован")}})}function ShowDeliveryWnd(){var e=document.getElementById("delivery_wnd");document.getElementById("tooltip").appendChild(e),e.style.display="block",ResizeDeliveryWnd(),AddListener("resize",window,ResizeDeliveryWnd)}function DeliveryWndContinue(){CloseDeliveryWnd(),document.getElementById("transport_company_holder").style.display="block",CountDeliveryCost()}function ResizeDeliveryWnd(){var e=document.getElementById("delivery_shadow"),t=document.getElementById("delivery_grey");e&&t&&(e.style.width=GetWindowWidth()+"px",e.style.height=GetWindowHeight()+"px",t.style.top=GetVScroll()+Math.round((GetClientHeight()-t.offsetHeight)/2)+"px",t.style.left=GetHScroll()+Math.round((GetClientWidth()-t.offsetWidth)/2)+"px")}function CloseDeliveryWnd(){document.getElementById("delivery_wnd").style.display="none",RemoveListener("resize",window,ResizeDeliveryWnd)}gi.src="img/vk.group.back.gif";var Search={init:!1,timer:null};function SearchInit(){var e=document.getElementById("search"),t=document.getElementById("search_target");e&&t&&!Search.init&&(Search.init=!0,AddListener("mouseover",e,SearchOnMouseOver),AddListener("mouseout",e,SearchOnMouseOut),AddListener("mouseover",t,SearchTargetOnMouseOver),AddListener("mouseout",t,SearchTargetOnMouseOut))}function SearchOnMouseOver(e){Search.timer&&window.clearTimeout(Search.timer);var t=document.getElementById("search_target");"block"!=t.style.display&&(t.style.display="block")}function SearchOnMouseOut(e){e||(e=window.event);var t=e.relatedTarget;t||(t=e.toElement),FindParent(t,{id:"search"},!0)||(Search.timer&&window.clearTimeout(Search.timer),Search.timer=window.setTimeout(SearchClose,400))}function SearchTargetOnMouseOver(e){Search.timer&&window.clearTimeout(Search.timer);try{SearchSliderShow()}catch(e){}}function SearchTargetOnMouseOut(e){e||(e=window.event);var t=e.relatedTarget;t||(t=e.toElement),FindParent(t,{id:"search_target"},!0)||(Search.timer&&window.clearTimeout(Search.timer),Search.timer=window.setTimeout(SearchClose,400))}function SearchTarget(e){var t=GetInnerText(e),n=e.getAttribute("sval");document.getElementById("search_value").innerHTML=t,document.forms.form_search.elements.where.value=n,SearchClose()}function SearchClose(){var e=document.getElementById("search_target");e&&(e.style.display="none")}function AddToBasket(e,t){addProdWnd&&(addProdWnd.parentNode.removeChild(addProdWnd),addProdWnd=null);for(var n=document.getElementsByTagName("input"),i=[],o=[],r=[],d=[],a=0;a0?"img/shop_icon_green.png":"img/shop_icon.png"}ShowAddProductWnd()},!0);for(a=0;a
'+addProdText+"
",addProdWnd=e,document.body.appendChild(e);var i=document.getElementById("addprod_shadow"),o=document.getElementById("addprod_cont"),r=o.offsetWidth+80,d=!1;r>t-30&&(r=t-30,d=!0),i.style.width=r+"px",d?(o.style.whiteSpace="normal",o.style.width=r-40+"px",o.style.left="20px"):o.style.width=r-80+"px",i.style.height=o.offsetHeight+40+"px",e.style.left=Math.round((t-i.offsetWidth)/2)+"px",e.setAttribute("opac","100"),hideProdWndTimer&&window.clearTimeout(hideProdWndTimer),hideProdWndTimer=window.setTimeout(function(){AddProdFade()},5e3)}function AddProdAppear(){var e=addProdWnd;if(e){e.className="";var t=e.getAttribute("opac")?parseInt(e.getAttribute("opac")):0;(t+=3)>100&&(t=100),e.setAttribute("opac",t),SetOpacity(e,t),100==t?window.setTimeout(AddProdFade,document.getElementById("add_prod_block_exceed")?6e3:4e3):window.setTimeout(AddProdAppear,30)}}function AddProdFade(){var e=addProdWnd;if(e){var t=e.getAttribute("opac")?parseInt(e.getAttribute("opac")):0;(t-=3)<0&&(t=0),e.setAttribute("opac",t),SetOpacity(e,t),0==t?(addProdWnd.parentNode.removeChild(addProdWnd),addProdWnd=null):window.setTimeout(AddProdFade,30)}}function InArray(e,t){for(var n=0;n=238-t.offsetHeight?(n.style.top=t.offsetHeight+"px",n.style.position="fixed"):(n.style.top=t.getAttribute("initialtop")+"px",n.style.position="absolute"))}function GetTextNodes(e){var t=[],n=e.childNodes;if(!n)return t;for(var i=0;i$1'),r.replaceChild(d,t[o])}}function OnWindowScroll(e){var t=document.getElementById("menu_left"),n=document.getElementById("menu_table");if(t&&n){var i=GetOffset(n);GetVScroll()>i.top+10?(t.style.display="block",Menu2Init()):t.style.display="none"}}var loginWndComplete=!1,loginWndTimer=null;function LoginWndInit(e){var t=document.getElementById("login_holder"),n=document.getElementById("login_wnd");t&&n&&(loginWndComplete||(loginWndComplete=!0,AddListener("mouseover",t,LoginWndHolderOver),AddListener("mouseout",t,LoginWndHolderOut),AddListener("mouseover",n,LoginWndOver),AddListener("mouseout",n,LoginWndOut)))}function LoginWndHolderOver(e){LoginWndShow()}function LoginWndHolderOut(e){e||(e=window.event);var t=e.relatedTarget;(t||(t=e.toElement),t)&&(FindParent(t,{id:"login_holder"})||(loginWndTimer=window.setTimeout(LoginWndHide,500)))}function LoginWndOver(e){LoginWndShow()}function LoginWndOut(e){e||(e=window.event);var t=e.relatedTarget;(t||(t=e.toElement),t)&&(FindParent(t,{id:"login_wnd"})||(loginWndTimer=window.setTimeout(LoginWndHide,500)))}function LoginWndShow(){loginWndTimer&&window.clearTimeout(loginWndTimer),loginWndTimer=null;var e=document.getElementById("login_wnd");if(!e||"none"==e.style.display){var t=document.getElementById("login_holder"),n=GetOffset(t);e.style.left=n.left-5+"px",e.style.top=GetVScroll()+23+"px",e.style.display="block"}}function LoginWndHide(){var e=document.getElementById("login_wnd");e&&(e.style.display="none")}var searchSliderComplete=!1,searchSliderTimer=null,searchSliderAnimateTimer=null;function SearchSliderInit(e){var t=document.getElementById("search_btn"),n=document.getElementById("search_slider");t&&n&&(searchSliderComplete||(searchSliderComplete=!0,AddListener("mouseover",t,SearchSliderButtonOver),AddListener("mouseout",t,SearchSliderButtonOut),AddListener("mouseover",n,SearchSliderOver),AddListener("mouseout",n,SearchSliderOut)))}function SearchSliderButtonOver(e){SearchSliderShow()}function SearchSliderButtonOut(e){searchSliderTimer=window.setTimeout(SearchSliderHide,300)}function SearchSliderOver(e){SearchSliderShow()}function SearchSliderOut(e){e||(e=window.event);var t=e.relatedTarget;(t||(t=e.toElement),t)&&(FindParent(t,{id:"search_slider"})||(searchSliderTimer=window.setTimeout(SearchSliderHide,300)))}function SearchSliderShow(){searchSliderTimer&&window.clearTimeout(searchSliderTimer),searchSliderTimer=null;var e=document.getElementById("search_slider");e&&parseInt(e.style.width)>=1||SearchSliderAnimate()}function SearchSliderAnimate(){var e=document.getElementById("search_slider"),t=parseInt(e.style.width);if(!(t>=247)){var n=Math.min(14,247-t);e.style.width=t+n+"px",e.style.left=-t-n-5+"px",searchSliderAnimateTimer=window.setTimeout(SearchSliderAnimate,20)}}function SearchSliderHide(){searchSliderAnimateTimer&&window.clearTimeout(searchSliderAnimateTimer);var e=document.getElementById("search_slider");e&&(e.style.width="0px",e.style.left="0px")}var imgI01=new Image;imgI01.src="/img/switch1.png";var imgI03=new Image;imgI03.src="/img/switch3.png";var curBanI=-1,banCurSW=null;function ShowBannerAnimate(){if(animating){for(var e=FindChildren(document.getElementById("banners_holder"),{tagname:"div",idpart:"banner"}),t=0;t0&&e[0].parentNode.removeChild(e[0]),Ban.length>1&&(banNextInterval&&window.clearTimeout(banNextInterval),banNextInterval=window.setTimeout(ShowNextBanner,Ban[curBanI].showtime)))}else banShowInterval&&window.clearInterval(banShowInterval)}function ShowBannerByIndex(e){if(!animating){banNextInterval&&window.clearTimeout(banNextInterval),curBanI=e;var t=0==FindChildren(document.getElementById("banners_holder"),{tagname:"div",idpart:"banner"}).length,n=document.createElement("div");n.setAttribute("id","banner"+Ban[curBanI].id),n.style.position="absolute",n.style.zIndex="1",n.style.left=t?"0px":"940px",n.style.top="0px";var i="";""!=Ban[curBanI].url&&(i+=''),i+='',""!=Ban[curBanI].url&&(i+=""),n.innerHTML=i,document.getElementById("banners_holder").appendChild(n),banCurSW&&(banCurSW.src="/img/switch1.png",(banCurSW=document.getElementById("switch"+e))?banCurSW.src="/img/switch2.png":banCurSW=null),t?Ban.length>1&&window.setTimeout(ShowNextBanner,Ban[0].showtime):(animating=!0,banShowInterval=window.setInterval(ShowBannerAnimate,20))}}function ShowNextBanner(){++curBanI>=Ban.length&&(curBanI=0),ShowBannerByIndex(curBanI)}function InitPortalBlock(e){if(!(UB.length>0)){for(var t=document.getElementsByTagName("div"),n=0;nMath.random()?1:Math.random()0&&curB>=UB.length?curB=0:e<0&&curB<=0&&(curB=UB.length-1);for(var t=0;t0&&(o%10==1?l.push(o+" год"):o%10>=2&&o%10<=4?l.push(o+" года"):l.push(o+" лет")),r>0&&0==l.length&&(r%10==1?l.push(r+" месяц"):r%10>=2&&r%10<=4?l.push(r+" месяца"):l.push(r+" месяцев")),i>0&&0==l.length&&(i%10==1?l.push(i+" день"):i%10>=2&&i%10<=4?l.push(i+" дня"):l.push(i+" дней")),a>0&&0==l.length&&(a%10==1?l.push(a+" час"):a%10>=2&&a%10<=4?l.push(a+" часа"):l.push(a+" часов")),u>0&&0==l.length&&(u%10==1?l.push(u+" минута"):u%10>=2&&u%10<=4?l.push(u+" минуты"):l.push(u+" минут")),c>0&&0==l.length&&(c%10==1?l.push(c+" секунда"):c%10>=2&&c%10<=4?l.push(c+" секунды"):l.push(c+" секунд")),l.join(" ")+" назад"}function SetOpacity(t,e){e<0?e=0:e>100&&(e=100);var n=e/100;n=n.toString().substr(1),null!=t.style.opacity&&null!=t.style.opacity&&t.style.opacity.constructor==String&&(t.style.opacity=n),null!=t.style.MozOpacity&&null!=t.style.MozOpacity&&t.style.MozOpacity.constructor==String&&(t.style.MozOpacity=n),null!=t.style.KhtmlOpacity&&null!=t.style.KhtmlOpacity&&t.style.KhtmlOpacity.constructor==String&&(t.style.KhtmlOpacity=n);var o=!1;if(navigator.appVersion&&(o=navigator.appVersion.match(/MSIE ([\d.]+)/))&&o[1]>=5.5){var r=null;t.filters&&(r=t.filters["DXImageTransform.Microsoft.alpha"]||t.filters.alpha),r?r.opacity=e:t.style.filter+="progid:DXImageTransform.Microsoft.Alpha(opacity="+e+")"}}function FindChild(t,e){if(e.tagname&&t){var n=t.getElementsByTagName(e.tagname);for(ci=0;ci-1)return o;if(e.attr&&!e.attrValue&&o.getAttribute(e.attr))return o;if(e.attr&&e.attrValue&&o.getAttribute(e.attr)&&o.getAttribute(e.attr)==e.attrValue)return o}return null}}function FindChildren(t,e){var n=[];if(!e.tagname||!t)return null;var o=t.getElementsByTagName(e.tagname);for(ic=0;ic-1&&n.push(r),e.attr&&!e.attrValue&&r.getAttribute(e.attr)&&n.push(r),e.attr&&e.attrValue&&r.getAttribute(e.attr)&&r.getAttribute(e.attr)==e.attrValue&&n.push(r),e.idpart&&r.getAttribute("id")&&-1!=r.getAttribute("id").indexOf(e.idpart)&&n.push(r)}return n}function GetCaretPosition(e){var t=0;if(document.selection){e.focus();var c=document.selection.createRange();c.moveStart("character",-e.value.length),t=c.text.length}else(e.selectionStart||"0"==e.selectionStart)&&(t=e.selectionStart);return t}function SetCaretPosition(e,t){try{if(e)if(e.createTextRange){var c=e.createTextRange();c.move("character",t),c.select()}else e.setSelectionRange?e.setSelectionRange(t,t):e.selectionStart?(e.focus(),e.setSelectionRange(t,t)):e.focus()}catch(e){}} var Menu;Menu||(Menu={});var Menu1={items:[],initialised:!1};function MenuInit(){if(!Menu1.initialised){var e=Menu1.items,t=document.getElementById("menu_table");if(t){for(var n=t.getElementsByTagName("td"),i=0;i
',document.getElementById("tooltip").appendChild(e),AddListener("mouseover",e,MenuOnDropMouseOver),AddListener("mouseout",e,MenuOnDropMouseOut)}}function MenuHide(){var e=document.getElementById("menudrop");e&&e.parentNode.removeChild(e),Menu.current=null}function MenuOnLinkMouseOver(e){Menu.timer&&window.clearTimeout(Menu.timer),e||(e=window.event);var t=e.target;t||(t=e.srcElement);var n=Menu1,r=FindParent(t,{attr:"menuname"},!0);if(r){var u=r.getAttribute("menuname");if(!n.current||n.current.n!=u){var o=n.items;for(i=0;i0){for(i=0;imaxW&&(maxW=tds[i].offsetWidth);for(maxW>198&&(maxW=198),i=0;i4&&(i=4),n=Math.ceil(t.length/i);for(var r=0,u=Math.floor(850/i),o='',d=0;d
';for(var a=0;a",r++;o+="
',r'+t[r].t+""),o+="
",d
')}return o+=""}}function productMenuGetContents(){var e=document.getElementById("menudrop");if(Producers&&e){var t=Products,n=6,i=Math.ceil(t.length/n);i>4&&(i=4),n=Math.ceil(t.length/i);for(var r='',u=0;u";for(var o=u;o',o'+t[o].t+""),r+="",0==u&&o/n
');r+=""}return r+="
"}}function MenuSetPos(){var e=document.getElementById("menudrop");if(Menu.current&&e){var t=Menu.current.s,n=GetOffset(t),i=GetOffset(document.getElementById("topmenu1"));e.style.left=i.left+21+"px";var r=FindParent(t,{id:"topmenu2"},!0);r&&"absolute"==r.style.position?e.style.top=n.top+t.offsetHeight+"px":e.style.top=n.top+t.offsetHeight+GetVScroll()+"px"}}function MenuOnDropMouseOver(e){Menu.timer&&window.clearTimeout(Menu.timer)}function MenuOnDropMouseOut(e){e||(e=window.event);var t=e.target;t||(t=e.srcElement);var n=e.relatedTarget;n||(n=e.toElement);var i=FindParent(t,{id:"menudrop"},!0),r=FindParent(n,{id:"menudrop"},!0);i&&r&&i==r||(Menu.timer=window.setTimeout(MenuHide,200))}var Menu2={items:[],initialised:!1};function Menu2Init(){if(!Menu2.initialised){var e=Menu2.items,t=document.getElementById("menu_left");if(t){for(var n=t.getElementsByTagName("td"),i=0;i10&&(e=170);var r=document.getElementById("menu_left"),u=document.getElementById("basket_left"),o=document.getElementById("menu_left_back"),d=document.getElementById("menu_left_cont"),a=0;u&&o&&d&&(0==e&&(e=d.offsetWidth+10),o.style.width=e+"px",o.style.height=d.offsetHeight+15+"px",a+=parseInt(r.style.top)+parseInt(o.style.height));var l=document.getElementById("menu_action"),s=document.getElementById("menu_action_shadow");l&&s&&o&&r&&"block"==r.style.display&&(s.style.width=e+"px",l.style.top=a+"px"),s&&(a+=s.offsetHeight,0==e&&(e=parseInt(s.style.width))),t&&n&&i&&(n.style.height=i.offsetHeight+20+"px",n.style.width=e+"px",a<=0&&(a=100),t.style.top=a+"px",a+=parseInt(n.style.height))}BlueMenuResize(),OnScriptReadyFunc.push(BlueMenuResize); function Cookie(){this.$cookies=new Array;var cookies=document.cookie.split(/; /g);if(!cookies)return;for(var i=0;i0&&e[0].href?e[0].href:"http://www.bodybuildingrussia.com/"}function InitNotify(e){window.open("/notify.aspx?id="+e,"","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=550,height=200")} function GetRequest(){var M=null;try{M=new XMLHttpRequest}catch(e){for(var t=new Array("MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.5.0","MSXML2.XMLHTTP.4.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"),X=0;X0)for(var t=0;t0){var r=$(a);if(r)if(!M(y[t].swfVersion)||C.wk&&C.wk<312)if(y[t].expressInstall&&I()){var l={};l.data=y[t].expressInstall,l.width=r.getAttribute("width")||"0",l.height=r.getAttribute("height")||"0",r.getAttribute("class")&&(l.styleclass=r.getAttribute("class")),r.getAttribute("align")&&(l.align=r.getAttribute("align"));for(var s={},c=r.getElementsByTagName("param"),f=c.length,d=0;d');i.outerHTML='"+f+"",h[h.length]=e.id,n=$(e.id)}else{var p=x(l);for(var u in p.setAttribute("type",s),e)e[u]!=Object.prototype[u]&&("styleclass"==u.toLowerCase()?p.setAttribute("class",e[u]):"classid"!=u.toLowerCase()&&p.setAttribute(u,e[u]));for(var v in t)t[v]!=Object.prototype[v]&&"movie"!=v.toLowerCase()&&O(p,v,t[v]);i.parentNode.replaceChild(p,i),n=p}return n}function O(e,t,a){var n=x("param");n.setAttribute("name",t),n.setAttribute("value",a),e.appendChild(n)}function F(e){var t=$(e);t&&"OBJECT"==t.nodeName&&(C.ie&&C.win?(t.style.display="none",function(){4==t.readyState?function(e){var t=$(e);if(t){for(var a in t)"function"==typeof t[a]&&(t[a]=null);t.parentNode.removeChild(t)}}(e):setTimeout(arguments.callee,10)}()):t.parentNode.removeChild(t))}function $(e){var t=null;try{t=d.getElementById(e)}catch(e){}return t}function x(e){return d.createElement(e)}function M(e){var t=C.pv,a=e.split(".");return a[0]=parseInt(a[0],10),a[1]=parseInt(a[1],10)||0,a[2]=parseInt(a[2],10)||0,t[0]>a[0]||t[0]==a[0]&&t[1]>a[1]||t[0]==a[0]&&t[1]==a[1]&&t[2]>=a[2]}function V(e,t,a,n){if(!C.ie||!C.mac){var s=d.getElementsByTagName("head")[0];if(s){var c=a&&"string"==typeof a?a:"screen";if(n&&(i=null,r=null),!i||r!=c){var f=x("style");f.setAttribute("type","text/css"),f.setAttribute("media",c),i=s.appendChild(f),C.ie&&C.win&&typeof d.styleSheets!=o&&d.styleSheets.length>0&&(i=d.styleSheets[d.styleSheets.length-1]),r=c}C.ie&&C.win?i&&typeof i.addRule==l&&i.addRule(e,t):i&&typeof d.createTextNode!=o&&i.appendChild(d.createTextNode(e+" {"+t+"}"))}}}function P(e,t){if(b){var a=t?"visible":"hidden";w&&$(e)?$(e).style.visibility=a:V("#"+e,"visibility:"+a)}}function R(e){return null!=/[\\\"<>\.;]/.exec(e)&&typeof encodeURIComponent!=o?encodeURIComponent(e):e}C.ie&&C.win&&window.attachEvent("onunload",function(){for(var e=m.length,t=0;t