if (typeof(_evpLoad) === "undefined") {
  _evpAssetsLoaded = false;

  function _evpLoad(file, callback, disableAsyncLoading) {
	if(typeof disableAsyncLoading == 'undefined') var disableAsyncLoading = false;
	if(window._evpAssetsLoaded === true) {
		callback();
		return;
	}
	function asset_load() {
	  var s = document.createElement('script');
	  s.type = 'text/javascript';
	  var src = "http://realstrategic.com/evp/player/" + file;
	  s.src = src;
	  var current_scripts = document.getElementsByTagName('script');
	  var inject = true;
	  for(i = 0; i < current_scripts.length; i++) {
			if(current_scripts[i].src == src) {
				inject = false;
				break;
			}
	  }
	  if(inject == true) {
			document.getElementsByTagName('head')[0].appendChild(s);
			var current_scripts = [s];
			var i = 0;
	  }
	  if(current_scripts[i].readyState) {
			current_scripts[i].attachEvent('onreadystatechange', function() {
				if (current_scripts[i].readyState == "loaded" || current_scripts[i].readyState == "complete") {
				if(typeof onEvpAssetsReady == 'function' && window._evpAssetsLoaded !== true) onEvpAssetsReady(EVP22Lib);
				window._evpAssetsLoaded = true;
				callback();
				}
			});
	  } else if(current_scripts[i].addEventListener) {
			current_scripts[i].addEventListener('load', function() {
				if(typeof onEvpAssetsReady == 'function' && window._evpAssetsLoaded !== true) onEvpAssetsReady(EVP22Lib);
				window._evpAssetsLoaded = true;
				callback();
			}, false);
	  }
	}
	if(false || disableAsyncLoading === true) {
		asset_load();
	} else if (window.attachEvent) window.attachEvent('onload', asset_load);
	else if(window.addEventListener) window.addEventListener('load', asset_load, false);
	else asset_load();
  }
}

if(_evpStorage === undefined) var _evpStorage = {};

_evpStorage['TWFnaWMgc3VibWl0dGVyIE9wZW5pbmcgNDIyLmZsdg=='] = {"absolute":"http:\/\/realstrategic.com\/evp\/","asset_location":"http:\/\/realstrategic.com\/evp\/","id":"evp-dfcefb78cebadf368efeab7f58fe577e","div_id":"evp-adfdb0df26e36d7c0db963ef33147cef","bucket_name":"evp-4bf2407ae6cbf-cf20f01c309e05ec4ff83cad306d3dc3","file_id":"TWFnaWMgc3VibWl0dGVyIE9wZW5pbmcgNDIyLmZsdg==","type":"video","extension":"flv","skin":{"leftUIWidth":30,"rightUIWidth":42,"rightUIWidthSmall":42,"timeColor":"#ffffff","borderRadius":"0px","bufferGradient":"none","slowForward":true,"backgroundColor":"rgba(0, 0, 0, 0)","volumeSliderGradient":"none","slowBackward":false,"timeBorderRadius":20,"progressGradient":"none","time":false,"height":26,"volumeColor":"#4599ff","tooltips":{"marginBottom":5,"scrubber":true,"volume":true,"buttons":false},"fastBackward":false,"opacity":1,"timeFontSize":12,"border":"0px","bufferColor":"#a3a3a3","volumeSliderColor":"#ffffff","buttonColor":"#ffffff","mute":false,"autoHide":{"enabled":true,"hideDelay":500,"mouseOutDelay":500,"hideStyle":"fade","hideDuration":400,"fullscreenOnly":true},"backgroundGradient":"none","width":"70pct","display":"block","sliderBorder":"1px solid rgba(128, 128, 128, 0.7)","buttonOverColor":"#ffffff","fullscreen":true,"timeBgColor":"rgb(0, 0, 0, 0)","scrubberBarHeightRatio":0.2,"bottom":0,"stop":false,"sliderColor":"#000000","zIndex":1,"scrubberHeightRatio":0.6,"tooltipTextColor":"#ffffff","sliderGradient":"none","timeBgHeightRatio":0.8,"volumeSliderHeightRatio":0.6,"name":"controls","timeSeparator":" ","volumeBarHeightRatio":0.2,"left":"50pct","tooltipColor":"rgba(0, 0, 0, 0)","playlist":false,"durationColor":"#b8d9ff","play":true,"fastForward":true,"progressColor":"rgba(255, 255, 255, 1)","timeBorder":"0px solid rgba(0, 0, 0, 0.3)","scrubber":true,"volume":false,"builtIn":false,"volumeBorder":"1px solid rgba(128, 128, 128, 0.7)"},"finish":"0","local":null,"remote":null,"youtube":false,"youtube_id":false,"flowplayer_key":"ce2168711145ec3a933","preview":false,"hasMetaData":true,"data":{"width":"500","height":"322","affiliate_promo_vendor":"","button_text_color":"#FFFFFF","button_body_color":"#000000","html_body_color":"#000000","simple_page_name":"","simple_page_images_1_link":"","simple_page_images_2_link":"","simple_page_beauty_title":"","simple_page_facebook_desc":"","allow_fullscreen":"true","autoBuffering":"true","shadows":"true","allow_pause":"true","autoPlay":"true","button_body_translucent":"true","html_body_translucent":"true","skin":"modern-minimal","target":"TWFnaWMgc3VibWl0dGVyIE9wZW5pbmcgNDIyLmZsdg==","finish":"0","use_conversions":"0","use_upsells":"0","source":"bW9kdWxlMS04Y29tcGV0aXRpdmUtYW5hbHlzaXMtMS5mbHY=","scaling":"scale","control_type":"show","watermark_placement":"top-left","elements":false},"embed_code":false,"affiliate_code":false,"reference_profile":false,"profile":false,"alternate_embed":false,"file_extension":"flv","local_assets":"assets\/files\/","button":false,"project_name":"EasyVideoPlayer 2","project_website":"http:\/\/www.easyvideoplayer.com","affiliate_url":"http:\/\/fli08.webactix.hop.clickbank.net\/","commercial":false,"free":false,"analytics":false,"analytics_tracker_id":null,"status":"","metainfo":{"nativeWidth":"416","nativeHeight":"240","duration":"421.61632653053374","codec":{"audioSampleRate":"22050"},"duration_readable":"7 minutes, 1 second"}};
function _evpInit(id, options) {
  var d = true;
  if(typeof options == 'object' && options.enableAsyncLoading == true) d = false;
  _evpLoad("assets.js.php?v=2.3.1", function() {
		_evp22Go(id, options);
  }, d);
}

function _evpLightbox(id, options) {
  var d = true;
  if(typeof options == 'object' && options.enableAsyncLoading == true) d = false;
  _evpLoad("assets.js.php?v=2.3.1", function() {
		// Now load the CSS
		EVP22Lib('<link>', {
			rel: 'stylesheet',
			type: 'text/css',
			href: 'http://realstrategic.com/evp/player/prettyPhoto-3.0.1/css/prettyPhoto.css?v=5'
		}).appendTo('head');
		// And proceed
		_evp22GoLightbox(id, options);
  }, d);
}
