//sIFR implementation
function pageScripts(){
var trojanpro = {  src: DNN_skinPath + 'trojanpro.swf' };
sIFR.activate(trojanpro);
sIFR.replace(trojanpro, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'trojanpro.swf', 
  css: [ '.sIFR-root {color:#1d811f;font-size:21px;font-weight:bold;text-indent:0px; }'  ]
  });
}


//Menu implementation	   
jQuery(document).ready(function(){

	jQuery("#navigation > ul").superfish({
		hoverClass:"hover",
		pathClass:"overideThisToUse",
		delay:400,
		animation:{height:"show"},
		speed:"normal",
		oldJquery:false,
		disableHI:false,
		onInit:function () {},
		onBeforeShow:function () {},
		onShow:function () {},
		onHide:function () {}
	}).find(">li:has(ul)").mouseover(function () {
		jQuery("ul", this).bgIframe({opacity:true});
	}).find("a").focus(function () {
		jQuery("ul", jQuery("#navigation > ul >li:has(ul)")).bgIframe({opacity:true});
	});

	/* Activate all media */
	jQuery(".media").media();

	/* remove box from links */
	jQuery("a").focus(function(){
		this.blur();
	});

});

jQuery(document).ready(function(){

var k=jQuery("h1").eq(0).text();
if(k.indexOf("Welcome To Your Local Monroe Township Implant Dentistry Office!") >= 0)
{
jQuery("#sifrh").css("height","65px");
}


});

