f(!this.url){return;}
var domain=this.url.replace(/^.*\/\//,'').replace(/\/.*/,''),timer=this.eTime-this.sTime,cgi=encodeURIComponent(this.formatUrl?this.url.match(/^[\w|/|.|:|-]*/)[0]:this.url);this.reportUrl="http://c.isdspeed.qq.com/code.cgi?domain="+domain+"&cgi="+cgi+"&type="+this.retCode+"&code="+this.errCode+"&time="+timer+"&rate="+this.frequence+(this.uin?("&uin="+this.uin):"");if(this.reportUrl&&Math.random()<(1/this.frequence)&&this.url){$report(this.reportUrl);}}
return option;};function $setCookie(name,value,expires,path,domain,secure){var exp=new Date(),expires=arguments[2]||null,path=arguments[3]||"/",domain=arguments[4]||null,secure=arguments[5]||false;expires?exp.setMinutes(exp.getMinutes()+parseInt(expires)):"";document.cookie=name+'='+escape(value)+(expires?';expires='+exp.toGMTString():'')+(path?';path='+path:'')+(domain?';domain='+domain:'')+(secure?';secure':'');};function $time33(str){for(var i=0,len=str.length,hash=5381;i<len;++i){hash+=(hash<<5)+str.charAt(i).charCodeAt();};return hash&0x7fffffff;};function $xss(str,type){if(!str){return str===0?"0":"";}
switch(type){case"none":return str+"";break;case"html":return str.replace(/[&'"<>\/\\\-\x00-\x09\x0b-\x0c\x1f\x80-\xff]/g,function(r){return"&#"+r.charCodeAt(0)+";"}).replace(/ /g," ").replace(/\r\n/g,"<br />").replace(/\n/g,"<br />").replace(/\r/g,"<br />");break;case"htmlEp":return str.replace(/[&'"<>\/\\\-\x00-\x1f\x80-\xff]/g,function(r){return"&#"+r.charCodeAt(0)+";"});break;case"url":return escape(str).replace(/\+/g,"%2B");break;case"miniUrl":return str.replace(/%/g,"%25");break;case"script":return str.replace(/[\\"']/g,function(r){return"\\"+r;}).replace(/%/g,"\\x25").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\x01/g,"\\x01");break;case"reg":return str.replace(/[\\\^\$\*\+\?\{\}\.\(\)\[\]]/g,function(a){return"\\"+a;});break;default:return escape(str).replace(/[&'"<>\/\\\-\x00-\x09\x0b-\x0c\x1f\x80-\xff]/g,function(r){return"&#"+r.charCodeAt(0)+";"}).replace(/ /g," ").replace(/\r\n/g,"<br />").replace(/\n/g,"<br />").replace(/\r/g,"<br />");break;}};$namespace("PP.market.promotion20140308lv");PP.market.promotion20140308lv={};PP.market.promotion20140308lv.init=function(){this.bindEvent();this.bindData();};PP.market.promotion20140308lv.bindEvent=function(){$holdtitle();$id("lvzuan").onclick=function(){if(!$isLogin()){$login({type:'func',checkLogin:false,action:function(){PP.market.promotion20140308lv.raffle($id("deal_text").value);}});return false;}
if($id("deal_text").value=="请输入订单号"){$float({title:"温馨提示",html:"请输入订单号哦。"});return false;}
if(!(/\d+-\d{8}-\d+/.test($id("deal_text").value))){$float({title:"温馨提示",html:"您输入的订单号有误,请核对后再试。"});return false;}
PP.market.promotion20140308lv.raffle($id("deal_text").value);}
$id("deal_text").onfocus=function(){if(this.value=="请输入订单号"){this.value="";}}
$id("deal_text").onblur=function(){if(this.value==""){this.value="请输入订单号";}}}
PP.market.promotion20140308lv.raffle=function(deal_id){new $easyLottery({activeid:"songlvzuan",level:1,deal_id:deal_id,bingoBack:function(level){$float({title:"温馨提示",html:"恭喜您,获得了一个月绿钻,我们将统一在2014年3月17日当天发放"});},branches:function(ret,that){that.userMax(function(ret){$float({title:"温馨提示",html:"您已经领取过了哦,请关注我们的后续活动!"});});}});}
PP.market.promotion20140308lv.bindData=function(){$easyData();}
PP.market.promotion20140308lv.init();
window['PP.market.promotion20140308lv']='22010:20140305:20140305192307';
window['PP.market.promotion20140308lv.time'] && window['PP.market.promotion20140308lv.time'].push(new Date());/* |xGv00|8f31330bb7b1a1c638719b0fad72e5a5 */