/* ~/Scripts/Fivemin.baseconfig.js */

if(typeof(FIVEMIN)=="undefined"){var FIVEMIN={}}if(typeof(FIVEMIN.BaseConfig)=="undefined"){FIVEMIN.BaseConfig={UseFlashProxy:false,FlashProxyUrl:"http://cfiles.5min.com/flashproxy/flashproxy.swf",PlayerEvents:{ready:1,videoDataLoaded:2,play:4,pause:8,timeChanged:16,userSearch:32}}}if(typeof(FIVEMIN.BaseConfig.Lightbox)=="undefined"){FIVEMIN.BaseConfig.Lightbox={css:"http://pshared.5min.com/CSS/Lightbox.css"}}if(typeof(FIVEMIN.BaseConfig.VideoSection)=="undefined"){FIVEMIN.BaseConfig.VideoSection={defaults:{textColor:"#006699",pageBgColor:"#FFFFFF",playerColor:"#006699",pageWidth:975,categories:[]},schemeLists:{"default":["#191919","#7EC359","#E50030","#006699","#FB612B","#C1BCBD","#923DF4","#5DC0E9"],textColor:["#006699","#191919","#E50030","#7EC359","#FB612B","#C1BCBD","#923DF4","#5DC0E9"],pageBgColor:["#FFFFFF","#191919","#7EC359","#E50030","#006699","#FB612B","#C1BCBD","#923DF4","#5DC0E9"],playerColor:["#006699","#191919","#E50030","#7EC359","#FB612B","#C1BCBD","#923DF4","#5DC0E9","#FFFFFF"]},maxPageWidth:1200,minPageWidth:955}}if(typeof(FIVEMIN.BaseConfig.Logger)=="undefined"){FIVEMIN.BaseConfig.Logger={LogLevel:-1,LogServer:"http://l.5min.com",Enums:{broVer:{unknown:0,ie:1,firefox:2,chrome:3,safari:4},osVer:{unknown:0,win:1,mac:2,linux:3,webos:4,android:5,ios:6},pt:{flash:1,html5:2,chromeless:3},rType:{noResults:0,success:1,timeout:2},content:{featured:0,seed:1,playlist:2,videogroup:3},embCont:{single:0,playlist:1},pgLoc:{topLeft:0,topCenter:1,topRight:2,bottomLeft:3,bottomCenter:4,bottomRight:5},viewSrc:{productView:0,playlistView:1,relatedPlayer:2,relatedDeep:3},isDeep:{"false":0,"true":1},auStart:{empty:0,"false":0,"true":1},adUnit:{"false":0,"true":1},adSize:{"728x90":0,"300x250":1,"468x60":2,"160x600":3},adLoc:{bottom:0,side:1},thSize:{large:0,medium:1,small:2},txtLoc:{bottom:0,size:1},fType:{category:0,video:1,empty:2},sHF:{"false":0,"true":1},thAlign:{horizontal:0,vertical:1},header:{"false":0,"true":1},cbPos:{left:0,right:1,bottom:2,top:3,custom:4},uNxt:{"false":0,"true":1},ruNxt:{"false":0,"true":1},hc:{"false":0,"true":1},foos:{"false":0,"true":1},bType:{bar:0,tab:1},bLoc:{left:0,right:1},bPos:{top:0,middle:1,bottom:2},bState:{half:0,full:1},vFlg:{"false":0,"true":1},vExp:{SID:0,Fivemin:1,Syndication:2},vGeo:{All:0,US:1,NonUS:2},vf:{"false":0,"true":1},emType:{TSDeepSeed:0,BSDeepSeed:1,VideoSection:2,Regular:3}}}};


/* ~/Scripts/Fivemin.BaseConfig.Thumbseed.js */

if(typeof(FIVEMIN)=="undefined"){var FIVEMIN={}}if(typeof(FIVEMIN.BaseConfig)=="undefined"){FIVEMIN.BaseConfig={}}if(FIVEMIN.BaseConfig.ThumbSeed==null){FIVEMIN.BaseConfig.ThumbSeed={debug:false,"script-regex":/http:\/\/(\w?)shared\.5min\.com\/scripts\/thumbseed2?\.js\?/i,colors:{"header-text":"#666666","desc-text":"#FFFFFF","desc-background":"#000000"},url:{website:"http://www.5min.com/",syn:"http://syn.5min.com/",shared:"http://pshared.5min.com/",graphics:"http://pshared.5min.com/Graphics/Thumbseed/",files:"http://cfiles.5min.com/flashproxy/"},obj:"ThumbSeed",styles:{sizes:{horizontal:{large:{bottom:[{width:468,height:200,num_thumbs:3},{width:310,height:200,num_thumbs:2},{width:148,height:220,num_thumbs:1}],side:[{width:300,height:200,num_thumbs:1}]},small:{bottom:[{width:468,height:164,num_thumbs:4},{width:347,height:164,num_thumbs:3},{width:230,height:205,num_thumbs:2},{width:109,height:205,num_thumbs:1}],side:[{width:483,height:120,num_thumbs:2},{width:239,height:120,num_thumbs:1}]}},vertical:{small:{bottom:[{width:109,height:620,num_thumbs:4},{width:109,height:480,num_thumbs:3},{width:109,height:340,num_thumbs:2},{width:109,height:205,num_thumbs:1}],side:[{width:250,height:330,num_thumbs:3},{width:250,height:235,num_thumbs:2},{width:250,height:140,num_thumbs:1},{width:300,height:250,num_thumbs:2}]},large:{bottom:[{width:148,height:560,num_thumbs:3},{width:148,height:390,num_thumbs:2},{width:148,height:220,num_thumbs:1}],side:[{width:300,height:300,num_thumbs:2},{width:300,height:163,num_thumbs:1}]}},matrix:{small:{bottom:[{width:347,height:445,num_thumbs:9},{width:347,height:305,num_thumbs:6},{width:347,height:164,num_thumbs:3}],side:[{width:250,height:330,num_thumbs:3},{width:250,height:235,num_thumbs:2},{width:250,height:140,num_thumbs:1}]},large:{bottom:[{width:468,height:544,num_thumbs:9},{width:468,height:365,num_thumbs:6},{width:468,height:200,num_thumbs:3}],side:[{width:300,height:300,num_thumbs:2},{width:300,height:163,num_thumbs:1}]}}},sizeLimits:{small_bottom_min:{width:108,height:152},small_bottom_max:{width:906,height:807},small_side_min:{width:200,height:108},small_side_max:{width:711,height:696},large_bottom_min:{width:148,height:182},large_bottom_max:{width:923,height:504},large_side_min:{width:300,height:138},large_side_max:{width:922,height:723}},sizesWithAd:{"468X200":{ad:{width:468,height:60},thumbnailSize:"large",textLocation:"bottom"},"728X164":{ad:{width:728,height:90},thumbnailSize:"small",textLocation:"bottom"},"728X120":{ad:{width:728,height:90},thumbnailSize:"small",textLocation:"side"},"468X164":{ad:{width:125,height:125},thumbnailSize:"small",textLocation:"bottom"},"468X164":{ad:{width:468,height:60},thumbnailSize:"small",textLocation:"bottom"},"108X600":{ad:{width:160,height:600},thumbnailSize:"small",textLocation:"bottom"},"300X300":{ad:{width:300,height:250},thumbnailSize:"large",textLocation:"side"},"300X250":{ad:{width:300,height:250},thumbnailSize:"small",textLocation:"side"},"468X544":{ad:{width:468,height:60},thumbnailSize:"large",textLocation:"bottom"}},colors:{black:{name:"Black",colors:{small:{headerTextColor:"#000000",textFGColor:"#FFFFFF",textBGColor:"#000000",textFGColor_MO:"#FFFFFF",textBGColor_MO:"#000000"},large:{headerTextColor:"#000000",textFGColor:"#000000",textBGColor:"",textFGColor_MO:"#FFFFFF",textBGColor_MO:"#000000"}},iconBg:"#191919",iconBorder:"#000000"},green:{name:"Green",colors:{small:{headerTextColor:"#2E7720",textFGColor:"#FFFFFF",textBGColor:"#2E7720",textFGColor_MO:"#FFFFFF",textBGColor_MO:"#000000"},large:{headerTextColor:"#2E7720",textFGColor:"#333333",textBGColor:"",textFGColor_MO:"#FFFFFF",textBGColor_MO:"#2E7720"}},iconBg:"#7EC359",iconBorder:"#7B975F"},red:{name:"Red",colors:{small:{headerTextColor:"#CC0000",textFGColor:"#FFFFFF",textBGColor:"#CC0000",textFGColor_MO:"#FFFFFF",textBGColor_MO:"#000000"},large:{headerTextColor:"#CC0000",textFGColor:"#333333",textBGColor:"",textFGColor_MO:"#FFFFFF",textBGColor_MO:"#CC0000"}},iconBg:"#E50030",iconBorder:"#7E151E"},blue:{name:"Blue",colors:{small:{headerTextColor:"#006699",textFGColor:"#FFFFFF",textBGColor:"#006699",textFGColor_MO:"#FFFFFF",textBGColor_MO:"#000000"},large:{headerTextColor:"#006699",textFGColor:"#006699",textBGColor:"",textFGColor_MO:"#FFFFFF",textBGColor_MO:"#006699"}},iconBg:"#006699",iconBorder:"#002780"},orange:{name:"Orange",colors:{small:{headerTextColor:"#FF6600",textFGColor:"#FFFFFF",textBGColor:"#FF6600",textFGColor_MO:"#FFFFFF",textBGColor_MO:"#000000"},large:{headerTextColor:"#FF6600",textFGColor:"#333333",textBGColor:"",textFGColor_MO:"#FFFFFF",textBGColor_MO:"#FF6600"}},iconBg:"#FB612B",iconBorder:"#B45E3F"},grey:{name:"Grey",colors:{small:{headerTextColor:"#656565",textFGColor:"#FFFFFF",textBGColor:"#656565",textFGColor_MO:"#FFFFFF",textBGColor_MO:"#000000"},large:{headerTextColor:"#656565",textFGColor:"#333333",textBGColor:"",textFGColor_MO:"#FFFFFF",textBGColor_MO:"#656565"}},iconBg:"#C1BCBD",iconBorder:"#ABABA6"},purple:{name:"Purple",colors:{small:{headerTextColor:"#592e7b",textFGColor:"#FFFFFF",textBGColor:"#592e7b",textFGColor_MO:"#FFFFFF",textBGColor_MO:"#000000"},large:{headerTextColor:"#592e7b",textFGColor:"#592e7b",textBGColor:"",textFGColor_MO:"#FFFFFF",textBGColor_MO:"#592e7b"}},iconBg:"#923DF4",iconBorder:"#5F3584"},lightblue:{name:"Light blue",colors:{small:{headerTextColor:"#79B0CB",textFGColor:"#FFFFFF",textBGColor:"#79B0CB",textFGColor_MO:"#FFFFFF",textBGColor_MO:"#000000"},large:{headerTextColor:"#79B0CB",textFGColor:"#79B0CB",textBGColor:"",textFGColor_MO:"#FFFFFF",textBGColor_MO:"#79B0CB"}},iconBg:"#5DC0E9",iconBorder:"#5D95A7"}},defaults:{layout:"horizontal",layoutWithAd:"468X200",color:"black",sizeType:"standard",featured:"semantic",title:"Related Videos",headerTextColor:"#000000",textFGColor:"#FFFFFF",textFGColor_MO:"#FFFFFF",textBGColor:"#000000",textBGColor_MO:"#000000",fallback:1,fallbackType:"category"}}}}if(FIVEMIN.BaseConfig.Logger==null){FIVEMIN.BaseConfig.Logger={}}if(FIVEMIN.BaseConfig.Logger.ThumbSeed==null){FIVEMIN.BaseConfig.Logger.ThumbSeed={params:{sid:"142",urlId:0,content:1,cqReq:2,catsReq:"",fType:1,sKey:""},events:{addReq:{name:"TSRq",bitValue:1,priorty:2,params:{isDeep:0,adUnit:0,adSize:"",adLoc:1,thSize:1,txtLoc:0,sHF:0,nThumb:"",thAlign:0,uNxt:0,ruNxt:0}},AddResult:{name:"TSRs",bitValue:2,params:{rType:1,nVids:"",uNxt:0,ruNxt:0}},AddImpression:{name:"TSI",bitValue:4,params:{nVids:"",pgLoc:"",sessImp:0,isDeep:0,adUnit:0,adSize:"",adLoc:1,thSize:1,txtLoc:0,nThumb:"",thAlign:0,sHF:0,uNxt:0,ruNxt:0}},AddVideoResults:{name:"TSVR",bitValue:16,params:{nVids:"",pgLoc:"",vCat:"",vid:0,vLocSrvr:"",isDeep:0,vCQ:"",vFlg:"",vExp:"",mId:"",vGeo:"",vf:""}}}}};


/* ~/Scripts/Fivemin.swfobject.js */

