Maybe if you could post the code you've got so far, we'd be able to better understand your situation..