function sql_error()
{
	setTimeout("self.location.href='index.php?site=error&query='+query+'&sql_error='+sqlerror+''",0);
}
function redirect()
{
	setTimeout("self.location.href=''+site+''",1500);	
}
function noTimeRedirect()
{
	setTimeout("self.location.href=''+site+''",0);	
}
function MM_confirm(msg, url) { //v1.0
  if(confirm(msg)) location.replace(url);
}

