//sIFR implementation
function pageScripts(){
var GoudyOldStyle = {  src: DNN_skinPath + 'GoudyOldStyle.swf' };
sIFR.activate(GoudyOldStyle);
sIFR.replace(GoudyOldStyle, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'GoudyOldStyle.swf', 
  css: [ '.sIFR-root {color:#959366;font-size:30px;font-weight:bold;}'  ] 
});
} 

function pageScripts1(){ 
var GoudyOldStyle = {  src: DNN_skinPath + 'GoudyOldStyle.swf' };
sIFR.activate(GoudyOldStyle);
sIFR.replace(GoudyOldStyle, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'GoudyOldStyle.swf',     
  css: [ '.sIFR-root {color:#333121;font-size:30px;font-weight:bold;}'  ] 
});
} 


//Menu implementation
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:false,
		showSpeed:1200,
		hideSpeed:1400
	});
	
	 jQuery("#Navigation li .submenu").append("<li><img src='/Portals/_default/Skins/drehsani.com/images/submenu_bottom.jpg' align='bottom' class='subbottom' /></li>");
	 
	 jQuery(" #sitemapnavigation308 a").append("<br/>");
     jQuery(" #sitemapnavigation317 a").append("<br/>");
     jQuery(" #sitemapnavigation324 a").append("<br/>");
	  jQuery(" #sitemapnavigation335 a").append("<br/>");
	
/* remove box from links */
 jQuery("a").focus(function(){
  this.blur();
 });
 


	menuImage1 = new Image(); 
	menuImage1.src = DNN_skinPath + "images/home_hover.gif";	 
	menuImage2 = new Image(); 
	menuImage2.src = DNN_skinPath + "images/aboutus_hover.gif";
    menuImage3 = new Image(); 
	menuImage3.src = DNN_skinPath + "images/patientedu_hover.gif";
	menuImage4 = new Image(); 
	menuImage4.src = DNN_skinPath + "images/treatment_hover.gif";
	menuImage5 = new Image(); 
	menuImage5.src = DNN_skinPath + "images/fun_hover.gif";
	menuImage6 = new Image(); 
	menuImage6.src = DNN_skinPath + "images/contactus_hover.gif";
	menuImage7 = new Image(); 
	menuImage7.src = DNN_skinPath + "images/patientlogin_hover.gif";
	menuImage8 = new Image(); 
	menuImage8.src = DNN_skinPath + "images/invisalign_hover.gif";
	menuImage9 = new Image(); 
	menuImage9.src = DNN_skinPath + "images/adultortho_hover.gif";
	menuImage10 = new Image(); 
	menuImage10.src = DNN_skinPath + "images/childortho_hover.gif";
	menuImage11 = new Image(); 
	menuImage11.src = DNN_skinPath + "images/retention_hover.gif";
});
