
function pageScripts(){
var perpetua = {  src: DNN_skinPath + 'flash/arial.swf' };
sIFR.activate(perpetua);
sIFR.replace(perpetua, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'flash/arial.swf', 
  css: [ '.sIFR-root {color:#111212; font-size:18px;}'  ]
});
}




//Menu implementation
jQuery(document).ready(function(){
	jQuery('#navigation').accordion({
		active: false,
		header: '.menuTitle',
		event: 'click',
		autoheight:false,
		navigation:false,
		showSpeed: 1200,
		hideSpeed: 1200
	});

	jQuery('[name=dnn$ctr461$FormMaster$ctl__20100329T150841]').focus(function() {
		jQuery(this).val('');
	});

	jQuery('[name=dnn$ctr461$FormMaster$ctl__20100329T152702]').focus(function() {
		jQuery(this).val('');
	});

	jQuery('[name=dnn$ctr461$FormMaster$ctl__20100329T152743]').focus(function() {
		jQuery(this).val('');
	});
		
	jQuery("a").focus(function(){	this.blur(); });
	
	jQuery(".LinkIcon").hover(
		function() { this.src = this.src.replace('.jpg', '_hover.jpg') },
		function() { this.src = this.src.replace('_hover', '') }
	);
	
	menuImage1 = new Image(); 
	menuImage1.src = DNN_skinPath + "images/home_hover.jpg";
   	menuImage2 = new Image(); 
	menuImage2.src = DNN_skinPath + "images/home.jpg";		
	menuImage3 = new Image(); 
	menuImage3.src = DNN_skinPath + "images/officeinfo.jpg";
	menuImage4 = new Image(); 
	menuImage4.src = DNN_skinPath + "images/officeinfo_hover.jpg";
	menuImage5 = new Image(); 
	menuImage5.src = DNN_skinPath + "images/patientinfo.jpg";
	menuImage6 = new Image(); 
	menuImage6.src = DNN_skinPath + "images/patientinfo_hover.jpg";	
	menuImage7 = new Image(); 
	menuImage7.src = DNN_skinPath + "images/treatment_hover.jpg";
	menuImage8 = new Image(); 
	menuImage8.src = DNN_skinPath + "images/treatment.jpg";
	menuImage9 = new Image(); 
	menuImage9.src = DNN_skinPath + "images/funzone_hover.jpg";
	menuImage10 = new Image(); 
	menuImage10.src = DNN_skinPath + "images/funzone.jpg";
	menuImage11 = new Image(); 
	menuImage11.src = DNN_skinPath + "images/patientlogin.jpg";
	menuImage12 = new Image(); 
	menuImage12.src = DNN_skinPath + "images/patientlogin_hover.jpg";


// flash features
	if (jQuery("#featuredev").length){	
	var sshow = new SWFObject("http://tools.televoxsites.com/features/dentaldevelopment.swf", "slideshow", "450", "400", "6", "#000000");
	sshow.addVariable("colorslocation", location.host+DNN_skinPath+"colors.txt");
	sshow.addParam("wmode", "transparent");
	sshow.write("featuredev"); 
	}
		
		
	if (jQuery("#featureoral").length){
var so = new SWFObject("/features/loader.swf", "features", "500", "325", "9", "#FF6600"); so.addVariable("config", "/features/config.xml"); so.addVariable("feature", "hygiene-dental"); so.addParam("wmode", "transparent"); so.addParam("quality", "high"); so.write("featureoral");
	}

	
	
});





