/**
 * @author   Sven
 * --------------------
*/

//Redirects to a file if activeRequest is handled, if not, waits for given time and chacks activeRequest.
function redirectMeTo(whereTo, howLong)
{
 var whereTo = whereTo;
 var howLong = howLong;
 if(activeRequest==false)
  window.location = whereTo;
 else
  setTimeout('redirectMeTo("'+whereTo+'", '+howLong+')',howLong);
}