function pageScripts(){
var Scriptina = {  src: DNN_skinPath + 'Scriptina.swf' };
sIFR.activate(Scriptina);
sIFR.replace(Scriptina, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'Scriptina.swf', 
  css: [ '.sIFR-root {color:#05375C; font-size:46px; text-indent:10;}'  ]
  ,filters: {
        DropShadow: {
           distance: 1
          ,color: '#00529F'
          ,strength: 1
          ,alpha: .5
        }
      }
   ,wmode: 'transparent'
});
}


jQuery(document).ready(function(){
jQuery('#navigation').accordion({
		active: false,
		header: '.menuTitle',
		animation:{height:"show"},
		event: 'click',
		autoheight:false,
		navigation:true,
		showSpeed:1200,
		hideSpeed:1400
	});

	/* remove box from links */
	jQuery("a").focus(function(){
		this.blur();
	});
	
	/*Preload the menu backgrounds*/
	menuImage = new Image(); 
	menuImage.src = DNN_skinPath + "images/home_hover.png";
	menuImage1 = new Image(); 
	menuImage1.src = DNN_skinPath + "images/ouroffice_hover.png";
	menuImage2 = new Image(); 
	menuImage2.src = DNN_skinPath + "images/patientinfo_hover.png";
	menuImage3 = new Image(); 
	menuImage3.src = DNN_skinPath + "images/treatment_hover.png";
	menuImage4 = new Image(); 
	menuImage4.src = DNN_skinPath + "images/funstuff_hover.png";
	menuImage5 = new Image(); 
	menuImage5.src = DNN_skinPath + "images/patientlogin_hover.png";
	menuImage6 = new Image(); 
	menuImage6.src = DNN_skinPath + "images/map_hover.png";
	menuImage7 = new Image(); 
	menuImage7.src = DNN_skinPath + "images/patientform_hover.png";
	menuImage8 = new Image(); 
	menuImage8.src = DNN_skinPath + "images/meetdr_hover.png";
	
// flash features	
	if (jQuery("#featureorthognathic").length){
		var sshow = new SWFObject("http://tools.televoxsites.com/features/orthognathic.swf", "slideshow", "190", "205", "6", "#000000"); 
		sshow.addParam("wmode", "transparent"); 
		sshow.write("featureorthognathic");
	};
		if (jQuery("#featureColor").length){
		var so = new SWFObject("/features/loader.swf", "features", "500", "325", "9", "#FF6600"); 
		so.addVariable("config", "/features/config.xml"); 
		so.addVariable("xmlfile", "/features/planner.xml"); 
		so.addParam("wmode", "transparent"); 
		so.addParam("quality", "high"); so.write("featureColor");
	};

});



