
/*=========================================================
	START	SNIPPETSETTINGS
=========================================================*/
	var ViTALS_54_the_domain = "http://richmedia247.com";
	ViTALS_54_the_domain = ViTALS_54_the_domain.replace('http:', document.location.protocol);
	var ViTALS_54_current_time = new Date();

	var ViTALS_54_initial_visits_for_ad_19 = 1;	// the number of visits needed before an ad is displayed for the first time
	var ViTALS_54_visits_for_ad_19 = 0;		// the number of visits needed after the first time the ad is displayed for it to be displayed again
	var ViTALS_54_minutes_for_ad_19 = 1440;		// the number of minutes needed after the first time the ad is displayed for it to be displayed again
	var ViTALS_54_max_displays_ad_19 = 1001;		// the maximum times an ad can be displayed
	var ViTALS_54_show_after_response_ad_19 = 'N';	// whether or not to show the ad again after it has been responded too
	
	var ViTALS_54_ad_19_type = 'flash';		// the type of ad to be displayed, ad types supported are popup, flash, and redirect
	var ViTALS_54_ad_19_flash_location = 'VoiceOfTheMartyrs_TFC2_200809171445.swf';
	var ViTALS_54_ad_19_flash_width = 400;
	var ViTALS_54_ad_19_flash_height = 320;
	var ViTALS_54_ad_19_redirect_location = 'http://';
	var ViTALS_54_ad_19_popup_location = 'http://';
	var ViTALS_54_ad_19_popup_title = '';
	
	var ViTALS_54_visits_any_ad = 0;			// the number of visits required between any ad being displayed
	var ViTALS_54_minutes_any_ad = 1440;		// the number of minutes required between any ad being displayed
/*=========================================================
	END	SNIPPETSETTINGS
=========================================================*/


