Thank you gavio! That's exactly what I needed, it works perfectly now. Thanks to everybody that helped me!