Redirect to a website after limited page view of a website.

I have a website well indexed in Google. I want to redirect my viewer to a new website which I have created now. I want to use a cookies based programming, so that viewer will autometically redirected to my new website when they visits more than 10 pages of my website.