Have a look into this one: http://hawkee.com/snippet/10189/