<!-- Begin
ok_urls = new Array();
ok_urls[1] = "http://www.themerchantventurer.co.uk/Index2.asp";
ok_urls[2] = "http://themerchantventurer.co.uk/Index2.asp";
ok_urls[3] = "http://www.themerchantventurer.co.uk/Index3.asp";
ok_urls[4] = "http://themerchantventurer.co.uk/Index3.asp";
ok_urls[5] = "https://www2.securesiteserver.co.uk/merchantventurer/Index3.asp";
ok_urls[6] = "https://www2.securesiteserver.co.uk/merchantventurer/Index2.asp";
ok_urls[7] = "https://www2.securesiteserver.co.uk/merchantventurer/Index4.asp";

// Enter all the possible web addresses that your site's frameset
// page can be accessed online, such as with and without the 'www'

function reportError(msg, url, line) {
if (url == window.location.href) {

msg = "\nLinking Error\n\n" +
"There was an error with the page you are trying to view\n\n" +
"This page should be inside a frameset\n\n" +
"You will now be redirected to our Main site";
alert(msg);

top.location.href = "http://www.themerchantventurer.co.uk";
return true;
   }
}

window.onerror = reportError;

url_found = 0;
for (var i = 1; i <= ok_urls.length && !url_found; i++) {
url_found = (parent.location.href.indexOf(ok_urls[i]) == -1);
}
if (!url_found || (window == top))
top.location.href = "http://www.themerchantventurer.co.uk";
//  End -->