%
'If session variable code exists, use this to divert to page
if Session("Code")<>"" then
dim sCode
sCode=Session("Code")
Session.Contents.Remove("Code")
response.redirect "http://clkuk.tradedoubler.com/click?p(3324)a(1092686)g(19415)epi(uhs)url(http://www.cottages4you.co.uk/sites/cottages4you/pages/PropertyDetails_C.aspx?QS=3E0F3DCD-882D-4738-9E61-B90EA3C005F2~C~"&sCode&"~~216~GBP~~0~~A~N~~54da1248-1f3f-47c1-aa77-38ced0fc9949~469~0~0~~~Y~N~)"
end if
'response.Write("referrer="&Request.servervariables("http_referer")&" ")
' No session code exists, so see if page is reached from a redireced page.
' If from appropriate page, get the code from the URL
Session("Code")=""
dim referer
referer=Request.servervariables("http_referer")
'response.Write(Session("Code")&" ")
'response.Write("referer="&referer&" ")
'Response.write("URL found="&inStr(1,lcase(referer),"calling"))
'response.end
' See if called from URL
if inStr(1,lcase(referer),"www.cottage-choice.co.uk")>0 then
' Get the Code from the URL, and store is session variable
if Session("Code")="" then
dim iStart
dim iTemp
dim iEnd
' Code is the last item in URL, so loop round until
' we get to the last hyphen.
iTemp=inStr(1,referer,"-")
do until iTemp=0
' response.Write("iTemp "&iTemp)
iStart=iTemp
iTemp=inStr(iStart+1,referer,"-")
loop
iEnd=inStr(1,referer,".shtml")
' response.Write("Start="&iStart& " End="&iEnd&" ")
' If we have found the first and last place for the code, use this.
if iStart>0 and iEnd > 0 then
Session("Code")=mid(referer,iStart+1,iEnd-iStart-1)
end if
'response.Write("session code="&Session("Code"))
end if
%>
Please click here if the page does't appear in 30 seconds
<%
response.end
end if
%>
Cottage breaks from Cottages 4 You
Book your perfect cottage break with Cottages 4 You
Taking a cottage holiday is a great way to unwind, and spend time with family, friends,
or to have a great time with just the two of you. But who do you choose to book your
cottage holiday with? There are several large companies out there who can provide you
with your ideal holiday cottage. One of these companies is Cottages 4 You.
Cottages 4 You
Cottages 4 You have a wealth of experience in providing cottage accommodation
for holiday makers, as they have been providing cottage holidays for nearly 30 years. Cottages 4 You
have thousands of holiday cottages for you to choose from all across the UK and Ireland. With more
cottages, villas and gites across France. Look for cottage holidays with Cottages 4 You...
Cottage 4 You properties
Do you already have a property in mind? if you do, and you know the property code, key the property code here:
<%
dim bFound
bFound=false
' If the brochure code has been filled in, try to send to that page (after checking it exists)
dim sBrochureCode
sBrochureCode=Request("brochureCode")
if len(sBrochureCode)>1 then
bFound=urlExists("http://www.cottages4you.co.uk/uce/c4y?action=referenceSearch&cottageRef="&sBrochureCode)
if bFound then
response.redirect "http://clkuk.tradedoubler.com/click?p(3324)a(1092686)g(19415)epi(uhs)url(http://www.cottages4you.co.uk/sites/cottages4you/pages/PropertyDetails_C.aspx?QS=3E0F3DCD-882D-4738-9E61-B90EA3C005F2~C~"&sBrochureCode&"~~216~GBP~~0~~A~N~~54da1248-1f3f-47c1-aa77-38ced0fc9949~469~0~0~~~Y~N~)"
else
response.write("Sorry, the code "&sBrochureCode&" could not be found")
end if
end if
%>
On-Line payment for your holiday
We all worry about paying for good on the internet. Is the web site safe? Will my card be used
without my knowledge? Cottages 4 You have secure method of paying for your holiday on-line, so
you can fell safe that your payment details are in safe hands. Look for cottage holidays with Cottages 4 You...
We can't leave our pet behind!
If you have pet, you will know it's like having another family member. You wouldn't want to
leave any member of your family at home during your holiday, so why leave your pet there!
Many of the cottages featured by Cottages 4 You allow you to take your pet too,
so you can all go on holiday together as one big family. Look for cottage holidays with Cottages 4 You...
A good deal
You will want to get a good deal on their holiday, but without losing any of the quality.
Special offers are especially important in these financially troubled times.
Well, Cottages 4 You run special offers which are well worth keeping an eye on. Have
a look and see how much you could save by choosing one of these special offers for your holiday. Look at current special offers...
What sort of holiday do you want
Family holiday? A get-together for friends? or a romantic break for the two of you?
Whatever type of cottage holiday you are after, Cottages 4 You are sure to
have a cottage to suit your needs. Whether a small romantic cottage in the Peak District, or
a large cottage on the coast is your bag, Cottages 4 You will have something that gives you
that "wow" feeling. Look for cottage holidays with Cottages 4 You...