/*=========================================================
	START 	SWFOBJECT
	SWFObject v2.0
	Copyright (c) 2007 Geoff Stearns, Michael Williams, and Bobby van der Sluis
	This software is released under the MIT License
=========================================================*/
	var swfobject=function(){var Z="undefined",P="object",B="Shockwave Flash",h="ShockwaveFlash.ShockwaveFlash",W="application/x-shockwave-flash",K="SWFObjectExprInst",G=window,g=document,N=navigator,f=[],H=[],Q=null,L=null,T=null,S=false,C=false;var a=function(){var l=typeof g.getElementById!=Z&&typeof g.getElementsByTagName!=Z&&typeof g.createElement!=Z&&typeof g.appendChild!=Z&&typeof g.replaceChild!=Z&&typeof g.removeChild!=Z&&typeof g.cloneNode!=Z,t=[0,0,0],n=null;if(typeof N.plugins!=Z&&typeof N.plugins[B]==P){n=N.plugins[B].description;if(n){n=n.replace(/^.*\s+(\S+\s+\S+$)/,"$1");t[0]=parseInt(n.replace(/^(.*)\..*$/,"$1"),10);t[1]=parseInt(n.replace(/^.*\.(.*)\s.*$/,"$1"),10);t[2]=/r/.test(n)?parseInt(n.replace(/^.*r(.*)$/,"$1"),10):0}}else{if(typeof G.ActiveXObject!=Z){var o=null,s=false;try{o=new ActiveXObject(h+".7")}catch(k){try{o=new ActiveXObject(h+".6");t=[6,0,21];o.AllowScriptAccess="always"}catch(k){if(t[0]==6){s=true}}if(!s){try{o=new ActiveXObject(h)}catch(k){}}}if(!s&&o){try{n=o.GetVariable("$version");if(n){n=n.split(" ")[1].split(",");t=[parseInt(n[0],10),parseInt(n[1],10),parseInt(n[2],10)]}}catch(k){}}}}var v=N.userAgent.toLowerCase(),j=N.platform.toLowerCase(),r=/webkit/.test(v)?parseFloat(v.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,i=false,q=j?/win/.test(j):/win/.test(v),m=j?/mac/.test(j):/mac/.test(v);/*@cc_on i=true;@if(@_win32)q=true;@elif(@_mac)m=true;@end@*/return{w3cdom:l,pv:t,webkit:r,ie:i,win:q,mac:m}}();var e=function(){if(!a.w3cdom){return }J(I);if(a.ie&&a.win){try{g.write("<script id=__ie_ondomload defer=true src=//:><\/script>");var i=c("__ie_ondomload");if(i){i.onreadystatechange=function(){if(this.readyState=="complete"){this.parentNode.removeChild(this);V()}}}}catch(j){}}if(a.webkit&&typeof g.readyState!=Z){Q=setInterval(function(){if(/loaded|complete/.test(g.readyState)){V()}},10)}if(typeof g.addEventListener!=Z){g.addEventListener("DOMContentLoaded",V,null)}M(V)}();function V(){if(S){return }if(a.ie&&a.win){var m=Y("span");try{var l=g.getElementsByTagName("body")[0].appendChild(m);l.parentNode.removeChild(l)}catch(n){return }}S=true;if(Q){clearInterval(Q);Q=null}var j=f.length;for(var k=0;k<j;k++){f[k]()}}function J(i){if(S){i()}else{f[f.length]=i}}function M(j){if(typeof G.addEventListener!=Z){G.addEventListener("load",j,false)}else{if(typeof g.addEventListener!=Z){g.addEventListener("load",j,false)}else{if(typeof G.attachEvent!=Z){G.attachEvent("onload",j)}else{if(typeof G.onload=="function"){var i=G.onload;G.onload=function(){i();j()}}else{G.onload=j}}}}}function I(){var l=H.length;for(var j=0;j<l;j++){var m=H[j].id;if(a.pv[0]>0){var k=c(m);if(k){H[j].width=k.getAttribute("width")?k.getAttribute("width"):"0";H[j].height=k.getAttribute("height")?k.getAttribute("height"):"0";if(O(H[j].swfVersion)){if(a.webkit&&a.webkit<312){U(k)}X(m,true)}else{if(H[j].expressInstall&&!C&&O("6.0.65")&&(a.win||a.mac)){D(H[j])}else{d(k)}}}}else{X(m,true)}}}function U(m){var k=m.getElementsByTagName(P)[0];if(k){var p=Y("embed"),r=k.attributes;if(r){var o=r.length;for(var n=0;n<o;n++){if(r[n].nodeName.toLowerCase()=="data"){p.setAttribute("src",r[n].nodeValue)}else{p.setAttribute(r[n].nodeName,r[n].nodeValue)}}}var q=k.childNodes;if(q){var s=q.length;for(var l=0;l<s;l++){if(q[l].nodeType==1&&q[l].nodeName.toLowerCase()=="param"){p.setAttribute(q[l].getAttribute("name"),q[l].getAttribute("value"))}}}m.parentNode.replaceChild(p,m)}}function F(i){if(a.ie&&a.win&&O("8.0.0")){G.attachEvent("onunload",function(){var k=c(i);if(k){for(var j in k){if(typeof k[j]=="function"){k[j]=function(){}}}k.parentNode.removeChild(k)}})}}function D(j){C=true;var o=c(j.id);if(o){if(j.altContentId){var l=c(j.altContentId);if(l){L=l;T=j.altContentId}}else{L=b(o)}if(!(/%$/.test(j.width))&&parseInt(j.width,10)<310){j.width="310"}if(!(/%$/.test(j.height))&&parseInt(j.height,10)<137){j.height="137"}g.title=g.title.slice(0,47)+" - Flash Player Installation";var n=a.ie&&a.win?"ActiveX":"PlugIn",k=g.title,m="MMredirectURL="+G.location+"&MMplayerType="+n+"&MMdoctitle="+k,p=j.id;if(a.ie&&a.win&&o.readyState!=4){var i=Y("div");p+="SWFObjectNew";i.setAttribute("id",p);o.parentNode.insertBefore(i,o);o.style.display="none";G.attachEvent("onload",function(){o.parentNode.removeChild(o)})}R({data:j.expressInstall,id:K,width:j.width,height:j.height},{flashvars:m},p)}}function d(j){if(a.ie&&a.win&&j.readyState!=4){var i=Y("div");j.parentNode.insertBefore(i,j);i.parentNode.replaceChild(b(j),i);j.style.display="none";G.attachEvent("onload",function(){j.parentNode.removeChild(j)})}else{j.parentNode.replaceChild(b(j),j)}}function b(n){var m=Y("div");if(a.win&&a.ie){m.innerHTML=n.innerHTML}else{var k=n.getElementsByTagName(P)[0];if(k){var o=k.childNodes;if(o){var j=o.length;for(var l=0;l<j;l++){if(!(o[l].nodeType==1&&o[l].nodeName.toLowerCase()=="param")&&!(o[l].nodeType==8)){m.appendChild(o[l].cloneNode(true))}}}}}return m}function R(AE,AC,q){var p,t=c(q);if(typeof AE.id==Z){AE.id=q}if(a.ie&&a.win){var AD="";for(var z in AE){if(AE[z]!=Object.prototype[z]){if(z=="data"){AC.movie=AE[z]}else{if(z.toLowerCase()=="styleclass"){AD+=' class="'+AE[z]+'"'}else{if(z!="classid"){AD+=" "+z+'="'+AE[z]+'"'}}}}}var AB="";for(var y in AC){if(AC[y]!=Object.prototype[y]){AB+='<param name="'+y+'" value="'+AC[y]+'" />'}}t.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+AD+">"+AB+"</object>";F(AE.id);p=c(AE.id)}else{if(a.webkit&&a.webkit<312){var AA=Y("embed");AA.setAttribute("type",W);for(var x in AE){if(AE[x]!=Object.prototype[x]){if(x=="data"){AA.setAttribute("src",AE[x])}else{if(x.toLowerCase()=="styleclass"){AA.setAttribute("class",AE[x])}else{if(x!="classid"){AA.setAttribute(x,AE[x])}}}}}for(var w in AC){if(AC[w]!=Object.prototype[w]){if(w!="movie"){AA.setAttribute(w,AC[w])}}}t.parentNode.replaceChild(AA,t);p=AA}else{var s=Y(P);s.setAttribute("type",W);for(var v in AE){if(AE[v]!=Object.prototype[v]){if(v.toLowerCase()=="styleclass"){s.setAttribute("class",AE[v])}else{if(v!="classid"){s.setAttribute(v,AE[v])}}}}for(var u in AC){if(AC[u]!=Object.prototype[u]&&u!="movie"){E(s,u,AC[u])}}t.parentNode.replaceChild(s,t);p=s}}return p}function E(k,i,j){var l=Y("param");l.setAttribute("name",i);l.setAttribute("value",j);k.appendChild(l)}function c(i){return g.getElementById(i)}function Y(i){return g.createElement(i)}function O(k){var j=a.pv,i=k.split(".");i[0]=parseInt(i[0],10);i[1]=parseInt(i[1],10);i[2]=parseInt(i[2],10);return(j[0]>i[0]||(j[0]==i[0]&&j[1]>i[1])||(j[0]==i[0]&&j[1]==i[1]&&j[2]>=i[2]))?true:false}function A(m,j){if(a.ie&&a.mac){return }var l=g.getElementsByTagName("head")[0],k=Y("style");k.setAttribute("type","text/css");k.setAttribute("media","screen");if(!(a.ie&&a.win)&&typeof g.createTextNode!=Z){k.appendChild(g.createTextNode(m+" {"+j+"}"))}l.appendChild(k);if(a.ie&&a.win&&typeof g.styleSheets!=Z&&g.styleSheets.length>0){var i=g.styleSheets[g.styleSheets.length-1];if(typeof i.addRule==P){i.addRule(m,j)}}}function X(k,i){var j=i?"visible":"hidden";if(S){c(k).style.visibility=j}else{A("#"+k,"visibility:"+j)}}return{registerObject:function(l,i,k){if(!a.w3cdom||!l||!i){return }var j={};j.id=l;j.swfVersion=i;j.expressInstall=k?k:false;H[H.length]=j;X(l,false)},getObjectById:function(l){var i=null;if(a.w3cdom&&S){var j=c(l);if(j){var k=j.getElementsByTagName(P)[0];if(!k||(k&&typeof j.SetVariable!=Z)){i=j}else{if(typeof k.SetVariable!=Z){i=k}}}}return i},embedSWF:function(n,u,r,t,j,m,k,p,s){if(!a.w3cdom||!n||!u||!r||!t||!j){return }r+="";t+="";if(O(j)){X(u,false);var q=(typeof s==P)?s:{};q.data=n;q.width=r;q.height=t;var o=(typeof p==P)?p:{};if(typeof k==P){for(var l in k){if(k[l]!=Object.prototype[l]){if(typeof o.flashvars!=Z){o.flashvars+="&"+l+"="+k[l]}else{o.flashvars=l+"="+k[l]}}}}J(function(){R(q,o,u);if(q.id==u){X(u,true)}})}else{if(m&&!C&&O("6.0.65")&&(a.win||a.mac)){X(u,false);J(function(){var i={};i.id=i.altContentId=u;i.width=r;i.height=t;i.expressInstall=m;D(i)})}}},getFlashPlayerVersion:function(){return{major:a.pv[0],minor:a.pv[1],release:a.pv[2]}},hasFlashPlayerVersion:O,createSWF:function(k,j,i){if(a.w3cdom&&S){return R(k,j,i)}else{return undefined}},createCSS:function(j,i){if(a.w3cdom){A(j,i)}},addDomLoadEvent:J,addLoadEvent:M,getQueryParamValue:function(m){var l=g.location.search||g.location.hash;if(m==null){return l}if(l){var k=l.substring(1).split("&");for(var j=0;j<k.length;j++){if(k[j].substring(0,k[j].indexOf("="))==m){return k[j].substring((k[j].indexOf("=")+1))}}}return""},expressInstallCallback:function(){if(C&&L){var i=c(K);if(i){i.parentNode.replaceChild(L,i);if(T){X(T,true);if(a.ie&&a.win){L.style.display="block"}}L=null;T=null;C=false}}}}}();

/*=========================================================
	END	SWFOBJECT
=========================================================*/

/*=========================================================
	START	EMBEDFLASH
	Embed the swf that enables the flash cookies into the website
=========================================================*/
	var ViTALS_54_num_loops_2 = 0;
	var ViTALS_54_max_loops_2 = 100;
	var ViTALS_54_delay_length_2 = 50; // milliseconds
	function ViTALS_54_delay_embed_flash () {
		if (!document.getElementsByTagName('body').item(0) && ViTALS_54_num_loops_2 <= ViTALS_54_max_loops_2) {
			ViTALS_54_num_loops_2++;
			setTimeout("ViTALS_54_delay_embed_flash()",ViTALS_54_delay_length_2);
		} else if (ViTALS_54_num_loops_2 > ViTALS_54_max_loops_2) {
			//do nothing
		} else {
			ViTALS_54_embed_flash();
		}
	}
	
	function ViTALS_54_embed_flash() {	
		//create the DIV for the flash and append the new div to the body of the document
		var html_body = document.getElementsByTagName('body').item(0);
		var new_window = document.createElement('div');
		new_window.setAttribute('id','ViTALS_54Cookie');	
		html_body.insertBefore(new_window,document.getElementsByTagName('body').item(0).firstChild);
		
		var flashvars = {};
		var params = {
			wmode: "transparent",
			allowScriptAccess: "always"
		};
		var attributes = {
			id: "ViTALS_54Cookie",
			style: "position:absolute"
		};
		swfobject.embedSWF(ViTALS_54_the_domain + "/flash/ViTALS_cookie.swf", "ViTALS_54Cookie", "1", "1", "8", "false", flashvars, params, attributes);
	}
	
	ViTALS_54_delay_embed_flash();
/*=========================================================
	END	EMBEDFLASH
=========================================================*/


/*=========================================================
	START COOKIEFUNCTIONS
	Declare the functions to read and write to the flash cookie
=========================================================*/
	//set this to name of your flash object/embed
	var ViTALS_54_cookie_id  = 'ViTALS_54Cookie';

	var ViTALS_54_Cookie =
	{
		init: function(ViTALS_54_cookie_id) {
			this.cookie_id  		= ViTALS_54_cookie_id;
			this.flash_cookie_ready 	= false;
			this.flash_cookie_able  	= false;
			this.flash_cookie  		= null;
			this.flash_alert  		= false;

			this.flash_is_ready();
		},
		
		flash_is_ready: function() {
			if(!document.getElementById || !document.getElementById(this.cookie_id)) return;
			if(!this.get_movie(this.cookie_id)) return;

			this.flash_cookie_ready = true;
			this.flash_cookie_able  = this.flash_cookie.f_cookie_able();
		},

		is_able: function() {
			if(!this.flash_alert && !(this.flash_cookie_ready && this.flash_cookie_able))
			{
				this.flash_alert = true;
			}
			return (this.flash_cookie_ready && this.flash_cookie_able);
		},

		del: function(key) {
			if(!this.is_able()) return;
			this.flash_cookie.f_delete_cookie(key);
		},

		get: function(key) {
			if(!this.is_able()) return;
			var ret = this.flash_cookie.f_get_cookie(key);
			return ((ret == 'null') ? '' : ret);
		},

		clear: function() {
			if(!this.is_able()) return;
			this.flash_cookie.f_clear_cookie();
		},

		set: function(key,val) {
			if(!this.is_able()) return;
			this.flash_cookie.f_set_cookie(key,val);
		},

		get_movie: function() {
			if (navigator.appName.indexOf("Microsoft") != -1)
			{
				this.flash_cookie = window[this.cookie_id];
			}
			else
			{
				this.flash_cookie =  document[this.cookie_id];
			}

			return ((this.flash_cookie) ? true : false);
		}
	};

	function flash_ready() {
		ViTALS_54_Cookie.init(ViTALS_54_cookie_id);
	}
/*=========================================================
	END	COOKIEFUNCTIONS
=========================================================*/

/*=========================================================
	START	TRACKINGVALUES
	This section ensures all the cookie values have been created
	and increments the page view values
=========================================================*/
	var ViTALS_identifier;
	var ViTALS_enabled;
	var ViTALS_54_hits_overall;
	var ViTALS_54_hits_since_ads;
	var ViTALS_54_date_view_ads;
	
	var ViTALS_54_views_ad_19;
	var ViTALS_54_date_view_ad_19;	
	var ViTALS_54_hits_since_ad_19;	
	var ViTALS_54_response_ad_19;
	var ViTALS_54_preloaded_ad_19;
	var ViTALS_54_clicks_ad_19;
	
	function ViTALS_54_trackingValues() {
		// get the current value of the variables from the cookie
		ViTALS_identifier = ViTALS_54_Cookie.get('ViTALS_identifier');
		ViTALS_enabled = ViTALS_54_Cookie.get('ViTALS_enabled');
		ViTALS_54_hits_overall = ViTALS_54_Cookie.get('ViTALS_54_hits_overall');
		ViTALS_54_date_view_ads = ViTALS_54_Cookie.get('ViTALS_54_date_view_ads');
		ViTALS_54_hits_since_ads = ViTALS_54_Cookie.get('ViTALS_54_hits_since_ads');
		
		ViTALS_54_views_ad_19 = ViTALS_54_Cookie.get('ViTALS_54_views_ad_19');
		ViTALS_54_date_view_ad_19 = ViTALS_54_Cookie.get('ViTALS_54_date_view_ad_19');
		ViTALS_54_hits_since_ad_19 = ViTALS_54_Cookie.get('ViTALS_54_hits_since_ad_19');
		ViTALS_54_response_ad_19 = ViTALS_54_Cookie.get('ViTALS_54_response_ad_19');
		ViTALS_54_preloaded_ad_19 = ViTALS_54_Cookie.get('ViTALS_54_preloaded_ad_19');
		ViTALS_54_clicks_ad_19 = ViTALS_54_Cookie.get('ViTALS_54_clicks_ad_19');
		// setup variables if they are empty
		if (!ViTALS_identifier) ViTALS_identifier = ViTALS_54_current_time.getTime() + '' + (Math.floor(Math.random()*900)+100);
		if (!ViTALS_54_hits_overall) ViTALS_54_hits_overall = 0;
		if (!ViTALS_54_date_view_ads) ViTALS_54_date_view_ads = ViTALS_54_current_time.getTime()-3650*24*60*60*1000;
		if (!ViTALS_54_hits_since_ads) ViTALS_54_hits_since_ads = 0;
		
		if (!ViTALS_54_views_ad_19) ViTALS_54_views_ad_19 = 0;
		if (!ViTALS_54_date_view_ad_19) ViTALS_54_date_view_ad_19 = ViTALS_54_current_time.getTime()-3650*24*60*60*1000;
		if (!ViTALS_54_hits_since_ad_19) ViTALS_54_hits_since_ad_19 = 0;
		if (!ViTALS_54_response_ad_19) ViTALS_54_response_ad_19 = 0;
		if (!ViTALS_54_preloaded_ad_19) ViTALS_54_preloaded_ad_19 = 'N';
		if (!ViTALS_54_clicks_ad_19) ViTALS_54_clicks_ad_19 = 0;
		// increment the applicable variables
		ViTALS_54_hits_overall = parseInt(ViTALS_54_hits_overall) + 1;
		ViTALS_54_hits_since_ads = parseInt(ViTALS_54_hits_since_ads) + 1;
	
		ViTALS_54_hits_since_ad_19 = parseInt(ViTALS_54_hits_since_ad_19) + 1;

		// write the cookie values
		ViTALS_54_Cookie.set('ViTALS_identifier', ViTALS_identifier);
		ViTALS_54_Cookie.set('ViTALS_54_hits_overall', ViTALS_54_hits_overall);
		ViTALS_54_Cookie.set('ViTALS_54_date_view_ads', ViTALS_54_date_view_ads);
		ViTALS_54_Cookie.set('ViTALS_54_hits_since_ads', ViTALS_54_hits_since_ads);
	
		ViTALS_54_Cookie.set('ViTALS_54_views_ad_19', ViTALS_54_views_ad_19);
		ViTALS_54_Cookie.set('ViTALS_54_date_view_ad_19', ViTALS_54_date_view_ad_19);
		ViTALS_54_Cookie.set('ViTALS_54_hits_since_ad_19', ViTALS_54_hits_since_ad_19);
		ViTALS_54_Cookie.set('ViTALS_54_response_ad_19', ViTALS_54_response_ad_19);
		ViTALS_54_Cookie.set('ViTALS_54_preloaded_ad_19', ViTALS_54_preloaded_ad_19);
		ViTALS_54_Cookie.set('ViTALS_54_clicks_ad_19', ViTALS_54_clicks_ad_19);
		
	}
/*=========================================================
	END	TRACKINGVALUES
=========================================================*/


/*=========================================================
	START	VITALSLOGIC
=========================================================*/

	function ViTALS_54_logic() {
	
		// logic for ad 19
		var ViTALS_54_call_show_ad_19 = false;
		if (	ViTALS_54_hits_overall >= ViTALS_54_initial_visits_for_ad_19 && 
			ViTALS_54_views_ad_19 < ViTALS_54_max_displays_ad_19 &&
			ViTALS_54_date_view_ad_19 + ViTALS_54_minutes_for_ad_19*1000*60 < ViTALS_54_current_time.getTime() &&
			ViTALS_54_date_view_ads + ViTALS_54_minutes_any_ad*1000*60 < ViTALS_54_current_time.getTime() &&
			(ViTALS_54_hits_since_ad_19 > ViTALS_54_visits_for_ad_19 || ViTALS_54_hits_overall == ViTALS_54_initial_visits_for_ad_19) &&
			(ViTALS_54_hits_since_ads > ViTALS_54_visits_any_ad || ViTALS_54_hits_overall == ViTALS_54_initial_visits_for_ad_19) &&
			(ViTALS_54_response_ad_19 == 0 || ViTALS_54_show_after_response_ad_19 == 'Y')
		) {
			ViTALS_54_call_show_ad_19 = true;
		}
		var ViTALS_54_ads_to_display = new Array();
	
			if (ViTALS_54_call_show_ad_19) {
				ViTALS_54_ads_to_display[ViTALS_54_ads_to_display.length] = 19;
			}
		
		if (ViTALS_54_ads_to_display.length == 0) {
			// do nothing, no ad to display
		} else if (ViTALS_54_ads_to_display.length == 1) {
			// display the only ad, no additional logic overhead
			eval('ViTALS_54_show_ad_' + ViTALS_54_ads_to_display[0] + '()');
		} else if (ViTALS_54_ads_to_display.length > 1) {
			// figure out which ad to display in equal rotation
			// repeat the array values until there are 60 entries, one for each second
			// use the current second to ensure (attempt) an even distribution of the ads
			var ViTALS_54_ads_to_display_count = ViTALS_54_ads_to_display.length;
			for (var i=ViTALS_54_ads_to_display_count; i < 60; i++) {
				ViTALS_54_ads_to_display[i] = ViTALS_54_ads_to_display[i-ViTALS_54_ads_to_display_count];				
			}			
			eval('ViTALS_54_show_ad_' + ViTALS_54_ads_to_display[ViTALS_54_current_time.getSeconds()] + '()');
		}
	}
/*=========================================================
	END	VITALSLOGIC
=========================================================*/




/*=========================================================
	START	VITALSSHOWAD
=========================================================*/
	
	function ViTALS_54_show_ad_19() {
		if (ViTALS_54_ad_19_type == 'flash') {
			if (ViTALS_54_preloaded_ad_19 == 'Y' || 'N' == 'N') {
				var loadfunction = 'play';
			} else {
				var loadfunction = 'preload';
			}

			//create the DIV for the flash and append the new div to the body of the document
			var html_body = document.getElementsByTagName('body').item(0);

			var new_element = document.createElement('div');
			new_element.setAttribute('id','ViTALS_54_flash_container');
			new_element.style.position = "absolute";
			if(navigator.userAgent.indexOf("Firefox/1.") >= 0) {
				// do nothing
			} else {
				new_element.style.overflow = "auto";
			}
			new_element.style.left = "50%";
			new_element.style.marginLeft = "-" + ViTALS_54_ad_19_flash_width/2 + "px";
			new_element.style.top = "75px";
			new_element.style.zIndex = "60000";
			
			var new_sub_element = document.createElement('div');
			new_sub_element.setAttribute('id', 'ViTALS_54_flash_ad');
			new_sub_element.style.position = "absolute";
			new_sub_element.style.left = "50%";
			new_sub_element.style.marginLeft = "-350px";
			new_sub_element.style.top = "75px";
			new_sub_element.style.zIndex = "60000";

			new_element.appendChild(new_sub_element);
			html_body.insertBefore(new_element,document.getElementsByTagName('body').item(0).firstChild);
			
			var flashvars = {
				adname: "54_ad_19",
				loadfunction: loadfunction,
				landingpage: "http://etools.781net.com/a/tfc/bg_vomtfc_tfccom-tfc-hover_346_r.html",
				trackingPixelURL: ""
			};
			var params = {
				wmode: "transparent",
				allowScriptAccess: "always"
			};
			var attributes = {};
			swfobject.embedSWF(ViTALS_54_the_domain + "/sync/flash/" + ViTALS_54_ad_19_flash_location, "ViTALS_54_flash_ad", ViTALS_54_ad_19_flash_width, ViTALS_54_ad_19_flash_height, "8", "false", flashvars, params, attributes);
			setTimeout("ViTALS_54_modifyFlash('hide')",500);
		} else if (ViTALS_54_ad_19_type == 'popup') {
			ViTALS_54_POPUP(19);
			winInit();
			window.setInterval('updateWindow()',20);
			ViTALS_54_modifyFlash("hide");
		} else if (ViTALS_54_ad_19_type == 'redirect') {
			ViTALS_54_ad_19_redirect();
		}
	}

	function vitals_54_ad_19_playing() {
		if (ViTALS_54_ad_19_type == 'flash') {
			ViTALS_54_preloaded_ad_19 = 'N'
			ViTALS_54_Cookie.set('ViTALS_54_preloaded_ad_19', 'N');	
		}

		ViTALS_54_views_ad_19++;
		ViTALS_54_date_view_ad_19 = ViTALS_54_current_time.getTime();
		ViTALS_54_date_view_ads = ViTALS_54_current_time.getTime();
		
		ViTALS_54_Cookie.set('ViTALS_54_views_ad_19', ViTALS_54_views_ad_19);
		ViTALS_54_Cookie.set('ViTALS_54_date_view_ad_19', ViTALS_54_date_view_ad_19);
		ViTALS_54_Cookie.set('ViTALS_54_date_view_ads', ViTALS_54_date_view_ads);

		ViTALS_54_report('&V_54_ava_19=Y&V_54_aca_19=N&V_54_ara_19=N');

		ViTALS_54_hits_since_ad_19 = 0;
		ViTALS_54_hits_since_ads = 0;

		ViTALS_54_Cookie.set('ViTALS_54_hits_since_ad_19', ViTALS_54_hits_since_ad_19);
		ViTALS_54_Cookie.set('ViTALS_54_hits_since_ads', ViTALS_54_hits_since_ads);
	}

	function vitals_54_ad_19_clicked() {
				
			ViTALS_54_response_ad_19 = ViTALS_54_Cookie.get('ViTALS_54_response_ad_19');
				ViTALS_54_clicks_ad_19++;
		ViTALS_54_Cookie.set('ViTALS_54_clicks_ad_19', ViTALS_54_clicks_ad_19);
		ViTALS_54_report('&V_54_ava_19=N&V_54_aca_19=Y&V_54_ara_19=N');
	}

	function vitals_54_ad_19_responded() {
				
			ViTALS_54_response_ad_19 = ViTALS_54_Cookie.get('ViTALS_54_response_ad_19');
				ViTALS_54_response_ad_19++;
		ViTALS_54_Cookie.set('ViTALS_54_response_ad_19', ViTALS_54_response_ad_19);
		ViTALS_54_report('&V_54_ava_19=N&V_54_aca_19=N&V_54_ara_19=Y');
	}

	function vitals_54_ad_19_preloaded() {
		ViTALS_54_preloaded_ad_19 = 'Y'
		ViTALS_54_Cookie.set('ViTALS_54_preloaded_ad_19', 'Y');
		vitals_hide_window();
	}

	function ViTALS_54_ad_19_redirect() {
		document.location = ViTALS_54_ad_19_redirect_location;
	}
	
	function ViTALS_54_report(action) {
		var cookie_values = 'V_i='+ViTALS_identifier+'&V_54_ho='+ViTALS_54_hits_overall+'&V_54_hsa='+ViTALS_54_hits_since_ads+'&V_54_dva='+ViTALS_54_date_view_ads+'&V_54_va_19='+ViTALS_54_views_ad_19+'&V_54_dva_19='+ViTALS_54_date_view_ad_19+'&V_54_hsa_19='+ViTALS_54_hits_since_ad_19+'&V_54_ra_19='+ViTALS_54_response_ad_19+'&V_54_ca_19='+ViTALS_54_clicks_ad_19+action;
		var html_body = document.getElementsByTagName('body').item(0);
		var new_js = document.createElement('script');
		new_js.setAttribute('src',ViTALS_54_the_domain+'/qry/vt_SLAVE_tracking.taf?'+cookie_values+'&_nc='+Math.round(Math.random()*9999999));
		new_js.setAttribute('type','text/javascript');
		html_body.appendChild(new_js);
	}
/*=========================================================
	END 	VITALSSHOWAD
=========================================================*/


/*=========================================================
	START	CLOSEFLASH
=========================================================*/
	function vitals_hide_window() {
		document.getElementById('ViTALS_54_flash_container').style.visibility = 'hidden';
		document.getElementById('ViTALS_54_flash_container').style.display = 'none';
		ViTALS_54_modifyFlash("show");
	}
/*=========================================================
	END 	CLOSEFLASH
=========================================================*/


	
/*=========================================================
	START	HIDESITEFLASH
=========================================================*/
	function ViTALS_54_modifyFlash(action) {
		//fix the shadowbox conflict BF 2008-10-30
		if (document.getElementById('shadowbox_container') && navigator.appName != 'Microsoft Internet Explorer') {
			if (action=='hide') {
				document.getElementById('shadowbox_container').style.zIndex = -1;
			} else {
				document.getElementById('shadowbox_container').style.zIndex = '';
			}	
		}

		var bottom_doc = document;
		var wmode_on = false;
		if (bottom_doc && bottom_doc.getElementsByName) {
		// Find all 'object' tags in the document.
		flashObjects = bottom_doc.getElementsByTagName('object');
		for (var i = 0; i < flashObjects.length; i++) {
			var flashNode = flashObjects[i];
			var paramNodes = flashNode.getElementsByTagName('param');
			if (flashNode && paramNodes) {
				for (var j = 0; j < paramNodes.length; j++) {
					var pNode = paramNodes[j];
					if (pNode.parentNode == flashNode && pNode.name == 'wmode' && pNode.value == 'transparent') {
						wmode_on = true;
					}
					
				}
				if (!wmode_on && action=='hide' && flashNode.id != 'ViTALS_54_flash_ad' && flashNode.id != 'ViTALS_54Cookie') {
					flashNode.style.visibility = "hidden";
				}
				if (action=='show' && flashNode.id != 'ViTALS_54_flash_ad' && flashNode.id != 'ViTALS_54Cookie') {
					flashNode.style.visibility = "visible";
				}
				wmode_on = false;
				
			} // End of If
		} // End For
		// Find all 'embed' tags in the document.
		flashEmbeds = bottom_doc.getElementsByTagName('embed');
		for (var i = 0; i < flashEmbeds.length; i++) {
			var flashNode = flashEmbeds[i];
			if (flashNode.getAttribute('wmode') == 'transparent') {
				wmode_on = true;
			}	
			if (!wmode_on && action=='hide' && flashNode.id != 'ViTALS_54_flash_ad' && flashNode.id != 'ViTALS_54Cookie') {
				flashNode.style.visibility = "hidden";
			}
			if (action=='show' && flashNode.id != 'ViTALS_54_flash_ad' && flashNode.id != 'ViTALS_54Cookie') {
				flashNode.style.visibility = "visible";
			}
			wmode_on = false;		
		} // End For
		} // End of If 
	}
/*=========================================================
	END	HIDESITEFLASH
=========================================================*/


/*=========================================================
	START	FLASHPOPUP
=========================================================*/
	function ncol_vitals_newWindow(pageUrl) {   
   		var ncol_winName = Math.round(9999*Math.random()) + new Date().getTime();
    		var ncol_winNew = window.open(pageUrl,ncol_winName,"toolbar=1,scrollbars=1,location=1,statusbar=0,menubar=0,resizable=1,width=920,height=600,left=*,top=*");

    		if(!ncol_winNew) {
	        		ncol_getSwf("ViTALS_54_flash_ad").openWindowFromSwf(pageUrl);
    		} else {
        			ncol_winNew.focus();
    		}
	}

	function ncol_vitals_getSwf(id) {   
    		if (navigator.appName.indexOf("Microsoft") != -1) {
        			return window[id];
    		} else {
        			return document[id];
    		}
	}
/*=========================================================
	END	FLASHPOPUP
=========================================================*/


/*=========================================================
	START 	ViTALS_start
=========================================================*/
	var ViTALS_54_num_loops = 0;
	var ViTALS_54_max_loops = 100;
	var ViTALS_54_delay_length = 50; // milliseconds
	function ViTALS_54_delay_start () {
		
		if (!ViTALS_54_Cookie.is_able() && ViTALS_54_num_loops <= ViTALS_54_max_loops) {
			ViTALS_54_num_loops++;
			setTimeout("ViTALS_54_delay_start()",ViTALS_54_delay_length);
		} else if (ViTALS_54_num_loops > ViTALS_54_max_loops) {
			// don't start
		} else {
			ViTALS_54_start();
		}
	}
	
	function ViTALS_54_start() {
		ViTALS_54_trackingValues();
		if (!ViTALS_enabled || ViTALS_enabled == 'Y') {
			ViTALS_54_logic();
		}
	}
	
	ViTALS_54_delay_start();
/*=========================================================
	END	ViTALS_start
=========================================================*/
