change timeout to 5 instead of 0 because it causes problems in IE