﻿$(document).ready(function() {

try {
	$('ul.sf-navmenu').superfish();

	//	$('#example').tabs({ fx: { opacity: 'toggle'} });
	$('#example').tabs();

	//	$('.ui-accordion-container').accordion({ animated: 'easeslide', autoHeight: true });
	$('.ui-accordion-container').accordion();
	
//	$('.ui-accordion-container').click(function() {
//		$(this).next().toggle('fast');
//		return false;
//	}).next().hide();

    $('.fade480').innerfade({
        animationtype: 'fade',
        speed: 'slow',
        timeout: 8000,
        type: 'sequence',
        containerheight: '334px'
    });
//    $('.fade480').innerfade({
//        animationtype: 'fade',
//        speed: 'slow',
//        timeout: 8000,
//        type: 'sequence',
//        containerheight: '320px'
//    });
    $('.fade360').innerfade({
        animationtype: 'fade',
        speed: 'slow',
        timeout: 8000,
        type: 'sequence',
        containerheight: '240px'
    });
//    $('.fade240').innerfade({
//        animationtype: 'fade',
//        speed: 'slow',
//        timeout: 4000,
//        type: 'sequence',
//        containerheight: '161px'
    //    });

    SyntaxHighlighter.config.bloggerMode = true;
    SyntaxHighlighter.defaults['html-script'] = true;
    SyntaxHighlighter.config.clipboardSwf = '/scripts/SyntaxHighlighter/clipboard.swf';
    SyntaxHighlighter.all();
}
catch (e) { }
});

//themeload: function() {
//    $('.fade').innerfade({
//        animationtype: 'fade',
//        speed: 'slow',
//        timeout: 8000,
//        type: 'sequence',
//        containerheight: '344px'
//    });

