<!--hide this script from non-javascript-enabled browsers

function TestMail( str )
{
	var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i
	if (filter.test(str))
		return true;

	alert("Please input a valid email address!")
	return false;
}

function CheckMail( f )
{
	return TestMail( f.email.value ); 
}

/*
function check_email(e) 
{
	var ok = "1234567890qwertyuiop[]asdfghjklzxcvbnm.@-_QWERTYUIOPASDFGHJKLZXCVBNM";

	for(i=0; i < e.length ;i++)
	{
		if(ok.indexOf(e.charAt(i))<0)
		{ 
			return 0;
		}	
	} 

	if (document.images) 
	{
		re = /(@.*@)|(\.\.)|(^\.)|(^@)|(@$)|(\.$)|(@\.)/;
		re_two = /^.+\@(\[?)[a-zA-Z0-9\-\.]+\.([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/;
		if (!e.match(re) && e.match(re_two)) 
		{
			return 1;		
		} 
	}
	
	return 0;
}
*/

function get_download_folder( n )
{
	return "http://www.netu2.co.uk/downloads/"; 
	//if (n == "uk")
			
//	else
//		return "http://breeze.he.net/~netu2/v5/downloads/"; 		
}


function checkFrames()
{
var strPage, strURL
strPage = location.pathname + location.search
alert( strPage );

strURL = location.protocol + "//" + location.hostname +
"/index.asp?page=" + escape(strPage)

alert( strURL );

if ((window.name != "body") || (window.parent.name != "frameset") ||
(window.parent.parent.parent != window.parent.parent))
{
window.top.location.replace(strURL)
}
}


// stop hiding -->

