
jQuery(document).ready(function(){
								
	jQuery("a.empty").attr("href","#");

/*
jQuery("#topmenu a img").hover (
	function(){
		jQuery(this).stop().fadeTo("fast", 0.6)
	},
	function(){
		jQuery(this).fadeTo("slow", 1)
	}
);

jQuery("#topmenu a").mouseover( function(){jQuery(this).stop().fadeTo("fast", 0.6, function(){jQuery(this).fadeTo("slow", 1);});});

*/
jQuery("#leftmenu a.lefty").not(".leveltwo").mouseover( function(){jQuery(this).stop().animate({textIndent : "18px"},"fast", function(){jQuery(this).animate({textIndent : "12px"}, "fast");});});

jQuery("#leftmenu a.leveltwo").mouseover( function(){jQuery(this).stop().animate({textIndent : "40px"},"fast", function(){jQuery(this).animate({textIndent : "28px"}, "fast");});});
 });

function runSiteScripts(path) {
//here's the sIfr

var gilsanslight = { src: DNN_skinPath + 'gilsanslight.swf' };
sIFR.activate(gilsanslight);
sIFR.replace(gilsanslight, {
  selector: 'h1',
    wmode: 'transparent', 
  css: '.sIFR-root { color: #000000; text-transform:uppercase; font-weight:normal;}'
});

// gets rid of focus box on click
if(document.getElementsByTagName) {
var a = document.getElementsByTagName("a");
//collect all anchors A
for(var i = 0; i < a.length; i++){
// mouse onfocus, blur anchors
a[i].onfocus = function(){this.blur();};
}
}
jQuery.fn.fadeIn = function(speed, callback) { 
    return this.animate({opacity: 'show'}, speed, function() { 
        if (jQuery.browser.msie)  
            this.style.removeAttribute('filter');  
        if (jQuery.isFunction(callback)) 
            callback();  
    }); 
}; 
 
jQuery.fn.fadeOut = function(speed, callback) { 
    return this.animate({opacity: 'hide'}, speed, function() { 
        if (jQuery.browser.msie)  
            this.style.removeAttribute('filter');  
        if (jQuery.isFunction(callback)) 
            callback();  
    }); 
}; 
 
jQuery.fn.fadeTo = function(speed,to,callback) { 
    return this.animate({opacity: to}, speed, function() { 
        if (to == 1 && jQuery.browser.msie)  
            this.style.removeAttribute('filter');  
        if (jQuery.isFunction(callback)) 
            callback();  
    }); 
}; 
        

}
