(function($) { 
		
$(document).ready(function() {

	$('.hoverable').mouseover(function() {
		$(this).addClass('hover');
	})
	$('.hoverable').mouseout(function() {
		$(this).removeClass('hover');
	})
	/*
	$('.live_block a').click(function() {
		url = $(this).attr('href');
		window.open(url,url.replace(/[^a-zA-Z0-9]/g, ''),'toolbar=no,menubar=no,scrollbars=no,resizable=no,status=no,height=650,width=477');
		return false;
	})*/
	
	$('#input_text_szukaj_top').focus(function() {
		if ($(this).val() == 'szukaj...') $(this).val('');
	})
	$('#input_text_szukaj_archive').focus(function() {
		if ($(this).val() == 'szukaj...') $(this).val('');
	})

	$('#find_user_input').focus(function() {
		if ($(this).val() == 'Znajd¼ u¿ytkownika...') $(this).val('');
	})
	$('#find_user_input').focus(function() {
		if ($(this).val() == 'Znajd¼ u¿ytkownika...') $(this).val('');
	})	
	
	$("a[href*='/relacja_na_zywo']").click(function() {
		url = $(this).attr("href")
		window.open(url, url.replace(/[^a-zA-Z0-9]/g, ''),
				'toolbar=no,menubar=no,scrollbars=no,resizable=no,status=no,height=650,width=480');
		return false;
	})
	
	
});

})(jQuery);
