
function pageScripts(){
var perpetua = {  src: DNN_skinPath + 'flash/trajanpro.swf' };
sIFR.activate(perpetua);
sIFR.replace(perpetua, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'flash/trajanpro.swf', 
  css: [ '.sIFR-root {color:#cbeaff; font-size:35px; }'  ]
});
}




function pageScriptsWelcomePage(){
var perpetua = {  src: DNN_skinPath + 'flashbanner.swf' };
sIFR.activate(perpetua);
sIFR.replace(perpetua, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'flashbanner.swf', 
  css: [ '.sIFR-root {color:#cbeaff; font-size:30px;}'  ]
});
}


//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.png";
   	menuImage2 = new Image(); 
	menuImage2.src = DNN_skinPath + "images/home.png";		
	menuImage3 = new Image(); 
	menuImage3.src = DNN_skinPath + "images/officeInfo.png";
	menuImage4 = new Image(); 
	menuImage4.src = DNN_skinPath + "images/officeInfo_hover.png";
	menuImage5 = new Image(); 
	menuImage5.src = DNN_skinPath + "images/patientInfo.png";
	menuImage6 = new Image(); 
	menuImage6.src = DNN_skinPath + "images/patientInfo_hover.png";	
	menuImage7 = new Image(); 
	menuImage7.src = DNN_skinPath + "images/treatment_hover.png";
	menuImage8 = new Image(); 
	menuImage8.src = DNN_skinPath + "images/treatment.png";
	menuImage9 = new Image(); 
	menuImage9.src = DNN_skinPath + "images/funstuff_hover.png";
	menuImage10 = new Image(); 
	menuImage10.src = DNN_skinPath + "images/funstuff.png";
	menuImage11 = new Image(); 
	menuImage11.src = DNN_skinPath + "images/patientLogin.png";
	menuImage12 = new Image(); 
	menuImage12.src = DNN_skinPath + "images/patientLogin_hover.png";


// flash features
	if (jQuery("#featureimplants").length){	
var so = new SWFObject("http://tools.televoxsites.com/features/implant.swf", "featureimplants", "200", "195", "6", "ffffff");
so.addParam("wmode", "transparent");
so.write("featureimplants");
}

if (jQuery("#featurewisdom").length){	
	var sshow = new SWFObject("http://tools.televoxsites.com/features/wisdom.swf", "slideshow", "190", "205", "6", "#000000");
	sshow.addVariable("colorslocation", location.host+DNN_skinPath+"colors.txt");
	sshow.addParam("wmode", "transparent");
	sshow.write("featurewisdom");
}

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"); 
}

if (jQuery("#featurecrown").length){	
	var sshow = new SWFObject("http://tools.televoxsites.com/features/crown.swf", "slideshow", "287", "300", "6", "#000000");
	sshow.addVariable("colorslocation", location.host+DNN_skinPath+"colors.txt");
	sshow.addParam("wmode", "transparent");
	sshow.write("featurecrown");
}

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("#featureroot").length){
	var sshow = new SWFObject("http://tools.televoxsites.com/features/rootcanal.swf", "slideshow", "350", "260", "6", "#000000");
	sshow.addVariable("colorslocation", location.host+DNN_skinPath+"colors.txt");
	sshow.addParam("wmode", "transparent");
	sshow.write("featureroot");
}

if (jQuery("#featuregums").length){
	var sshow = new SWFObject("http://tools.televoxsites.com/features/gums_MX.swf", "slideshow", "320", "200", "6", "#000000");
	sshow.addVariable("colorslocation", location.host+DNN_skinPath+"colors.txt");
	sshow.addParam("wmode", "transparent");
	sshow.write("featuregums");
}

 if (jQuery("#featuretmj").length){
var sshow = new SWFObject("http://tools.televoxsites.com/features/jaws.swf", "slideshow", "200", "208", "6", "#000000");
       sshow.addVariable("colorslocation", location.host+DNN_skinPath+"colors.txt");
       sshow.addParam("wmode", "transparent");
       sshow.write("featuretmj");
}

});





