не то?
http://blog.sibmama.info/weblog_entry.php?e=374138
или
http://blog.sibmama.info/weblog_entry.php?e=454337