// since javascript is enabled:
$(function () { $('.js').hide(); } )
$(function () { $('.nojs').show(); } )

var M = ["m225","m226a","m226b","m226c","m226d","m226e","m226f","m226g","m226h","m226i","m226j","m226k","m226l","m226m","m226n","m226o"]
var N = ""
function hideEm(){
	for (i=0; i<M.length; i++) {
		hideIt(M[i])
	}
}
function hideIt(z) {
	if(document.getElementById){
		document.getElementById(z).style.display = "none"
	}else if(document.all){
		document.all(z).style.visibility = "hidden"
	}else if(document.layers){
		document.layers[z].visibility = "hide"
	}
}
function showIt(z){
	hideEm()
	if (N == z) { return }
    if(document.getElementById){
        document.getElementById(z).style.display = "block"
    }else if(document.all){
        document.all(z).style.visibility = "visible"
    }else if(document.layers){
        document.layers[z].visibility = "show"
    }
	N = z
}

function tableruler() {
    $('table.ruler>tbody>tr').hover(
		function() { $(this).addClass("ruled")}, function() { $(this).removeClass("ruled") } )
}
$(tableruler);

function showHideCol3 () {
    $('.proj').hide()
    $('#manuals tr').each(function() {
        $(this).click( function() {
            $('.proj').hide()
            $(this).children("td:eq(2)").children(".proj").show();
        } );
    })

}

$(function memberInfo() {
    $('a[href*=member_info]').click(function() { 
        // open(this.href,'meminfo','width=400,height=600,resizable,scrollbars'); return false
        open(this.href); return false
    })
})

$(function() {
    $("#quote").click(function(){
        $(this).fadeOut();
        $(this).load("getquote.php", { nocache:Math.random() },
            function() { $(this).fadeIn() }
        );
    });
});