if(typeof(FIVEMIN)=="undefined"){var FIVEMIN={}}if(typeof(FIVEMIN.swfobject)=="undefined"){
/*	SWFObject v2.2 <http://code.google.com/p/swfobject/> 
	is released under the MIT License <http://www.opensource.org/licenses/mit-license.php> 
	*/
var swfobject=function(){var e="undefined",o="object",S="Shockwave Flash",R="ShockwaveFlash.ShockwaveFlash",z="application/x-shockwave-flash",g="SWFObjectExprInst",P="onreadystatechange",C=window,l=document,y=navigator,j=false,T=[D],c=[],K=[],k=[],J,E,H,h,a=false,A=false,U,x,f=true,i=function(){var af=typeof l.getElementById!=e&&typeof l.getElementsByTagName!=e&&typeof l.createElement!=e,ac=y.userAgent.toLowerCase(),X=y.platform.toLowerCase(),Y=X?/win/.test(X):/win/.test(ac),ae=X?/mac/.test(X):/mac/.test(ac),ag=/webkit/.test(ac)?parseFloat(ac.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,ah=!+"\v1",aa=[0,0,0],ad=null;if(typeof y.plugins!=e&&typeof y.plugins[S]==o){ad=y.plugins[S].description;if(ad&&!(typeof y.mimeTypes!=e&&y.mimeTypes[z]&&!y.mimeTypes[z].enabledPlugin)){j=true;ah=false;ad=ad.replace(/^.*\s+(\S+\s+\S+$)/,"$1");aa[0]=parseInt(ad.replace(/^(.*)\..*$/,"$1"),10);aa[1]=parseInt(ad.replace(/^.*\.(.*)\s.*$/,"$1"),10);aa[2]=/[a-zA-Z]/.test(ad)?parseInt(ad.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}}else{if(typeof C.ActiveXObject!=e){try{var Z=new ActiveXObject(R);if(Z){ad=Z.GetVariable("$version");if(ad){ah=true;ad=ad.split(" ")[1].split(",");aa=[parseInt(ad[0],10),parseInt(ad[1],10),parseInt(ad[2],10)]}}}catch(ab){}}}return{w3:af,pv:aa,wk:ag,ie:ah,win:Y,mac:ae}}(),W=function(){if(!i.w3){return}if((typeof l.readyState!=e&&l.readyState=="complete")||(typeof l.readyState==e&&(l.getElementsByTagName("body")[0]||l.body))){s()}if(!a){if(typeof l.addEventListener!=e){l.addEventListener("DOMContentLoaded",s,false)}if(i.ie&&i.win){l.attachEvent(P,function(){if(l.readyState=="complete"){l.detachEvent(P,arguments.callee);s()}});if(C==top){(function(){if(a){return}try{l.documentElement.doScroll("left")}catch(X){setTimeout(arguments.callee,0);return}s()})()}}if(i.wk){(function(){if(a){return}if(!/loaded|complete/.test(l.readyState)){setTimeout(arguments.callee,0);return}s()})()}b(s)}}();function s(){if(a){return}try{var Z=l.getElementsByTagName("body")[0].appendChild(p("span"));Z.parentNode.removeChild(Z)}catch(X){return}a=true;var Y=T.length;for(var aa=0;aa<Y;aa++){T[aa]()}}function w(X){if(a){X()}else{T[T.length]=X}}function b(X){if(typeof C.addEventListener!=e){C.addEventListener("load",X,false)}else{if(typeof l.addEventListener!=e){l.addEventListener("load",X,false)}else{if(typeof C.attachEvent!=e){d(C,"onload",X)}else{if(typeof C.onload=="function"){var Y=C.onload;C.onload=function(){Y();X()}}else{C.onload=X}}}}}function D(){if(j){M()}else{n()}}function M(){var X=l.getElementsByTagName("body")[0];var aa=p(o);aa.setAttribute("type",z);var Y=X.appendChild(aa);if(Y){var Z=0;(function(){if(typeof Y.GetVariable!=e){var ab=Y.GetVariable("$version");if(ab){ab=ab.split(" ")[1].split(",");i.pv=[parseInt(ab[0],10),parseInt(ab[1],10),parseInt(ab[2],10)]}}else{if(Z<10){Z++;setTimeout(arguments.callee,10);return}}X.removeChild(aa);Y=null;n()})()}else{n()}}function n(){var ah=c.length;if(ah>0){for(var af=0;af<ah;af++){var X=c[af].id;var ae=c[af].callbackFn;var aa={success:false,id:X};if(i.pv[0]>0){var ag=m(X);if(ag){if(u(c[af].swfVersion)&&!(i.wk&&i.wk<312)){F(X,true);if(ae){aa.success=true;aa.ref=t(X);ae(aa)}}else{if(c[af].expressInstall&&G()){var ac={};ac.data=c[af].expressInstall;ac.width=ag.getAttribute("width")||"0";ac.height=ag.getAttribute("height")||"0";if(ag.getAttribute("class")){ac.styleclass=ag.getAttribute("class")}if(ag.getAttribute("align")){ac.align=ag.getAttribute("align")}var Y={};var Z=ag.getElementsByTagName("param");var ab=Z.length;for(var ad=0;ad<ab;ad++){if(Z[ad].getAttribute("name").toLowerCase()!="movie"){Y[Z[ad].getAttribute("name")]=Z[ad].getAttribute("value")}}O(ac,Y,X,ae)}else{V(ag);if(ae){ae(aa)}}}}}else{F(X,true);if(ae){var ai=t(X);if(ai&&typeof ai.SetVariable!=e){aa.success=true;aa.ref=ai}ae(aa)}}}}}function t(X){var aa=null;var Z=m(X);if(Z&&Z.nodeName=="OBJECT"){if(typeof Z.SetVariable!=e){aa=Z}else{var Y=Z.getElementsByTagName(o)[0];if(Y){aa=Y}}}return aa}function G(){return !A&&u("6.0.65")&&(i.win||i.mac)&&!(i.wk&&i.wk<312)}function O(ad,aa,Z,Y){A=true;H=Y||null;h={success:false,id:Z};var ae=m(Z);if(ae){if(ae.nodeName=="OBJECT"){J=N(ae);E=null}else{J=ae;E=Z}ad.id=g;if(typeof ad.width==e||(!/%$/.test(ad.width)&&parseInt(ad.width,10)<310)){ad.width="310"}if(typeof ad.height==e||(!/%$/.test(ad.height)&&parseInt(ad.height,10)<137)){ad.height="137"}l.title=l.title.slice(0,47)+" - Flash Player Installation";var ab=i.ie&&i.win?"ActiveX":"PlugIn",ac="MMredirectURL="+C.location.toString().replace(/&/g,"%26")+"&MMplayerType="+ab+"&MMdoctitle="+l.title;if(typeof aa.flashvars!=e){aa.flashvars+="&"+ac}else{aa.flashvars=ac}if(i.ie&&i.win&&ae.readyState!=4){var X=p("div");Z+="SWFObjectNew";X.setAttribute("id",Z);ae.parentNode.insertBefore(X,ae);ae.style.display="none";(function(){if(ae.readyState==4){ae.parentNode.removeChild(ae)}else{setTimeout(arguments.callee,10)}})()}q(ad,aa,Z)}}function V(Y){if(i.ie&&i.win&&Y.readyState!=4){var X=p("div");Y.parentNode.insertBefore(X,Y);X.parentNode.replaceChild(N(Y),X);Y.style.display="none";(function(){if(Y.readyState==4){Y.parentNode.removeChild(Y)}else{setTimeout(arguments.callee,10)}})()}else{Y.parentNode.replaceChild(N(Y),Y)}}function N(ac){var Z=p("div");if(i.win&&i.ie){Z.innerHTML=ac.innerHTML}else{var Y=ac.getElementsByTagName(o)[0];if(Y){var X=Y.childNodes;if(X){var aa=X.length;for(var ab=0;ab<aa;ab++){if(!(X[ab].nodeType==1&&X[ab].nodeName=="PARAM")&&!(X[ab].nodeType==8)){Z.appendChild(X[ab].cloneNode(true))}}}}}return Z}function q(ad,Z,X){var Y,aa=m(X);if(i.wk&&i.wk<312){return Y}if(aa){if(typeof ad.id==e){ad.id=X}if(i.ie&&i.win){var ag="";for(var ae in ad){if(ad[ae]!=Object.prototype[ae]){if(ae.toLowerCase()=="data"){Z.movie=ad[ae]}else{if(ae.toLowerCase()=="styleclass"){ag+=' class="'+ad[ae]+'"'}else{if(ae.toLowerCase()!="classid"){ag+=" "+ae+'="'+ad[ae]+'"'}}}}}var ab="";for(var ac in Z){if(Z[ac]!=Object.prototype[ac]){ab+='<param name="'+ac+'" value="'+Z[ac]+'" />'}}aa.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+ag+">"+ab+"</object>";K[K.length]=ad.id;Y=m(ad.id)}else{var ah=p(o);ah.setAttribute("type",z);for(var ai in ad){if(ad[ai]!=Object.prototype[ai]){if(ai.toLowerCase()=="styleclass"){ah.setAttribute("class",ad[ai])}else{if(ai.toLowerCase()!="classid"){ah.setAttribute(ai,ad[ai])}}}}for(var af in Z){if(Z[af]!=Object.prototype[af]&&af.toLowerCase()!="movie"){I(ah,af,Z[af])}}aa.parentNode.replaceChild(ah,aa);Y=ah}}return Y}function I(Z,X,Y){var aa=p("param");aa.setAttribute("name",X);aa.setAttribute("value",Y);Z.appendChild(aa)}function Q(Y){var X=m(Y);if(X&&X.nodeName=="OBJECT"){if(i.ie&&i.win){X.style.display="none";(function(){if(X.readyState==4){r(Y)}else{setTimeout(arguments.callee,10)}})()}else{X.parentNode.removeChild(X)}}}function r(Z){var X=m(Z);if(X){for(var Y in X){if(typeof X[Y]=="function"){X[Y]=null}}X.parentNode.removeChild(X)}}function m(Z){var Y=null;try{Y=l.getElementById(Z)}catch(X){}return Y}function p(X){return l.createElement(X)}function d(Y,Z,X){Y.attachEvent(Z,X);k[k.length]=[Y,Z,X]}function u(Z){var X=i.pv,Y=Z.split(".");Y[0]=parseInt(Y[0],10);Y[1]=parseInt(Y[1],10)||0;Y[2]=parseInt(Y[2],10)||0;return(X[0]>Y[0]||(X[0]==Y[0]&&X[1]>Y[1])||(X[0]==Y[0]&&X[1]==Y[1]&&X[2]>=Y[2]))?true:false}function B(Z,ac,Y,ab){if(i.ie&&i.mac){return}var aa=l.getElementsByTagName("head")[0];if(!aa){return}var ad=(Y&&typeof Y=="string")?Y:"screen";if(ab){U=null;x=null}if(!U||x!=ad){var X=p("style");X.setAttribute("type","text/css");X.setAttribute("media",ad);U=aa.appendChild(X);if(i.ie&&i.win&&typeof l.styleSheets!=e&&l.styleSheets.length>0){U=l.styleSheets[l.styleSheets.length-1]}x=ad}if(i.ie&&i.win){if(U&&typeof U.addRule==o){U.addRule(Z,ac)}}else{if(U&&typeof l.createTextNode!=e){U.appendChild(l.createTextNode(Z+" {"+ac+"}"))}}}function F(Z,X){if(!f){return}var Y=X?"visible":"hidden";if(a&&m(Z)){m(Z).style.visibility=Y}else{B("#"+Z,"visibility:"+Y)}}function v(X){var Y=/[\\\"<>\.;]/;var Z=Y.exec(X)!=null;return Z&&typeof encodeURIComponent!=e?encodeURIComponent(X):X}var L=function(){if(i.ie&&i.win){window.attachEvent("onunload",function(){var X=k.length;for(var ab=0;ab<X;ab++){k[ab][0].detachEvent(k[ab][1],k[ab][2])}var Y=K.length;for(var aa=0;aa<Y;aa++){Q(K[aa])}for(var Z in i){i[Z]=null}i=null;for(var ac in swfobject){swfobject[ac]=null}swfobject=null})}}();return{registerObject:function(Y,X,aa,Z){if(i.w3&&Y&&X){var ab={};ab.id=Y;ab.swfVersion=X;ab.expressInstall=aa;ab.callbackFn=Z;c[c.length]=ab;F(Y,false)}else{if(Z){Z({success:false,id:Y})}}},getObjectById:function(X){if(i.w3){return t(X)}},embedSWF:function(ae,Y,ab,ad,ah,aa,ag,ac,Z,X){var af={success:false,id:Y};if(i.w3&&!(i.wk&&i.wk<312)&&ae&&Y&&ab&&ad&&ah){F(Y,false);w(function(){ab+="";ad+="";var am={};if(Z&&typeof Z===o){for(var al in Z){am[al]=Z[al]}}am.data=ae;am.width=ab;am.height=ad;var ai={};if(ac&&typeof ac===o){for(var aj in ac){ai[aj]=ac[aj]}}if(ag&&typeof ag===o){for(var ak in ag){if(typeof ai.flashvars!=e){ai.flashvars+="&"+ak+"="+ag[ak]}else{ai.flashvars=ak+"="+ag[ak]}}}if(u(ah)){var an=q(am,ai,Y);if(am.id==Y){F(Y,true)}af.success=true;af.ref=an}else{if(aa&&G()){am.data=aa;O(am,ai,Y,X);return}else{F(Y,true)}}if(X){X(af)}})}else{if(X){X(af)}}},switchOffAutoHideShow:function(){f=false},ua:i,getFlashPlayerVersion:function(){return{major:i.pv[0],minor:i.pv[1],release:i.pv[2]}},hasFlashPlayerVersion:u,createSWF:function(Y,X,Z){if(i.w3){return q(Y,X,Z)}else{return undefined}},showExpressInstall:function(Y,X,Z,aa){if(i.w3&&G()){O(Y,X,Z,aa)}},removeSWF:function(X){if(i.w3){Q(X)}},createCSS:function(Z,Y,X,aa){if(i.w3){B(Z,Y,X,aa)}},addDomLoadEvent:w,addLoadEvent:b,getQueryParamValue:function(X){var Z=l.location.search||l.location.hash;if(Z){if(/\?/.test(Z)){Z=Z.split("?")[1]}if(X==null){return v(Z)}var aa=Z.split("&");for(var Y=0;Y<aa.length;Y++){if(aa[Y].substring(0,aa[Y].indexOf("="))==X){return v(aa[Y].substring((aa[Y].indexOf("=")+1)))}}}return""},expressInstallCallback:function(){if(A){var X=m(g);if(X&&J){X.parentNode.replaceChild(J,X);if(E){F(E,true);if(i.ie&&i.win){J.style.display="block"}}if(H){H(h)}}A=false}}}}();FIVEMIN.swfobject=swfobject};


/* ~/Scripts/Fivemin.lib.js */

if(typeof(FIVEMIN)=="undefined"){var FIVEMIN={}}if(typeof(FIVEMIN.LIB)=="undefined"){FIVEMIN.LIB=(function(){FIVEMIN.LIB=function(){var d=function(){};var a=function(){return a.getById.apply(this,arguments)};a.extend=function(h,f){for(var g in (f||{})){h[g]=f[g]}return h};var c;a.extend(a,{document:document,getById:function(g,f){return g?g.nodeName?g:(f||document).getElementById(g):null},create:function(f,i,h){var g=(h||a.document||document).createElement(f);if(i){a.alter(g,i)}return g},setDocument:function(f){c=a.document||document;a.document=f},restoreDocument:function(){a.document=c;c=null},alter:function(g,h){if(!h){return null}if(h.styles){a.css(g,h.styles);delete h.styles}if(h.events){a.each(h.events,function(i,j){a.addEvent(g,j,i)});delete h.events}if(h.children){a.each(h.children,function(i){g.appendChild(i)});delete h.children}var f=h.parent;delete h.parent;a.extend(g,h);if(f){f.appendChild(g)}return g},ie:(function(){var f=null;if(navigator.appName=="Microsoft Internet Explorer"){f=new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})").exec(navigator.userAgent);if(f[1]!=null){f=parseFloat(f[1])}else{f=null}}return f}()),removeNode:function(f){if(f.parentNode){f.parentNode.removeChild(f)}},getElement:function(f,g){return a.getElements(f,g)[0]},getElements:function(m,n){if(!n){n=a.document||document}var q=[];if(m.indexOf(".")>-1){for(var g=m.split("."),l=new RegExp("\\b"+g[1]+"\\b"),k=n.getElementsByTagName(g[0]||"*"),h=k.length,o=0,p=0,f;o<h;++o){f=k[o];if(l.test(f.className)){q[p++]=f}}}else{q=a.toArray(n.getElementsByTagName(m))}return q},hasChild:function(f,g){if(a.browser.features.xpath==false){return a.indexOf(a.toArray(f.getElementsByTagName(g.tagName)),g)>-1}return f.contains?f!=g&&f.contains(g):!!(f.compareDocumentPosition(g)&16)},addEvent:function(h,g,f){var i;if(g=="mouseenter"){g="mouseover";i=function(k){var l=k.relatedTarget;var j;if(l==undefined){j=true}else{if(l===false){j=false}else{j=(typeof(this)!="document"&&l!=this&&l.prefix!="xul"&&!a.hasChild(this,l))}}if(j){f(k)}return j}}else{if(g=="mouseleave"){g="mouseout";i=function(k){var l=k.relatedTarget;var j;if(l==undefined){j=true}else{if(l===false){j=false}else{j=(typeof(this)!="document"&&l!=this&&l.prefix!="xul"&&!a.hasChild(this,l))}}if(j){f(k)}return j}}else{i=f}}document.attachEvent?h.attachEvent("on"+g,i):h.addEventListener(g,i,false)},removeEvent:function(h,g,f){var i;if(g=="mouseenter"){g="mouseover";i=function(k){var l=k.relatedTarget;var j;if(l==undefined){j=true}else{if(l===false){j=false}else{j=(typeof(this)!="document"&&l!=this&&l.prefix!="xul"&&!a.hasChild(this,l))}}if(j){f()}return j}}else{if(g=="mouseleave"){g="mouseout";i=function(k){var l=k.relatedTarget;var j;if(l==undefined){j=true}else{if(l===false){j=false}else{j=(typeof(this)!="document"&&l!=this&&l.prefix!="xul"&&!a.hasChild(this,l))}}if(j){f()}return j}}else{i=f}}document.detachEvent?h.detachEvent("on"+g,i):h.removeEventListener(g,i,false)},stopEvent:function(f,h,g){if(h!==false){if(f.preventDefault){f.preventDefault()}else{f.returnValue=false}}if(g!==false){if(f.stopPropagation){f.stopPropagation()}else{f.cancelBubble=true}}},eventElement:function(f){return f.target?f.target:f.srcElement},toArray:function(j){if(j instanceof Array){return j}if(j.item){var f=[];for(var g=0,h=j.length;g<h;g++){f[g]=j[g]}return f}return Array.prototype.slice.call(j)},indexOf:function(k,f,j){var g=k.length;for(var h=(j<0)?Math.max(0,g+j):j||0;h<g;h++){if(k[h]===f){return h}}return -1},removeItem:function(g,f){for(var h=g.length;h--;){if(g[h]===f){g.splice(h,1)}}},each:function(k,f,h){if(k instanceof Array){for(var g=0;g<k.length;g++){f.call(h||null,k[g],g)}}else{for(var j in k){f.call(h||null,k[j],j)}}return k},trim:function(f){return f.replace(/^\s+|\s+$/g,"")},etrim:function(g,f){if(typeof g!=="string"){return g}return a.ltrim(a.rtrim(g,f),f)},ltrim:function(g,f){f=f||"\\s";return g.replace(new RegExp("^["+f+"]+","g"),"")},rtrim:function(g,f){f=f||"\\s";return g.replace(new RegExp("["+f+"]+$","g"),"")},time:function(){return new Date().getTime()},map:function(i,f,h){var g=i instanceof Array?[]:{};a.each(i,function(k,j){g[j]=f.call(h||null,k,j)});return g},css:function(i,g){if(i instanceof Array){for(var h=0;h<i.length;++h){var f=i[h];a.css(f,g)}return null}else{if(typeof(g)=="string"){i.style.cssText=g}else{if(g.opacity!==undefined){a.opacity(i,g.opacity);delete g.opacity}g=a.map(g,function(k,j){if(a.indexOf(b,j)!=-1){return parseFloat(k)}if(a.indexOf(e,j)!=-1&&typeof(k)=="number"){return k+"px"}return k});a.extend(i.style,g)}}return i},hide:function(g){if(g instanceof Array){for(var f=0;f<g.length;++f){a.hide(g[f])}return}g.style.display="none"},show:function(f){f.style.display="block"},docSize:function(h){var f=0,g=0;if(self.innerHeight){f=window.innerHeight;g=window.innerWidth}else{if(h.documentElement&&h.documentElement.clientHeight){f=h.documentElement.clientHeight;g=h.documentElement.clientWidth}else{if(document.body){f=h.body.clientHeight;g=h.body.clientWidth}}}if(f<h.body.clientHeight){f=h.body.clientHeight}return{height:parseInt(f,10),width:parseInt(g,10)}},addCls:function(f,g){if(!a.hasCls(f,g)){f.className+=" "+g}},removeCls:function(f,g){f.className=f.className.replace(new RegExp("(^|\\s+)"+g+"(\\s+|$)","g")," ")},hasCls:function(f,g){return new RegExp("(^|\\s)"+g+"(\\s|$)").test(f.className)},currCss:function(g,i,j){if(i=="float"){i="cssFloat"}if(i=="opacity"&&a.browser.name=="ie"){return a.opacity(g)}var k;if(g.currentStyle){k=g.currentStyle[i.replace(/-\D/g,function(l){return l.charAt(1).toUpperCase()})]}else{var f=g.ownerDocument.defaultView.getComputedStyle(g,null);k=f?f.getPropertyValue(i):null}if(k=="auto"&&(i=="width"||i=="height")){k=g["offset"+i.charAt(0).toUpperCase()+i.substr(1)];var h=i=="width"?["left","right"]:["top","bottom"];k-=a.currCss(g,h[0])+a.currCss(g,h[1]);if(k<0){k=0}}if(k!==null&&(a.indexOf(e,i)!=-1||a.indexOf(b,i)!=-1||j||k.indexOf("px")==k.length-2)){k=parseFloat(k)}return a.etrim(k,"'\"")},opacity:function(f,h){if(h===undefined){if(a.browser.name!="ie"){return a.currCss(f,"opacity")}var g=f.style.filter;return g&&g.indexOf("opacity=")>=0?(parseFloat(g.match(/opacity=([^)]*)/)[1])/100):1}else{if(h==0){if(f.style.visibility!="hidden"){f.style.visibility="hidden"}}else{if(f.style.visibility!="visible"){f.style.visibility="visible"}}if(!f.currentStyle||!f.currentStyle.hasLayout){f.style.zoom=1}if(a.browser.name=="ie"){f.style.filter=h==1?"":"alpha(opacity="+h*100+")"}f.style.opacity=h}return null},offset:function(h){var g,f=g=0;if(h.offsetParent){do{f+=h.offsetLeft;g+=h.offsetTop}while(h=h.offsetParent)}return{left:f,top:g}},dimensions:function(g){var h={};h.inner={width:g.clientWidth,height:g.clientHeight};h.outer={width:g.offsetWidth,height:g.offsetHeight};h.scroll={width:g.scrollWidth,height:g.scrollHeight<g.clientHeight?g.clientHeight:g.scrollHeight,left:g.scrollLeft,top:g.scrollTop};var f=g;h.left=h.top=0;while(f.offsetParent){h.left+=f.offsetLeft;h.top+=f.offsetTop;f=f.offsetParent}return h},bind:function(f,g){return function(){f.apply(g,arguments)}},waitUntil:function(g,m,h,i,j,k){if(!j){j=this}if(!k){k=[]}if(g()){m.apply(j,k);return}if(!h){h=100}var f;var l=setInterval(function(){if(!g()){return}clearInterval(l);if(f){clearTimeout(f)}m.apply(j,k)},h);if(i){f=setTimeout(function(){clearInterval(l)},i)}},htmlenc:function(f){return f?f.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/'/g,"&apos;").replace(/"/g,"&quot;"):""},addStylesheet:function(f,g,m){if(m==null){m=document}var k=m.getElementsByTagName("head")[0];var j=m.getElementsByTagName("link");for(var l=0;l<j.length;++l){var n=j[l];if(n.getAttribute("href")==f){return true}}var h=m.createElement("link");h.rel="stylesheet";h.href=f;h.type="text/css";h.media=g||"all";k.appendChild(h);return true},log:function(){if(typeof(console)=="undefined"){return}try{console.log.apply(console,arguments)}catch(f){console.log(a.toArray(arguments))}},l:function(){if(typeof(console)=="undefined"){return d}return console.info}(),d:function(){if(typeof(console)=="undefined"){return d}return console.dir}(),prepend:function(g,f){var h=g.firstChild;if(typeof h!="undefined"){g.insertBefore(f,h)}else{g.appendChild(f)}},getViewport:function(){var g;var f;if(typeof window.innerWidth!="undefined"){g=window.innerWidth;f=window.innerHeight}else{if(typeof document.documentElement!="undefined"&&typeof document.documentElement.clientWidth!="undefined"&&document.documentElement.clientWidth!=0){g=document.documentElement.clientWidth;f=document.documentElement.clientHeight}else{g=document.getElementsByTagName("body")[0].clientWidth;f=document.getElementsByTagName("body")[0].clientHeight}}return{width:g,height:f}},randomizeArray:function(g){var k=g.length;if(k==0){return[]}while(--k){var f=Math.floor(Math.random()*(k+1));var h=g[k];var l=g[f];g[k]=l;g[f]=h}return g},hex2num:function(f){if(f.charAt(0)=="#"){f=f.slice(1)}f=f.toUpperCase();var g="0123456789ABCDEF";var j=new Array(3);var l=0;var h,n;for(var m=0;m<6;m+=2){h=g.indexOf(f.charAt(m));n=g.indexOf(f.charAt(m+1));j[l]=(h*16)+n;l++}return(j)},num2hex:function(g){var j="0123456789ABCDEF";var f="#";var h,l;for(var k=0;k<3;k++){h=g[k]/16;l=g[k]%16;f+=j.charAt(h)+j.charAt(l)}return(f)},md5:function(o){var f=0;function v(y){return t(u(n(y)))}function h(z,y){return t(m(n(z),n(y)))}function w(){return v("abc").toLowerCase()=="900150983cd24fb0d6963f7d28e17f72"}function u(y){return l(g(i(y),y.length*8))}function m(z,B){var E=i(z);if(E.length>16){E=g(E,z.length*8)}var A=Array(16),D=Array(16);for(var y=0;y<16;y++){A[y]=E[y]^909522486;D[y]=E[y]^1549556828}var C=g(A.concat(i(B)),512+B.length*8);return l(g(D.concat(C),512+128))}function t(z){try{f}catch(C){f=0}var B=f?"0123456789ABCDEF":"0123456789abcdef";var y="";var A;for(var D=0;D<z.length;D++){A=z.charCodeAt(D);y+=B.charAt((A>>>4)&15)+B.charAt(A&15)}return y}function n(A){var z="";var y=-1;var B,C;while(++y<A.length){B=A.charCodeAt(y);C=y+1<A.length?A.charCodeAt(y+1):0;if(55296<=B&&B<=56319&&56320<=C&&C<=57343){B=65536+((B&1023)<<10)+(C&1023);y++}if(B<=127){z+=String.fromCharCode(B)}else{if(B<=2047){z+=String.fromCharCode(192|((B>>>6)&31),128|(B&63))}else{if(B<=65535){z+=String.fromCharCode(224|((B>>>12)&15),128|((B>>>6)&63),128|(B&63))}else{if(B<=2097151){z+=String.fromCharCode(240|((B>>>18)&7),128|((B>>>12)&63),128|((B>>>6)&63),128|(B&63))}}}}}return z}function i(y){var A=Array(y.length>>2);for(var z=0;z<A.length;z++){A[z]=0}for(var z=0;z<y.length*8;z+=8){A[z>>5]|=(y.charCodeAt(z/8)&255)<<(z%32)}return A}function l(y){var A="";for(var z=0;z<y.length*32;z+=8){A+=String.fromCharCode((y[z>>5]>>>(z%32))&255)}return A}function g(y,D){y[D>>5]|=128<<((D)%32);y[(((D+64)>>>9)<<4)+14]=D;var G=1732584193;var F=-271733879;var I=-1732584194;var H=271733878;for(var A=0;A<y.length;A+=16){var C=G;var E=F;var z=I;var B=H;G=x(G,F,I,H,y[A+0],7,-680876936);H=x(H,G,F,I,y[A+1],12,-389564586);I=x(I,H,G,F,y[A+2],17,606105819);F=x(F,I,H,G,y[A+3],22,-1044525330);G=x(G,F,I,H,y[A+4],7,-176418897);H=x(H,G,F,I,y[A+5],12,1200080426);I=x(I,H,G,F,y[A+6],17,-1473231341);F=x(F,I,H,G,y[A+7],22,-45705983);G=x(G,F,I,H,y[A+8],7,1770035416);H=x(H,G,F,I,y[A+9],12,-1958414417);I=x(I,H,G,F,y[A+10],17,-42063);F=x(F,I,H,G,y[A+11],22,-1990404162);G=x(G,F,I,H,y[A+12],7,1804603682);H=x(H,G,F,I,y[A+13],12,-40341101);I=x(I,H,G,F,y[A+14],17,-1502002290);F=x(F,I,H,G,y[A+15],22,1236535329);G=q(G,F,I,H,y[A+1],5,-165796510);H=q(H,G,F,I,y[A+6],9,-1069501632);I=q(I,H,G,F,y[A+11],14,643717713);F=q(F,I,H,G,y[A+0],20,-373897302);G=q(G,F,I,H,y[A+5],5,-701558691);H=q(H,G,F,I,y[A+10],9,38016083);I=q(I,H,G,F,y[A+15],14,-660478335);F=q(F,I,H,G,y[A+4],20,-405537848);G=q(G,F,I,H,y[A+9],5,568446438);H=q(H,G,F,I,y[A+14],9,-1019803690);I=q(I,H,G,F,y[A+3],14,-187363961);F=q(F,I,H,G,y[A+8],20,1163531501);G=q(G,F,I,H,y[A+13],5,-1444681467);H=q(H,G,F,I,y[A+2],9,-51403784);I=q(I,H,G,F,y[A+7],14,1735328473);F=q(F,I,H,G,y[A+12],20,-1926607734);G=p(G,F,I,H,y[A+5],4,-378558);H=p(H,G,F,I,y[A+8],11,-2022574463);I=p(I,H,G,F,y[A+11],16,1839030562);F=p(F,I,H,G,y[A+14],23,-35309556);G=p(G,F,I,H,y[A+1],4,-1530992060);H=p(H,G,F,I,y[A+4],11,1272893353);I=p(I,H,G,F,y[A+7],16,-155497632);F=p(F,I,H,G,y[A+10],23,-1094730640);G=p(G,F,I,H,y[A+13],4,681279174);H=p(H,G,F,I,y[A+0],11,-358537222);I=p(I,H,G,F,y[A+3],16,-722521979);F=p(F,I,H,G,y[A+6],23,76029189);G=p(G,F,I,H,y[A+9],4,-640364487);H=p(H,G,F,I,y[A+12],11,-421815835);I=p(I,H,G,F,y[A+15],16,530742520);F=p(F,I,H,G,y[A+2],23,-995338651);G=s(G,F,I,H,y[A+0],6,-198630844);H=s(H,G,F,I,y[A+7],10,1126891415);I=s(I,H,G,F,y[A+14],15,-1416354905);F=s(F,I,H,G,y[A+5],21,-57434055);G=s(G,F,I,H,y[A+12],6,1700485571);H=s(H,G,F,I,y[A+3],10,-1894986606);I=s(I,H,G,F,y[A+10],15,-1051523);F=s(F,I,H,G,y[A+1],21,-2054922799);G=s(G,F,I,H,y[A+8],6,1873313359);H=s(H,G,F,I,y[A+15],10,-30611744);I=s(I,H,G,F,y[A+6],15,-1560198380);F=s(F,I,H,G,y[A+13],21,1309151649);G=s(G,F,I,H,y[A+4],6,-145523070);H=s(H,G,F,I,y[A+11],10,-1120210379);I=s(I,H,G,F,y[A+2],15,718787259);F=s(F,I,H,G,y[A+9],21,-343485551);G=k(G,C);F=k(F,E);I=k(I,z);H=k(H,B)}return Array(G,F,I,H)}function r(D,C,B,y,A,z){return k(j(k(k(C,D),k(y,z)),A),B)}function x(z,y,C,B,A,E,D){return r((y&C)|((~y)&B),z,y,A,E,D)}function q(z,y,C,B,A,E,D){return r((y&B)|(C&(~B)),z,y,A,E,D)}function p(z,y,C,B,A,E,D){return r(y^C^B,z,y,A,E,D)}function s(z,y,C,B,A,E,D){return r(C^(y|(~B)),z,y,A,E,D)}function k(B,y){var A=(B&65535)+(y&65535);var z=(B>>16)+(y>>16)+(A>>16);return(z<<16)|(A&65535)}function j(z,y){return(z<<y)|(z>>>(32-y))}return v(o)},rand:function(){var j,i=null;var h=new Array(16);j=function(){var m,k=h,l;for(var l=0,m;l<16;l++){if((l&3)==0){m=Math.random()*4294967296}k[l]=m>>>((l&3)<<3)&255}return k};if(window.crypto&&window.crypto.getRandomValues){var f=new Uint32Array(4);i=function(){window.crypto.getRandomValues(f);var k=[];for(var l=0;l<16;l++){k[l]=f[l>>2]>>>((l&3)*8)&255}return k}}var g=i||j;FIVEMIN.LIB.rand=g;return g()},timer:function(){var f;return{start:function(){f=new Date().getTime()},getStatus:function(){var g=new Date().getTime();var h=(g-f)/1000;return h}}}(),isDecendant:function(g,f){var h=false;do{if(g==f){h=true;break}g=g.parentNode}while(g.tagName.toLowerCase()!="html");return h},getTopMostWindow:function(){var i=window;while(i){try{var g=i.parent;var h=g.document;if(!h){break}i=g;if(g==g.parent){break}}catch(f){break}}a.getTopMostWindow=function(){return i};return i},_parseQueryString:function(f){var g={};f.replace(/(.*?)=(.*?)(?:&|$)/g,function(h,i,j){g[i]=decodeURIComponent(j)});return g},isElement:function(f){return(typeof HTMLElement==="object"?f instanceof HTMLElement:typeof f==="object"&&f.nodeType===1&&typeof f.nodeName==="string")},_getQueryString:function(){if(!a._getQueryString._overwritten){a._getQueryString._overwritten=true;var f=a._parseQueryString(location.search.substr(1));a._getQueryString=function(g,h){g=g.toLowerCase();return(f[g]===undefined?h:f[g])||""};return a._getQueryString.apply(null,arguments)}return null}});a.browser={};(function(){var i=navigator.userAgent.toLowerCase(),g=navigator.platform.toLowerCase(),h=i.match(/(opera|ie|firefox|chrome|version)[\s\/:]([\w\d\.]+)?.*?(safari|version[\s\/:]([\w\d\.]+)|$)/)||[null,"unknown",0],f=h[1]=="ie"&&document.documentMode;a.browser.name=(h[1]=="version")?h[3]:h[1];a.browser.version=f||parseFloat((h[1]=="opera"&&h[4])?h[4]:h[2]);a.browser.platform={name:i.match(/ip(?:ad|od|hone)/)?"ios":(i.match(/(?:webos|android)/)||g.match(/mac|win|linux/)||["other"])[0]};a.browser.features={xpath:!!(document.evaluate),air:!!(window.runtime),query:!!(document.querySelector),json:!!(window.JSON)};a.browser[a.browser.name]=true;a.browser[a.browser.name+parseInt(a.browser.version,10)]=true;a.browser.platform[a.browser.platform.name]=true})();(function(){var i,f=[];a.extend(a,{addDomReady:function(j){if(i){return j()}f[f.length]=j;if(!h){h=true;g()}return true}});var h;function g(){if(a.document==null){a.document=document}if(a.document.readyState=="loaded"||a.document.readyState=="complete"){k()}if(a.browser.name=="ie"){var j=a.create("div");(function(){var l=false;try{j.doScroll("left");a.document.body.appendChild(j);j.innerHTML="temp";a.removeNode(j);l=true}catch(m){setTimeout(arguments.callee,500)}if(l){k()}})()}else{if(a.browser.features.query==false){(function(){if(a.document.readyState=="loaded"||a.document.readyState=="complete"){k()}else{setTimeout(arguments.callee,500)}})()}else{if(a.document.readyState=="loaded"||a.document.readyState=="complete"){k()}else{a.addEvent(window,"load",k);a.addEvent(document,"DOMContentLoaded",k)}}}function k(){if(i){return}i=true;a.each(f,function(l){l()})}}})();a.jsonpCallbacks={};a.jsonp=function(i,j,h){if(h==null){h={}}if(j!=null){if(typeof j!="string"){var k=h.callbackName||"j"+Math.random().toString().substring(5);var f;if(h.bind){f=function(l){FIVEMIN.LIB.bind(j,h.bind)(1,l,h.pass)}}else{f=function(l){j(1,l,h.pass)}}a.jsonpCallbacks[k]=f;i+=(i.indexOf("?")>-1?"&":"?")+"callback=FIVEMIN.LIB.jsonpCallbacks['"+k+"']"}else{i+=(i.indexOf("?")>-1?"&":"?")+"callback="+j}}if(h.preventCache){i+="&rnd="+new Date().getTime()}var g=a.getElement("head")||a.document.body||a.document.documentElement;a.create("script",{src:i,type:"text/javascript",parent:g})};a.toQueryString=function(f){var g=[];a.each(f,function(i,h){if(typeof i=="function"||i==null){return}g.push(h+"="+encodeURIComponent(i.toString()))});return g.join("&")};var e="left,top,bottom,right,width,height,maxWidth,maxHeight,minWidth,minHeight,fontSize,letterSpacing,lineHeight,margin,marginLeft,marginRight,marginTop,marginBottom,padding,paddingLeft,paddingRight,paddingTop,paddingBottom,borderWidthLeft,borderWidthRight,borderWidthTop,borderWidthBottom".split(",");var b="z-index,font-weight,opacity,zoom,line-height".split(",");return a}();return FIVEMIN.LIB})()}if(typeof(FIVEMIN.LIB.Helpers)=="undefined"){FIVEMIN.LIB.Helpers={getRnd:function(c){var b=c.split(",");return b[Math.floor(Math.random()*b.length)]},getHead:function(){var a=FIVEMIN.LIB;return a.getElement("head")||a.document.body||a.document.documentElement}}};


/* ~/Scripts/Fivemin.lib.fx.js */

if(typeof(FIVEMIN)=="undefined"){var FIVEMIN={}}if(typeof(FIVEMIN.LIB)=="undefined"){FIVEMIN.LIB={}}if(typeof(FIVEMIN.LIB.Fx)=="undefined"){FIVEMIN.LIB.Fx=function(){var defaultOptions={duration:500,fps:50};function fx(element,options,baseOptions){this.element=element;this.options={};this.setOptions(defaultOptions);this.setOptions(baseOptions);this.setOptions(options);if(typeof this.options.transition=="string"){this.options.transition=eval("FIVEMIN.LIB.Fx.Transitions."+this.options.transition)}}fx.prototype={setOptions:function(options){if(options==null){return}for(var opts in options){if(options[opts]!=null){this.options[opts]=options[opts]}}},transition:function(p){if(this.options.transition){return this.options.transition(p)}return -(Math.cos(Math.PI*p)-1)/2},start:function(to,callback){if(this.timer){return false}var self=this;this.to=to;this.from=this.getFrom();this.startTime=new Date().getTime();this.endTime=this.startTime+this.options.duration;this.timer=setInterval(function(){self.step()},Math.round(1000/this.options.fps));if(callback!=null){callback()}return this},stop:function(){if(!this.timer){return false}clearInterval(this.timer);this.timer=null;return true},cancel:function(){this.stop();if(this.options.onCancel){this.options.onCancel.call(this)}},complete:function(){this.set(1);this.stop();if(this.options.onComplete){this.options.onComplete.call(this)}},step:function(){var time=new Date().getTime();if(time<this.endTime){var percentage=this.transition((time-this.startTime)/this.options.duration);this.set(percentage)}else{this.complete()}},getFrom:function(){var from={};for(var key in this.to){from[key]=FIVEMIN.LIB.currCss(this.element,key);if(key=="marginLeft"&&isNaN(from[key])){from[key]=FIVEMIN.LIB.currCss(this.element,"margin-left")}}return from},set:function(p){var style={};for(var key in this.to){var value=this.to[key];style[key]=(value-this.from[key])*p+this.from[key];if(key!=="opacity"){style[key]=Math.floor(style[key])}}FIVEMIN.LIB.css(this.element,style)}};return fx}();FIVEMIN.LIB.Fx.Transition=function(a,b){b=typeof(b)!="array"?[b]:b;a.easeIn=function(c){return a(c,b)};a.easeOut=function(c){return 1-a(1-c,b)};a.easeInOut=function(c){return(c<=0.5)?a(2*c,b)/2:(2-a(2*(1-c),b))/2};return a};FIVEMIN.LIB.Fx.Transitions={};FIVEMIN.LIB.Fx.Transitions.extend=function(b){for(var a in b){FIVEMIN.LIB.Fx.Transitions[a]=new FIVEMIN.LIB.Fx.Transition(b[a])}};FIVEMIN.LIB.Fx.Transitions.extend({Pow:function(a,b){return Math.pow(a,b[0]||6)},Expo:function(a){return Math.pow(2,8*(a-1))},Circ:function(a){return 1-Math.sin(Math.acos(a))},Sine:function(a){return 1-Math.sin((1-a)*Math.PI/2)},Back:function(a,b){b=b[0]||1.618;return Math.pow(a,2)*((b+1)*a-b)},Bounce:function(c){var f=0;for(var e=0,d=1;1;e+=d,d/=2){if(c>=(7-4*e)/11){f=d*d-Math.pow((11-6*e-11*c)/4,2);break}}return f},Elastic:function(a,b){return Math.pow(2,10*--a)*Math.cos(20*a*Math.PI*(b[0]||1)/3)},Quad:function(a){return Math.pow(a,2)},Cubic:function(a){return Math.pow(a,3)},Quart:function(a){return Math.pow(a,4)},Quint:function(a){return Math.pow(a,5)}})};


/* ~/Scripts/Fivemin.storage.js */

if(typeof(FIVEMIN)=="undefined"){var FIVEMIN={}}if(typeof(FIVEMIN.STORAGE)=="undefined"){var swfobject=FIVEMIN.swfobject||window.swfobject;var ajaxFunc=function(a){if(FIVEMIN.LIB!=null){var c={preventCache:false,callbackName:a.callbackName};var b=function(d,e){a.success(e)};FIVEMIN.LIB.jsonp(a.url,b,c)}else{if(FIVEMIN.JQuery!=null){a.cache=true;if(a.callbackName!=null){a.jsonpCallback=a.callbackName}FIVEMIN.JQuery.ajax(a)}}};var urlbase="http://syn.5min.com/Handlers/";var _ec_tests=2;var _ec_debug=0;var Fivemincookie=(function(){this._class=function(){var a=this;var b=false;this._ec={};this.flashAvailable=function(){b=true};this.get=function(c,d){a._fivemincookie(c,d,null)};this.set=function(d,c){a._fivemincookie(d,function(){},c)};this._fivemincookie=function(d,c,f){if(f!=null){this.fivemincookie_lso(d,f);var e=urlbase+"FiveminCookieCache.ashx?name="+d;if(f==""){e+="&empty=1"}else{e+="&value="+f}ajaxFunc({url:e,callbackName:"cache_"+d+"_"+f,success:function(){var g=new Image();g.style.visibility="hidden";g.style.position="absolute";g.src=urlbase+"FiveminCookieCache.ashx?name="+d+"&callback=FIVEMIN.LIB.jsonpCallbacks['cache_"+d+"']"}})}else{a._ec.cacheData=null;ajaxFunc({url:urlbase+"FiveminCookieCache.ashx?name="+d,callbackName:"cache_"+d,success:function(g){if(c!=null){c(g.toString())}},error:function(){if(c!=null){c("")}}})}};this.fivemincookie_lso=function(d,g){this.flashObj=this.flashObj||FIVEMIN.swfobject.getObjectById("fivemincookieswf");if(!b&&this.flashObj==null){var f=document.createElement("div");f.innerHTML='<div id="fivemincookieswfcontainer"></div>';f.setAttribute("style","position:absolute;top:0;left:0;");document.body.appendChild(f);var c={swliveconnect:"true",allowscriptaccess:"always",flashvars:"jscbOnLoad=FIVEMIN.storage.flashAvailable"};var e={id:"fivemincookieswf",name:"fivemincookieswf",data:"http://cfiles.5min.com/flashcookie/StorageCookieSWF_01.swf",width:"1",height:"1"};this.flashObj=FIVEMIN.swfobject.createSWF(e,c,"fivemincookieswfcontainer")}else{if(g==null&&this.flashObj!=null&&this.flashObj.getValueByKey!=null){return this.flashObj.getValueByKey(d)}}if(g!=null){FIVEMIN.LIB.waitUntil(function(){return b&&a.flashObj!=null},function(){a.flashObj.setValueByKey(d,g)});return g}return null}};return _class})();FIVEMIN.storage=(function(){var g={};var d=new Fivemincookie();var a={};var i=function(){for(var k in a){if(g[k]!=null){var l;while(l=a[k].pop()){l(g[k])}}}};var c,j=null;var b=new Array(16);c=function(){var m,k=b,l=0;for(var l=0,m;l<16;l++){if((l&3)==0){m=Math.random()*4294967296}k[l]=m>>>((l&3)<<3)&255}return k};if(window.crypto&&window.crypto.getRandomValues){var h=new Uint32Array(4);j=function(){window.crypto.getRandomValues(h);var k=[];for(var l=0;l<16;l++){k[l]=h[l>>2]>>>((l&3)*8)&255}return k}}var f=j||c;var e={get:function(k,l){if(g[k]!=null){l(g[k])}else{if(a[k]!=null){a[k].push(l)}else{a[k]=[l];d.get(k,function(m){if(k=="uuid"&&(m==null||m=="")){m=f().join("").substring(1,16);d.set("uuid",m)}if(m==null){m=""}g[k]=m;i()})}}},set:function(l,k){g[l]=k;d.set(l,k);return k},reset:function(k){g[k]=null;a[k]=null},flashAvailable:function(){d.flashAvailable()}};return e})()};


/* ~/Scripts/Fivemin.RequestManager.js */

if(typeof(FIVEMIN)=="undefined"){var FIVEMIN={}}if(typeof(FIVEMIN.RequestManager)=="undefined"){FIVEMIN.FlashProxy=function(){var a={};var b={};var f="error";var e="FiveminFlashProxy"+Math.floor(Math.random()*10000);var d=null;function g(h,i,j){if(d==null&&f=="complete"){f="error"}switch(f){case"error":if(h.priority==1){a.init(h)}else{h.priority=1;FIVEMIN.RequestManager.addRequest(h)}FIVEMIN.RequestManager.hasFlash=false;if(j!=null){clearInterval(j)}break;case"complete":d.addRequest(h.requestURL,i,"json");if(j!=null){clearInterval(j)}break}return false}a.init=function(o){try{if(o==null){o={}}if(typeof o.conf!="undefined"){b=o.conf}if(b.debug&&b.dummyData){o.jscbRequest(1,b.dummyData);return}var i=document.createElement("div");i.setAttribute("style","position:absolute;top:0;left:0;");i.innerHTML='<div id="'+e+'"></div>';var l=document.body;l.insertBefore(i,l.firstChild);var n=FIVEMIN.BaseConfig.FlashProxyUrl;var h="";if(o.jscbOnLoad){h+="&jscbOnLoad="+o.jscbOnLoad}if(o.requestURL){h+="&requestURL="+encodeURIComponent(o.requestURL)}if(o.identifier){h+="&jscbRequest=FIVEMIN.RequestManager.callbacks["+o.identifier+"]"}if(h.length>0){h.length=h.substr(1)}var k={allowfullscreen:true,allowscriptaccess:"always",flashvars:h};var j={id:"FiveminFlashProxy",name:"FiveminFlashProxy",data:n,width:"1",height:"1"};d=FIVEMIN.swfobject.createSWF(j,k,e);a.init=function(){};if(f=="flashProxyEnabled"){f="complete"}else{if(f=="start"){f="initCallback"}}}catch(m){f="error"}};a.addRequest=function(h,i){if(f=="complete"){g(h,i)}else{var j=setInterval(function(){g(h,i,j)},100)}};a.flashProxyEnabled=function(){if(f=="initCallback"){f="complete"}else{if(f=="start"){f="flashProxyEnabled"}}};if(FIVEMIN.swfobject.hasFlashPlayerVersion("9.0.115")&&FIVEMIN.BaseConfig.UseFlashProxy){f="start";var c=setInterval(function(){if(document!=null&&document.body!=null&&document.body.firstChild!=null){a.init({jscbOnLoad:"FIVEMIN.FlashProxy.flashProxyEnabled"});clearInterval(c)}},100)}return a}();FIVEMIN.RequestManager=function(){var b={};var a=FIVEMIN.LIB;var e=new Array();var d=null;b.hasFlash=FIVEMIN.swfobject.hasFlashPlayerVersion("9.0.115")&&FIVEMIN.BaseConfig.UseFlashProxy;b.callbacks=[];b.addRequest=function(g){if(g.priority==1){f(g)}else{if(g.priority==null){g.priority=0}e.push(g);if(d==null){d=setTimeout(c,1000,this)}}};function c(){var h=[];while(e.length>0){var g=e.shift();if(g.priority==2){h.push(g)}else{f(g)}}if(h.length!=0){var i=function(){for(var j=0;j<h.length;j++){f(h[j])}};a.addDomReady(i)}clearTimeout(d);d=null}function f(g){if(!g.requestURL){return}if(!g.identifier){g.identifier=Math.ceil(Math.random()*100000)}var i=0;var k=500;if(g.jscbRequest==null){function j(){i++;k*=2;setTimeout(function(){var l=new Image();if(i<20){l.onerror=j;l.onabort=j}l.src=g.requestURL+(g.retryParam!=null?"&"+g.retryParam+"="+i:"")},k)}var h=new Image();if(g.performRetry){h.onerror=j;h.onabort=j}h.src=g.requestURL+(g.retryParam!=null?"&"+g.retryParam+"="+i:"")}else{if(b.hasFlash){if(g.bind){b.callbacks[g.identifier]=function(l,m){FIVEMIN.LIB.bind(g.jscbRequest,g.bind)(l,m,g.pass)}}else{b.callbacks[g.identifier]=function(l,m){g.jscbRequest(l,m,g.pass)}}FIVEMIN.FlashProxy.addRequest(g,"FIVEMIN.RequestManager.callbacks["+g.identifier+"]")}else{if(g.bind){b.callbacks[g.identifier]=function(l){FIVEMIN.LIB.bind(g.jscbRequest,g.bind)(1,l,g.pass)}}else{b.callbacks[g.identifier]=function(l){g.jscbRequest(1,l,g.pass)}}a.jsonp(g.requestURL,"FIVEMIN.RequestManager.callbacks["+g.identifier+"]",g.options)}}}return b}()};


/* ~/Scripts/Fivemin.Logger.js */

if(typeof(FIVEMIN)=="undefined"){var FIVEMIN={}}if(typeof(FIVEMIN.Logger)=="undefined"){FIVEMIN.Logger=function(){var b={};var a=FIVEMIN.LIB;b.Log=function(c,f,g){var i=FIVEMIN.BaseConfig.Logger[c];var h=FIVEMIN.BaseConfig.Logger[c].events[g];if(f.loglevel!=null){FIVEMIN.BaseConfig.Logger.LogLevel=f.loglevel;delete f.loglevel}if(FIVEMIN.BaseConfig.Logger.LogLevel==null||(FIVEMIN.BaseConfig.Logger.LogLevel&h.bitValue)){var e=a.extend({},i.params);var d=FIVEMIN.BaseConfig.Logger.LogServer+"/"+h.name+"?";if(h.params){a.extend(e,h.params)}a.extend(e,f);e=b.Parse(e);if(FIVEMIN.storage!=null){FIVEMIN.storage.get("uuid",function(j){e.uid=(j==null)?"":j;FIVEMIN.RequestManager.addRequest({requestURL:d+a.toQueryString(e),priority:1,performRetry:false,retryParam:"Lrn"})})}else{FIVEMIN.RequestManager.addRequest({requestURL:d+a.toQueryString(e),performRetry:false,retryParam:"Lrn"})}}};b.Parse=function(d){for(key in d){if(d[key]==null||d[key]==""){if(FIVEMIN.BaseConfig.Logger.Enums[key]!=null&&FIVEMIN.BaseConfig.Logger.Enums[key].empty!=null){d[key]=FIVEMIN.BaseConfig.Logger.Enums[key].empty}}if(d[key]!=null){var e=d[key].toString();if(e!=""&&FIVEMIN.BaseConfig.Logger.Enums[key]!=null){if(isNaN(e)){if(FIVEMIN.BaseConfig.Logger.Enums[key][d[key]]!=null){d[key]=FIVEMIN.BaseConfig.Logger.Enums[key][e]}else{d[key]=""}}}if(e=="true"){d[key]=1}if(e=="false"){d[key]=0}if(e=="null"){d[key]=""}if(e.indexOf(",")>-1){var c=e.split(",");c.sort(function(g,f){return g-f});d[key]=c.toString()}}}return d};return b}()};


/* ~/Scripts/Fivemin.ResultsManager.js */

if(typeof(FIVEMIN)=="undefined"){var FIVEMIN={}}if(typeof(FIVEMIN.ResultsManager)=="undefined"){FIVEMIN.ResultsManager=function(){var a={};a.ServerRequests={};a.sendRequest=function(b){if(b.conf&&b.conf.debug&&b.conf.dummyData){b.jscbRequest(1,conf.dummyData);return}if(typeof(a.ServerRequests[b.requestURL])=="undefined"){a.ServerRequests[b.requestURL]={};a.ServerRequests[b.requestURL].instances=new Array();a.ServerRequests[b.requestURL].instances.push(b);FIVEMIN.RequestManager.addRequest({requestURL:b.requestURL,jscbRequest:this.onHandlerResponse,priority:1,pass:b.requestURL,bind:FIVEMIN.ResultsManager,parentEls:b.parentEls})}else{if(typeof(a.ServerRequests[b.requestURL].Data)=="undefined"){a.ServerRequests[b.requestURL].instances.push(b)}else{a.returnResults(b)}}};a.onHandlerResponse=function(e,f,d){this.ServerRequests[d].Success=e;if(e==2){return}this.ServerRequests[d].Data=f;for(var b=0;b<this.ServerRequests[d].instances.length;b++){this.returnResults(this.ServerRequests[d].instances[b])}};a.returnResults=function(b){if(b.bind){FIVEMIN.LIB.bind(b.jscbRequest,b.bind)(this.ServerRequests[b.requestURL].Success,this.ServerRequests[b.requestURL].Data)}else{b.jscbRequest(this.ServerRequests[b.requestURL].Success,this.ServerRequests[b.requestURL].Data)}};return a}()};


/* ~/Scripts/Fivemin.VideoLightbox.js */

if(typeof(FIVEMIN)=="undefined"){var FIVEMIN={}}if(typeof(FIVEMIN.VideoLightbox)=="undefined"){FIVEMIN.VideoLightbox=function(){var c=FIVEMIN.LIB;c.fx=FIVEMIN.LIB.Fx;var k="fmts-lb-";var h=k+"cn-";var d=470,a=500;var l=30;var g=true;c.addStylesheet(FIVEMIN.BaseConfig.Lightbox.css,"all",c.getTopMostWindow().document);function j(m){if(m){k=m.cssPrefix?m.cssPrefix:k;h=m.contentCSSPrefix?m.contentCSSPrefix:h;d=m.playerWidth?m.playerWidth:d;a=m.playerHeight?m.playerHeight:a;l=m.offsetFromTop?m.offsetFromTop:l;g=m.isFreewheel!=null?m.isFreewheel:g}}c.extend(j.prototype,{init:function(t,r){c.setDocument(c.getTopMostWindow().document);this.data=t;this.instanceNumber=r;var u=parseInt(Math.random(10000)*10000);var n=h+"cb-ad-FIVEMIN-"+u+"-";var A=t.lightboxAnim;var m=t.onHideStart;var p=t.onShowStart;var v=t.onHideComplete;var B=t.onShowComplete;var w=t.customShow;var x=t.customHide;var q=t.relatedMode;this.logAddVideoView=t.logAddVideoView!=null?t.logAddVideoView:function(){};var y="FIVEMIN_Lightbox_"+u;var z=null;var s=this;if(t.extraPlayerParams!={}){z=t.extraPlayerParams}try{c.getTopMostWindow()[y]=this}catch(o){alert(o)}this.box=new e();this.box.init({animConfig:{duration:300,type:A,onHideStart:c.bind(function(C){if(m){m(C)}this.player.hide()},this),onHideComplete:c.bind(function(){this.overlay.hide();if(v){v()}},this),onShowStart:c.bind(function(C){if(p){p(C)}},this),onShowComplete:c.bind(function(){if(B){B()}},this),customShow:w,customHide:x},hideFunc:c.bind(function(){this.hide()},this),show5minLink:t.show5minLink,show5minText:t.show5minText,adIdPrefix:n,instanceNumber:r});this.overlay=new b();this.overlay.init({opacity:t.overlayOpacity,bgColor:t.overlayColor,animConfig:{duration:300,onShowComplete:function(){c.restoreDocument()}},onClickFunc:c.bind(function(){this.hide()},this)});this.player=new f();this.player.init({adIdPrefix:n,instanceNumber:r,relatedMode:q,getPlaylistUrl:"javascript("+y+".getPlaylistUrl)",onRelatedVideoChanged:y+".onRelatedVideoChanged",extraPlayerParams:z});this.box.appendToLeftContent(this.player.getElement());this.sharing=new i();this.sharing.init();this.box.appendToRightContent(this.sharing.getElement());c.addEvent(c.document,"keydown",c.bind(function(C){this.hideOnEsc(C)},this));c.addEvent(c.document,"keydown",c.bind(function(C){this.hideOnEsc(C)},this));c.restoreDocument();this.onRelatedVideoChanged=function(C){s.setTitle(C.title||C.Title);s.updateSharingLinks(C.title||C.Title,C.pageUrl||C.PageUrl)}},clear:function(){this.box.clear();delete this.box;this.overlay.clear();delete this.overlay},setTitle:function(m){this.box.setTitle(m)},updateSharingLinks:function(n,m){this.sharing.update({title:n,pageURL:m})},showBottomAd:function(){this.box.showBottomAd()},show:function(n){c.setDocument(c.getTopMostWindow().document);var m=this;this.overlay.show({onShowComplete:c.bind(function(){this.box.show({title:n.title,onShowComplete:function(){m.player.update(n.playerType,n.playerParam,n.VideoObj);m.player.show();m.sharing.update({title:n.title,referrerURL:n.ReferrerURL,pageURL:n.PageURL})}})},this)})},hideOnEsc:function(m){var n=(window.event)?window.event.keyCode:m.keyCode;if(n==27){this.hide()}},hide:function(){this.box.hide()},getPlaylistUrl:function(){return this.data.getPlaylistUrl}});function e(){var o,r,n,q,p,s,m=false;return{clear:function(){if(this.element){this.element.parentNode.removeChild(this.element);delete this.element}if(this.iframe){this.iframe.parentNode.removeChild(this.iframe);delete this.iframe}if(this.boxShadow&&this.boxShadow.getElement()){this.boxShadow.getElement().parentNode.removeChild(this.boxShadow.getElement());delete this.boxShadow}},init:function(u){r=u.animConfig;if(r.type==2||r.type==3){this.boxShadow.init()}var x=c.docSize(c.getTopMostWindow().document);o=c.create("div",{id:h+"wrapper",className:h+"wrapper "+h+"lbwrapper",parent:c.getTopMostWindow().document.body});this.element=o;this.iframe=c.create("iframe",{parent:c.getTopMostWindow().document.body,id:h+"iframe",name:h+"iframe",src:"javascript:void(0);",frameborder:0,scrolling:"no",styles:{position:"fixed",top:"-20px",left:"-20px",filter:"progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)",opacity:0,width:"100%",height:x.height+"px",zIndex:1,visibility:"",display:"none"}});c.create("div",{className:k+"top",parent:o});q=c.create("div",{className:k+"cn",parent:o});var v=c.create("div",{className:k+"title-wrapper",parent:q});n=c.create("div",{className:h+"title",parent:v});c.create("div",{className:h+"close",innerHTML:"X",parent:v,events:{click:u.hideFunc}});if(u.show5minLink){var w=c.create("a",{className:h+"by-5min-link",innerHTML:"by 5min",parent:v});w.setAttribute("href","http://www.5min.com");w.setAttribute("target","http://www.5min.com")}else{if(u.show5minText){c.create("span",{className:h+"by-5min-text",innerHTML:"by 5min",parent:v})}}var t=c.create("div",{className:h+"body clearfix",parent:q});p=c.create("div",{className:h+"left-cn",parent:t});s=c.create("div",{className:h+"right-cn",parent:t});c.create("div",{id:u.adIdPrefix+"side-top",className:h+"ad-side-top",parent:s});c.create("div",{id:u.adIdPrefix+"side-bottom",className:h+"ad-side-bottom",parent:s});this.bottom_ad_wrapper=c.create("div",{className:h+"ad-bottom",parent:o});c.create("div",{className:h+"ad-bottom-up",parent:this.bottom_ad_wrapper});c.create("div",{id:u.adIdPrefix+"bottom",className:h+"ad-bottom-down",parent:this.bottom_ad_wrapper});c.create("div",{className:k+"bottom",parent:o})},show:function(t){c.css(this.iframe,{display:""});c.css(this.element,{top:this._getTopPos()+"px"});this.setTitle(t.title);if(r.onShowStart){r.onShowStart(this)}if(r.customShow){r.customShow(this,c.bind(function(){if(r.onShowComplete){r.onShowComplete()}if(t.onShowComplete){t.onShowComplete();m=true}},this))}else{var u=this.boxShadow.getElement();switch(r.type){case 1:c.css(this.element,{opacity:0,display:"block"});new c.fx(this.element,{duration:r.duration,onComplete:function(){if(r.onShowComplete){r.onShowComplete()}if(t.onShowComplete){t.onShowComplete();m=true}}}).start({opacity:1});break;case 2:c.css(u,{width:0,height:0,marginLeft:0,top:this._getTopPos()+360,display:"block",opacity:0});new c.fx(u,{duration:200,onComplete:function(){c.css(u,{display:"none"});c.css(o,{display:"block"});if(r.onShowComplete){r.onShowComplete()}if(t.onShowComplete){t.onShowComplete();m=true}}}).start({width:813,height:630,marginLeft:-406,top:this._getTopPos()+7,opacity:0.7});break;case 3:c.css(u,{width:740,height:560,marginLeft:-370,top:this._getTopPos()+35,display:"block",opacity:0});new c.fx(u,{duration:400,onComplete:function(){c.css(u,{display:"none"});c.css(o,{display:"block"});if(r.onShowComplete){r.onShowComplete()}if(t.onShowComplete){t.onShowComplete();m=true}}}).start({width:813,height:630,marginLeft:-406,top:this._getTopPos()+7,opacity:0.85});break;case 0:default:c.css(this.element,{display:"block"});if(r.onShowComplete){r.onShowComplete()}if(t.onShowComplete){t.onShowComplete();m=true}}}},hide:function(){if(!m){return}c.css(this.iframe,{display:"none"});if(r.onHideStart){r.onHideStart(this)}if(r.customHide){r.customHide(this,r.onHideComplete)}else{var t=this.boxShadow.getElement();switch(r.type){case 1:new c.fx(this.element,{onComplete:c.bind(function(){c.css(this.element,{display:"none"});if(r.onHideComplete){r.onHideComplete()}},this),duration:r.duration}).start({opacity:0});break;case 2:c.css(this.element,{display:"none"});c.css(t,{display:"block",top:this._getTopPos()+7});new c.fx(t,{duration:200,onComplete:function(){if(r.onHideComplete){r.onHideComplete()}}}).start({width:0,height:0,marginLeft:0,top:this._getTopPos()+360,opacity:0});break;case 3:c.css(t,{width:813,height:630,marginLeft:-406,top:this._getTopPos()+7,opacity:0.85,display:"block"});c.css(this.element,{display:"none"});new c.fx(t,{duration:400,onComplete:function(){if(r.onHideComplete){r.onHideComplete()}}}).start({width:740,height:560,marginLeft:-370,top:this._getTopPos()+35,opacity:0});break;case 0:default:c.css(this.element,{display:"none"});if(r.onHideComplete){r.onHideComplete()}}}m=false;c.css(this.bottom_ad_wrapper,{display:"none"})},setTitle:function(t){n.innerHTML=t},showBottomAd:function(){c.css(this.bottom_ad_wrapper,{display:"block"})},appendToRightContent:function(t){s.appendChild(t)},appendToLeftContent:function(t){p.appendChild(t)},getElement:function(){return o},_getTopPos:function(){var t=function(){if(typeof c.getTopMostWindow().pageYOffset!="undefined"){return c.getTopMostWindow().pageYOffset}else{var w=c.getTopMostWindow().document;var v=w.body;var u=w.documentElement;u=(u.clientHeight)?u:v;return u.scrollTop}}();t+=l;return t},boxShadow:function(){var t;return{init:function(){t=c.create("div",{id:h+"shadow",className:h+"shadow",parent:c.getTopMostWindow().document.body})},getElement:function(){return t}}}()}}function b(){var o,m;var n=function(){if(c.browser.ie&&c.browser.version<8){var p=c.docSize(c.getTopMostWindow().document);c.css(this.element,{height:p.height+"px",width:p.width+"px"})}};return{clear:function(){this.element.parentNode.removeChild(this.element);delete this.element;delete this.opacity;delete this.animConfig},init:function(p){m=p.animConfig;o=p.opacity;this.element=c.create("div",{id:k+"overlay",className:k+"overlay",parent:c.getTopMostWindow().document.body,styles:{backgroundColor:p.bgColor}});c.addEvent(this.element,"click",p.onClickFunc)},show:function(p){c.bind(n,this)();c.css(this.element,{opacity:0,display:"block"});new c.fx(this.element,{onComplete:c.bind(function(){if(m.onShowComplete){m.onShowComplete()}if(p.onShowComplete){p.onShowComplete()}},this),duration:m.duration}).start({opacity:o})},hide:function(){new c.fx(this.element,{onComplete:c.bind(function(){c.css(this.element,{display:"none"})},this),duration:m.duration}).start({opacity:0})}}}function f(){var q,t,v,p=3,r=["side-top","side-bottom","bottom"],w,o,s,n;function u(){var x;var y=navigator.userAgent.match("iPad")?1:false;if(x=/CPU OS (.*) like Mac OS X/.exec(navigator.userAgent)){y=parseInt(x[1].replace("_",""),10)/100;if(y<1){y*=10}}return y}function m(){var x;var y=navigator.userAgent.match("iPod")||navigator.userAgent.match("iPhone")?1:false;if(x=/iPhone OS (.*) like Mac OS X/.exec(navigator.userAgent)){y=parseInt(x[1].replace("_",""),10)/100;if(y<1){y*=10}}return y}return{init:function(x){q=c.create("div",{className:h+"player-container"});t=x.adIdPrefix;v=x.instanceNumber;if(x.relatedMode){p=x.relatedMode}if(x.extraPlayerParams){o=x.extraPlayerParams}w=x.getPlaylistUrl;s=x.onRelatedVideoChanged},update:function(x,A,y){switch(x){case"embed":n="FiveminPlayer_lb_"+v+"_"+Math.random();if(FIVEMIN.swfobject.hasFlashPlayerVersion("9.0.115")){q.innerHTML=this.getHtml(n,A)}else{this.injectHTML5Player(q,A,y)}break;case"playerseed":q.innerHTML="";A+="&"+c.toQueryString(this._getFlashAdParams());if(s){A+="&onRelatedVideoChanged="+s}var z=document.createElement("script");z.setAttribute("type","text/javascript");z.setAttribute("src",A);q.appendChild(z);break}},show:function(){c.css(q,{display:"block"})},hide:function(){try{document.getElementById(n).userAccessOperation("Pause")}catch(x){}c.css(q,{display:"none"});q.innerHTML="";this.hideAds()},getPlayerUrl:function(B){B=B.replace(/cbHtmlID=.*?(?:&|$)/i,"");B+="&relatedMode="+p;B+="&isRelatedThumbsWide=true";B+="&relatedBottomHeight=58";B+="&thumbsEngine=true";if(g!=null&&g!=true){B+="&isFreeWheel="+g}B+="&bwLogger="+FIVEMIN.BaseConfig.Logger.LogLevel;var A=c.toQueryString(this._getFlashAdParams());B+="&"+A;if(o){B+="&"+c.toQueryString(o)}if(w){B+="&playlistUrl="+w}if(s){B+="&relatedOnVideoChanged="+s}var z=B.split("?");var x=z[0];var y=z[1];return{file:x,query:y}},getHtml:function(A,z){var x;var y=this.getPlayerUrl(z);if(c.browser.name=="ie"){x='<object id="'+A+'" width="'+d+'" height="'+a+' "classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"><param name="allowfullscreen" value="true"><param name="allowScriptAccess" value="always"><param name="movie" value="'+y.file+'"><param name="flashvars" value="'+y.query+'"><param name="wmode" value="opaque"></object>'}else{x='<embed name="'+A+'" id="'+A+'" src="'+y.file+'" flashvars="'+y.query+'" type="application/x-shockwave-flash" width="'+d+'" height="'+a+'" allowfullscreen="true" allowScriptAccess="always" wmode="opaque"></embed>'}return x},injectHTML5Player:function(H,L,C){if(H==null||C==null){return}this.videoId=C.ID;this.sid=/&sid=([^&]*)&/.exec(C.EmbededURL)[1];var D=/&videoUrl=([^&]*)&/.exec(C.EmbededURL);if(D!=null&&D.length>1){D=decodeURIComponent(D[1]);var x=/&defaultRendition=([^&]*)&/.exec(C.EmbededURL);var J=/&activeRenditions=([^&]*)&/.exec(C.EmbededURL);if(x!=null&&x.length>1){x=x[1];if(m()&&m()<4){x=1}}var F=document.createElement("video");F.setAttribute("width",d);F.setAttribute("height",a);F.controls=true;F.preload=true;c.addEvent(F,"ended",c.bind(this.html5VideoEnded,this));c.addEvent(F,"timeupdate",c.bind(this.html5VideoUpdate,this));c.addEvent(F,"error",c.bind(this.html5VideoError,this));c.addEvent(F,"seeked",c.bind(this.html5VideoSeeking,this));c.addEvent(F,"play",c.bind(this.html5VideoPlay,this));if(navigator.userAgent.toLowerCase().search("android")>-1){c.addEvent(F,"click",function(){try{F.play()}catch(M){}})}this.firedVideoUpdate=0;this.currentFiredVideoUpdate=-1;this.watchTime=0;this.currentWatchTime=-1;this.videoViewPointReport=0;H.appendChild(F);var z=/&previewPic=([^&]*)&/.exec(C.EmbededURL);if(z!=null&&z.length>1){F.setAttribute("poster",unescape(z[1]))}var A=C.Renditions;var E;for(var K=0;K<A.length;K++){E=document.createElement("source");var B=D.substring(0,10)+D.substring(10).replace("//","/"+A[K].ID+"/");B=B.substr(0,B.lastIndexOf("."))+"."+A[K].RenditionType;E.setAttribute("src",B);F.appendChild(E)}D=D.substring(0,10)+D.substring(10).replace("//","/"+x+"/");var I=document.createElement("p");I.innerHTML='HTML5 Video not supported by this browser. Please update or <a href="http://www.adobe.com/go/getflash/" target="_new">install Flash</a>.';F.appendChild(I);this.html5Video=F;this.html5VideoStartedCalled=false;if(m()&&m()<4||u()&&u()<4){F.src=D;F.load()}else{if(this.autoStart==1){F.load()}}}else{var G=/&messageError=([^&]*)&/.exec(C.EmbededURL);if(G!=null&&G.length>1){switch(G[1]){case"ErrorVideoNotExist":G="Sorry, but this video does not exist.";break;case"ErrorVideoNoLongerAvailable":G="Sorry, but this video is no longer available.";break;case"ErrorVideoRejected":G="Sorry, but this video is no longer available.";break;case"ErrorVideoUserNotGeo":G="Sorry, but this video cannot be viewed in your location.";break;case"ErrorVideoLibraryRestriction":G="Sorry, but this video is restricted from this library.";break;case"ErrorExposurePermission":G="Sorry, but this video is currently unavailable for viewing at this domain.";break;default:G="Sorry, but an error has occurred downloading the video. Please refresh and try again.";break}}else{G="Sorry, but an error has occurred downloading the video. Please refresh and try again."}var y=document.createElement("div");y.innerHTML=G;y.setAttribute("class","fiveminError");c.css(y,{width:(d-20)+"px",height:(a-20)+"px",background:"#000000",color:"White",padding:"20px"});H.appendChild(y)}},html5VideoPlay:function(){if(this.html5VideoStartedCalled==false){this.html5VideoStartedCalled=true;this.html5VideoStarted()}},html5VideoError:function(){},html5VideoStarted:function(){var z="http://embed.5min.com/handlers/Smart3Handler.ashx?func=VideoStarted&exposureType=PlayerSeed&sid="+this.sid+"&isEmbed=true&videoID="+this.videoId+"&referrerUrl="+escape(location.toString());var y={requestURL:z,jscbRequest:this.html5VideoStartedCallback,instanceNumber:this.counter,bind:this,priority:1};try{FIVEMIN.RequestManager.addRequest(y)}catch(x){if(debug){alert(x)}}},html5VideoStartedCallback:function(x,y){if(x==1&&y!=null&&y.isSuccess==true){this.viewID=y.viewID}},html5VideoEnded:function(){if(this.viewID==null||this.firedVideoUpdate==100){return}var x="http://embed.5min.com/handlers/Smart3Handler.ashx?func=VideoReachedReport&userID=0&viewID="+this.viewID+"&percentage=100&videoID="+this.videoId;FIVEMIN.RequestManager.addRequest({requestURL:x});this.firedVideoUpdate=100;this.html5VideoSeeking()},html5VideoSeeking:function(){this.currentWatchTime=-1;this.currentFiredVideoUpdate=-1},html5VideoUpdate:function(){var y=this.html5Video.currentTime;var x=Math.floor(y/this.html5Video.duration*100);if(y<this.currentWatchTime){this.html5VideoSeeking()}if(this.currentWatchTime>-1){this.watchTime+=y-this.currentWatchTime}this.currentWatchTime=y;if(this.viewID==null){return}if(this.currentFiredVideoUpdate<x&&x%25==0){this.currentFiredVideoUpdate=x;this.logAddVideoView(x)}if(this.firedVideoUpdate>=75||this.html5Video.currentTime==0){return}if(this.firedVideoUpdate<75&&x>=75){this.fireVideoReachedReport(75);this.firedVideoUpdate=75}else{if(this.firedVideoUpdate<50&&x>=50){this.fireVideoReachedReport(50);this.firedVideoUpdate=50}else{if(this.firedVideoUpdate<25&&x>=25){this.fireVideoReachedReport(25);this.firedVideoUpdate=25}}}},fireVideoReachedReport:function(y){var z="http://embed.5min.com/handlers/Smart3Handler.ashx?func=VideoReachedReport&userID=0&viewID="+this.viewID+"&percentage="+y+"&videoID="+this.videoId;var x=this;c.waitUntil(function(){return x.html5VideoStartedCalled},function(){FIVEMIN.RequestManager.addRequest({requestURL:z})})},_getFlashAdParams:function(){var x={cbHtmlID:this._getAdElementId(r[0]),cbWidth:300,cbHeight:250,cbHtmlID1:this._getAdElementId(r[1]),cbWidth1:300,cbHeight1:60,cbHtmlID2:this._getAdElementId(r[2]),cbWidth2:728,cbHeight2:90};c.extend(x,{cbIsFairBalance1:true});return x},_getAdElementId:function(x){return t+x},hideAds:function(){for(var x=0;x<r.length;x++){var y=document.getElementById(this._getAdElementId(r[x]));if(y){y.innerHTML=""}}},getElement:function(){return q}}}function i(){var m,n=[{type:"facebook",text:"Facebook"},{type:"myspace",text:"Myspace"},{type:"digg",text:"Digg"},{type:"stumbleupon",text:"Stumbleupon"},{type:"reddit",text:"Reddit"},{type:"wordpress",text:"WordPress"}],p=[],o="http://www.addthis.com/bookmark.php?v=250&source=tbx-250&t=0&lng=he";return{init:function(){m=c.create("div",{className:k+"sharing"});c.create("div",{className:k+"sharing-title",innerHTML:"Share this video",parent:m});c.create("div",{className:k+"sharing-hr",parent:m});var q=c.create("div",{className:k+"sharing-list clearfix",parent:m});for(var r=0;r<n.length;r++){var s=c.create("a",{className:"btn_share_"+n[r].type,innerHTML:"<em class='"+k+"sharing-icon'></em><span class='"+k+"sharing-text'>"+n[r].text+"</span>",parent:q});s.setAttribute("href","javascript:void(0);");p.push(s)}},update:function(q){var r=q.referrerURL||q.pageURL;for(var s=0;s<p.length;s++){if(n[s]){p[s].href=this.getURL(n[s].type,r,q.title);p[s].setAttribute("target","_blank")}}},getURL:function(s,r,q){if(q==null){q="Video"}q=q.replace("'","&#39;");var t=o;t+="&s="+s;t+="&url="+r;t+="&title="+q;return t},getElement:function(){return m}}}return j}()};


/* ~/Scripts/Thumbseed2.js */

if(typeof(FIVEMIN.ThumbSeed)=="undefined"){FIVEMIN.ThumbSeed=function(){var q=FIVEMIN.LIB;var p=Math.random().toString().substr(2,8);var c=/http:\/\/(\w?)shared\.5min\.com\/scripts\/thumbseed2?\.js\?/i;var g="fmts-";var a=B("fmts-headercolor","#666666"),v=B("fmts-bgcolor","#ffffff"),h=B("fmts-bgcolor","#000000"),l=B("fmts-textlocation","0"),m=B("fmts-ht","1");var A="fmtsw";var z="fmtsw";var w,s=true;var u="http://syn.5min.com/",e="http://pshared.5min.com/",r="http://pshared.5min.com/Graphics/Thumbseed/";var o=false;switch(B("fmts-test")){case"netcraft":u="http://syn.5min.com/";e="http://localhost/Thumbseed/";r="http://localhost/Thumbseed/Graphics/Thumbseed/";c=/\/scripts\/thumbseed2?\.js\?/i;o=true;break;case"localhost":u="http://localhost/syn/";e="http://localhost/Shared/";c=/\/scripts\/thumbseed2?\.js\?/i;o=true;break;case"5minlocal":u="http://syn.5min.com/";e="http://shared.5min.com/";c=/\/scripts\/thumbseed2?\.js\?/i;o=true;break}function k(){return q.getElement("head")||q.document.body||q.document.documentElement}var n=function(){var C,E=false;function D(){if(q.browser.name=="ie"){C=document.createStyleSheet()}else{C=document.createElement("style");C.type="text/css";k().appendChild(C)}E=true}return{addRule:function(I,F){if(E==false){D()}if(q.browser.name=="ie"){if(I.indexOf(",")>-1){var H=I.split(",");for(var G=0;G<H.length;G++){C.addRule(H[G],F)}}else{C.addRule(I,F)}}else{var J=I+"{"+F+"}";C.appendChild(document.createTextNode(J))}},clear:function(){C.innerHTML=""}}}();function b(C,D){this.wrapper=(typeof C=="string")?q.getById(C):C;this.initiatorScriptTag=D;this.instanceNumber=b._instances.length;b._instances.push(this)}var j=false,f=false,y=[];q.extend(b,{_instances:[],getTopMostWindow:function(){var F=window;while(F){try{var D=F.parent;var E=D.document;if(!E){break}F=D;if(D==D.parent){break}}catch(C){break}}b.getTopMostWindow=function(){return F};return F},addCssFile:function(C){if(j){C();return}y.push(C);if(!f){f=true;q.jsonp(e+"Scripts/ThumbSeed2.Style.js",null,{preventCache:false})}return},putThumbSeedCss:function(D,C){var E=[D];if(!this.customCss){E.push(C)}this.putCss(E.join(" "))},putCss:function(D){this.putCssOnDocument(q.document,D);var C=b.getTopMostWindow();if(C!=window){this.putCssOnDocument(b.getTopMostWindow().document,D)}j=true;if(o){q.log("_cssAdded=true "+q.timer.getStatus())}setTimeout(function(){q.each(y,function(E){E()})},50)},putCssOnDocument:function(E,F){q.setDocument(E);if(o){q.log("putCssOnDocument "+q.timer.getStatus())}if(q.browser.name=="ie"){var D=q.create("div",{innerHTML:'<span>DumbIE</span><style type="text/css">'+F+"</style>"});var C=k(E);C.appendChild(D.lastChild)}else{q.create("style",{type:"text/css",parent:k(),textContent:F})}q.restoreDocument()}});q.extend(b.prototype,{load:function(){var D=this;if(o){q.log("ThumbSeed#load",this)}this.setStyleProperties();this.innerWrapper=q.create("div",{className:g+"wrapper clearfix",id:g+"wrapper-"+this.instanceNumber});q.addCls(this.innerWrapper,g+q.browser.name);if(document.compatMode=="BackCompat"){q.addCls(this.innerWrapper,g+"quirksmode")}if(o){q.log("created innerWrapper",this.innerWrapper)}var C=function(){D.wrapper.appendChild(D.innerWrapper);D._drawn=false;if(D.fallback){D.showLoadIndicator()}D.requestData();if(b.loadedMainStyle==true){j=true;if(o){q.log("###loadedMainStyle = true")}}else{if(o){q.log("###loadedMainStyle = false")}b.addCssFile(q.bind(function(){D.showContent()},D))}};if(q.browser.name=="ie"){if(this.initiatorScriptTag!=null&&q.isDecendant(this.initiatorScriptTag,this.wrapper)){if(o){q.log("Script tag is within the wrapper . Continuing after dom ready.")}q.addDomReady(C)}else{q.log("Script tag is not the wrapper.");C()}}else{C()}},requestData:function(){if(!this.url){this.url=location.href;var F=b.getTopMostWindow();this.url=F.location.href}var D={requestURL:u+"handlers/SenseHandler.ashx?func=GetResults&thumbSeedCounter="+this.instanceNumber+"&sid="+this.sid+this.getParamsForHandler()+"&url="+encodeURIComponent(this.url)+"&isnewts=true",jscbRequest:this.onHandlerResponse,instanceNumber:this.instanceNumber,parentEls:[this.wrapper],bind:this};if((this.sid.toString()=="954"||this.sid.toString()=="670")&&this.url.indexOf("?")>0){D.requestURL=u+"handlers/SenseHandler.ashx?func=GetResults&thumbSeedCounter="+this.instanceNumber+"&sid="+this.sid+this.getParamsForHandler()+"&url="+encodeURIComponent(this.url.substring(0,this.url.indexOf("?")))+"&isnewts=true"}if(location.href.indexOf("life123.com")!==-1){var E=document.getElementById("fivemin");D.parentEls.push(E)}try{FIVEMIN.ResultsManager.sendRequest(D);this.logAddRequest()}catch(C){if(o){alert(C)}}if(o){q.log("requesting data")}},onHandlerResponse:function(D,E){if(E){this.serverData=this._normalizeServerData(E)}this.logAddResult(D,E);if(o){q.log("received data","success="+D)}if(D!=1||E.success==false){this.hideLoadIndicator();return}if(o){q.log("data=",E)}if(E&&E.binding){this.videos=E.binding;this.draw();if(s&&typeof this.directURL=="undefined"&&typeof w=="undefined"){if(q.browser.name=="ie"){if(o){q.log("adding lightbox creation to dom ready")}var C=this;q.addDomReady(function(){C.createLightBox()});s=false}else{this.createLightBox()}}}},createLightBox:function(){if(o){q.log("creating lightbox")}var C={playerWidth:625,playerHeight:440,isFreewheel:this.isFreeWheel};var E=this;var D={lightboxAnim:this.serverData.lightboxAnim,overlayOpacity:this.serverData.overlayOpacity||"0.7",overlayColor:this.serverData.overlayColor||"#222",show5minLink:this.serverData.by5minLink,show5minText:this.serverData.by5minText,relatedMode:2,getPlaylistUrl:this.getPlayListURL(),extraPlayerParams:{jsLogData:"ThumbSeed._instances["+this.instanceNumber+"].logFlashData"},logAddVideoView:function(F){E.logAddVideoView(F)}};if(this.serverData.vcdLogoUrl!=""){D.extraPlayerParams.vcdLogoUrl=this.serverData.vcdLogoUrl}if(this.serverData.vcdLogoClickUrl!=""){D.extraPlayerParams.vcdLogoClickUrl=this.serverData.vcdLogoClickUrl}if(o){q.log("lightbox create")}w=new FIVEMIN.VideoLightbox(C);w.init(D,this.instanceNumber);if(o){q.log("lightbox created")}},logAddVideoView:function(D){var C=this.logFlashData();C.sessView=0;C.vvpr=this.videoViewPointReport;C.tss=Math.floor(this.watchTime);C.tsp=D;if(this.html5debug==true){var E=document.createElement("p");E.innerHTML="http://l.5min.com/TSVV?"+q.toQueryString(C);document.getElementById(this.divLayer).appendChild(E)}FIVEMIN.Logger.Log("ThumbSeed",C,"AddVideoView");this.videoViewPointReport++},onRelatedVideoChanged:function(C){if(typeof w!="undefined"){w.setTitle(C.title);w.updateSharingLinks(C.title,C.pageUrl)}},showBottomAd:function(){if(typeof w!="undefined"){w.showBottomAd()}},getPlayListURL:function(){var C=[];var E=function(H){var G=parseInt(H.split(":")[0],10);var I=parseInt(H.split(":")[1],10);var J=G*60+I;return J};var F=function(G){var H={};for(key in G){H[key]=G[key]}return H};for(var D=0;D<this.videos.length;D++){C.push(F(this.videos[D]));C[D].Duration=E(C[D].Duration);C[D].Image=this.createCustomThumbnail(C[D].ThumbURL,148,111)}return C},createCustomThumbnail:function(C,D,E){var F="_"+D;if(E!="undefined"){F+="_"+E}F+=".jpg";return C.replace(/(\.jpg)/i,F)},setStyleProperties:function(){if(this.layout){this.convertLayout();this.convertColors()}if(this.serverData!=null){switch(this.thumbnailSize.toString()){case"0":this.playButtonImg=this.playButtonImg?this.playButtonImg:this.serverData.playButtonImg;this.playButtonImg_MO=this.playButtonImg_MO?this.playButtonImg_MO:this.serverData.playButtonImg_MO;break;case"1":case"2":this.playButtonImg=this.SmallPlayButton?this.SmallPlayButton:this.serverData.SmallPlayButton;this.playButtonImg_MO=this.SmallPlayButtonMouseOver?this.SmallPlayButtonMouseOver:this.serverData.SmallPlayButtonMouseOver;break}var D=new Image();D.src=this.playButtonImg;var C=new Image();C.src=this.playButtonImg_MO;if(this.headerTextColor==null&&this.serverData.headerTitleColor){this.headerTextColor=this.serverData.headerTitleColor}if(this.headerBorderColor==null&&this.serverData.headerBorderColor){this.headerBorderColor=this.serverData.headerBorderColor}if(this.headerTitleFont==null&&this.serverData.headerTitleFont){this.headerTitleFont=this.serverData.headerTitleFont}if(this.textFGColor==null&&this.serverData.textFGColor){this.textFGColor=this.serverData.textFGColor}if(this.textFGColor_MO==null&&this.serverData.textFGColor_MO){this.textFGColor_MO=this.serverData.textFGColor_MO}if(this.textBGColor==null&&this.serverData.textBGColor){this.textBGColor=this.serverData.textBGColor}if(this.textBGColor_MO==null&&this.serverData.textBGColor_MO){this.textBGColor_MO=this.serverData.textBGColor_MO}if(this.thumbnailTitleFont==null&&this.serverData.thumbnailTitleFont){this.thumbnailTitleFont=this.serverData.thumbnailTitleFont}this.headerTextColor=this.headerTextColor?this.headerTextColor.toLowerCase():a;this.headerBorderColor=this.headerBorderColor?this.headerBorderColor.toLowerCase():this.headerTextColor;this.textFGColor=this.textFGColor?this.textFGColor.toLowerCase():v;this.textFGColor_MO=this.textFGColor_MO?this.textFGColor_MO.toLowerCase():v;this.textBGColor=this.textBGColor?this.textBGColor.toLowerCase():h;this.textBGColor_MO=this.textBGColor_MO?this.textBGColor_MO.toLowerCase():h;this.headerTextColor=this.convertToHex(this.headerTextColor);this.headerBorderColor=this.convertToHex(this.headerBorderColor);this.textFGColor=this.convertToHex(this.textFGColor);this.textFGColor_MO=this.convertToHex(this.textFGColor_MO);this.textBGColor=this.convertToHex(this.textBGColor);this.textBGColor_MO=this.convertToHex(this.textBGColor_MO);this.textLocation=this.textLocation?this.textLocation:l}},convertLayout:function(){this.layout=this.layout.toLowerCase();var C=this.layout.split("x");this.width=C[0];this.height=C[1];this.thumbnailSize=2;if(this.layout=="300x250"||this.layout=="250x250"||this.layout=="728x90"||this.layout=="590x96"||this.layout=="575x100"||this.layout=="468x60"||this.layout=="205x335"){this.textLocation=0}else{this.textLocation=1}if(this.layout=="300x250"||this.layout=="250x250"||this.layout=="700x180"||this.layout=="468x200"||this.layout=="160x600"||this.layout=="500x175"||this.layout=="425x400"||this.layout=="120x120"){this.thumbnailSize=1}else{if(this.layout=="468x544"){this.thumbnailSize=0}else{this.thumbnailSize=2}}this.BW_layout=this.layout;this.layout=null},convertColors:function(){if(this.backgroundColor){this.backgroundColor=this.backgroundColor.toLowerCase()}else{if(this.backGroundColor){this.backgroundColor=this.backGroundColor.toLowerCase()}else{this.backgroundColor="white"}}if(this.headerColor){this.headerColor=this.headerColor.toLowerCase()}if(this.backgroundColor==="black"){this.headerTextColor=(!this.headerColor||this.headerColor==="black")?"#656565":this.headerColor;this.textFGColor="#ffffff";this.textBGColor=(!this.headerColor)?"#000000":this.headerColor;this.textFGColor_MO="#ffffff";this.textBGColor_MO=(!this.headerColor||this.headerColor==="black")?"#656565":"#000000"}else{if(this.backgroundColor==="grey"||this.backgroundColor==="gray"){this.headerTextColor=(!this.headerColor||this.headerColor==="black")?"#656565":this.headerColor;this.textFGColor=(!this.headerColor)?"#000000":this.headerColor;this.textBGColor="#ffffff";this.textFGColor_MO="#ffffff";this.textBGColor_MO=(!this.headerColor)?"#000000":this.headerColor}else{this.headerTextColor=(!this.headerColor||this.headerColor==="black"||this.headerColor==="white")?"#656565":this.headerColor;this.textFGColor=(!this.headerColor||this.headerColor==="white")?"#000000":this.headerColor;this.textBGColor="#ffffff";this.textFGColor_MO="#ffffff";this.textBGColor_MO=(!this.headerColor||this.headerColor==="white")?"#000000":this.headerColor}}},convertToHex:function(C){C=C.toLowerCase();switch(C){case"blue":C="#006699";break;case"grey":C="#656565";break;case"green":C="#2e7720";break;case"orange":C="#ff6600";break;case"red":C="#cc0000";break;case"purple":C="#592e7b";break;case"light blue":C="#79b0cb";break}return C},convertEnum:function(E,D){var C=null;switch(D){case"ht":switch(E){case 0:case"0":C="_self";break;case 1:case"1":C="_blank";break}break}return C},showContent:function(){if(o){q.log("showContent "+q.timer.getStatus());q.log("_cssAdded="+j+" drawn="+this._drawn)}if(j&&this._drawn){this.hideLoadIndicator()}},showLoadIndicator:function(){q.css(this.innerWrapper,{width:this.width+"px",height:this.height+"px",background:"url("+r+"preloader_big.gif) no-repeat center"});if(this.container){q.css(this.container,{visibility:"hidden"})}if(this.ad){q.css(this.ad,{visibility:"hidden"})}q.css(this.wrapper,{display:"block"})},hideLoadIndicator:function(){q.css(this.innerWrapper,{width:"",height:"",background:""});if(this.container){q.css(this.container,{visibility:"visible"})}if(this.ad){q.css(this.ad,{visibility:"visible"})}},getParamsForHandler:function(){var D={};if(this.categories&&this.categories.length>0){D.categories=this.categories}if(this.playList&&this.playList.length>0){D.playlist=this.playList;if(this.shuffle==true){var C=D.playlist.split(",");C=q.randomizeArray(C);D.playlist=C.join(",")}}if(this.featured&&this.featured==true){D.featured=true}if(this.explicitTags){D.explicitTags=this.explicitTags}if(this.fallback){D.fallback=this.fallback}if(this.fallbackType){D.fallbackType=this.fallbackType}if(this.contentQuality&&this.contentQuality>0){D.ContentQuality=this.contentQuality}if(this.libraryID>0){D.libraryID=this.libraryID}if(this.textLocation){D.textLocation=this.textLocation}if(this.thumbnailSize){D.thumbnailSize=this.thumbnailSize}if(this.videoGroupID){D.videoGroupID=this.videoGroupID}if(this.testData){D.testData=this.testData}if(this.trackingText){D.trackingText=this.trackingText}this.setAdUnitLocation();if(this.adUnit){D.adUnit=this.adUnit;D.adUnitWidth=this.adUnitWidth;D.adUnitHeight=this.adUnitHeight;D.adUnitLocation=this.adUnitLocation}D.width=this.width;D.height=this.height;this.dimensionSettings=this._getLayoutSettings();if(this.dimensionSettings.numOfThumbs>0){D.NumOfThumbs=this.dimensionSettings.numOfThumbs}D.NumOfColumnsAsked=this.dimensionSettings.videoColCount;D.NumOfRowsAsked=this.dimensionSettings.videoRowCount;if(this.playButtonImg){D.playButtonImg=this.playButtonImg}var E="&"+q.toQueryString(D);return E},draw:function(){if(this._drawn||!this.videos){return}q.timer.start();this.setStyleProperties();if(o){q.log("draw started "+q.timer.getStatus())}q.css(this.wrapper,{display:"block"});if(this.wrapperToShow){this.wrapperToShowToDisplay=this.wrapperToShow.split(",");for(var E=0;E<this.wrapperToShowToDisplay.length;E++){q.css(q.getById(this.wrapperToShowToDisplay[E]),{display:"block"})}}this.container=q.create("div",{id:z,className:A+" "+g+"c",styles:{visibility:"hidden"}});var C=null;if(this.serverData.showHeaderFooter){C=this.drawHeader();this.setHeader(this.headerTextColor,this.headerTitleFont,this.headerBorderColor)}this.videoContainer=q.create("div",{parent:this.container,className:g+"vc"});this.videosList=q.create("ul",{parent:this.videoContainer,className:g+"vl clearfix"});this.innerWrapper.appendChild(this.container);q.addCls(this.container,g+"loading");var F=null;if(this.serverData.showHeaderFooter){F=this.draw5minElements();if(this.dimensionSettings.tsWidth>=300){C.appendChild(F);q.css(C,{paddingRight:"92px"})}else{var G=this.drawFooter();G.appendChild(F)}}this.drawAd();this.setTextLocation(this.textLocation);if(o){q.log("drawVideos "+q.timer.getStatus())}this.drawVideos(this.dimensionSettings);if(o){q.log("drawCarouselNav "+q.timer.getStatus())}if(this.serverData.showHeaderFooter&&this.dimensionSettings.carouselColCount>1){var D=this.drawCarouselNav(F);this.carousel=new i();this.carousel.init({videos:this.videoObjects,parent:this.videoContainer,listEl:this.videosList,listHeight:this.dimensionSettings.overallHeight,moveBy:this.dimensionSettings.carouselColWidth,itemCount:this.dimensionSettings.carouselColCount,videosInColCount:this.dimensionSettings.videosInColCount,numOfVideosLoaded:this.dimensionSettings.numOfVideosLoaded,previousButton:D.previousButton,nextButton:D.nextButton,duration:600})}else{q.css(this.videoContainer,{height:this.dimensionSettings.overallHeight+"px"})}this._drawn=true;this.showContent();if(o){q.log("draw complete"+q.timer.getStatus())}this.logAddVideoResults();this.logAddImpression()},redraw:function(C){q.extend(this,C);if(o){for(key in C){q.log("newParam["+key+"]="+C[key])}}this.setStyleProperties();this.showLoadIndicator();this.destroy();this.setAdUnitLocation();this.dimensionSettings=this._getLayoutSettings();this._drawn=false;this.draw()},destroy:function(){if(this.carousel){this.carousel.destroy();this.carousel=null}if(this.videoObjects){for(var C=0;C<this.videoObjects.length;C++){this.videoObjects[C].destroy();this.videoObjects[C]=null}}this.innerWrapper.innerHTML="";this.container=this.footer=this.header=this.fiveMinElements=this.titleElement=this.videoContainer=this.videoList=this.videoObjects=this.ad=null},_normalizeServerData:function(C){var D=C;D.showHeaderFooter=(typeof C.showHeaderFooter!="undefined")?C.showHeaderFooter:true;D.by5minLink=(typeof C.by5minLink!="undefined")?C.by5minLink:true;D.by5minText=(typeof C.by5minText!="undefined")?C.by5minText:true;D.overlayOpacity=(C.lightBoxOpac)?C.lightBoxOpac:0.7;D.overlayColor=(C.lightBoxBGColor)?C.lightBoxBGColor:"black";if(typeof this.displayHeader!="undefined"){D.showHeaderFooter=this.displayHeader}return D},_getLayoutSettings:function(){var D={},C=5,H=11,G=21;D.initialVideoSize=this._getItemRelevantSize();D.isTextVertical=(this.textLocation==1);D.numOfThumbs=(this.videoCount)?this.videoCount:-1;D.tsWidth=this._getTSWidth(this.width,this.BW_layout,D.numOfThumbs);q.extend(D,this._getAdditionalLayoutSettings(D.initialVideoSize,D.tsWidth,C,D.isTextVertical,D.numOfThumbs));var F=this._getActualContainerHeight(D.tsWidth,G);D.videoRowCount=this._getVideoRowCount(D.initialVideoSize,F,H,D.isTextVertical);D.videosInColCount=D.videoRowCount*D.videoColCount;var E=this._getNumOfRows(D.videoColCount,D.numOfThumbs);D.overallHeight=this._getOverallHeight(D.initialVideoSize,D.videoRowCount,E,H,D.isTextVertical,E);return D},_getActualContainerHeight:function(E,C){var F=parseInt(this.height,10);var D=(E<300);if(D){F=F-C}return F},_getTSWidth:function(E,F,C){var D=parseInt(E,10);E=D;if(C>0&&typeof F!="undefined"){D=this._BW_resizeByItemCount(E);if(isNaN(D)){D=E}if(this.BW_layout=="728x90"||this.BW_layout=="590x96"||this.BW_layout=="575x100"||this.BW_layout=="468x60"){D+=60}if(this.BW_layout=="728x90"){D+=8}else{if(this.BW_layout=="590x96"){D+=5}else{if(this.BW_layout=="575x100"){D+=23}else{if(this.BW_layout=="500x175"){D+=-4}else{if(this.BW_layout=="205x335"){D=205}else{if(this.BW_layout=="120x120"){D=120}else{if(this.BW_layout=="300x250"||this.BW_layout=="250x250"){D=E}}}}}}}}return D},_getNumOfRows:function(E,C){if(C==-1){return C}var D=C/E;D=Math.ceil(D);return D},_getAdditionalLayoutSettings:function(I,K,C,H,E){var J={};var D;J.videoColCount=0;J.spaceWidth=C;var F=(H)?I.width:I.width+I.textWidth;do{J.videoColCount++;D=J.videoColCount*F+(J.videoColCount-1)*C;if(!(D<K)){J.videoColCount--}}while(D<K&&(J.videoColCount<E||E==-1));D=J.videoColCount*F+(J.videoColCount-1)*C;if(J.videoColCount>1){var G;if(H){G=(K-D)/(J.videoColCount-1);G=parseInt(G,10);J.spaceWidth=J.spaceWidth+G;J.addToLast=(K-D)%(J.videoColCount-1)}else{if(!H){G=(K-D)/(J.videoColCount);G=parseInt(G,10);J.textWidth=I.textWidth+G;J.addToLast=(K-D)%(J.videoColCount)}}J.carouselColWidth=K+J.spaceWidth}else{J.videoColCount=1;J.addToLast=0;if(K<F){if(!H){J.textWidth=I.textWidth}J.carouselColWidth=F+J.spaceWidth}else{if(!H){J.textWidth=K-I.width}J.carouselColWidth=K+J.spaceWidth}}return J},_getVideoRowCount:function(H,E,D,F){var G=0;do{G++;var C=(F)?H.height+H.textHeight:H.height;var I=D+(C+D)*G}while(I<E);if(G>1){G=G-1}return G},_getOverallHeight:function(H,D,G,E,F){G=(G>0&&G<D)?G:D;var C=G*(H.height+E);C=(F)?C+G*(H.textHeight):C;return C},_getItemRelevantSize:function(){var C={};switch(this.thumbnailSize){case 0:case"0":C.width=148;C.height=111;C.textWidth=152;C.textHeight=48;break;case 1:case"1":C.width=109;C.height=81;C.textWidth=91;C.textHeight=48;break;case 2:case"2":C.width=84;C.height=63;C.textWidth=89;C.textHeight=48;break}return C},_BW_getVideoCount:function(){var C=this._BW_getMaximumVideoCountForLayout();if(this.videos){if(this.videoCount&&this.videoCount>0){return Math.min(this.videoCount,this.videos.length,C)}return Math.min(this.videos.length,C)}var D=!this.videoCount||this.videoCount>C?C:this.videoCount;var E=this._BW_getPossibleVideoCountsForLayout();if(E&&q.indexOf(E,D)==-1){D=C}return D},_BW_getMaximumVideoCountForLayout:function(){var C;switch(this.BW_layout){case"160x600":case"700x180":C=5;break;case"728x90":case"205x335":case"500x175":C=4;break;case"590x96":case"575x100":C=3;break;case"468x60":case"250x250":case"300x250":C=2;break;case"120x120":C=1;break;case"425x400":C=9;break;default:C=5;break}return C},_BW_resizeByItemCount:function(G){var C=this._BW_getMaximumVideoCountForLayout(),H=this._BW_getVideoCount();var D=this._BW_getItemRelevantSize();if(o){q.log("_BW_getItemRelevantSize = ",D)}if(D){var E={};var F=parseInt(G,10);if(this.BW_layout=="425x400"){C=3;H=Math.ceil(H/3)}E[D.property]=F-(D[D.property]*(C-H));E[D.property]=D[D.property]*H;if(D.property=="height"){E.width=D.width}else{E.height=D.height}if(this.BW_layout=="425x400"){H=this._BW_getVideoCount();E.width*=(H>=3)?3:H%3}return E.width}return null},_BW_getItemRelevantSize:function(){var C={property:"width"};switch(this.BW_layout){case"300x250":C.property="height";C.height=96;C.width=298;break;case"250x250":C.property="height";C.height=96;C.width=248;break;case"160x600":C.property="height";C.height=110;C.width=160;break;case"728x90":C.width=165;C.height=62;break;case"700x180":C.width=140;C.height=125;break;case"205x335":C.property="height";C.height=77;C.width=198;break;case"590x96":C.width=175;C.height=66;break;case"500x175":C.width=126;C.height=119;break;case"575x100":C.width=164;C.height=69;break;case"468x60":C.width=204;C.height=44;break;case"425x400":C.property="height";C.height=126;C.width=143;break}return C},_BW_getPossibleVideoCountsForLayout:function(){function C(E,F){var H=[];for(var G=E;G<=F;G++){H.push(G)}return H}var D=null;switch(this.BW_layout){case"300x250":case"250x250":D=C(1,2);break;case"160x600":D=C(1,5);break;case"728x90":D=C(1,4);break;case"700x180":D=C(2,5);break;case"590x96":D=C(1,3);break;case"500x175":D=C(1,4);break;case"575x100":D=C(1,3);break;case"468x60":D=C(1,2);break;case"425x400":D=[3,6,9];break;case"205x335":D=C(1,4);break;case"120x120":D=[1];break}return D},drawHeader:function(){this.header=q.create("div",{className:g+"header"});this.container.appendChild(this.header);this.titleElement=q.create("h2",{parent:this.header});var C=this.title||this._getDefaultTitle();this.titleElement.innerHTML=q.trim(C);return this.header},draw5minElements:function(){this.fiveMinElements=q.create("div",{className:g+"5min-elements"});if(this.serverData.by5minLink){var C=q.create("a",{className:g+"by-5min-link",innerHTML:"By 5min"});C.setAttribute("title","www.5min.com");C.setAttribute("href","http://www.5min.com");C.setAttribute("target","_blank");q.css(C,{color:this.headerTextColor});this.fiveMinElements.appendChild(C)}else{if(this.serverData.by5minText){var D=q.create("span",{className:g+"by-5min-text",innerHTML:"By 5min"});q.css(D,{color:this.headerTextColor});this.fiveMinElements.appendChild(D)}}return this.fiveMinElements},drawVideos:function(I){if(o){q.log("drawVideos "+this.videos)}if(!this.videos){return}q.css(this.container,{visibility:"hidden",marginLeft:"-8000px",position:"absolute",top:0,left:0,width:I.tsWidth+"px",fontSize:"11px"});document.body.appendChild(this.container);I.carouselColCount=0;I.numOfVideosLoaded=0;this.videoObjects=[];var O=0;do{var L=q.create("li",{className:g+"video-col"});this.videosList.appendChild(L);I.carouselColCount++;var E=0;var H=q.create("ul");L.appendChild(H);for(var J=0;J<I.videoRowCount;J++){var N=q.create("li",{className:g+"video-row clearfix"});q.css(N,{width:I.carouselColWidth+"px"});H.appendChild(N);var C=q.create("ul");N.appendChild(C);for(var M=0;M<I.videoColCount;M++){if(O==this.videos.length||E==I.numOfThumbs){break}if(this.ad&&this.adUnitLocation==2&&!this.ad.wasInserted&&O==3&&J==0){var G=q.create("li");q.addCls(G,g+"vi");q.addCls(G,g+"last");C.appendChild(G);G.appendChild(this.ad);q.css(G,{"float":"right"});q.css(G.previousSibling,{marginRight:0});this.ad.wasInserted=true}else{var K=this.ht?this.ht:m;K=this.convertEnum(K,"ht");var F=new x();var D=F.init({showLightBoxFunc:this.showVideo,dimensionSettings:I,imageSource:this.createCustomThumbnail(this.videos[O].ThumbURL,148,111),imageDimensions:I.initialVideoSize,htTarget:K,title:this.videos[O].Title,directURL:this.getDirectURL(),PageURL:this.videos[O].PageURL,VideoObj:this.videos[O],EmbededURL:this.videos[O].EmbededURL,ReferrerURL:this.videos[O].ReferrerURL,text:this.videos[O].Title,playButtonImg:this.playButtonImg,playButtonImg_MO:this.playButtonImg_MO,playButtonLocation:this.playButtonLocation?this.playButtonLocation:this.serverData.playButtonLocation,videoSize:this._getItemRelevantSize(),textFGColor:this.textFGColor,textFGColor_MO:this.textFGColor_MO,textBGColor:this.textBGColor,textBGColor_MO:this.textBGColor_MO,textFont:this.thumbnailTitleFont,thumbnailSize:this.thumbnailSize,id:this.videos[O].ID,showClickButton:this.showClickButton?this.showClickButton:this.serverData.showClickToPlay});this.videoObjects.push(F);if(M==I.videoColCount-1){F.makeLast();if(this.textLocation==1){q.css(D,{marginLeft:I.addToLast+"px"})}else{q.css(D,{width:"auto"});q.css(D.textDiv,{paddingRight:I.addToLast+"px"})}}C.appendChild(D);F.ellipsisizeText(I);if(I.carouselColCount==1){F.load();I.numOfVideosLoaded++}O++;E++}}if(O==this.videos.length){break}}}while(O<this.videos.length);q.css(this.container,{visibility:"",marginLeft:"",position:"",top:"",left:""});q.prepend(this.innerWrapper,this.container);setTimeout(q.bind(function(){q.css(this.container,{zoom:1})},this),12);q.removeCls(this.container,g+"loading")},getDirectURL:function(){var C=undefined;if(this.directURL){C=this.directURL}else{if(this.directUrl){C=this.directUrl;this.directURL=this.directUrl}}return C},drawAd:function(){if(this.adUnit!=true&&this.adUnit!="true"){return false}if(this.serverData.adUnitURL==undefined){return false}this.ad=q.create("iframe",{className:g+"ad",styles:{visibility:"hidden"}});this.ad.setAttribute("frameborder",0);this.ad.setAttribute("scrolling","no");this.ad.src=this.serverData.adUnitURL;q.css(this.ad,{width:this.adUnitWidth+"px",height:this.adUnitHeight+"px"});if(this.adUnitLocation==0){q.addCls(this.innerWrapper,g+"side-addUnit")}if(this.adUnitLocation==2){this.ad.wasInserted=false}else{this.innerWrapper.appendChild(this.ad)}return null},setAdUnitLocation:function(){if(this.adUnitWidth==160){this.adUnitLocation=0}else{if(this.adUnitWidth==125){this.adUnitLocation=2}else{this.adUnitLocation=1}}},drawCarouselNav:function(F){var C=q.create("div",{className:g+"carousel-nav"});F.insertBefore(C,F.firstChild);if(q.browser.name=="webkit"){q.css(F,{width:"92px"})}var H=q.create("a",{className:g+"carousel-previous",parent:C,innerHTML:"&lsaquo;",styles:{color:this.headerTextColor}});var E=q.create("span",{parent:C,innerHTML:"...",styles:{color:this.headerTextColor}});var G=q.create("a",{className:g+"carousel-next",parent:C,innerHTML:"&rsaquo;",styles:{color:this.headerTextColor}});if(this.serverData.prevImg&&this.serverData.nextImg){H.innerHTML=G.innerHTML="";q.css(E,{display:"none"});var I=new Image();I.src=this.serverData.prevImg;q.css(H,{width:"30px",height:"30px",background:"url("+this.serverData.prevImg+") left 2px no-repeat",marginTop:"-9px"});if(this.serverData.prevImg_MO){n.addRule("#"+this.innerWrapper.id+" A."+H.className+"-hover","background-image: url("+this.serverData.prevImg_MO+");");new Image().src=this.serverData.prevImg_MO}if(this.serverData.prevImg_Disable){n.addRule("#"+this.innerWrapper.id+" A."+H.className+"-disabled","background-image: url("+this.serverData.prevImg_Disable+"); padding: 0 !important; left: 0 !important;");new Image().src=this.serverData.prevImg_Disable}else{n.addRule("#"+this.innerWrapper.id+" A."+H.className+"-disabled","padding: 0 !important; left: 0 !important;")}q.css(G,{width:"30px",height:"30px",background:"url("+this.serverData.nextImg+") left 2px no-repeat",marginTop:"-9px"});var D=new Image();D.src=this.serverData.nextImg;if(this.serverData.nextImg_MO){n.addRule("#"+this.innerWrapper.id+" A."+G.className+"-hover","background-image: url("+this.serverData.nextImg_MO+");");new Image().src=this.serverData.nextImg_MO}if(this.serverData.nextImg_Disable){n.addRule("#"+this.innerWrapper.id+" A."+G.className+"-disabled","background-image: url("+this.serverData.nextImg_Disable+"); padding: 0 !important; left: 0 !important;");new Image().src=this.serverData.nextImg_Disable}else{n.addRule("#"+this.innerWrapper.id+" A."+G.className+"-disabled"," padding: 0 !important; left: 0 !important;")}}return{previousButton:H,nextButton:G}},drawFooter:function(){this.footer=q.create("div",{className:g+"footer clearfix",parent:this.container});q.css(this.footer,{borderTopColor:this.headerTextColor});return this.footer},showVideo:function(C){if(o){q.log("lightbox show")}C.playerType="embed";C.playerParam=C.EmbededURL;w.show(C)},setTextLocation:function(C){q.addCls(this.container,g+"tl-"+C)},setHeader:function(F,E,C){q.css(this.header,{color:F});q.css(this.titleElement,{color:F});if(E){E=E.split("|");var D=E[1]=="11px"?"13px":"normal";q.css(this.titleElement,{fontFamily:E[0],fontSize:E[1],fontWeight:E[2],lineHeight:D})}q.css(this.header,{borderBottomColor:C})},setTitle:function(C){if(q.trim(C)){this.title=C}if(this.titleElement){this.titleElement.innerHTML=this.title||this._getDefaultTitle()}},_getDefaultTitle:function(){return"Related Videos"},_getPSLocation:function(C){var D=C||false;var M=this.container;var K=window;var J={left:0,top:0};var N=function(){return{width:document.body.clientWidth,height:document.body.clientHeight}};var E=function(){return{hscroll:window.pageXOffset||document.scrollLeft||0,vscroll:window.pageYOffset||document.scrollTop||0}};var L=function(){var O=window,P="inner";if(!("innerWidth" in window)){P="client";O=document.documentElement||document.body}return{width:O[P+"Width"],height:O[P+"Height"]}};var I=function(Q){var P=0,O=0;if(Q.offsetParent){P=Q.offsetLeft;O=Q.offsetTop;while(Q=Q.offsetParent){P+=Q.offsetLeft;O+=Q.offsetTop}}return{left:P,top:O}};if(typeof(M)!="undefined"&&M!=null){if(D){J.left=I(M).left+(this.width/2);J.top=I(M).top+(this.height/2)}else{J.left=I(M).left;J.top=I(M).top}var F=((J.left-E().hscroll)/L().width)*3;var G=(J.top-E().vscroll)/L().height;var H=0;if(F<0){H=1}else{if(F<1){H=2}else{if(F<2){H=3}else{if(F<3){H=4}else{H=5}}}}if(G<0){}else{if(G<1){H=H+5}else{H=H+10}}return H}else{return null}},baseLogRequest:function(){var C={};C.osVer=q.browser.platform.name;C.broVer=q.browser.name;C.broVerN=parseInt(q.browser.version,10);C.sid=this.sid;C.urlId=q.md5(this.url);C.content=this.checkContentStatus();C.sKey=(this.serverData!=null&&this.serverData.sKey!=null)?this.serverData.sKey:"";C.cqReq=(this.contentQuality!=null?this.contentQuality:(this.serverData!=null&&this.serverData.cqReq!=null?this.serverData.cqReq:""));C.catsReq=(this.categories!=null?this.categories:(this.serverData!=null&&this.serverData.catsReq!=null?this.serverData.catsReq:""));C.fType=(this.fallbackType!=null?this.fallbackType:(this.serverData!=null&&this.serverData.fType!=null?this.serverData.fType:""));C.loglevel=(this.serverData!=null&&this.serverData.loglevel!=null)?this.serverData.loglevel:FIVEMIN.BaseConfig.Logger.LogLevel;C.pt=FIVEMIN.BaseConfig.Logger.Enums.pt.flash;C.vg=this.videoGroupID!=null?this.videoGroupID:0;C.imid=p;C.pgLoc=this._getPSLocation(true);C.cLoc=this._getPSLocation();return C},logAddRequest:function(){var C=this.baseLogRequest();C.isDeep=this.directURL?1:0;C.adUnit=this.adUnit?1:0;C.adSize=((this.adUnitWidth&&this.adUnitHeight)?this.adUnitWidth+"x"+this.adUnitHeight:"");C.adLoc=this.adUnitLocation?this.adUnitLocation:"";C.thSize=this.thumbnailSize?this.thumbnailSize:"";C.txtLoc=this.textLocation?this.textLocation:"";C.nThumb=this.dimensionSettings.videosInColCount>0?this.dimensionSettings.videosInColCount:"";C.thAlign=((this.dimensionSettings.videoColCount>this.dimensionSettings.videoRowCount)?1:0);C.sHF=this.displayHeader?this.displayHeader:"";C.uNxt=0;C.ruNxt=0;FIVEMIN.Logger.Log("ThumbSeed",C,"addReq")},logAddResult:function(D,E){var C=this.baseLogRequest();C.rType=D==true?(E.success==1?1:0):2;C.cqReq=(this.contentQuality?this.contentQuality:(E.cqReq?E.cqReq:""));C.catsReq=(this.categories?this.categories:(E.catsReq?E.catsReq:""));C.fType=(this.fallbackType?this.fallbackType:(E.fType?E.fType:""));C.isDeep=this.directURL?1:0;C.adUnit=this.adUnit?1:0;C.adSize=((this.adUnitWidth&&this.adUnitHeight)?this.adUnitWidth+"x"+this.adUnitHeight:"");C.adLoc=this.adUnitLocation?this.adUnitLocation:(E.adLoc?E.adLoc:"");C.thSize=this.thumbnailSize?this.thumbnailSize:(E.thSize?E.thSize:"");C.txtLoc=this.textLocation?this.textLocation:(E.txtLoc?E.txtLoc:"");C.nThumb=this.dimensionSettings.videosInColCount>0?this.dimensionSettings.videosInColCount:"";C.thAlign=((this.dimensionSettings.videoColCount>this.dimensionSettings.videoRowCount)?1:0);C.sHF=this.displayHeader?this.displayHeader:(E.sHF?E.sHF:"");C.uNxt=0;C.ruNxt=E.ruNxt?E.ruNxt:0;C.nVids=(E.binding!=null)?E.binding.length:0;C.loglevel=(E.loglevel!=null)?E.loglevel:FIVEMIN.BaseConfig.Logger.LogLevel;FIVEMIN.Logger.Log("ThumbSeed",C,"AddResult")},logAddImpression:function(){var C=this.baseLogRequest();C.cqReq=(this.contentQuality?this.contentQuality:(this.serverData.cqReq?this.serverData.cqReq:""));C.nVids=this.serverData.binding.length;C.sessImp=0;C.isDeep=this.directURL?1:0;C.adUnit=this.adUnit?1:0;C.adSize=((this.adUnitWidth&&this.adUnitHeight)?this.adUnitWidth+"x"+this.adUnitHeight:"");C.adLoc=this.adUnitLocation?this.adUnitLocation:"";C.thSize=this.thumbnailSize?this.thumbnailSize:"";C.txtLoc=this.textLocation?this.textLocation:"";C.sHF=this.displayHeader?this.displayHeader:(this.serverData.sHF?this.serverData.sHF:"");C.nThumb=this.dimensionSettings.videosInColCount>0?this.dimensionSettings.videosInColCount:"";C.thAlign=((this.dimensionSettings.videoColCount>this.dimensionSettings.videoRowCount)?1:0);C.uNxt=0;C.ruNxt=0;if(o){q.log("Report AddImpression")}FIVEMIN.Logger.Log("ThumbSeed",C,"AddImpression")},logAddVideoResults:function(){var D=this.baseLogRequest();D.nVids=this.serverData.binding.length;D.isDeep=this.directURL?1:0;for(var C=0;C<this.serverData.binding.length;C++){D.vid=this.serverData.binding[C].ID;D.vCat=this.serverData.binding[C].Categories;D.vLocSrvr=C;D.vCQ=this.serverData.binding[C].vCQ;D.vFlg=this.serverData.binding[C].vFlg;D.vExp=this.serverData.binding[C].vExp;D.mId=this.serverData.binding[C].mId;D.vGeo=this.serverData.binding[C].vGeo;D.vf=this.serverData.binding[C].vf;FIVEMIN.Logger.Log("ThumbSeed",D,"AddVideoResults")}},logFlashData:function(E){var C=this.baseLogRequest();var F=0;if(E!=null){for(var D=0;D<this.serverData.binding.length;D++){if(this.serverData.binding[D].ID==E){F=D;break}}}C.nThumb=this.dimensionSettings.videosInColCount>0?this.dimensionSettings.videosInColCount:"";C.thAlign=((this.dimensionSettings.videoColCount>this.dimensionSettings.videoRowCount)?1:0);C.isDeep=this.directURL?1:0;C.nVids=this.serverData.binding.length;C.sessImp=0;C.adUnit=this.adUnit?1:0;C.adSize=((this.adUnitWidth&&this.adUnitHeight)?this.adUnitWidth+"x"+this.adUnitHeight:"");C.adLoc=this.adUnitLocation?this.adUnitLocation:(this.serverData.adLoc?this.serverData.adLoc:"");C.thSize=this.thumbnailSize?this.thumbnailSize:(this.serverData.thSize?this.serverData.thSize:"");C.txtLoc=this.textLocation?this.textLocation:(this.serverData.txtLoc?this.serverData.txtLoc:"");C.sHF=this.displayHeader?this.displayHeader:(this.serverData.sHF?this.serverData.sHF:"");C.uNxt=0;C.ruNxt=0;C.vid=this.serverData.binding[F].ID;C.vCat=this.serverData.binding[F].vCat;C.vLocSrvr=F;C.vLocClnt=F;C.vCQ=this.serverData.binding[F].vCQ;C.vFlg=this.serverData.binding[F].vFlg;C.vExp=this.serverData.binding[F].vExp;C.mId=this.serverData.binding[F].mId;C.vGeo=this.serverData.binding[F].vGeo;C.vf=this.serverData.binding[F].vf;FIVEMIN.Logger.Parse(C);return C},checkContentStatus:function(){if(this.playList){return FIVEMIN.BaseConfig.Logger.Enums.content.playlist}if(this.featured){return FIVEMIN.BaseConfig.Logger.Enums.content.featured}if(this.videoGroupID){return FIVEMIN.BaseConfig.Logger.Enums.content.videogroup}return FIVEMIN.BaseConfig.Logger.Enums.content.seed}});function x(){var am,F,ac,Y,ag,T,M,Z,R,Q,L,I,aj,ak,ah,N,aq,D,af,al,ae,S,V,X=false,ao;var H,U,K,P,ap,C,ad,aa;var ab=function(au,at,aw,av,ax){T=q.create("a");if(au){T.setAttribute("href",au);if(aw){T.setAttribute("target",aw)}if(av){T.setAttribute("title",av)}q.addEvent(T,"click",W)}M=q.create("img",{parent:T});M.setAttribute("width",ax.width);M.setAttribute("height",ax.height);if(av){M.setAttribute("alt",av)}q.addEvent(M,"load",O);Z=at};var ar=function(au,at,aw,ax,ay,av){R=q.create("a",{className:g+"btn_play",innerHTML:"Play"});I=q.create("a",{className:g+"btn_click",innerHTML:"Click to Play"});if(ay==false){q.css(I,{display:"none"})}if(au){R.setAttribute("href",au);I.setAttribute("href",au);if(aw){R.setAttribute("target",aw);I.setAttribute("target",aw)}if(ax){R.setAttribute("title",ax);I.setAttribute("title",ax)}q.addEvent(I,"click",W);q.addEvent(R,"click",W)}if(at){q.css(R,{backgroundImage:"url("+at+")"});if(q.browser.name=="ie"){q.css(R,{filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+at+"');"})}}switch(av){case 1:q.css(R,{bottom:5,right:5,left:"auto",top:"auto"});break;case 2:q.css(R,{bottom:5,left:22,top:"auto"});break;case 3:q.css(R,{top:19,right:5,left:"auto"});break;case 4:q.css(R,{top:19,left:22});break;case 0:default:break}};var E=function(ax,at,av,au,aw,az,aA){aw=aw;N=q.create("div",{className:g+"desc"});aq=q.create("a",{innerHTML:aw,parent:N});q.css(aq,{color:av});if(at){aq.setAttribute("href",at);if(au){aq.setAttribute("target",au);aq.setAttribute("title",aw)}q.addEvent(aq,"click",W)}if(aA){aA=aA.split("|");var ay=aA[1]=="11px"?"13px":"normal";q.css(N,{fontFamily:aA[0],fontSize:aA[1],fontWeight:aA[2],lineHeight:ay});q.css(aq,{fontFamily:aA[0],fontSize:aA[1],fontWeight:aA[2],lineHeight:ay})}};var O=function(){q.removeCls(am,U);q.removeCls(am,C);q.addCls(am,K);X=true};var G=function(){q.addCls(am,ad);q.css(am,{backgroundColor:af});q.css(aq,{color:ae});if(L){q.css(R,{backgroundImage:"url("+L+")"});if(q.browser.name=="ie"){q.css(R,{filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+L+"');"})}}};var an=function(){q.removeCls(am,ad);q.css(am,{backgroundColor:D});q.css(aq,{color:al});if(L){q.css(R,{backgroundImage:"url("+Q+")"});if(q.browser.name=="ie"){q.css(R,{filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+Q+"');"})}}};var ai=function(at){q.stopEvent(at);if(typeof w!="undefined"){F({EmbededURL:Y,title:ak,PageURL:ac,ReferrerURL:ag,VideoObj:ao})}else{window.open(ac,"5minwindow")}};var J=function(at,au){if(at.indexOf("http://")==-1&&at.indexOf("https://")==-1){at="http://"+at}at=at.replace("[VIDEOID]",au);return at};var W=function(){FIVEMIN.PLAYER_COOKIE.PlayerCookie.setVideoID(V.id);FIVEMIN.PLAYER_COOKIE.PlayerCookie.setIsDeepSeed(true);FIVEMIN.PLAYER_COOKIE.PlayerCookie.setEmbedType("ts");FIVEMIN.PLAYER_COOKIE.PlayerCookie.write()};return{init:function(at){this.cfg=at;V=at;H=g+"vi";U=H+"-loading";K=H+"-loaded";P=H+"-notloaded";ap=g+"ts-"+at.thumbnailSize;C=ap+"-loading";ad=ap+"-hover";aa=g+"last";D=at.textBGColor;af=at.textBGColor_MO;al=at.textFGColor;ae=at.textFGColor_MO;S=at.textFont;F=at.showLightBoxFunc;Y=at.EmbededURL;ak=at.text;ac=at.PageURL;ag=at.ReferrerURL;ah=(typeof at.directURL=="undefined")?null:J(at.directURL,at.id);aj=(typeof at.directURL=="undefined")?"":aj;Q=at.playButtonImg;L=at.playButtonImg_MO;ao=at.VideoObj;ab(ah,at.imageSource,at.htTarget,aj,at.imageDimensions);ar(ah,Q,at.htTarget,aj,at.showClickButton,at.playButtonLocation);E(aj,ah,at.textFGColor,at.htTarget,at.text,at.imageDimensions,S);am=q.create("li",{className:H+" "+ap+" "+P,children:[q.create("div",{className:g+"img_wrapper",children:[q.create("div",{className:g+"img",children:[T]}),q.create("div",{className:g+"play",children:[R,I]})]}),N],styles:{backgroundColor:at.textBGColor}});q.addEvent(am,"mouseover",G);q.addEvent(am,"mouseout",an);if(typeof at.directURL=="undefined"){q.addEvent(am,"click",ai)}if(typeof at.dimensionSettings.textWidth!="undefined"){var au=at.videoSize.width+at.dimensionSettings.textWidth;q.css(am,{width:au+"px",marginRight:at.dimensionSettings.spaceWidth+"px",marginLeft:0});q.css(N,{width:at.dimensionSettings.textWidth+"px"});q.css(N,{height:at.videoSize.height+"px"})}else{var au=at.videoSize.width;q.css(am,{width:au+"px",marginRight:at.dimensionSettings.spaceWidth+"px",marginLeft:0});q.css(N,{height:at.videoSize.textHeight+"px"})}am.textDiv=N;am.textLink=aq;return am},load:function(){if(!X){q.removeCls(am,P);q.addCls(am,U);q.addCls(am,C);M.src=Z}},ellipsisizeText:function(){var ax=parseInt(N.style.height,10);var ay;var aw=aq.textContent;if(aw!==undefined){ay="textContent"}else{aw=aq.innerText;if(aw!==undefined){ay="innerText"}else{aw=aq.innerHTML;ay="innerHTML"}}aq.title=aw;var at=aw.split(/\s+/g);var av=at.length;while(aq.offsetHeight>ax&&av>0){var au=at.slice(0,--av);aq[ay]=au.join(" ")+"...";if(!am.title){am.title=aw}}q.css(aq,{height:ax+"px"})},makeLast:function(){q.addCls(am,aa)},destroy:function(){q.removeEvent(am,"mouseover",G);q.removeEvent(am,"mouseout",an);q.removeEvent(am,"click",ai);q.removeEvent(M,"load",O)}}}b.prototype.Load=b.prototype.load;function B(){if(!B._overwritten){B._overwritten=true;var C=q._parseQueryString(location.search.substr(1));B=function(D,E){D=D.toLowerCase();return(C[D]===undefined?E:C[D])||""};return B.apply(null,arguments)}}var d={sid:Number,url:String,categories:String,layout:String,headerColor:String,backgroundColor:String,displayHeader:Boolean,displayBorder:Boolean,displayFooter:Boolean,playList:String,fallback:String,fallbackType:String,featured:Boolean,contentQuality:Number,videoCount:Number,testData:String,autoStart:Boolean,libraryID:Number};b.loadParameterizedScripts=function(C){var D=q.getElements("script");q.each(D,function(E){if(E.getAttribute("data-readByThumbSeed")=="true"){return}else{E.setAttribute("data-readByThumbSeed","true")}if(c.test(E.src)){if(o){q.log("ThumbSeed Creation #"+C);q.addDomReady(function(){q.log("DOM ready")})}var G=E.src.split("?")[1];if(G.indexOf("sid=")==-1){return}if(G){G=q._parseQueryString(G);G=q.map(G,function(K,I){var J=d[I];if(J==Boolean){return K=="true"}return J?J(K):K})}if(o){q.log(G)}var H;if(G.wrapperToShow){if(o){q.log("Client sent a wrapperToShow ("+G.wrapperToShow+")")}}if(o){q.log("wrapperToShow not found")}if(o){q.log("Creating DIV as wrapper")}H=q.create("div");E.parentNode.insertBefore(H,E);var F=new b(H,E);if(G){q.extend(F,G)}F.load()}})};function i(){var P,K,M,C,R,O=0,N,I,D,H;var G=function(){S()};var Q=function(){var T=q.currCss(P,"left");T=parseInt(T,10);return T};var S=function(){if(O==(N-1)){K.disable()}else{K.enable()}if(O==0){M.disable()}else{M.enable()}};var J=function(){K.disable(false);M.disable(false)};function F(){var T,U,W,V;return{init:function(X){T=X.element;T.setAttribute("href","");W=X.onclickFunc;U=T.className;q.addEvent(T,"click",this.onClick);q.addEvent(T,"mouseover",this.onMouseOver);q.addEvent(T,"mouseout",this.onMouseOut)},disable:function(X){if(X!=false){q.addCls(T,g+"button-disabled");q.addCls(T,U+"-disabled")}V=true},enable:function(X){if(X!=false){q.removeCls(T,g+"button-disabled");q.removeCls(T,U+"-disabled")}V=false},onClick:function(X){if(typeof X!="undefined"&&X.type=="click"){q.stopEvent(X)}if(!V){W.call()}},onMouseOver:function(X){q.addCls(T,g+"button-hover");q.addCls(T,U+"-hover")},onMouseOut:function(X){q.removeCls(T,g+"button-hover");q.removeCls(T,U+"-hover")},getParent:function(){return T.parentNode},destroy:function(){q.removeEvent(T,"click",this.onClick);q.removeEvent(T,"mouseover",this.onMouseOver);q.removeEvent(T,"mouseout",this.onMouseOut)}}}var L=function(T){var U=(window.event)?window.event.keyCode:T.keyCode;if(U==39){K.onClick()}else{if(U==37){M.onClick()}}};var E=function(){var V=O*D-(D-H);var U=V+D;for(var T=V;T<U&&T<I.length;T++){I[T].load()}};return{init:function(T){P=T.listEl;C=parseInt(T.moveBy,10);N=T.itemCount;D=T.videosInColCount;H=T.numOfVideosLoaded;I=T.videos;q.css(T.parent,{height:T.listHeight+"px"});q.css(P,{position:"absolute",left:0});var U={element:P,styleAttribute:"left",onComplete:G};if(T.duration){U.duration=T.duration}R=new t(U);K=new F();K.init({element:T.nextButton,onclickFunc:this.next});M=new F();M.init({element:T.previousButton,onclickFunc:this.previous});q.addEvent(document,"keyup",L);S()},next:function(){J();var T=parseInt(Q(),10);R.updateParams({from:T,to:T-C});R.animate();O++;E()},previous:function(){J();var T=parseInt(Q(),10);R.updateParams({from:T,to:T+C});R.animate();O--},destroy:function(){K.destroy();K=null;M.destroy();M=null;q.removeEvent(document,"keyup",L);var T=q.getElement(".fmts-carousel-nav");T.innerHTML=""}}}function t(E){var C=0;var H=(E.to-E.from);var K=E.onComplete;var D=[1,2,3,4,5,6,7,8,9,10,9,8,7,6,5,4,3,2,1];var J=D.length;var F=[];var I=E.from;var L=(E.duration)?(E.duration/J):20;this.updateParams=function(M){H=(M.to-M.from);I=M.from;for(var N=0;N<J;N++){I+=(H*D[N]/100);I=Math.floor(I*1000)/1000;F[N]=I}};this.animate=function(){setTimeout(G,L)};var G=function(){var M=F[C];E.element.style.left=M+"px";C++;if(C<F.length){setTimeout(G,L)}else{if(K){K.call()}C=0}}}return b}()}var ThumbSeed=FIVEMIN.ThumbSeed;if(typeof thumbseedScriptCallCount=="undefined"){thumbseedScriptCallCount=-1}thumbseedScriptCallCount++;ThumbSeed.loadParameterizedScripts(thumbseedScriptCallCount);


/* ~/Scripts/Fivemin.PlayerCookie.js */

if(typeof(FIVEMIN)=="undefined"){window.FIVEMIN={}}if(typeof(FIVEMIN.PLAYER_COOKIE)=="undefined"){FIVEMIN.PLAYER_COOKIE={}}if(typeof(FIVEMIN.PLAYER_COOKIE.DataShare)=="undefined"){FIVEMIN.PLAYER_COOKIE.DataShare=(function(){var c="";var g=null;var d=false;function b(j){c=j;d=true}function f(j){g=j;d=true}function a(){return c}function h(){return g}function i(){return d}function e(){d=false}return{setEmbedType:b,setIsDeepSeed:f,getEmbedType:a,getIsDeepSeed:h,hasChanged:i,clean:e}})()}if(typeof(FIVEMIN.PLAYER_COOKIE.PlayerCookie)=="undefined"){FIVEMIN.PLAYER_COOKIE.PlayerCookie=(function(){var l="FiveminPlayerCookie";var f=0;var p=1;var o=2;var r=f;var j=null;var c=null;function q(){return(function(){var u,t=3,w=document.createElement("div");while(w.innerHTML="<!--[if gt IE "+(++t)+"]><i></i><![endif]-->",w.getElementsByTagName("i")[0]){}return t>4?t:u}())}function i(v){var u;var t="http://cfiles.5min.com/flashcookie/PlayerCookie.swf";if(v){t+="?jscbOnLoad="+v}if(q()){u="<object width=0 height=0 id='"+l+"' classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000'><param name='allowfullscreen' value='true' /><param name='allowScriptAccess' value='always' /><param name='wmode' value='opaque' /><param name='movie' value='"+t+"' /></object>"}else{u="<embed name='"+l+"' src='"+t+"' type='application/x-shockwave-flash' width=0 height=0 allowfullscreen='true' allowscriptaccess='always' ></embed>"}return u}function a(){if(window[l]){return window.document[l]}if(!q()){if(document.embeds&&document.embeds[l]){return document.embeds[l]}}else{return document.getElementById(l)}}function s(u,A,v,w,x,y){if(!x){x=this}if(!y){y=[]}if(u()){A.apply(x,y);return}if(!v){v=100}var t;var z=setInterval(function(){if(!u()){return}clearInterval(z);if(t){clearTimeout(t)}A.apply(x,y)},v);if(w){t=setTimeout(function(){clearInterval(z)},w)}}function k(t){if(r!=f){return}r=p;j=t;s(function(){return document.body!=null},function(){var u=document.createElement("div");var v=document.body;v.insertBefore(u,v.firstChild);u.style.cssText="position:absolute;top:0;left:0;";u.innerHTML=i("FIVEMIN.PLAYER_COOKIE.PlayerCookie.handleCreationComplete")},null,null,this)}function h(){if(m()){return}c=a();r=c?o:f;if(j){j();j=null}}function e(t){if(m()){c.playerCookieVideoID(t)}}function g(t){if(m()){c.playerCookieViewSource(t?t:0)}}function n(t){if(m()){c.playerCookieIsDeepSeed(t?true:false)}}function d(t){if(m()){c.playerCookieEmbedType(t)}}function b(){if(m()){c.playerCookieWrite()}}function m(){return r==o}return{create:k,handleCreationComplete:h,setVideoID:e,setViewSource:g,setIsDeepSeed:n,setEmbedType:d,write:b,isReady:m}})();FIVEMIN.PLAYER_COOKIE.PlayerCookie.create()};



