/* The MIT License: Copyright (c) 2010-2012 LiosK. */ (function(){if(!Function.prototype.bind)Function.prototype.bind=function(b){var c=this;try{if(typeof c!="function")throw new TypeError;}catch(d){}var a=Array.prototype.slice.call(arguments,1),g=function(){if(this instanceof g){var d=function(){};d.prototype=c.prototype;var d=new d,f=c.apply(d,a.concat(Array.prototype.slice.call(arguments)));return Object(f)===f?f:d}else return c.apply(b,a.concat(Array.prototype.slice.call(arguments)))};return g};var a=Function.prototype.call.bind(Object.prototype.toString); if(!Array.isArray)Array.isArray=function(b){return a(b)=="[object Array]"};if(!Array.prototype.indexOf)Array.prototype.indexOf=function(b){var c;if(this===null||this===void 0)throw new TypeError;c=d&&typeof this=="string"&&this?this.split(""):Object(this);var a=c.length>>>0;if(!a)return-1;var e=0;arguments.length>1&&(e=arguments[1],e=+e,e!==e?e=0:e!==0&&e!==1/0&&e!==-(1/0)&&(e=(e>0||-1)*Math.floor(Math.abs(e))));for(e=e>=0?e:Math.max(0,a+e);e=0;c--)if(b[c]==this.toString())return true;return false};if(!Array.prototype.indexOf)Array.prototype.indexOf=function(b,c){var d=this.length>>>0,a=Number(c)||0,a=a<0?Math.ceil(a):Math.floor(a);for(a<0&&(a+=d);a16&&(b=binb_sha1(b,a.length*8));for(var c=Array(16),f=Array(16),e=0;e<16;e++)c[e]=b[e]^909522486,f[e]=b[e]^1549556828;b=binb_sha1(c.concat(rstr2binb(d)),512+d.length*8);return binb2rstr(binb_sha1(f.concat(b),672))}function rstr2hex(a){for(var d=hexcase?"0123456789ABCDEF":"0123456789abcdef",b="",c,f=0;f>>4&15)+d.charAt(c&15);return b} function str2rstr_utf8(a){for(var d="",b=-1,c,f;++b>>6&31,128|c&63):c<=65535?d+=String.fromCharCode(224|c>>>12&15,128|c>>>6&63,128|c&63):c<=2097151&&(d+=String.fromCharCode(240|c>>>18&7,128|c>>>12&63,128|c>>>6&63,128|c&63));return d} function rstr2binb(a){for(var d=Array(a.length>>2),b=0;b>5]|=(a.charCodeAt(b/8)&255)<<24-b%32;return d}function binb2rstr(a){for(var d="",b=0;b>5]>>>24-b%32&255);return d} function binb_sha1(a,d){a[d>>5]|=128<<24-d%32;a[(d+64>>9<<4)+15]=d;for(var b=Array(80),c=1732584193,f=-271733879,e=-1732584194,g=271733878,k=-1009589776,h=0;h>16)+(d>>16)+(b>>16)<<16|b&65535}function bit_rol(a,d){return a<>>32-d}hexcase=0;function hex_md5(a){return rstr2hex(rstr_md5(str2rstr_utf8(a)))}function hex_hmac_md5(a,d){return rstr2hex(rstr_hmac_md5(str2rstr_utf8(a),str2rstr_utf8(d)))} function md5_vm_test(){return hex_md5("abc").toLowerCase()=="900150983cd24fb0d6963f7d28e17f72"}function rstr_md5(a){return binl2rstr(binl_md5(rstr2binl(a),a.length*8))}function rstr_hmac_md5(a,d){var b=rstr2binl(a);b.length>16&&(b=binl_md5(b,a.length*8));for(var c=Array(16),f=Array(16),e=0;e<16;e++)c[e]=b[e]^909522486,f[e]=b[e]^1549556828;b=binl_md5(c.concat(rstr2binl(d)),512+d.length*8);return binl2rstr(binl_md5(f.concat(b),640))} function rstr2hex(a){for(var d=hexcase?"0123456789ABCDEF":"0123456789abcdef",b="",c,f=0;f>>4&15)+d.charAt(c&15);return b} function str2rstr_utf8(a){for(var d="",b=-1,c,f;++b>>6&31,128|c&63):c<=65535?d+=String.fromCharCode(224|c>>>12&15,128|c>>>6&63,128|c&63):c<=2097151&&(d+=String.fromCharCode(240|c>>>18&7,128|c>>>12&63,128|c>>>6&63,128|c&63));return d} function rstr2binl(a){for(var d=Array(a.length>>2),b=0;b>5]|=(a.charCodeAt(b/8)&255)<>5]>>>b%32&255);return d} function binl_md5(a,d){a[d>>5]|=128<>>9<<4)+14]=d;for(var b=1732584193,c=-271733879,f=-1732584194,e=271733878,g=0;g>16)+(d>>16)+(b>>16)<<16|b&65535}function bit_rol(a,d){return a<>>32-d}var UUID; UUID=function(a){function d(){}d.generate=function(){var b=d._getRandomInt,c=d._hexAligner;return c(b(32),8)+"-"+c(b(16),4)+"-"+c(16384|b(12),4)+"-"+c(32768|b(14),4)+"-"+c(b(48),12)};d._getRandomInt=function(b){return b<0?NaN:b<=30?0|Math.random()*(1<0;g>>>=1,k+=k)g&1&&(d=k+d);return d}};d._hexAligner=d._getIntAligner(16); d.FIELD_NAMES="timeLow,timeMid,timeHiAndVersion,clockSeqHiAndReserved,clockSeqLow,node".split(",");d.FIELD_SIZES=[32,16,16,8,8,48];d.genV4=function(){var b=d._getRandomInt;return(new d)._init(b(32),b(16),16384|b(12),128|b(6),b(8),b(48))};d.parse=function(b){if(b=/^\s*(urn:uuid:|\{)?([0-9a-f]{8})-([0-9a-f]{4})-([0-9a-f]{4})-([0-9a-f]{2})([0-9a-f]{2})-([0-9a-f]{12})(\})?\s*$/i.exec(b)){var c=b[1]||"",a=b[8]||"";if(c+a===""||c==="{"&&a==="}"||c.toLowerCase()==="urn:uuid:"&&a==="")return(new d)._init(parseInt(b[2], 16),parseInt(b[3],16),parseInt(b[4],16),parseInt(b[5],16),parseInt(b[6],16),parseInt(b[7],16))}return null};d.prototype._init=function(){var b=d.FIELD_NAMES,c=d.FIELD_SIZES,a=d._binAligner,e=d._hexAligner;this.intFields=Array(6);this.bitFields=Array(6);this.hexFields=Array(6);for(var g=0;g<6;g++){var k=parseInt(arguments[g]||0);this.intFields[g]=this.intFields[b[g]]=k;this.bitFields[g]=this.bitFields[b[g]]=a(k,c[g]);this.hexFields[g]=this.hexFields[b[g]]=e(k,c[g]/4)}this.version=this.intFields.timeHiAndVersion>> 12&15;this.bitString=this.bitFields.join("");this.hexString=this.hexFields[0]+"-"+this.hexFields[1]+"-"+this.hexFields[2]+"-"+this.hexFields[3]+this.hexFields[4]+"-"+this.hexFields[5];this.urn="urn:uuid:"+this.hexString;return this};d._binAligner=d._getIntAligner(2);d.prototype.toString=function(){return this.hexString};d.prototype.equals=function(b){if(!(b instanceof d))return false;for(var c=0;c<6;c++)if(this.intFields[c]!==b.intFields[c])return false;return true};d.genV1=function(){var b=(new Date).getTime(), c=d._state;b!=c.timestamp?(b>>8|128,k=c.sequence&255;return(new d)._init(a,b.mid,e,g,k,c.node)};d.resetState=function(){d._state=new d._state.constructor};d._tsRatio=0.25;d._state=new function(){var b=d._getRandomInt;this.timestamp=0;this.sequence= b(14);this.node=(b(8)|1)*1099511627776+b(40);this.tick=b(4)};d._getTimeFieldValues=function(b){b-=Date.UTC(1582,9,15);var c=b/4294967296*1E4&268435455;return{low:(b&268435455)*1E4%4294967296,mid:c&65535,hi:c>>>16,timestamp:b}};d.makeBackwardCompatible=function(){var b=d.generate;d.generate=function(c){return c&&c.version==1?d.genV1().hexString:b.call(d)};d.makeBackwardCompatible=function(){}};d.overwrittenUUID=a;return d}(UUID); var FlashDetect=new function(){var a=this;a.installed=false;a.raw="";a.major=-1;a.minor=-1;a.revision=-1;a.revisionStr="";var d=[{name:"ShockwaveFlash.ShockwaveFlash.7",version:function(c){return b(c)}},{name:"ShockwaveFlash.ShockwaveFlash.6",version:function(c){var a="6,0,21";try{c.AllowScriptAccess="always",a=b(c)}catch(d){}return a}},{name:"ShockwaveFlash.ShockwaveFlash",version:function(c){return b(c)}}],b=function(b){var a=-1;try{a=b.GetVariable("$version")}catch(d){}return a};a.majorAtLeast= function(b){return a.major>=b};a.minorAtLeast=function(b){return a.minor>=b};a.revisionAtLeast=function(b){return a.revision>=b};a.versionAtLeast=function(b){var d=[a.major,a.minor,a.revision],e=Math.min(d.length,arguments.length);for(i=0;i=arguments[i]){if(!(i+10){var h=navigator.mimeTypes;if(h&&h["application/x-shockwave-flash"]&&h["application/x-shockwave-flash"].enabledPlugin&& h["application/x-shockwave-flash"].enabledPlugin.description){b=h=h["application/x-shockwave-flash"].enabledPlugin.description;var h=b.split(/ +/),j=h[2].split(/\./),h=h[3];f=parseInt(j[0],10);e=parseInt(j[1],10);g=h;k=parseInt(h.replace(/[a-zA-Z]/g,""),10)||a.revision;a.raw=b;a.major=f;a.minor=e;a.revisionStr=g;a.revision=k;a.installed=true}}else if(navigator.appVersion.indexOf("Mac")==-1&&window.execScript){h=-1;for(j=0;j|\")/gi,""));return a}}; GV.Utils.Event=function(){var a=[],d=function(b,a){var d=a?a:window.event;if(d.srcElement)d.target=d.srcElement;b.call(this,d)},b=function(b,a,d){b.removeEventListener?b.removeEventListener(a,d,false):b.detachEvent&&b.detachEvent("on"+a,d)};return{create:function(b,f,e){e=GV.Utils.Functions.curry(d,e);b.addEventListener?b.addEventListener(f,e,false):b.attachEvent&&b.attachEvent("on"+f,e);a.push({element:b,type:f,handler:e});return e},remove:b,removeAll:function(d,f){for(var e=a.length-1;e>=0;e--){var g= a[e];g.element===d&&g.type===f&&(b(d,f,g.handler),a.splice(e,1))}}}}(); GV.Utils.Dom=function(){var a=function(a){function b(f,e){typeof f==="undefined"&&(f=true);for(typeof e==="undefined"&&(e=0);f;){var g=a[e];if(g){if(!g.type||g.type==="text/javascript"){var k=0,h=true,j=document.createElement("script");j.type="text/javascript";if(g.innerText||g.innerHTML||g.text)try{j.appendChild(document.createTextNode(g.text))}catch(m){j.text=g.text}else if(g.src)j.src=g.src,h=f=false,j.onload=j.onreadystatechange=function(){if(this.readyState&&this.readyState!=="complete"&&this.readyState!== "loaded"||k)return false;this.onload=this.onreadystatechange=null;c.removeChild(this);f=true;k=1;b(f,e)};c.insertBefore(j,c.firstChild);h&&c.removeChild(j)}e++}else f=false}}var c=document.getElementsByTagName("head")[0]||document.documentElement;b()};return{createElement:function(a,b){if(typeof a!=="string"||!a)return null;var c=document.createElement(a);if(b)c.className=b;c.css=function(b){for(var a in b)try{var d=b[a];a==="float"&&(a=c.style.cssFloat?"styleFloat":"cssFloat");typeof d==="number"&& (d+="px");c.style[a]=d}catch(k){}};return c},addClass:function(a,b){var c,f,e,g;if(b&&typeof b==="string"&&(c=b.split(/\s+/),a.nodeType===1))if(!a.className&&c.length===1)a.className=b;else{f=" "+a.className+" ";for(e=0,g=c.length;e ",b].join(""),c=document.createDocumentFragment(), f=document.createElement("div");c.appendChild(f);f.innerHTML=b;f.hasChildNodes()&&f.removeChild(f.firstChild);d.appendChild(c.firstChild);c=d.getElementsByTagName("script");a(c)}}}();try{var clog=Function.prototype.bind.call(console.log,console)}catch(e$$20){}GV.Utils.Logger={log:function(){try{"undefined"!==typeof Cookies.get("gvlog")&&window.console&&clog.apply(console,arguments)}catch(a){}}};if(!window.gvlog)window.gvlog=GV.Utils.Logger.log; GV.Utils.QueryString=function(){return{appendParameters:function(a,d){if(typeof a!=="string"&&!a)throw Error("No URL supplied");else if(d){var b=a.indexOf("?")===-1,c=[a],f;for(f in d)d.hasOwnProperty(f)&&(c.push([b?"?":"&",encodeURIComponent(f),"=",encodeURIComponent(d[f])].join("")),b&&(b=false));return c.join("")}else return a},getParameters:function(a){if(a){var d={};if(a.indexOf("?")>-1&&(a=a.split("?")[1].split("&"))&&a.length)for(var b=0;b=0;c--)d[c]==a&&(b=true);this._mode=b?a:this._defaultMode}; GV.Instance.prototype._generateUUID=function(){this._id=UUID.genV4()};GV.Instance.prototype._generateMD5=function(){this._id=hex_md5(this._salt)};GV.Instance.prototype._generateSHA1=function(){this._id=hex_sha1(this._salt)}; GV.Embedder=function(){var a=["cw","psid","r","s"],d=function(a){var b=document.createElement("div");b.setAttribute("id",a);return b},b=function(a){a.poR=document.referrer;a.poS=document.location.href},c=function(a,b,c){a.setAttribute("width",b);a.setAttribute("height",c)},f=function(a){a.setAttribute("frameBorder","0");a.setAttribute("scrolling","no");a.style.border="0px";a.style.margin="0px";a.style.padding="0px"},e=function(b,c){var d=document.getElementById(b);if(d){var d=GV.Utils.QueryString.getParameters(d.getAttribute("src")), e;for(e in d)if(d.hasOwnProperty(e))for(var f=0;f=0&&a.left>=0&&a.bottom<=window.innerHeight&&a.right<=window.innerWidth?l+=3:l=0;l>=6&&(j.setAttribute("src",q+"#"),clearInterval(r))},3E3)}}},iframeId:"gv-iframe"}}(); (function(){inid=(new GV.Instance("uuid")).getID();window.initping=1;var a;a="tracking_srv".replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");a=RegExp("[\\?&]"+a+"=([^&#]*)").exec(location.search);a=a==null?"":decodeURIComponent(a[1].replace(/\+/g," "));var d=/test\.publisher\.com/.test(document.location.href)?"test.publisher.com/ping.php?v=1":"s.srvntrk.com/handler/img?v=1";sapMode="";pingUrl="//"+d+"&videoID=0&cw=1576979&type=201&psid="+("undefined"!==typeof psid?psid:"")+"&version=2.3.5&playertype="+ (FlashDetect.installed?1:2)+"&inid="+inid+"&r="+encodeURIComponent(document.referrer.substring(0,500))+"&s="+encodeURIComponent(document.location.href.substring(0,500))+"&ts="+(new Date).getTime();a&&(pingUrl=pingUrl.replace(/^[a-z]*:\/\/[^\?]*/,a));try{(new Image).src=pingUrl}catch(b){window.console&&console.log("ERROR SENDING INIT_PING: ",b.message)}})(); GV.Embedder.embedIframe({frame:{ahide:"false",bgCol:"ffffff",cw:"undefined"!=typeof playerEnv&&playerEnv=="5x5m"?0:"1576979",videoId:"0",sapMode:"",fall:"video",pvid:"4797469814169969761576979",txtCol:"000000",skin:"light",wmode:"window",deliveryMethod:"1",deliveryMethodVersionSP:"1.0.0",deliveryMethodVersionSAP:"2.0.0",psid:"undefined"!=typeof psid?psid:0,adcomPlay:"undefined"!= typeof customTrackPlay?/\%3A\%2F/.test(customTrackPlay)?customTrackPlay:encodeURIComponent(customTrackPlay):"undefined"!=typeof adcomPlay?adcomPlay:"",adcom20:"undefined"!=typeof customTrack20?/\%3A\%2F/.test(customTrack20)?customTrack20:encodeURIComponent(customTrack20):"undefined"!=typeof adcom20?adcom20:"",adcom40:"undefined"!=typeof customTrack40?/\%3A\%2F/.test(customTrack40)?customTrack40:encodeURIComponent(customTrack40):"undefined"!=typeof adcom40?adcom40:"",adcom60:"undefined"!=typeof customTrack60? /\%3A\%2F/.test(customTrack60)?customTrack60:encodeURIComponent(customTrack60):"undefined"!=typeof adcom60?adcom60:"",adcom80:"undefined"!=typeof customTrack80?/\%3A\%2F/.test(customTrack80)?customTrack80:encodeURIComponent(customTrack80):"undefined"!=typeof adcom80?adcom80:"",adcom100:"undefined"!=typeof customTrack100?/\%3A\%2F/.test(customTrack100)?customTrack100:encodeURIComponent(customTrack100):"undefined"!=typeof adcom100?adcom100:"",adcomRedirect:"undefined"!=typeof customTrackRedirect?/\%3A\%2F/.test(customTrackRedirect)? customTrackRedirect:encodeURIComponent(customTrackRedirect):"undefined"!=typeof adcomRedirect?adcomRedirect:"",initping:"undefined"!==typeof initping?1:"",inid:"undefined"!==typeof inid?inid:"",playerSizeWidth:"300",playerSizeHeight:"250",windowSizeWidth:window.innerWidth,windowSizeHeight:window.innerHeight,pf_op:"undefined"!==typeof pf_op?pf_op:false,researchNowTrackers:"undefined"!==typeof researchNowTrackers?researchNowTrackers:false,forceCTPonVPAID:"undefined"!=typeof forceCTPonVPAID? forceCTPonVPAID:"",CTPCountdownSkip:"undefined"!=typeof CTPCountdownSkip?CTPCountdownSkip:"",CTPCountdownTime:"undefined"!=typeof CTPCountdownTime?CTPCountdownTime:"",CTPPlaybackSkip:"undefined"!=typeof CTPPlaybackSkip?CTPPlaybackSkip:"",disableTooltip:"undefined"!=typeof disableTooltip?disableTooltip:""},h:"250",script:"gv_script_4797469814169969761576979",target:"gv_target_4797469814169969761576979",url:"https:"==document.location.protocol?"http://sp-work.goviral-content.com/templates/no-thumbs-300x250.html".replace(/^http\:/,"https:"):"http://sp-work.goviral-content.com/templates/no-thumbs-300x250.html", w:"300"});