//sIFR implementation
function pageScripts(){
var black = {  src: DNN_skinPath + 'black.swf' };
sIFR.activate(black);
sIFR.replace(black, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'black.swf', 
  css: [ '.sIFR-root {color:#000060;font-size:30px;text-indent:5px;}'  ]
});
} 
/*Menu implementation*/
jQuery(document).ready(function(){
								jQuery.noConflict();							
jQuery('.acc h3').click(function() {
 jQuery(this).toggleClass('active').next().toggle("fast");
 return false;
 }).next().hide(); 
	jQuery("#Navigation > ul").superfish({
		hoverClass:"hover",
		pathClass:"overideThisToUse",
		delay:800,
		animation:{height:"show"},
		speed:"normal",
		oldJquery:false,
		disableHI:false,
		onInit:function () {},
		onBeforeShow:function () {},
		onShow:function () {},
		onHide:function () {}  
	});
	
	/* remove box from links */
	jQuery("a").focus(function(){
	this.blur();		
	});	
	
	menuImage1 = new Image();  
	menuImage1src = DNN_skinPath + "images/cont_hover.jpg";
	menuImage2 = new Image(); 
	menuImage2.src = DNN_skinPath + "images/fun_hover.jpg";	
	menuImage3 = new Image(); 
	menuImage3.src = DNN_skinPath + "images/home_hover.jpg";
	menuImage4 = new Image(); 
	menuImage4.src = DNN_skinPath + "images/oinfo_hover.jpg";
	menuImage5 = new Image(); 
	menuImage5.src = DNN_skinPath + "images/pinfo_hover.jpg";
	menuImage6 = new Image(); 
	menuImage6.src = DNN_skinPath + "images/plogin_hover.jpg";
	menuImage7 = new Image(); 
	menuImage7.src = DNN_skinPath + "images/treat_hover.jpg";
	menuImage8 = new Image(); 
	menuImage8.src = DNN_skinPath + "images/treatment_hover.jpg";
	
	jQuery('#rpeClick').click(function() {
	var sshow = new SWFObject("http://tools.televoxsites.com/features/rpa2.swf", "slideshow", "450", "350", "6", "#000000");
	sshow.addParam("wmode", "transparent");
	sshow.addParam("quality", "high");
	sshow.write("RPEflash");                             
	});
	

if (jQuery("#feature_dentaldev").length){
var sshow = new SWFObject("http://tools.televoxsites.com/features/dentaldevelopment.swf", "slideshow", "450", "440", "6", "#ffffff");
sshow.addVariable("colorslocation", location.host+DNN_skinPath+"colors.txt");
sshow.addParam("wmode", "transparent");
sshow.write("feature_dentaldev");
}
	

});
