// transparency .png fix for IE 6
var $ = jQuery.noConflict();

$(document).ready(function(){

                $(document).pngFix( );

});
$(document).ready(function(){
    // Drop Down Menu
    $("#top-nav")
        .superfish({
            animation : { opacity:"show"}
    });
	// side Menu
    $("#left-nav")
        .superfish({
            animation : { opacity:"show"}
    });
});
// opening up a link in a new window
$(document).ready(function(){ 
    $('a.external').click(function(){
        window.open(this.href);
        return false;
    });
});
// borrow3d from the best online mag ever A List Apart http://www.alistapart.com/articles/alternate/
function setActiveStyleSheet(title) {
   var i, a, main;
   for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
     if(a.getAttribute("rel").indexOf("style") != -1
        && a.getAttribute("title")) {
       a.disabled = true;
       if(a.getAttribute("title") == title) a.disabled = false;
     }
   }
}

    $('a.external').click(function(){
        window.open(this.href);
        return false;
    });
