// 	Sidebar Navigation

        $( function () {
            $("#subNavList li").not(".active").find("ul:first").hide();
			$("#subNavList .arrow").css({visibility: "visible"});

		    $('#subNavList li:has(ul)').find(".arrow:first").click( function (event) {
			        if (this == event.target) {
			        	if ($(this).parent().children("ul").is(':hidden')) {
							$(this).css({backgroundPosition: '0 -17px'}).parent().children("ul").show('fast');
						} else {
							$(this).css({backgroundPosition: '0 0'}).parent().children("ul").hide('fast');
						}
					}
					return false;
			})
		    $('#subNavList li:not(:has(ul)) .arrow').css({backgroundPosition: '0 -34px', cursor: 'default'});
		});

	$(document).ready( function() {

	    $('a.external800x600').click( function() {
	        window.open( $(this).attr('href'),this,'width=800,height=600,resizable=no,toolbar=no,status=no,location=no,directories=no,fullscreen=yes' );
	        return false;
	    });

	});
	