function play_televox_flash() {
	var so = new SWFObject("main-ani01.swf", "mymovie", "900", "207", "8", "#BBAE9B");
	so.addParam("quality", "best");
	so.addParam("wmode", "transparent");
	so.addParam("flashvars", "0");
	so.write("topFlash");
}
function play_retainer() {
	var so = new SWFObject("http://tools.televoxsites.com/features/retainer.swf", "feature", "450", "265", "6", "ffffff");
	so.addParam("wmode", "transparent");
	so.write("feature");
}
//activates the sIFR
//code for the h1 tags
var pageHeader = {  src: 'avantGarde.swf' };
sIFR.activate(pageHeader);
sIFR.replace(pageHeader, {
  selector: 'h1', 
  wmode: 'transparent', 
  src: 'avantGarde.swf', 
  css: [ '.sIFR-root {color:#293D7A; }'  ]
});

//activates the sIFR
//code for the h1 tags
var pageHeader = {  src: 'spring.swf' };
sIFR.activate(pageHeader);

sIFR.replace(pageHeader, {
  selector: '#homeTitle', 
  wmode: 'transparent', 
  src: 'spring.swf', 
  css: [ '.sIFR-root {color:#293D7A; }'  ]
});

//start jQuery functions
jQuery(document).ready(function(){
	jQuery("#nav")
	.superfish({
		hoverClass	: "sfHover",
		pathClass	: "overideThisToUse",
		delay		: 500,
		animation	: {opacity:"show",height:"show"},
		speed		: "normal",
		oldJquery	: false, // set to true if using jQuery version below 1.2
		disableHI	: false, // set to true to disable hoverIntent detection
		onInit		: function(){},
		onBeforeShow	: function(){},
		onShow		: function(){},
		onHide		: function(){}
	})
	.find(">li:has(ul)") //fixes ie6 bug
		.mouseover(function(){
			jQuery("ul", this).bgIframe({opacity:true});
		})
		.find("a")
			.focus(function(){
				jQuery("ul", jQuery("#nav>li:has(ul)")).bgIframe({opacity:true});
			});
	// remove last navDivider img
	jQuery("#nav li:last").css("background","none");
	
	// remove box from links
	jQuery("a").focus(function(){
		this.blur();
	});
	
	// tour
	jQuery('#tour').before('<div id="imgNav" />')
	.after('<div id="caption" />')
	.cycle({
		fx:     'fade',
		speed:  'slow',
		timeout: 5000,
		pager:  '#imgNav',
		before: function() {jQuery('#caption').html('<p >&nbsp;</p>');},
		after: function() {jQuery('#caption').html('<p>' + this.alt + '</p>');},
		nowrap:false,
		pause:	1
		});

	
});