function pageScripts() {
var scriptana = {  src: DNN_skinPath + 'scriptana.swf' };
sIFR.activate(scriptana);
sIFR.replace(scriptana, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'scriptinapro.swf', 
  css: [ '.sIFR-root {color:#4b4937; font-size:48px; text-indent:6px;}'  ]
});
}


function pageScripts1() {
var Arial = {  src: DNN_skinPath + 'Arial.swf' };
sIFR.activate(Arial);
sIFR.replace(Arial, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'Arial.swf', 
  css: [ '.sIFR-root {color:#28271b; font-size:24px; text-indent:5px; font-weight:bold;}'  ]
});
}

jQuery(document).ready(function(){
jQuery.noConflict();
jQuery('.acc h4').click(function() {
jQuery(this).toggleClass('active').next().toggle("fast");
 return false;
 }).next().hide(); 	

	jQuery('#Navigation').accordion({
		active: false,
		header: '.menuTitle',
		event: 'click',
		autoheight:false,
		navigation:true,
		showSpeed: 400, 
		hideSpeed: 400
	});	
	
	/* remove box from links */
	jQuery("a").focus(function(){
	this.blur();
	});	

	/*Preload the menu backgrounds*/
	menuImage1 = new Image(); 
	menuImage1src = DNN_skinPath + "images/Funstuff_hover.jpg";
	menuImage2 = new Image(); 
	menuImage2.src = DNN_skinPath + "images/Home_hover.jpg";	
	menuImage3 = new Image(); 
	menuImage3.src = DNN_skinPath + "images/Officeinfo_hover.jpg";
	menuImage4 = new Image(); 
	menuImage4.src = DNN_skinPath + "images/Patientinfo_hover.jpg";
	menuImage5 = new Image(); 
	menuImage5.src = DNN_skinPath + "images/Treatment_hover.jpg";
	menuImage6 = new Image(); 
	menuImage6.src = DNN_skinPath + "images/whychooseus_hover.jpg";
	menuImage7 = new Image(); 
	menuImage7.src = DNN_skinPath + "images/patientlogin_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");		
	});

});


