//sIFR implementation
function pageScripts(){
var Verdana = {  src: DNN_skinPath + 'Verdana.swf' };
sIFR.activate(Verdana);
sIFR.replace(Verdana, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'Verdana.swf', 
  css: [ '.sIFR-root {color:#fffffe;font-size:24px;}'  ] 
});
}

function pageScripts_text(){
var verdana1 = {  src: DNN_skinPath + 'verdana1.swf' };
sIFR.activate(verdana1);
sIFR.replace(verdana1, {
  selector: 'h6', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'verdana1.swf', 
  css: [ '.sIFR-root {color:#ffffff;font-size:14px;font-weight:bold;text-align:center;}'  ] 
});
}

function pageScripts_shadow(){
var verdana1 = {  src: DNN_skinPath + 'verdana_shadow.swf' };
sIFR.activate(verdana1);
sIFR.replace(verdana1, {
  selector: 'h5', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'verdana_shadow.swf', 
  css: [ '.sIFR-root {color:#ffffff;font-size:20px;text-align:right;}'  ] 
});
}

function pageScripts_shadow2(){
var verdana1 = {  src: DNN_skinPath + 'verdana_shadow.swf' };
sIFR.activate(verdana1);
sIFR.replace(verdana1, {
  selector: 'big', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'verdana_shadow.swf', 
  css: [ '.sIFR-root {color:#ffffff;font-size:16px;text-align:right;}'  ] 
});
}
//Menu implementation	   
jQuery(document).ready(function(){

	jQuery("#navigation > ul").superfish({
		hoverClass:"hover",
		pathClass:"overideThisToUse",
		delay:1400,
		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();
	});
	
	/*For Site map*/
	jQuery("#main170").text("Login");
	
	/*Preload the menu backgrounds*/
	menuImage = new Image(); 
	menuImage.src = DNN_skinPath + "images/ctech_hover.jpg";
	menuImage1 = new Image(); 
	menuImage1.src = DNN_skinPath + "images/fun_hover.jpg";
	menuImage2 = new Image(); 
	menuImage2.src = DNN_skinPath + "images/home_hover.jpg";
	menuImage3 = new Image(); 
	menuImage3.src = DNN_skinPath + "images/login_hover.jpg";
	menuImage4 = new Image(); 
	menuImage4.src = DNN_skinPath + "images/ouroffice_hover.jpg";
	menuImage5 = new Image(); 
	menuImage5.src = DNN_skinPath + "images/patient_hover.jpg";
	menuImage6 = new Image(); 
	menuImage6.src = DNN_skinPath + "images/treatment_hover.jpg";
});
