function checkIfUserIsLoggedIn(){$.ajax({url:'http://tiwi.pl/user_check_if_user_is_logged_in.php',data:'',type:'GET',timeout:3000,error:function(XMLHttpRequest,textStatus,errorThrown){},success:function(data){if(data=='0'){window.location='http://tiwi.pl/'}}})}$(document).ready(function(){checkIfUserIsLoggedIn()});
