var doc=document.documentElement||document.body;var isIe=(document.all)?true:false;var ie_version;if(isIe){var version=navigator.appVersion.split(';');var trim_version=version[1].replace(/[ ]/g,'');if(trim_version=='MSIE7.0'){ie_version=7;}else if(trim_version=='MSIE6.0'){ie_version=6;}} try{document.execCommand('BackgroundImageCache',false,true);}catch(e){};function $_(obj){return document.getElementById(obj)?document.getElementById(obj):'';} function set_number(obj,float){p=float==1?/[^\d-.]/g:/[^\d]/g;obj.value=obj.value.replace(p,'');} function product_review_show_star(v){for(i=1;i<=5;i++){$_('rating_'+i).src='/images/lib/product/x1.jpg';} for(i=1;i<=v;i++){$_('rating_'+i).src='/images/lib/product/x0.jpg';}} function div_mask(){var div_mask=document.createElement('div');div_mask.setAttribute('id','div_mask');div_mask.style.cssText='z-index:10000; background-color:#000; filter:alpha(opacity=40); opacity:0.4; -moz-opacity:0.4; left:0px; top:0px; position:absolute;';div_mask.style.height=(doc.scrollHeight>doc.clientHeight?doc.scrollHeight:doc.clientHeight)+'px';div_mask.style.width=doc.scrollWidth+'px';document.body.appendChild(div_mask);} function pop_info_tips(tips){if(!is_array(tips)){if(tips!=''&&tips!=undefined){tips=tips.split('|');}else{return;}}else if(tips.length==0){return;} div_mask();var info='';var e=clear_repeat(tips);for(var i=0;i';} var pop_info_tips=document.createElement('div');pop_info_tips.setAttribute('id','pop_info_tips');pop_info_tips.style.cssText='position:absolute; z-index:10001; background:#fff; left:0px; top:0px; width:550px;';pop_info_tips.innerHTML='\
'+Ly200JsLang._windows._tips+'
\
'+info+'
\
'+Ly200JsLang._windows._close+'
';document.body.appendChild(pop_info_tips);scroll_pop_info_tips();scroll_pop_info_tips_timer=setInterval('scroll_pop_info_tips()',50);$_('pop_info_tips').focus();$_('pop_info_tips').blur();document.onkeyup=function(evt){evt=evt||event;key=evt.keyCode||evt.which||evt.charCode;key==27&&close_pop_info_tips();}} function scroll_pop_info_tips(){$_('pop_info_tips').style.left=(document.documentElement.scrollLeft||window.pageXOffset||document.body.scrollLeft)+doc.clientWidth/2-$_('pop_info_tips').offsetWidth/2+'px';$_('pop_info_tips').style.top=(document.documentElement.scrollTop||window.pageYOffset||document.body.scrollTop)+doc.clientHeight/2-$_('pop_info_tips').offsetHeight/2+'px';} function close_pop_info_tips(){(typeof first_error_input!='undefined'&&first_error_input!=null)&&first_error_input.focus();document.body.removeChild($_('div_mask'));document.body.removeChild($_('pop_info_tips'));document.onkeyup=null;clearInterval(scroll_pop_info_tips_timer);} function clear_repeat(array){for(var i=0;i