
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://dynamicwealth.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['dG1wLWludHJvLTEubXA0'] = {"absolute":"http:\/\/dynamicwealth.com\/evp\/","asset_location":"http:\/\/dynamicwealth.com\/evp\/","id":"evp-445b9bf34ccbc1c7d88a7a0b40884a0b","div_id":"evp-6827cb950b6c143d65de261c2222b62b","bucket_name":"evp-4b4f650f7c6de-f567191d99a94efd08687fc7725980f3","file_id":"dG1wLWludHJvLTEubXA0","type":"video","extension":"mp4","skin":{"timeColor":"#01DAFF","borderRadius":"0px","bufferGradient":"none","slowForward":true,"backgroundColor":"rgba(37, 53, 60, 0.7)","volumeSliderGradient":"none","slowBackward":false,"progressGradient":"medium","time":true,"height":24,"tooltips":{"marginBottom":5,"scrubber":true,"volume":true,"buttons":false},"opacity":1,"fastBackward":false,"border":"0px","bufferColor":"#6c9cbc","volumeSliderColor":"#000000","buttonColor":"#5F747C","mute":true,"autoHide":{"enabled":true,"hideDelay":500,"hideStyle":"fade","mouseOutDelay":500,"hideDuration":400,"fullscreenOnly":true},"backgroundGradient":[0.6,0.3,0,0,0],"width":"100pct","display":"block","buttonOverColor":"#728B94","url":"http:\/\/dynamicwealth.com\/evp\/player\/flowplayer-3.2.7\/flowplayer.controls-air-3.2.5.swf","fullscreen":true,"timeBgColor":"#555555","scrubberBarHeightRatio":1,"bottom":0,"stop":false,"sliderColor":"#000000","zIndex":1,"scrubberHeightRatio":0.4,"tooltipTextColor":"#ffffff","sliderGradient":"none","timeBgHeightRatio":0.7,"volumeSliderHeightRatio":0.4,"name":"controls","volumeBarHeightRatio":1,"left":"50pct","tooltipColor":"#5F747C","playlist":false,"durationColor":"#ffffff","play":true,"fastForward":true,"timeBorder":"1px solid rgba(0, 0, 0, 0.3)","progressColor":"#015B7A","volume":true,"scrubber":true,"builtIn":false},"finish":"2","local":null,"remote":null,"youtube":false,"youtube_id":false,"flowplayer_key":"729711d1e2cbc5e533a","preview":false,"hasMetaData":true,"cloudfront":"s3u5pqp1figbah.cloudfront.net","data":{"simple_page_text":"","width":"710","height":"400","affiliate_promo_vendor":"","button_url":"","button_text":"","button_text_color":"#FFFFFF","button_body_color":"#000000","html_body_color":"#000000","overlays":{"1":{"background":"#999999","start_minutes":"0","start_seconds":"10","duration_minutes":"0","duration_seconds":"10","content":"","start":"10","duration":"10","position":"top"}},"image_overlays":{"1":{"link":"","start_minutes":"0","start_seconds":"10","duration_minutes":"0","duration_seconds":"10","file":"","start":"10","duration":"10","position":"top-left"}},"simple_page_name":"","simple_page_images_1_link":"","simple_page_images_2_link":"","password_protect_background":"#000000","password_protect_text":"#FFFFFF","password_protect_intro":"","password_protect_word":"","affiliate_id":"","simple_page_beauty_title":"","simple_page_facebook_desc":"","shadows":"true","allow_pause":"true","autoPlay":"true","cookiedAutoPlay":"true","bar_download":"1","button_body_translucent":"true","html_body_translucent":"true","skin":"legacy-default","button_skin":"basic_black","target":"dG1wLWludHJvLTEubXA0","finish":"2","use_conversions":"1","use_upsells":"1","scaling":"scale","control_type":"hide","watermark_placement":"top-left","password_protect_cookie":"0","elements":false},"embed_code":false,"affiliate_code":false,"reference_profile":false,"profile":false,"alternate_embed":false,"file_extension":"mp4","local_assets":"","button":{"author":{"name":"Basic Black","author":"WebActix","slug":"basic_black"},"features":{"text":true,"highlights":true},"css":{"width":"239","height":"38","background-image":"http:\/\/dynamicwealth.com\/evp\/assets\/button_skins\/basic_black\/skin.png"}},"project_name":"EasyVideoPlayer 2","project_website":"http:\/\/www.easyvideoplayer.com","affiliate_url":"http:\/\/www.easyvideoplayer.com","commercial":true,"analytics":true,"analytics_tracker_id":"UA-24869103-6","status":""};
function _evpInit(id, options) {
  var d = false;
  if(typeof options == 'object' && options.disableAsyncLoading == true) d = true;
  _evpLoad("assets.js.php?v=2.2.1", function() {
	_evp22Go(id, options);
  }, d);
}

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