
function pageScripts() {
	var kozy = {  src: DNN_skinPath + 'kozuka.swf' };
	sIFR.activate(kozy);
	sIFR.replace(kozy, {
  		selector: 'h1', 
  		wmode: 'transparent', 
  		src:  DNN_skinPath +  'kozuka.swf', 
  		css: [ '.sIFR-root {color:#294745; }'  ]
});
	
	var kozyreg1 = {  src: DNN_skinPath + 'kozuka_reg.swf' };
	sIFR.activate(kozyreg1);
	sIFR.replace(kozyreg1, {
  		selector: 'h3.calloutsheader', 
  		wmode: 'transparent', 
  		src:  DNN_skinPath +  'kozuka_reg.swf', 
  		css: [ '.sIFR-root {color:#000000; }'  ]
});
	
	var kozyreg2 = {  src: DNN_skinPath + 'kozuka_reg.swf' };
	sIFR.activate(kozyreg2);
	sIFR.replace(kozyreg2, {
  		selector: 'h3.calloutsheader_laser', 
  		wmode: 'transparent', 
  		src:  DNN_skinPath +  'kozuka_reg.swf', 
  		css: [ '.sIFR-root {color:#5d5d5d; }'  ]
});
	
	
	var kozyreg3 = {  src: DNN_skinPath + 'kozuka_reg.swf' };
	sIFR.activate(kozyreg3);
	sIFR.replace(kozyreg3, {
  		selector: 'h4.locations', 
  		wmode: 'transparent', 
  		src:  DNN_skinPath +  'kozuka_reg.swf', 
  		css: [ '.sIFR-root {color:#5E9ABC; }'  ]
});
	
}


/**Site Main Navigation**/
jQuery(document).ready(function(){

	jQuery("#dnn_ctr535_FormMaster_pnlForm > table").attr("cellspacing","0");
	jQuery("a.active:not(a#Navigation75)").click(function(){return(false);});
	jQuery("#Navigation div.sub").hide();
	jQuery("#Navigation a.active").mouseover(function(){
	jQuery("#Navigation div.active:not(div.active:eq("+ jQuery("#Navigation a.active").index(this) + "))").stop().slideUp("fast");
	jQuery("#Navigation div.active:eq("+ jQuery("#Navigation a.active").index(this) + ")").stop().css("height", "auto").slideDown("slow");
	});
	jQuery("#dnn_ContentPane,a.empty").mouseover(function(){
	jQuery("#Navigation div.active").stop().slideUp("fast");
	}); 

/* remove focus box from all links */
jQuery("a").focus(function(){
		this.blur();
});


/*img opacity on hover for callouts*/
jQuery('#doctors_call, #dermatology_procedures_call, #promotions_call, #office_tour_call img, #locations_call_laser').css({'opacity' : '1.0' })
jQuery('#doctors_call, #dermatology_procedures_call, #promotions_call, #office_tour_call img, #locations_call_laser').each(function() {
	jQuery(this).hover(function() {
		jQuery(this).stop().animate({ opacity: 0.7 }, 200);
	},
   function() {
	   jQuery(this).stop().animate({ opacity: 1.0 }, 200);
   });
});


/* pop open dropdown for contact us callout */
jQuery.pop();


/*read more content open accordion style*/
jQuery('.accordion span.accordion_caption').click(function() {
		jQuery(this).toggleClass('active').next().toggle('normal');
		return false;
	}).next().hide();


/*scroll to linked content on same page where links have class scroll*/
jQuery(".scroll").click(function(event){		
event.preventDefault();
jQuery('html,body').animate({scrollTop:jQuery(this.hash).offset().top}, 500);
});


});


