I'm hoping someone here can hear out my problem, look at some extracts from my .htaccess files and find the solution (before I throw my pc out the window

)
In my sites root directory I used a .htaccess to rewrite all of my URL's to contain the "www". So for example, if someone typed "mydomain.com" it would automatically rewrite it to be "http://www.mydomain.com".
All of my sub-folders are also re-written using the .htaccess file, and it works throughout the site, until we come to the /store/ sub-folder....
My store (powered by Cubecart, who I have already asked for help

) uses a mod that rewrites all products URLs to be search engine friendly, using its own .htaccess file.
There is obviously a clash between the two seperate .htaccess files somewhere, but I can't figure out how to sort it.
I also have a custom mod written that fails to work when the "www" is not included in the URL

I have asked the SEO Mod Creator for help with this issue but his advice of merging the two htaccess files did not work as planned (I admit I am a n00b to htaccess).
The contents of my root directories .htaccess file are as follows:
Code:
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www\.mydomain\.co\.uk [NC]
RewriteRule ^(.*)$ http://www.mydomain\.co\.uk/$1 [R=301,L]
The contents of my online store .htaccess file, found in root/store/ are as follows:
Code:
RewriteEngine On
RewriteCond %{QUERY_STRING} (.+)
RewriteRule cat_(.*).html index.php?act=viewCat&catId=$1&%1 [L]
RewriteRule cat_(.*).html index.php?act=viewCat&catId=$1 [L]
RewriteCond %{QUERY_STRING} (.+)
RewriteRule prod_(.*).html index.php?act=viewProd&productId=$1&%1 [L]
RewriteRule prod_(.*).html index.php?act=viewProd&productId=$1 [L]
RewriteCond %{QUERY_STRING} (.+)
RewriteRule info_(.*).html index.php?act=viewDoc&docId=$1&%1 [L]
RewriteRule info_(.*).html index.php?act=viewDoc&docId=$1 [L]
RewriteCond %{QUERY_STRING} (.+)
RewriteRule tell_(.*).html index.php?act=taf&productId=$1&%1 [L]
RewriteRule tell_(.*).html index.php?act=taf&productId=$1 [L]
I attempted to merge the two files myself but it did not work as planned. It did successfully add in the "www" at one point, but it changed the directory structure dropping the /store/ from the URL's ~ resulting in lots of 404 Errors....
If anyone is able to work out how to automatically add in the www to ALL of my URLs throughout the store I would be forever greatful, and would of course compensate you for your time with a reward through PayPal and some of that valuable green talkupation (on the hour, every hour for 24 hours unless that breaks WT T&C)
Directory structure is simply:
mydomain.co.uk
mydomain.co.uk/store/
Sorry for such a long message, and apologies for not posting the websites actual domain name but when dealing with .htaccess one must be rather careful. I can of course PM the URL to a longtime member here if they would care to take a look.
Many Thanks,
Will