well i didnt copy+paste the code in, it was WAY to long to do so, so i just did a quick "off-the-top-of-the-head" sample to get the point across. I know there are a bunch of errors in the sample code, and it wouldnt compile.