Umm, so its illegal for company to aproach someone and say "Hey, well give you this and that if you come working for us)?
Yeah, thats just the way its happened one time or the other for just about everyone I've worked with.
I dont know much about laws 'n such, but somehow I dont think its illegal around at least, since its hardly anything that happens under the table so to speak.
And if it illegal, then I must say that sounds like just about the stupidest law immaginable, I mean if I was in charge of hiring new people at a company, and knew that mr John.D who works at Microsoft happens to be a damn fine programmer, then I'd sure like to be able to offer him a better pay to come working for us.
But another scenario could be that noone cares about that particular law, which sounds fine to me, stupid laws are made to be broken.