    /* <![CDATA[ */
    $(function() {
        $('.thumbs a:first').addClass('selected');
        var options = {
            slideChange: function(currentIndex) {
                $('.thumbs a').removeClass('selected');
                $('.thumbs a:eq(' + currentIndex + ')').addClass('selected');
            },
            slideType: 'fade'
        };
        $('.slidebox .slide').dumbCrossFade(options);
        var i = 0;
        $('.thumbs a').each(function() {
            $(this).attr('href', i + '');
            i++;
        });
        $('.thumbs a').click(function() {
            $('.slidebox .slide')
				.dumbCrossFade('jump', parseInt($(this).attr('href')));
            return false;
        });
    });
    /* ]]> */

function newsTab(index){
    var v_elements = document.getElementById("newsTab");
    v_elements = v_elements.getElementsByTagName('h3');
	var v_element;
	var i = 0;
	
	for (i = 0; i <= v_elements.length; i++)
	{
		if (i == index)
		{
		    v_element = v_elements[i];
		    v_element.className = "selected";		
		}
		else
		{
		    v_element = v_elements[i];
		    v_element.className = "";
		}
	}
		
	}
