if(CSM&&CSM.proto){
var _CSM=CSM;
}
if(!CSM||!CSM.nsetup){
if(CSM){
var __CSM=CSM;
}
var ua=navigator.userAgent.toLowerCase();
var CSM={DASHB:"1",VISTA:"2",YAHOO:"3",SHD:2,DH:20,MW:160,MH:235,iframe:(self!=top&&_CSM==undefined),IWN:navigator.appVersion.toLowerCase().indexOf("win")!=-1,IIE:!!(window.attachEvent&&!window.opera),GPR:function(){
var rv="";
try{
if(typeof (_cs_pur)!="undefined"&&_cs_pur&&_cs_pur!="undefined"){
rv=_cs_pur;
}
rv=(rv.split("?"))[0];
}
catch(e){
return;
}
return rv;
},BLR:function(_2){
if(!CSM.IIE){
return;
}
var _3=document.createElement("a");
_3.style.width=_3.style.height=0;
document.body.appendChild(_3);
_3.focus();
if(_2&&_2.focus){
_2.focus();
}else{
window.focus();
}
document.body.removeChild(_3);
},ISF:(ua.indexOf("safari")>-1),IGK:(ua.indexOf("gecko")>-1&&!this.ISF),IFX:(ua.indexOf("firefox")>-1),IOP:(typeof (window.opera)!="undefined"),IST:(document.documentElement&&document.documentElement.clientHeight),IAL:(this.IGK||this.IOP||this.IIE),GEL:function(id){
return document.getElementById(id);
},clean:function(_5){
return _5.replace(/[^0-9a-zA-Z_]/g,"_");
},AVR:function(_6,_7,_8){
_6+=(_6==""?"":"&")+_7+"="+_8;
return _6;
},GFW:function(){
if(self.innerWidth){
return self.innerWidth;
}else{
if(document.documentElement&&document.documentElement.clientWidth){
return document.documentElement.clientWidth;
}else{
if(document.body){
return document.body.clientWidth;
}
}
}
return 0;
},GFH:function(){
if(self.innerWidth){
return self.innerHeight;
}else{
if(document.documentElement&&document.documentElement.clientWidth){
return document.documentElement.clientHeight;
}else{
if(document.body){
return document.body.clientHeight;
}
}
}
return 0;
},OBJ:function(id,w,h,_c,ie,_e,_f,fsm,_11){
var wx=_e?"100%":w;
var hy=_e?"100%":h;
if(!_f||_f===undefined){
_f="transparent";
}
switch(_f){
case 1:
_f="opaque";
break;
case 2:
_f="window";
break;
case 0:
default:
_f="transparent";
break;
}
if(CSM.args&&CSM.args._cs_cnf){
_c+=(_c.indexOf("?")>-1?"&":"?")+"_cs_cnf="+CSM.args._cs_cnf;
}
if(_e){
_c+=(_c.indexOf("?")>-1?"&":"?")+"_cs_max=1";
}
return "<object id=\"W"+id+"\" width=\""+wx+"\" height=\""+hy+"\" quality=\"best\" "+(ie?"":" data=\""+_c+"\" ")+"pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\">"+"<param name=\"scalemode\" value=\""+((_11&&_11!==""?_11:"showAll"))+"\"/><param name=\"menu\" value=\"false\"/><param name=\"wmode\" value=\""+_f+"\" /><param name=\"allowNetworking\" value=\"all\" /><param name=\"allowScriptAccess\" value=\"always\" />"+(fsm?"<param name=\"allowFullScreen\" value=\"true\"/>":"")+(ie?"<param name=\"movie\" value=\""+_c+"\" />":"")+" </object>";
},debug:function(t){
try{
}
catch(e){
}
},TMR:function(cid,_16,_17){
var m=this.GEL("PM"+cid);
var c=this.GEL("I"+cid);
var b=this.GEL("B"+cid);
var mgr=this.GEL("W"+cid);
_16=(_16=="true"||_16===true);
if(_16){
m.style.zIndex=999;
CSM.BLR(mgr);
}else{
CSM.BLR();
}
if(_16){
b.style.visibility="visible";
b.style.display="block";
}else{
b.style.visibility="hidden";
}
c.style.display=_16?"none":"block";
},ZMR:function(cid,_1d,_1e){
var m=this.GEL("PM"+cid);
_1d=(_1d=="true"||_1d===true);
m.style.zIndex=_1d?999:0;
},EUR:function(url){
if(url){
var _21=encodeURIComponent(url);
if(_21&&_21!="undefined"){
return _21;
}
}
return;
},BUG:function(id,sid,_24,d,p,ie,_28){
return CSM.OBJ(id,1,1,"http://"+d+p+_24+"/-W/1/-H/1/-TRK/1/lib.as2.swf",ie);
},MGR:function(id,_2a,d,p,ie,_2e){
var w=this.MW;
var h=this.MH;
return CSM.OBJ(id,w,h,"http://"+d+p+_2a+"/-W/"+(this.MW-0)+"/-H/"+(this.MH-0)+"/"+"-TRK/1/m.template2.swf?_cs_standalone=true&_cs_ontoggle=CSM.TMR&_cs_onclosetoggle=CSM.ZMR"+(_2e?"&_cs_fpid="+_2e:""),ie);
},GEN:function(id,_32,w,h,d,p,ie,ijs,max,fwm,fsm,smo){
return ijs?"<script type=\"text/javascript\" src=\"http://"+d+p+_32+"\"> </script>":CSM.OBJ(id,w,h,"http://"+d+p+_32,ie,max,fwm,fsm,smo);
}};
if(_CSM){
CSM.set=_CSM.set;
}
}
var NCSO={BGC:this.FWM&&(this.FWM=="opaque"||this.FWM=="1")?this.FWM="#"+parseInt(this.BGC,16):"transparent",GDB:function(){
var _3d=[];
var _3e=[];
var _3f=function(_40,_41){
return {name:_40,size:_41};
};
var _42=function(obj){
obj.push(_3f("Shadow",CSM.SHD));
};
var _44=(this.TYP===0||this.TYP=="0");
var _45=_44&&(this.DSW===1||this.DSW=="1");
var _46=(this.DBL===1||this.DBL=="1")&&this.EMH>=CSM.MH&&this.EMW>=CSM.MW;
var _47=!_44?CSM.DH:this.SMO=="noScale"?(this.EMH/this.H)*CSM.DH:CSM.DH;
if(_45){
_42(_3d);
_42(_3e);
}
_3d.push(_3f("Widget",this.EMW-(_45?4:0)));
_3e.push(_3f("Widget",this.EMH-(_46?_47:0)-(_45?4:0)));
if(_45){
_42(_3d);
_42(_3e);
}
if(_46){
_3e.push(_3f("Dock",_47));
}
return {width:_3d,height:_3e};
},ICF:function(id){
var w=window;
var d=document;
var ol=w.onload;
w.onload=function(){
if(typeof (ol)=="function"){
try{
ol();
}
catch(e){
}
}
var o=d.getElementById(id);
var h=o.outerHTML,_4e="";
for(var j=0;j<o.childNodes.length;j++){
var p=o.childNodes[j];
if(p.tagName.toUpperCase()=="PARAM"){
_4e+=p.outerHTML;
}
}
var _51=h.split(">")[0]+">"+_4e+o.innerHTML+" </OBJECT>";
o.outerHTML=_51;
};
},GOVR:function(){
var _52="",i;
var _54=false;
var opr=CSM.EUR(CSM.GPR());
_52+=(opr?"/-PUR/"+opr:"");
if(this.IOV){
for(i=0;i<this.IOV.length;i++){
var key=this.IOV[i];
if(key=="PUR"){
_54=true;
if(this[key].indexOf("http%3A")===0){
this[key]=unescape(this[key]);
}
}else{
if(this[key]){
var val=escape(this[key]).replace(/\//g,"%2f");
_52+="/-"+key+"/"+val;
}
}
}
}
if(this.FOV){
for(i=0;i<this.FOV.length;i++){
var key=this.FOV[i];
_52+="/"+key+"/"+escape(this.FLV[key]).replace(/\//g,"%2f");
}
}
if(!_54){
var _58;
try{
if(top!=self&&top.window&&top.window.location&&top.window.location.href){
_58=""+top.window.location.href;
}else{
_58=""+window.location.href;
}
_58=(_58.split("?"))[0];
}
catch(e){
}
if(_58){
var opr=CSM.EUR(_58);
_52+=(opr?"/-PUR/"+opr:"");
}
}
try{
if(CSM.args&&typeof (CSM.args._cs_flv)!="undefined"&&CSM.args._cs_flv&&CSM.args._cs_flv!="undefined"){
var _59=CSM.args._cs_flv.split("&");
if(_59.length){
_52+="?";
}
for(var i=0;i<_59.length;i++){
_52+=(i?"&":"")+unescape(_59[i]);
}
}
}
catch(e){
}
return _52;
},defaults:function(_5a){
for(var k in _5a){
if(!this[k]){
this[k]=_5a[k];
}
if(typeof (_5a[k])=="number"){
this[k]=parseInt(this[k],10);
}
}
},WBG:function(){
return "<div id=\"BGI"+this.CID+"\" style=\"position:absolute;top:0px;left:0px;z-index:1;width:100%;height:100%\">"+this.WBI()+"</div>";
},WBI:function(){
return CSM.OBJ("BI"+this.CID,this.EMW,this.EMH-(this.DBL?CSM.DH:0),"http://"+this.TPH+"/o/"+this.WID+"/-/-/-/-W/"+this.EMW+"/-H/"+(this.EMH-(this.DBL?CSM.DH:0))+"/-TRK/0/back.swf",CSM.IIE,false,"transparent",false,"noScale");
},GWC:function(iaf){
var _5d="";
if(iaf&1&&this.GEO){
_5d=CSM.AVR(_5d,"_cs_geo",this.GEO.substr(0,26));
}
if(iaf&2){
_5d=CSM.AVR(_5d,"_cs_dom",this.DOM);
}
if(iaf&4&&this.GEO){
_5d=CSM.AVR(_5d,"_cs_net",this.GEO.substr(26));
}
if(iaf&8){
_5d=CSM.AVR(_5d,"_cs_pur",this.PUR);
}
if(iaf&16){
_5d=CSM.AVR(_5d,"_cs_ptc",this.KPP);
}
if(iaf&32){
_5d=CSM.AVR(_5d,"_cs_wtc",this.KWP);
}
if(iaf&64){
}
if(iaf&128){
}
if(iaf&256){
_5d=CSM.AVR(_5d,"_cs_wid",this.WID);
}
if(iaf&512){
_5d=CSM.AVR(_5d,"_cs_pid",this.PID);
}
if(this.DWE){
_5d=CSM.AVR(_5d,"_cs_dwe",this.DWE);
}
return _5d;
},FCU:function(){
var _5e=this.GWC(this.IAF);
for(var key in this.FLV){
if(typeof (this.FLV[key])!="function"){
_5e+=(_5e.length?"&":"")+key+"="+(escape(this.FLV[key]).replace(/\//g,"%2f"));
}
}
return _5e.length?(this.CTU.indexOf("?")>-1?"&"+_5e:"?"+_5e):"";
},WWT:function(wbs){
var flv=this.FCU();
return "<div id=\"O"+this.CID+"\" class=\"cs-js-o\" "+"style=\"position:"+((this.DYN===true||this.DYN=="1")?"relative":"absolute")+";left:"+this.OFX+"px;top:"+this.OFY+"px;width:100%;height:100%;\">"+((this.PJS===true||this.PJS=="1")&&!wbs?"<div id=\"I"+this.CID+"\" class=\"cs-js-i\">"+this.SCR(flv)+"</div>":this.IFR(flv,wbs))+"</div>"+"<div id=\"B"+this.CID+"\" class=\"cs-js-b\" style=\"position:absolute;left:"+this.OFX+"px;top:"+this.OFY+"px;width:100%;height:100%;border:0px;display:none;z-index:2\">"+"<div style=\"position:absolute;top:0px;left:0px;width:100%;height:100%;z-index:3;\"></div>"+this.WBG()+"</div>";
},SCR:function(flv){
return "<script type=\"text/javascript\" src=\""+this.CTU+flv+"\"></script>";
var _63=CSM.GEL("I"+this.CID);
if(!flv){
flv=this.FCU();
}
if(_63){
var _64=document.createElement("script");
_64.setAttribute("type","text/javascript");
_64.setAttribute("charset","utf-8");
_63.appendChild(_64);
_64.setAttribute("src",this.CTU+flv);
}
},IFR:function(flv,wbs){
var ctu=wbs?"http://"+this.TPH+"/c/widget.bs?wid="+this.WID+"&opt="+CS.PAGES.SETUP.getURLOverrides():this.CTU+flv;
return "<iframe id=\"I"+this.CID+"\" src=\""+ctu+"\" frameborder=\"0\" scrolling=\"no\" style=\"margin:0px;padding:0px;width:100%;height:100%;border:0px;z-index:60;overflow:hidden;overflow-x: hidden; overflow-y: hidden;\" allowtransparency=\"true\">"+this.ADN+"</iframe>";
},GMR:function(_68){
var div="<div id=\"PM"+this.CID+"\" class=\"cs-js-pm\"";
return div+(_68!==false?" style=\"z-index:0;position:absolute;left:"+(this.EMW/2-CSM.MW/2)+"px;bottom:0px\">"+CSM.MGR(this.CID,this.GOVR(),this.TPH,this.URL,CSM.IIE,this.FPID==this.PID?null:this.FPID):">"+CSM.BUG(this.CID,this.SID,this.GOVR(),this.TPH,this.URL,CSM.IIE))+"</div>";
},CHM:function(){
var _6a=CSM.GEL("D"+this.CID);
return ((this.DBL&&this.DBL!=="0")&&(this.EMW>=CSM.MW)&&(this.EMH>=CSM.MH)&&(!_6a||(_6a.offsetWidth>=CSM.MW&&_6a.offsetHeight>=CSM.MH)));
},AMR:function(){
var _6b=CSM.GEL("PM"+this.CID);
var _6c=(this.CHM())?CSM.MGR(this.CID,this.GOVR(),this.TPH,this.URL,CSM.IIE,this.FPID==this.PID?null:this.FPID):"";
_6b.innerHTML=_6c;
_6b.style.position="relative";
_6b.style.marginTop=(this.EMH+this.OFY-CSM.MH)+"px";
_6b.style.left=(this.EMW/2-CSM.MW/2)+"px";
},RSZ:function(emw,emh){
this.EMW=emw;
this.EMH=emh;
var _6f=CSM.GEL("D"+this.CID);
var _70=CSM.GEL("F"+this.CID);
_70.style["width"]=_6f.style["width"]=(emw+this.OFX)+"px";
_70.style["height"]=_6f.style["height"]=(emh+this.OFY-(this.DBL?CSM.DH:0))+"px";
this.AMR();
},AJS:function(div,_72){
this.URL="/o/"+this.WID+"/-/-/-"+(_72===true?"/-DBG/1":"");
var _73=(this.PJS!="1"&&this.PJS!==true);
div.innerHTML=this.WJS(false,true,!_73);
if(!_73){
this.SCR();
}
this.AMR();
},RHC:function(id){
var w=window;
var d=document;
var ol=w.onload;
var emw=parseInt(this.EMW,10);
w.onload=function(){
if(typeof (ol)=="function"){
try{
ol();
}
catch(e){
}
}
var n=d.getElementById("F"+id);
var p=n.parentNode||n.parent;
if(n&&n.style&&p&&p.style["height"]=="100%"){
var dyn=this.DYN=="1"||this.DYN===1;
if(!dyn){
var fw=CSM.GFW();
var pm=d.getElementById("PM"+id);
if(emw>fw){
emw=fw;
}
n.style.width=emw+"px";
n.style["left"]=(fw/2-emw/2)+"px";
pm.style["left"]=((fw/2-emw/2)+((emw-CSM.MW)/2))+"px";
}
}
};
},WBL:function(){
var _7e=undefined;
var _7f=function(_80){
var _81="";
var i=0;
var c=c1=c2=0;
while(i<_80.length){
c=_80.charCodeAt(i);
if(c<128){
_81+=String.fromCharCode(c);
i++;
}else{
if((c>191)&&(c<224)){
c2=_80.charCodeAt(i+1);
_81+=String.fromCharCode(((c&31)<<6)|(c2&63));
i+=2;
}else{
c2=_80.charCodeAt(i+1);
c3=_80.charCodeAt(i+2);
_81+=String.fromCharCode(((c&15)<<12)|((c2&63)<<6)|(c3&63));
i+=3;
}
}
}
return _81;
};
if(this.BLB){
_7e=unescape(this.BLB);
_7e=_7e.replace(/\+/g," ");
_7e=_7f(_7e);
_7e=_7e.replace(/{{_CS_WID}}/g,this.WID);
_7e=_7e.replace(/{{_CS_PID}}/g,this.PID);
var FLV=this.FLV;
var _85=function(str,_87,flv){
return (FLV[flv]?FLV[flv]:str);
};
_7e=_7e.replace(/\{\{(flv_)(.+?)\}\}/g,_85);
}
return "<div id=\"D"+this.CID+"\" class=\"cs-js-d\"><div id=\"F"+this.CID+"\" class=\"cs-js-f\">"+(_7e&&_7e!=" "?_7e:"No content defined")+"</div>"+((this.BUG=="1"||this.BUG===1)?this.GMR(false):"")+"</div>";
},WJS:function(max,dnw,wbs,_8c){
var wx=max&&!this.IJS?"100%":(this.EMW+this.OFX)+"px";
var wxb=max?"100%":(this.EMW+this.OFX)+"px";
var hy=max&&!this.IJS?"100%":(this.EMH+this.OFY-(this.DBL?CSM.DH:0))+"px";
var hyb=max?"100%":(this.EMH+this.OFY)+"px";
var wh=this.DYN===true||this.DYN=="1"?"":"width:"+wx+";height:"+hy;
var whb=this.DYN===true||this.DYN=="1"?"":"width:"+wxb+";height:"+hyb;
return (_8c!==false?"<div id=\"D"+this.CID+"\" class=\"cs-js-d\" style=\"position:relative;"+whb+";text-align:left;overflow:hidden\">"+"<div id=\"F"+this.CID+"\" class=\"cs-js-f\" style=\"position:"+((this.DYN===true||this.DYN=="1")?"relative":"absolute")+";"+(this.PJS===true||this.PJS=="1"?"overflow:hidden":"")+";"+wh+";z-index:5\">"+this.WWT(wbs):"")+(_8c===true?"":"</div>"+(this.GMR(!dnw&&this.CHM()))+"</div>");
},WST:function(){
if(this.TYP===1||this.TYP=="1"){
return CSE.iframe;
}else{
return CSE.oembed;
}
}};
if(!CSM.nsetup){
CSM.nsetup=1;
if(__CSM){
for(var k in __CSM){
CSM[k]=__CSM[k];
}
}
}
if(typeof (CSO)=="undefined"||!CSO){
var CSO=NCSO;
}
NCSO.set=CSM.set?CSM.set:function(k,v){
};
for(var k in NCSO){
if(typeof (NCSO[k])=="function"){
CSO[k]=NCSO[k];
}
}
CSO.defaults({EMW:640,W:640,EMH:640,H:480,CSS:3,OFX:0,OFY:0,FLV:[],ADN:"",MAX:0});
if(CSO.XXX){
CSO.CTU="";
CSO.TYP=1;
}
if(!CSO.PID){
CSO.PID=CSO.WID;
}
if(CSM.GPR()){
CSO.PUR=CSM.GPR();
}
if(CSO.CTU&&CSO.CTU.toUpperCase().indexOf("HTTP%3A")===0){
CSO.CTU=unescape(CSO.CTU);
}
if(CSO.WID){
CSO.CPID=CSM.clean(CSO.PID);
CSO.NID=CSO.UR0.split("/")[3];
if(!CSM[CSO.WID]){
CSM[CSO.WID]={};
}
if(!CSM[CSO.WID][CSO.CPID]){
CSM[CSO.WID][CSO.CPID]=[CSO];
CSO.FPID=CSO.CPID;
}else{
CSO.FPID=CSO.CPID+(CSM[CSO.WID][CSO.CPID].length-1);
CSM[CSO.WID][CSO.CPID].push(CSO);
}
CSO.CID=CSO.WID+CSO.FPID;
CSM[CSO.CID]=CSO;
if(CSM.args===undefined){
CSM.args=new Object();
var src=window.location.search;
src.replace(new RegExp("([^?=&]+)(=([^&]*))?","g"),function($0,$1,$2,$3){
CSM.args[$1]=$3;
});
}
CSO.DBL=CSO.DBL===1||CSO.DBL=="1";
var max=CSO.MAX===1||CSO.MAX=="1";
var ijs=CSO.TYP===1||CSO.TYP=="1";
CSO.IJS=ijs;
var ilp=CSO.TYP===4||CSO.TYP=="4";
var CSE={oembed:ijs?null:CSM.GEN(CSO.WID+CSO.FPID,CSO.GOVR(),CSO.EMW,CSO.EMH,CSO.TPH,CSO.URL,CSM.IIE,0,max,CSM.args._cs_fwm||CSO.FWM||null,CSO.FSM||false,CSO.SMO||""),oplace:CSM.GEN(CSO.WID+CSO.NID,CSO.GOVR(),CSO.EMW,CSO.EMH,CSO.TPH,CSO.UR0,CSM.IIE,ijs,max,CSO.FWM,CSO.FSM||false,CSO.SMO||""),blob:ilp?CSO.WBL():null,iframe:ijs?CSO.WJS(max):null,iopen:ijs?CSO.WJS(max,null,null,true):null,iclose:ijs?CSO.WJS(max,null,null,false):null};
CSO.CSE=CSE;
if(!CSO.DNW){
if(ijs){
eval("var W"+CSO.CID+";");
if(CSM.IIE&&(CSO.PJS===1||CSO.PJS=="1")){
document.write(CSE.iopen);
CSM.closetag=CSE.iclose;
document.write("<script type=\"text/javascript\" src=\""+CSO.JHO+"/close.cache.js\"></script>");
}else{
document.write(CSE.iframe);
}
eval("var W"+CSO.CID+" = CSM.GEL('W"+CSO.CID+"');");
CSO.RHC(CSO.CID);
}else{
if(ilp){
document.write(CSE.blob);
}else{
eval("var W"+CSO.CPID);
var e=CSM.GEL("W"+CSO.CPID);
if(e&&e.parentNode){
if(CSM.IIE==1){
CSO.ICF("W"+CSO.CPID);
}
}else{
document.write(CSE.oembed);
}
eval("var W"+CSO.CPID+" = CSM.GEL('W"+CSO.CPID+"');");
}
}
}
}
var CSO2=CSO;
if(CSM.args&&CSM.args._cs_rulers){
document.write("<script type=\"text/javascript\" src=\""+CSO.JHO+"/rulers.js\"></script>");
}
if(CSM.IIE&&CSO.DOM&&CSO.DOM.indexOf("google")!=-1){
var to=undefined;
document.attachEvent("onmouseover",function(){
to=setTimeout(CSM.BLR,100);
});
document.attachEvent("onmouseout",function(){
clearTimeout(to);
});
}

