Redirect desktop site to internal page

Redirect desktop site to internal page

Is it possible to redirect a user who is browsing my site on their mobile to an internal jquery mobile page?

Currently for redirecting mobile browsers to the mobile site I use this:

<script type="text/javascript">
if (screen.width<800) {
window.location="http://www.magnetikmedia.co.uk/m/index.html";
}
</script>

I added a new page today called  http://www.magnetikmedia.co.uk/monthly-pricing.htm and I also added this to the mobile site so the link to the mobile version is now http://www.magnetikmedia.co.uk/m/index.html#monthlypricing however therefore on the monthly-pricing desktop page my redirect is:

<script type="text/javascript">
if (screen.width<800) {
window.location="http://www.magnetikmedia.co.uk/m/index.htm#monthlypricing";
}
</script>

however all this does on a mobile device is open the mobile homepage. Is it possible so in this instance the user would be taken straight to the pricing page? Some users will probably be reading my mailout promoting this page on their mobiles but currently when they click the link it just opens my homepage which is no good.

any ideas? Have I explained this enough?