// swftag.js:
var SWFTag=function(id,_2,_3,_4,_5){if(arguments.length<5){throw new Error("RequiredArgumetError: new SWFTag(id, src, width, height, version) all arguments are required.");}for(var i=0;i<arguments.length;++i){if(arguments[i]==null){throw new Error("RequiredArgumetError: new SWFTag(id, src, width, height, version) no argument can be null.");}}this.version=(_5||SWFTag.V9);this.attributes={id:id,name:id,width:_3,height:_4,align:SWFTag.DEFAULT,src:_2};this.params=new Object();this.setParam("movie",_2);this.flashvars=null;this.useObjectTag=navigator.appName.indexOf("Microsoft")>-1;this.alternateContent="<table style=\"background-color:#ededef; height: 100%; width: 100%; padding: 15px; \"><tr><td style=\"vertical-align: middle; \"><div style=\"text-align: center; font-family: arial; color:#000000; font-size:12px; font-weight:bold;\">Flash Plug-in Required</div>";this.alternateContent+="<div style=\"text-align: center; font-family: arial; color:#666666; font-size:11px; padding-right:7px; font-weight:normal\">The latest Flash Player is required to view this site. Start the Flash Express Install by clicking the link below.</div>";this.alternateContent+="<div style=\"width: 47px; margin-left: auto; margin-right: auto;\"><a href=\"http://www.adobe.com/products/flashplayer/\" target=\"_blank\"><img style=\"border: 0px; margin: 5px;\" src=\"http://cdn.theurbandaily.blackplanet.com/wp-content/plugins/ione-core/js/flash_logo.gif\"/></a></div>";this.alternateContent+="<div style=\"margin-left: auto; margin-right: auto; text-align: center;\"><a style=\"font-family:Arial; color:#2b65b0; font-size:12px; text-decoration:none; font-weight:normal\" href=\"http://www.adobe.com/products/flashplayer/\" target=\"_blank\">Install Adobe Flash Player</a></div></td></tr></table>";this.expressInstallSrc=SWFTag.EXPRESSINSTALLSRC;this.MMPlayerType="PlugIn";this.MMredirectURL=window.location;this.MMdoctitle=window.document.title;};SWFTag.useClassid=true;SWFTag.useCodebase=true;SWFTag.isIE=(navigator.appVersion.indexOf("MSIE")!=-1)?true:false;SWFTag.isWin=(navigator.appVersion.toLowerCase().indexOf("win")!=-1)?true:false;SWFTag.isOpera=(navigator.userAgent.indexOf("Opera")!=-1)?true:false;SWFTag.TRUE="true";SWFTag.FALSE="false";SWFTag.CLASSID="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000";SWFTag.CODEBASE="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=";SWFTag.PLUGINSPACE="http://www.macromedia.com/go/getflashplayer";SWFTag.TYPE="application/x-shockwave-flash";SWFTag.SAMEDOMAIN="samedomain";SWFTag.ALWAYS="always";SWFTag.NEVER="never";SWFTag.LOW="low";SWFTag.MEDIUM="medium";SWFTag.HIGH="high";SWFTag.AUTOLOW="autolow";SWFTag.AUTOHIGH="autohigh";SWFTag.BEST="best";SWFTag.WINDOW="window";SWFTag.OPAQUE="opaque";SWFTag.TRANSPARENT="transparent";SWFTag.SHOWALL="showall";SWFTag.NOBORDER="noborder";SWFTag.EXACTFIT="exactfit";SWFTag.NOSCALE="noscale";SWFTag.ALL="all";SWFTag.INTERNAL="internal";SWFTag.NONE="none";SWFTag.DEFAULT="middle";SWFTag.L="L";SWFTag.R="R";SWFTag.T="T";SWFTag.B="B";SWFTag.TL="TL";SWFTag.TR="TR";SWFTag.BL="BL";SWFTag.BR="BR";SWFTag.VEXPRESSINSTALL="6,0,65,0";SWFTag.V5="5,0,0,0";SWFTag.V6="6,0,0,0";SWFTag.V7="7,0,0,0";SWFTag.V8="8,0,0,0";SWFTag.V9="9,0,0,0";SWFTag.V9_0_115="9,0,115,0";SWFTag.V9_0_124="9,0,124,0";SWFTag.V10="10,0,0,0";SWFTag.V10_0_12_10="10,0,12,10";SWFTag.$=function(id){return document.getElementById(id);};SWFTag.EXPRESSINSTALLSRC="http://cdn.theurbandaily.blackplanet.com/wp-content/plugins/ione-core/js/expressinstall.swf";SWFTag.EXPRESSINSTALLMINWIDTH=220;SWFTag.EXPRESSINSTALLMINHEIGHT=145;SWFTag.CONSOLE_URL="debug_console.swf";SWFTag.openConsole=function(_8,_9,_a){if(document.getElementById(_8+"_console_container")){return;}var _b=new SWFTag(_8+"_console",_a+SWFTag.CONSOLE_URL,"100%","100%",SWFTag.V9);_b.setAllowScriptAccess(SWFTag.ALWAYS);_b.setAllowNetworking(SWFTag.ALL);_b.setBgColor("#000000");_b.setWmode(SWFTag.OPAQUE);_b.addFlashVar("connId",_9);var _c=document.getElementById(_8);var _d=document.createElement("div");_d.id=_8+"_console_container";_d.style.position="absolute";_d.style.height="300px";_d.style.width=((_c.offsetWidth<400)?400:_c.offsetWidth)+"px";_d.style.border="1px solid #333333";_d.style.zIndex="10000";_c.parentNode.appendChild(_d);_b.fillElementId(_8+"_console_container");};SWFTag.prototype={setAttribute:function(_e,_f){if(_e!=null){this.attributes[_e]=_f;}},setParam:function(_10,_11){if(_10!=null){this.params[_10]=_11;}},setAllowScriptAccess:function(_12){_12=_12.toLowerCase();if(_12!=SWFTag.SAMEDOMAIN&&_12!=SWFTag.ALWAYS&&_12!=SWFTag.NEVER){throw new Error("IllegalArgumentValue: allowscriptaccess must be ( samedomain | always | never ).");}this.setParam("allowScriptAccess",_12);},setAllowFullscreen:function(_13){_13=_13.toLowerCase();if(_13!=SWFTag.TRUE&&_13!=SWFTag.FALSE){throw new Error("IllegalArgumentValue: allowFullScreen must be ( true | false ).");}this.setParam("allowFullScreen",_13);},setAllowNetworking:function(_14){_14=_14.toLowerCase();if(_14!=SWFTag.ALL&&_14!=SWFTag.INTERNAL&&_14!=SWFTag.NONE){throw new Error("IllegalArgumentValue: allownetworking must be ( all | internal | none ).");}this.setParam("allowNetworking",_14);},setBgColor:function(_15){if(_15.length==6&&_15.charAt(0)!="#"){_15="#"+_15;}if(_15.length!=7){throw new Error("IllegalArgumentValue: bgcolor must be a hex string in the format ( #XXXXXX | XXXXXX ).");}this.setParam("bgcolor",_15);},setQuality:function(_16){_16=_16.toLowerCase();if(_16!=SWFTag.LOW&&_16!=SWFTag.MEDIUM&&_16!=SWFTag.HIGH&&_16!=SWFTag.AUTOLOW&&_16!=SWFTag.AUTOHIGH&&_16!=SWFTag.BEST){throw new Error("IllegalArgumentValue: quality must be ( low | medium | high | autolow | autohigh | best ).");}this.setParam("quality",_16);},setWmode:function(_17){_17=_17.toLowerCase();if(_17!=SWFTag.WINDOW&&_17!=SWFTag.OPAQUE&&_17!=SWFTag.TRANSPARENT){throw new Error("IllegalArgumentValue: wmode must be ( window | opaque | transparent ).");}this.setParam("wmode",_17);},setMenu:function(_18){_18=_18.toLowerCase();if(_18!=SWFTag.TRUE&&_18!=SWFTag.FALSE){throw new Error("IllegalArgumentValue: menu must be ( true | false ).");}this.setParam("menu",_18);},setPlay:function(_19){_19=_19.toLowerCase();if(_19!=SWFTag.TRUE&&_19!=SWFTag.FALSE){throw new Error("IllegalArgumentValue: play must ( true | false ).");}this.setParam("play",_19);},setLoop:function(_1a){_1a=_1a.toLowerCase();if(_1a!=SWFTag.TRUE&&_1a!=SWFTag.FALSE){throw new Error("IllegalArgumentValue: loop must be ( true | false ).");}this.setParam("loop",_1a);},setScale:function(_1b){_1b=_1b.toLowerCase();if(_1b!=SWFTag.SHOWALL&&_1b!=SWFTag.NOBORDER&&_1b!=SWFTag.EXACTFIT&&_1b!=SWFTag.NOSCALE){throw new Error("IllegalArgumentValue: scale must be ( showall | noborder | exactfit | noscale ).");}this.setParam("scale",_1b);},addFlashVar:function(_1c,_1d){if(_1c!=null){if(this.flashvars==null){this.flashvars=new Object();}this.flashvars[_1c]=escape(_1d);}},addFlashVars:function(_1e){if(_1e!=null){if(this.flashvars==null){this.flashvars=new Object();}var fvs=_1e.split("&");if(fvs.length){for(var i=0;i<fvs.length;i++){var fv=fvs[i].split("=");if(fv.length==2){this.flashvars[fv[0]]=fv[1];}}}}},setId:function(id){if(id!=null&&id.length>0){this.setAttribute("id",id);}},getId:function(){return this.attributes.id;},setAlign:function(a){if(a==SWFTag.DEFAULT||a==SWFTag.L||a==SWFTag.R||a==SWFTag.T||a==SWFTag.B){this.setAttribute("align",a);}},setSAlign:function(a){if(a==SWFTag.DEFAULT||a==SWFTag.L||a==SWFTag.R||a==SWFTag.T||a==SWFTag.B||a==SWFTag.TL||a==SWFTag.TR||a==SWFTag.BL||a==SWFTag.BR){this.setAttribute("salign",a);}},setWidth:function(w){if(w!=null){this.setAttribute("width",w);}},setHeight:function(h){if(h!=null&&h.length>0){this.setAttribute("height",h);}},setSrc:function(src){if(src!=null&&src.length>0){this.setAttribute("src",src);}},setVersion:function(v){if(v!=null&&v.length>0){this.version=v;}},setAlternateContent:function(_29){if(_29!=null&&_29.length>0){this.alternateContent=_29;}},setExpressInstallSrc:function(src){if(src!=null&&src.length>0){this.expressInstallSrc=src;}},collectFlashVars:function(){var _2b="";for(var i in this.flashvars){_2b+=(i+"="+this.flashvars[i]+"&");}return _2b.substring(0,_2b.length-1);},getEmbedString:function(){var _2d="<embed";var _2e=this.attributes.data;this.attributes.data=null;for(var a in this.attributes){if(this.attributes[a]!=null&&this.attributes[a].length){_2d+=(" "+a+"=\""+this.attributes[a]+"\"");}}this.attributes.data=_2e;var _30=this.params.movie;this.params.movie=null;for(var p in this.params){if(this.params[p]!=null&&this.params[p].length){_2d+=(" "+p+"=\""+this.params[p]+"\"");}}this.params.movie=_30;if(this.flashvars!=null){var fv=this.collectFlashVars();if(fv.length>0){_2d+=" flashvars=\""+fv+"\"";}}_2d+=" version=\""+this.version+"\"";_2d+=" pluginspage=\""+SWFTag.PLUGINSPACE+"\">";_2d+="</embed>";return _2d;},getObjectString:function(_33){var _34="<object ";if(SWFTag.useClassid){_34+="classid=\""+SWFTag.CLASSID+"\" ";}if(SWFTag.useCodebase){_34+="codebase=\""+SWFTag.CODEBASE+this.version+"\" ";}var src=this.attributes.src;_34+="data=\""+src+"\" ";this.attributes.src=null;for(var a in this.attributes){if(this.attributes[a]!=null&&this.attributes[a].length){_34+=(" "+a+"=\""+this.attributes[a]+"\"");}}this.attributes.src=src;_34+=">";for(var p in this.params){if(this.params[p]&&this.params[p].length){_34+="<param name=\""+p+"\" value=\""+this.params[p]+"\"/>";}}if(this.flashvars!=null){var fv=this.collectFlashVars();if(fv.length>0){_34+="<param name=\"flashvars\" value=\""+fv+"\"/>";}}if(_33!=null&&_33.length>0){_34+=_33;}_34+="</object>";return _34;},toEmbedString:function(){var _39=(this.hasPlugin())?this.getEmbedString():this.alternateContent;return _39;},toObjectString:function(){var _3a=(this.hasPlugin())?this.getObjectString():this.alternateContent;return _3a;},toObjectEmbedString:function(){var _3b=(this.hasPlugin())?this.getObjectString(this.getEmbedString()):this.alternateContent;return _3b;},checkSize:function(){return (parseInt(this.attributes.width)>SWFTag.EXPRESSINSTALLMINWIDTH)&&(parseInt(this.attributes.height)>SWFTag.EXPRESSINSTALLMINHEIGHT);},hasPlugin:function(){var _3c=false;var _3d=SWFTag.VEXPRESSINSTALL.split(",");var _3e=this.version.split(",");var _3f=this.detectFlashVer(_3d[0],_3d[1],_3d[2]);var _40=this.detectFlashVer(_3e[0],_3e[1],_3e[2]);if(_3f){if(!_40){this.version=SWFTag.VEXPRESSINSTALL;this.attributes.src=this.expressInstallSrc;this.params.movie=this.expressInstallSrc;if(this.useObjectTag){this.MMPlayerType="ActiveX";}this.addFlashVar("MMPlayerType",this.MMPlayerType);this.addFlashVar("MMredirectURL",this.MMredirectURL);this.addFlashVar("MMdoctitle",this.MMdoctitle);}_3c=true;if(!_40&&!this.checkSize()){_3c=false;}}return _3c;},fillElementId:function(id){var e=null;try{e=window.document.getElementById(id);e.innerHTML=this.toString();}catch(err){}return e;},write:function(doc){doc.write(this.toString());},toString:function(){if(this.useObjectTag){return this.toObjectString();}else{return this.toEmbedString();}},controlVersion:function(){var ver;var axo;var e;try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");ver=axo.GetVariable("$version");}catch(e){}if(!ver){try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");ver="WIN 6,0,21,0";axo.AllowScriptAccess="always";ver=axo.GetVariable("$version");}catch(e){}}if(!ver){try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");ver=axo.GetVariable("$version");}catch(e){}}if(!ver){try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");ver="WIN 3,0,18,0";}catch(e){}}if(!ver){try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");ver="WIN 2,0,0,11";}catch(e){ver=-1;}}return ver;},getSwfVer:function(){var _47=-1;if(navigator.plugins!=null&&navigator.plugins.length>0){if(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]){var _48=navigator.plugins["Shockwave Flash 2.0"]?" 2.0":"";var _49=navigator.plugins["Shockwave Flash"+_48].description;var _4a=_49.split(" ");var _4b=_4a[2].split(".");var _4c=_4b[0];var _4d=_4b[1];if(_4a[3]!=""){tempArrayMinor=_4a[3].split("r");}else{tempArrayMinor=_4a[4].split("r");}var _4e=tempArrayMinor[1]>0?tempArrayMinor[1]:0;var _47=_4c+"."+_4d+"."+_4e;}}else{if(navigator.userAgent.toLowerCase().indexOf("webtv/2.6")!=-1){_47=4;}else{if(navigator.userAgent.toLowerCase().indexOf("webtv/2.5")!=-1){_47=3;}else{if(navigator.userAgent.toLowerCase().indexOf("webtv")!=-1){_47=2;}else{if(SWFTag.isIE&&SWFTag.isWin&&!SWFTag.isOpera){_47=this.controlVersion();}}}}}return _47;},detectFlashVer:function(_4f,_50,_51){var _52=[];var _53=[];var _54="";var _55=this.getSwfVer();if(_55==-1){return false;}else{if(_55!=0){if(SWFTag.isIE&&SWFTag.isWin&&!SWFTag.isOpera){_52=_55.split(" ");_54=_52[1];_53=_54.split(",");}else{_53=_55.split(".");}var _56=_53[0];var _57=_53[1];var _58=_53[2];if(_56>parseFloat(_4f)){return true;}else{if(_56==parseFloat(_4f)){if(_57>parseFloat(_50)){return true;}else{if(_57==parseFloat(_50)){if(_58>=parseFloat(_51)){return true;}}}}}return false;}}return false;}};function hideFlashSEO(id,_w,_h){var _e=document.getElementById(id);if(_e!=null){_e.style.width=_w+"px";_e.style.height=_h+"px";_e.style.overflow="hidden";}}
