function pageScripts(){
var Monotype = {  src: DNN_skinPath + 'Monotype.swf' };
sIFR.activate(Monotype);
sIFR.replace(Monotype, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'Monotype.swf', 
  css: [ '.sIFR-root {color:#0c0d0d; font-size:37px;}'  ]
});
}

//Menu implementation	   
jQuery(document).ready(function(){
    jQuery.noConflict();
jQuery('.acc h3').click(function() {
		jQuery(this).toggleClass('active').next().toggle("fast");
		return false;
	}).next().hide();
    
	/*Menu Implementation*/
	jQuery("#main").mouseover(function(){menuShow(this); return(false);});
	function menuShow(menuitem){
		jQuery("#main").css({'color':'red'});
		jQuery("#Level1").show();
		jQuery(".Level2A a").show();
		jQuery(".dropDownBox").hide();
		jQuery(".closebtn").show();
		jQuery(".ploginbtn").show();
	}
	
	jQuery(".closebtn").click(function(){menuHide(this); return(false);});
	function menuHide(menuitem){
		jQuery("#main").css({'color':'red'});
		jQuery("#Level1").hide();
		jQuery(".Level2A a").hide();
		jQuery(".dropDownBox").show();		
		jQuery(".closebtn").hide();
		jQuery(".ploginbtn").hide();
	}
	
	jQuery('.Level2A a').click(function ()
    {
		var url = jQuery(this).attr('href').toString(); 
        jQuery(window.location).attr('href', url);

    });
	jQuery('#Hm67').text("");
	
	jQuery('.Level2A a').hover( function(){jQuery(this).css({'background-color':'#bfab8a'});}, function(){jQuery(this).css({'background-color':'#cbcbad'});} );
	
	/* remove box from links */
	jQuery("a").focus(function(){
		this.blur();
	});
	
	/*Preload the menu backgrounds*/
	menuImage1 = new Image(); 
	menuImage1.src = DNN_skinPath + "images/mainmenu_hover.jpg";
	menuImage2 = new Image(); 
	menuImage2.src = DNN_skinPath + "images/menubg.png";
	menuImage3 = new Image(); 
	menuImage3.src = DNN_skinPath + "images/complimentaryconsultation_hover.jpg";
	menuImage4 = new Image(); 
	menuImage4.src = DNN_skinPath + "images/damon_hover.jpg";
	menuImage5 = new Image(); 
	menuImage5.src = DNN_skinPath + "images/invisalign_hover.jpg";
	menuImage6 = new Image(); 
	menuImage6.src = DNN_skinPath + "images/meetdr_hover.jpg";
	menuImage7 = new Image(); 
	menuImage7.src = DNN_skinPath + "images/patientApplause_hover.jpg";
	menuImage8 = new Image(); 
	menuImage8.src = DNN_skinPath + "images/plogin_hover.jpg";
	menuImage9 = new Image(); 
	menuImage9.src = DNN_skinPath + "images/whychooseus_hover.jpg";
	menuImage10 = new Image(); 
	menuImage10.src = DNN_skinPath + "images/closebtn.jpg";
	menuImage11 = new Image(); 
	menuImage11.src = DNN_skinPath + "images/ploginbtn.jpg";		
});
