I was thinking that the script is present on the index.htm page of the main website so how about linking the 'full website' button on the mobile site to another page, maybe a duplicate of the home page but called 'homepage' instead of index.htm with the script on it. or would the script pickup the auto-detect when the visitor clicks on the home page again.