$(function(){
	$("#tabmenu > ul").tabs({fx: {height: "toggle", opacity: "toggle"}});
	$("#sb-top > ul").tabs({fx: {height: "toggle", opacity: "toggle"}});
	$("#blockh > ul").tabs({fx: {opacity: "toggle" }});
	$("#blockh2 > ul").tabs({fx: {opacity: "toggle" }});
        $("#blockh3 > ul").tabs({fx: {opacity: "toggle" }});
        $("#blockh4 > ul").tabs({fx: {opacity: "toggle" }});
	$("#pcontent").imageScroller({next:"prevbutton",prev:"nextbutton",frame:"pcenter",width:210,child:"li",auto:true});
});

$(document).ready(function(){$('ul#banners').innerfade({animationtype: 'fade',speed: 1000,timeout: 10000,type: 'sequence',containerheight: '64px'});});

$.fn.cycle.defaults.timeout = 6000;
$(function() {
    $('table pre code').not('#skip,#skip2').each(function() {
        eval($(this).text());
    });

	$('#prompt').cycle({ 
    fx:     'scrollLeft', 
    timeout: 10000, 
    delay:  -1000 
});
});
 
function onBefore() {
    $('#output').html("Scrolling image:<br>" + this.src);
}
function onAfter() {
    $('#output').html("Scroll complete for:<br>" + this.src)
        .append('<h3>' + this.alt + '</h3>');
}
