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://webactix.com/video/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['c2FsZXMtcGFnZS12aWRlby0xLTEubXA0'] = {"absolute":"http:\/\/webactix.com\/video\/","asset_location":"http:\/\/webactix.com\/video\/","id":"evp-0a5ed7d056e5de919aeda7513bdf9206","div_id":"evp-78360ab4447fd7b4ec5d2a4a37ae8661","bucket_name":"serenity4a688081257a6793616334","file_id":"c2FsZXMtcGFnZS12aWRlby0xLTEubXA0","type":"video","extension":"mp4","skin":{"leftUIWidth":30,"rightUIWidth":190,"rightUIWidthSmall":42,"url":"http:\/\/webactix.com\/video\/player\/flowplayer-3.2.7\/flowplayer.controls-tube-3.2.5.swf","timeBgColor":"#262626","backgroundColor":"#b5b5b5","progressColor":"#6997d8","progressGradient":"none","sliderColor":"#000000","durationColor":"#ffffff","tooltipTextColor":"#D00000","bufferColor":"#878787","backgroundGradient":"medium","volumeSliderGradient":"none","borderRadius":"10","tooltipColor":"#C9C9C9","buttonOverColor":"#000000","volumeSliderColor":"#D00000","timeColor":"#757575","buttonColor":"#000000","bufferGradient":"none","sliderGradient":"none","height":24,"opacity":1},"finish":"0","local":null,"remote":null,"youtube":false,"youtube_id":false,"flowplayer_key":"010bd0ee78995200d33","preview":false,"hasMetaData":true,"cloudfront":"s3r9j1k8weamdo.cloudfront.net","splash":true,"splash_image":"http:\/\/serenity4a688081257a6793616334.s3.amazonaws.com\/sales-page-video-1-1.jpg","data":{"width":"560","height":"325","affiliate_promo_vendor":"","button_text_color":"#ffffff","button_body_color":"#000000","html_body_color":"#b5b5b5","overlays":{"1":{"background":"#c4c4c4","start_minutes":"0","start_seconds":"10","duration_minutes":"0","duration_seconds":"30","content":"<p><strong><font color=\"#FFFFFF\">To get immediate access, <\/font><a href=\"http:\/\/www.easyvideoplayer.com\"><font color=\"#3366F0\">CLICK HERE NOW!<\/font><\/a><\/strong><\/p>\r\n<p><strong><\/strong><\/p>\r\n<p><strong><font color=\"#FF0000\">NOTE: This offer is only available for the next 30 seconds!<\/font><\/strong><\/p>","start":"10","duration":"30","position":"bottom"}},"elements":false,"simple_page_name":"","simple_page_images_1_link":"","simple_page_images_2_link":"","simple_page_beauty_title":"","simple_page_facebook_desc":"","autoBuffering":"true","shadows":"true","enable_overlays":"1","skin":"legacy-silver","target":"c2FsZXMtcGFnZS12aWRlby0xLTEubXA0","finish":"0","use_conversions":"0","use_upsells":"0","source":"ZmFjZWJvb2stYXBwLWNyZWF0aW9uLTEubXA0","scaling":"scale","control_type":"autohide","watermark_placement":"top-left","splash":"http:\/\/serenity4a688081257a6793616334.s3.amazonaws.com\/sales-page-video-1-1.jpg"},"embed_code":false,"affiliate_code":false,"reference_profile":false,"profile":false,"alternate_embed":false,"file_extension":"mp4","local_assets":"assets\/files\/","button":false,"project_name":"EasyVideoPlayer 2","project_website":"http:\/\/www.easyvideoplayer.com","affiliate_url":"http:\/\/webactix.webactix.hop.clickbank.net\/","commercial":true,"free":false,"analytics":false,"analytics_tracker_id":null,"status":"","metainfo":{"nativeWidth":"640","nativeHeight":"360","duration":"359.306","codec":{"framerate":"29.999977730368204","codec":"avc1","audioChannels":"2","audioCodec":"mp4a","audioSampleRate":"22050"},"duration_readable":"5 minutes, 59 seconds"}};
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://webactix.com/video/player/prettyPhoto-3.0.1/css/prettyPhoto.css?v=5'
		}).appendTo('head');
		// And proceed
		_evp22GoLightbox(id, options);
  }, d);
}
