/*Shadowbox.loadSkin('classic', 'js/src/skin');
Shadowbox.loadLanguage('en', 'js/src/lang');
Shadowbox.loadPlayer(['flv', 'html', 'iframe', 'img', 'qt', 'swf', 'wmp'], 'js/src/player');

window.onload = function(){
    Shadowbox.init();
};*/

$(document).ready(function(){
	var newsoption1 = {
	  firstname: "myNews",
	  secondname: "newsDisp",
	  thirdname:"news_display",
	  fourthname:"news_button",
	   newsspeed:'5000'
	}
	$.init_news(newsoption1);

	var myoffset=$('#myNewsBlock').offset();
	var mytop=myoffset.top-1;

	$('#myNewsBlock').css({top:mytop});
	$('.tooltip').tooltip({track:false, delay: 0, showURL: false, fade: 250, top:-50});

	$(".boxImage").hover(function(){
		$(this).children("a").children("img").fadeTo("fast", 0.5);
	},function(){
		$(this).children("a").children("img").fadeTo("fast", 1.0);
	});

	$(".taekni").toggle(function(){
		$(this).css('background-color','#f8f8f8');
		$(this).css('font-weight','bold');
	}, function(){
		$(this).css('background-color','#fff');
		$(this).css('font-weight','normal');
	});
});

function showTech(spec)
{
	$("#spec"+spec).toggle("fast");

}
