(function(){var p="",I="";
var currentPlayer = '';
var currentBehavior = '';
var swfPath ='';
var base_logo_path = 'http://static.reembedit.com/data/logos/';
var base_cdn_path = 'http://cdn.reembedit.com';
var playerVersion = '';
var dll = '';
var drl = 'logo_png-6.png';
function getPlayerId(){
var regExes = [
{
'regex':'',
'plid':'259_529_50a1842481993e7aed42c2710fa3fc81',
'behavior':'2',
'path':'/data/swfs/fl/plf004b2/rePlayer.swf',
'version':'4',
'll':'',
'rl':'logo_png-6.png'
},{
'regex':'',
'plid':'259_528_5ea9119c80f45ef9e21301f14f065b27',
'behavior':'1',
'path':'/data/swfs/fl/plf004b2/rePlayer.swf',
'version':'4',
'll':'',
'rl':'logo_png-6.png'
},{
'regex':'',
'plid':'259_459_e4c5217b2183753793b9dc2389dee23b',
'behavior':'1',
'path':'/data/swfs/fl/plf003/rePlayer.swf',
'version':'3',
'll':'',
'rl':'logo_png-6.png'
},{
'regex':'',
'plid':'259_491_7ae94ad2c93c29e2a18d4c4bd7a6592c',
'behavior':'1',
'path':'/data/swfs/fl/plf003/rePlayer.swf',
'version':'3',
'll':'',
'rl':'logo_png-6.png'
},{
'regex':'',
'plid':'259_461_b2db00d5bf1ae9c6a38b77975e712614',
'behavior':'1',
'path':'/data/swfs/fl/plf003/rePlayer.swf',
'version':'3',
'll':'',
'rl':'logo_png-6.png'
}
];
url = window.location;
for (var cc=0; cc < regExes.length; cc++){
if(String(url).match(regExes[cc]['regex'])) {
currentPlayer = regExes[cc]['plid'];
currentBehavior = regExes[cc]['behavior'];
playerVersion = regExes[cc]['version'];
swfPath = regExes[cc]['path'];
return regExes[cc]['plid'];
}
}
playerVersion = '4';
currentPlayer = '259_529_50a1842481993e7aed42c2710fa3fc81';
currentBehavior = '2';
swfPath = '/data/swfs/fl/plf004b2/rePlayer.swf';
return currentPlayer;
//return plId[category];
}
getPlayerId();
var t="";I+=1;var J=window.location.href.toString(),K=document.getElementsByName("description")[0]!=undefined?document.getElementsByName("description")[0].content:"",L=window.document.title.toString(),D=new function(){var c=this;c.installed=false;c.raw="";c.major=-1;c.minor=-1;c.revision=-1;c.revisionStr="";var v=[{name:"ShockwaveFlash.ShockwaveFlash.7",version:function(d){return s(d)}},{name:"ShockwaveFlash.ShockwaveFlash.6",version:function(d){var a="6,0,21";try{d.AllowScriptAccess=
"always";a=s(d)}catch(l){}return a}},{name:"ShockwaveFlash.ShockwaveFlash",version:function(d){return s(d)}}],s=function(d){var a=-1;try{a=d.GetVariable("$version")}catch(l){}return a};c.majorAtLeast=function(d){return c.major>=d};c.minorAtLeast=function(d){return c.minor>=d};c.revisionAtLeast=function(d){return c.revision>=d};c.versionAtLeast=function(){var d=[c.major,c.minor,c.revision],a=Math.min(d.length,arguments.length);for(i=0;i=arguments[i]){if(!(i+10){var d=navigator.mimeTypes;if(d&&d["application/x-shockwave-flash"]&&d["application/x-shockwave-flash"].enabledPlugin&&d["application/x-shockwave-flash"].enabledPlugin.description){d=d["application/x-shockwave-flash"].enabledPlugin.description;var a;d=d;a=d.split(/ +/);var l=a[2].split(/\./);a=a[3];a={raw:d,major:parseInt(l[0],10),minor:parseInt(l[1],10),revisionStr:a,revision:parseInt(a.replace(/[a-zA-Z]/g,""),10)||c.revision};
c.raw=a.raw;c.major=a.major;c.minor=a.minor;c.revisionStr=a.revisionStr;c.revision=a.revision;c.installed=true}}else if(navigator.appVersion.indexOf("Mac")==-1&&window.execScript){d=-1;for(l=0;l';vObject+='';
vObject+='';vObject+='';vObject+='';vObject+="";return vObject}else{vObject2=document.createElement("object");vObject2.setAttribute("type","application/x-shockwave-flash");vObject2.setAttribute("data",base_cdn_path+swfPath);vObject2.setAttribute("width",q);vObject2.setAttribute("height",w);par2=
document.createElement("param");par2.setAttribute("name","allowFullScreen");par2.setAttribute("value","true");par3=document.createElement("param");par3.setAttribute("name","allowscriptaccess");par3.setAttribute("value","always");par4=document.createElement("param");par4.setAttribute("name","flashvars");par4.setAttribute("value","video_code="+b+"&video_provider="+x+"&plid="+currentPlayer+"&rurl="+encodeURIComponent(J)+"&pDesc="+encodeURIComponent(K)+"&pTitle="+encodeURIComponent(L));vObject2.appendChild(par2);
vObject2.appendChild(par3);vObject2.appendChild(par4);return vObject2}}function v(){a=j.body.getElementsByTagName("EMBED");l=a.length;for(var b=l-1;b>-1;b--){k=t=g=h=e=f="";if(e=a[b].getAttribute("src")){if(e.toLowerCase().match("youtube.com")||e.toLowerCase().match("youtube-nocookie.com"))f="youtube";else if(e.toLowerCase().match("dailymotion.com")&&!p.msie&&playerVersion!=4)f="dailymotion";else if(f=="")continue;h=a[b].getAttribute("width");g=a[b].getAttribute("height");if(!h){m=a[b].getAttribute("style");
if(m.posWidth)h=m.posWidth;else{u=/width:([^`]*?)px/i;h=u.exec(m);h=h[1]}}if(!g){m=a[b].getAttribute("style");if(m.posHeight)g=m.posHeight;else{u=/height:([^`]*?)px/i;g=u.exec(m);g=g[1]}}if(k=c(e,h,g,t,f))if(p.msie)if(a[b].parentNode.nodeName.toLowerCase()=="object")a[b].parentNode.outerHTML=k;else{a[b].nextSibling&&a[b].nextSibling.nodeName.toLowerCase()=="/embed"&&a[b].parentNode.removeChild(a[b].nextSibling);a[b].outerHTML=k}else a[b].parentNode.nodeName.toLowerCase()=="object"?a[b].parentNode.parentNode.replaceChild(k,
a[b].parentNode):a[b].parentNode.replaceChild(k,a[b])}}n=j.body.getElementsByTagName("IFRAME");o=n.length;for(b=o-1;b>-1;b--){k=t=g=h=e=f="";if(e=n[b].getAttribute("src")){if(e.toLowerCase().match("youtube.com/embed")||e.toLowerCase().match("youtube-nocookie.com/embed"))f="youtube";else if(e.toLowerCase().match("dailymotion.com/embed")&&!p.msie&&playerVersion!=4)f="dailymotion";else if(f=="")continue;h=n[b].getAttribute("width");g=n[b].getAttribute("height");if(k=c(e,h,g,t,f))if(p.msie)n[b].outerHTML=
k;else n[b].parentNode.replaceChild(k,n[b])}}a=j.body.getElementsByTagName("OBJECT");l=a.length;for(b=l-1;b>-1;b--){k=t=g=h=e=f="";if(e=a[b].getAttribute("data")){if(e.toLowerCase().match("youtube.com")||e.toLowerCase().match("youtube-nocookie.com"))f="youtube";else if(e.toLowerCase().match("dailymotion.com")&&!p.msie&&playerVersion!=4)f="dailymotion";else if(f=="")continue;h=a[b].getAttribute("width");g=a[b].getAttribute("height");if(!h){m=a[b].getAttribute("style");if(m.posWidth)h=m.posWidth;else{u=
/width:([^`]*?)px/i;h=u.exec(m);h=h[1]}}if(!g){m=a[b].getAttribute("style");if(m.posHeight)g=m.posHeight;else{u=/height:([^`]*?)px/i;g=u.exec(m);g=g[1]}}if(k=c(e,h,g,t,f))if(p.msie)a[b].outerHTML=k;else a[b].parentNode.replaceChild(k,a[b])}}reEmbeds=j.body.getElementsByTagName("reEmbedIt");o=reEmbeds.length;for(b=o-1;b>-1;b--){k=t=g=h=e=f="";e=reEmbeds[b].getAttribute("vid");f=reEmbeds[b].getAttribute("provider");t=reEmbeds[b].getAttribute("fullscreen");h=reEmbeds[b].getAttribute("width");g=reEmbeds[b].getAttribute("height");
if(k=c(e,h,g,t,f,true))if(p.msie)reEmbeds[b].outerHTML=k;else reEmbeds[b].parentNode.replaceChild(k,reEmbeds[b])}B++;B>=10&&clearInterval(C)}function s(){clearInterval(C);B=0;C=setInterval(v,500)}function d(){for(var b=document.body.getElementsByTagName("reEmbedIt"),q=b.length-1;q>-1;q--){var w="",r="",x=w="",y="";u=m="";if(r=b[q].getAttribute("vid")){w=b[q].getAttribute("provider");if(w=="youtube"){b[q].getAttribute("fullscreen");w=b[q].getAttribute("width");x=b[q].getAttribute("height");y=document.createElement("iframe");
y.frameborder=0;y.height=x;y.width=w;y.allowfullscreen="";y.src=r;y&&b[q].parentNode.replaceChild(y,b[q])}}}}if(!(currentPlayer==null||currentPlayer=="")){if(!D.versionAtLeast(10)){d();return false}var a="",l=0,n="",o=0,j=document,e="",f="",h="",g="",t="true",m="",k="",F=["v/([^`]*?)\\?","v/([^`]*?)&","v=([^`]*?)$","vi/([^`]*?)$","embed/([^`]*?)\\?","embed/([^`]*?)$","v/([^`]*?)$"],E=0,H=["embed/video/([^`]*?)\\?","embed/video/([^`]*?)$","swf/video/([^`]*?)\\?","swf/video/([^`]*?)_"],G=0,z=null,u=
"",A="",B=0,C=null;E=F.length;G=H.length;v();p.msie?document.body.attachEvent("onmousedown",s):document.body.addEventListener("mousedown",s,false)}})})();