bumping. You see.. there's no point in posting a snippet containing such a large code. doesnt the term "snippet" mean "small hacky code" ?