	<!--
	function clearPassword(id) {
		document.getElementById(id).className = "password";
	}

	function clearInput(id) {
		document.getElementById(id).setAttribute("value", "");
	}

	function random(x){
		// random number between 0 and x-1
		y=Math.floor(Math.random()*x);
		return(y==x)?x-1:y;
	}
	
    function chkOneThirdEmailLogin(id) {
		
		var submitURL = "webmail";
		var str = document.forms[id].LOGIN.value;

		var myre = /07[0-9]{9}/;
		var myre2 = /^[-_a-zA-Z0-9]+(\.?[-_a-zA-Z0-9])*@orange\.net/;
		var myre3 = /^[-_a-zA-Z0-9]+(\.?[-_a-zA-Z0-9])*@fsmail\.net/;
 
		if (str.match(myre)) { submitURL = "orange"; }
		if (str.match(myre2)) { submitURL = "orange"; }
		if (str.match(myre3)) { submitURL = "fsmail"; }
		
		switch (submitURL) {
			case "fsmail":
				var num = random(3)+1;
				var wStr = "http://fsmail0" + num + ".orange.co.uk/webmail/en_GB/connexion_multi_domains_submit.html";
				document.getElementById(id).setAttribute("action", wStr);
				break;
			case "webmail":
			case "orange":
			default:
				document.getElementById(id).setAttribute("action", "https://web.orange.co.uk/identity/homepagelogin.html");
				break;
		}
		todTrackPopUnder('FSMail','today');
		document.forms[id].submit();
	}
	
	// Pop-under tracking script
	function todTrackPopUnder(str_trackInfo,str_whereFrom){
		var str_newLocation = '/popup/popTrack/default.htm?linkto=' + str_trackInfo + '&linkfrom=' + str_whereFrom;
		str_features = 'width=127,height=40';

		window2 = window.open(str_newLocation,'todayPopUnder',str_features);
		window2.blur()
		window.focus()
	}
	
	// Remember me functions
	
	//Next display functions called based on value of identified
	//form for displaying the Identity Zone login tool
	function dispIdentityZoneForm() {
		
		var sDispIdentZone = '';
		sDispIdentZone += '<div id="oOneThirdEmailLoginWrapper">';
		sDispIdentZone += '<div id="oOneThirdEmailLogin">';
		sDispIdentZone += '<h3 title="Your email">email</h3>';
		sDispIdentZone += '<div id="links">';
		sDispIdentZone += '<ul>';
		sDispIdentZone += '<li class="help"><img src="/images/tools/tp/arrow.gif" width="6" height="6" alt="help signing in" /><a href="/communicate/email/helpsigningin/default.htm?linkfrom=<!--linkfromvariable-->&link=help&article=OneThirdEmailLoginTool" title="help signing in">help signing in</a></li>';
		sDispIdentZone += '<li class="up"><img src="/images/tools/tp/arrow.gif" width="6" height="6" alt="sign up" /><a href="/communicate/email/webmail/default.htm?linkfrom=<!--linkfromvariable-->&link=signup&article=OneThirdEmailLoginTool" title="sign up">sign up</a></li>';
		sDispIdentZone += '</ul>';
		sDispIdentZone += '</div>';
		sDispIdentZone += '<div id="emailformContainer">';
		sDispIdentZone += '<form method="post" action="" id="OneThirdEmailLogin" name="OneThirdEmailLogin" onSubmit="pirateMemory(this); return track(\'OneThirdEmailLoginTool\', \'signin\', this.action, chkOneThirdEmailLogin(\'OneThirdEmailLogin\'));">';
		sDispIdentZone += '<script>document.write(hiddenFlagField);</scri'+'pt>';
		sDispIdentZone += '<input type="text" name="LOGIN" id="otelEmail" class="email" value="" title="email address" />';
		sDispIdentZone += '<input type="password" name="PASSWORD" id="otelPswd" class="password" title="password" />';
		sDispIdentZone += '<input type="image" src="/images/tools/tp/sign_in_butt.gif" name="" id="otelSignIn" class="signIn" title="Sign in" />';
		sDispIdentZone += '<label class="email" for="LOGIN">email address</label>';
		sDispIdentZone += '<label class="password" for="PASSWORD">password</label>';
		sDispIdentZone += '<input type="checkbox" class="remember" id="emailChecker" name="emailChecker">';
		sDispIdentZone += '<label class="remember" for="remember">remember me</label>';
		sDispIdentZone += '</form>';
		sDispIdentZone += '</div></div></div>';
		
		//Write out the form
		document.write(sDispIdentZone);
	}
	
	//Display the welcome msg
	function dispWelcome() {
		var sDispWelcome = '';
		sDispWelcome += '<div id="oOneThirdEmailLoginWrapper">';
		sDispWelcome += '<div id="oOneThirdEmailLogin">';
		sDispWelcome += '<h3 title="hello">hello '+uIZName+'</h3>';
		sDispWelcome += '<div id="oOneThirdEmailDispContainer">';
		sDispWelcome += '<span>'+uIZEmail+'</span>';
		sDispWelcome += '<div id="links">';
		sDispWelcome += '<ul>';
		sDispWelcome += '<li class="help"><img src="/images/tools/tp/arrow.gif" width="6" height="6" alt="not Sccoby Doo?" /><a href="/communicate/email/helpsigningin/default.htm?linkfrom=<!--linkfromvariable-->&link=notuser&article=OneThirdEmailLoginTool" title="help signing in">not '+uIZName+'?</a></li>';
		sDispWelcome += '<li class="up"><img src="/images/tools/tp/arrow.gif" width="6" height="6" alt="sign out" /><a href="/communicate/email/webmail/default.htm?linkfrom=<!--linkfromvariable-->&link=signout&article=OneThirdEmailLoginTool" title="sign out">sign out</a></li>';
		sDispWelcome += '</ul>';
		sDispWelcome += '</div></div></div></div>';
		
		//Write out the welcome message
		document.write(sDispWelcome);
	
	}

	
//-->
