Are there two Raleigh bicycle companies? When I go to Walmart and other department stores I find cheap bike like Raleigh! 

But when I go to a local bike shop and buy a mountain bike by Raleigh but its a way better quality bike then at Walmart! Is there two bike companies that have the same name or are they the same? 

Please help because I have a Raleigh Tokul 2 that I got from my local bike shop and it's not a cheap mountain bike. Its good quality but I see cheap Raleighs that don't last long at department stores. Is mine also cheap and crappy or is it a different company?
There are license branding. 
For example Raleigh is sold in Japan through a Japanese bicycle wholesaler that design Raleigh bicycles to be adapted to Japan local trend.
The "Japanese" Raleigh are made in Taiwan and China and have not much to do with the original brand except the name and vintage design inspired by the original models of the 60's and 70's.
Many brands do this.

Your bike is probably of better quality than lower priced model.
You have to compare specification to be able to determinate if your bike is "lower" quality bike or not.