<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<title>Bradford Bulls</title>

<meta name="description" content="The one any only Bradford Bulls fan site and forum" />
<meta name="keywords" content="fantasy leage, Bradford Bulls, Rugby League, Super League, JJB, Sport, Rugby, Grattan Stadium,  Odsal Stadium, Robbie Paul, James Lowes, Tevita Vaikona, Steve McNamara, Bullman, Bullettes, Chris Caisley, Glenn Morrison, Paul Deacon, Odsal Stadium" />

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<link href="style.css" rel="stylesheet" type="text/css" />
<link href="layout.css" rel="stylesheet" type="text/css" />

<script type="text/javascript">
<!--

function myOpen(url) {
    var handle = window.open(url,"_self");
    return handle;
}
//-->

</script>

<script type="text/javascript" src="js/reflection.js"></script> 
<script type="text/javascript" src="mediaGallery/flashdetect.js"></script>

<style type="text/css">
img, div { behavior: url(iepngfix.htc) }
</style>

<style type="text/css">
.style2 {
	text-align: center;
}
</style>

</head>
<body id="index">

<div id="main">
	<div id="header">
	</div>
	<script type="text/javascript">
		var so = new SWFObject("/flash/header_v8.swf?button=0", "header", "100%", "100%", "6", "#000000");
		so.addVariable("quality","high")
		so.addVariable("menu","false")
		so.addVariable("wmode","transparent")
		so.write("header");
	</script>
	<div id="content">
		<div class="column_1 column" style="height: 100%">
			<ul class="nn">
				<li><a href="?Page=Home">Home</a></li>
				<!--<li><a href="?Page=Squad" target="_self">Player Profiles</a></li>-->
				<li><a href="?Page=News">Club News</a></li>
				<li><a href="?Page=Fixtures">Fixtures</a></li>
				<!--<li><a href="?Page=Fantasy">Fantasy League</a></li>-->
				<!--<li><a href="?Page=Gallery">Gallery</a></li>-->
				<li><a href="?Page=Media">Multimedia</a></li>
				<!--<li><a href="?Page=Quiz">Quiz!</a></li>-->
				<li><a href="?Page=Links">Links</a></li>
				<li><a href="Forum" target="_self">Forum</a></li>
				<!--<li><a href="Blog">blogs</a></li>-->
				<li><a href="?Page=Register">
				Register</a></li>
				<li><a href="?Page=Contact">Contact</a></li>
				
				<li><a href="?Page=Login">Log In</a></li>
				
				<li style="height: 221px"><br /><br />
				<script src="rssticker.js" type="text/javascript"></script>

<script type="text/javascript">
//rssticker_ajax(RSS_id, cachetime, divId, divClass, delay, optionalswitch)
//1) RSS_id: "Array key of RSS feed in PHP script"
//2) cachetime: Time to cache the feed in minutes (0 for no cache)
//3) divId: "ID of DIV to display ticker in. DIV dynamically created"
//4) divClass: "Class name of this ticker, for styling purposes"
//5) delay: delay between message change, in milliseconds
//6) optionalswitch: "optional arbitrary" string to create additional logic in call back function

document.writeln('<br>')
new rssticker_ajax("SKY", 600, "skybox", "", 15000, "date+description")
document.writeln('<br>')
new rssticker_ajax("SLI", 1200, "SLIbox", "", 20000, "date+description")
document.writeln('<br>')
</script>


				<div id="Poll2">
				</div>
				<!--
				<script type="text/javascript">
					var so = new SWFObject("/poll/poll2.swf", "Poll2", "100%", "100%", "6", "#000000");
					so.addVariable("quality","high")
					so.addVariable("menu","false")
					so.write("Poll2");
				</script>-->
				</li>
			</ul>
		</div>
		
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">

<head>

<script type="text/javascript" language="JavaScript">
<!--

/**
* reloadImage function to reload the verification code image
* Written by Martyn Kilbryde
*/
function reloadImage()
{
	// Create a new Date object
	theDate = new Date();

	// Refresh the image src to the image_car.asp "image", with the time on the end to force a refresh
	document["ver_code"].src = "includes/image_ver.asp?" + theDate.getTime();
	
}

function passwordChanged() {
	var strength = document.getElementById('strength');
	var strongRegex = new RegExp("^(?=.{8,})(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])(?=.*\\W).*$", "g");
	var mediumRegex = new RegExp("^(?=.{7,})(((?=.*[A-Z])(?=.*[a-z]))|((?=.*[A-Z])(?=.*[0-9]))|((?=.*[a-z])(?=.*[0-9]))).*$", "g");
	var enoughRegex = new RegExp("(?=.{6,}).*", "g");
	var pwd = document.getElementById("txtNewPassword");
	if (pwd.value.length==0) {
		strength.innerHTML = 'Type Password';
	} else if (false == enoughRegex.test(pwd.value)) {
		strength.innerHTML = 'More Characters';
	} else if (strongRegex.test(pwd.value)) {
		strength.innerHTML = '<span style="color:green">Strong!</span>';
	} else if (mediumRegex.test(pwd.value)) {
		strength.innerHTML = '<span style="color:orange">Medium!</span>';
	} else { 
		strength.innerHTML = '<span style="color:red">Weak!</span>';
	}
}

function validate_form(frm)
{

	var nick1 = document.getElementById('txtNick').value;
	
	var pass1 = document.getElementById('txtNewPassword').value;
	var pass2 = document.getElementById('txtConfirmPassword').value;
	
	var email = document.getElementById('txtEmail').value;
	var emai2 = document.getElementById('txtconfirmemail').value;
	
	var code1 = document.getElementById('txtImage').value;
	
	nick1 = nick1.replace("'","");
	
	pass1 = pass1.replace("'","");
	pass2 = pass2.replace("'","");
	
	email = email.replace("'","");
	emai2 = emai2.replace("'","");
	
	code1 = code1.replace("'","");
	
	if ((nick1.length < 2) || (nick1.length > 16)) {
		alert('Your username does not fit the required length');
		return false;
	}
	if (alphaNumericCheck(nick1)==false){
		alert('Invalid char found in nick');
		return false;
	}
	if (isValidEmail(email)==false){
		alert('Invalid email address');
		//document.getElementById('txtEmail').style.background = "#FF0000"
		return false;
	}
	if (email != emai2){
		alert('The verification email does not match');
		return false;
	}
	if (pass1.length == 0){
		alert('Please enter a password');
		return false;
	}
	if (pass1 != pass2){
		alert('The verification password does not match');
		return false;
	}
	if (code1.length == 0){
		alert('Please enter the Verification code');
		return false;
	}
	
	frm.disabled=true,frm.form.submit();
	
	return true;
}

function isValidEmail(strEmail){
  validRegExp = /^[^@]+@[^@]+.[a-z]{2,}$/i;

    if (strEmail.search(validRegExp) == -1) 
   {
      return false;
    } 
    return true; 
}

function alphaNumericCheck(strNick){
	var regex=/^[0-9A-Za-z]+$/; //^[a-zA-z]+$/
	if(regex.test(strNick)){
	return true;
	} else {
	return false;
	}
}
function OnCheckAvailability()
{
	if(window.XMLHttpRequest)
	{
	   oRequest = new XMLHttpRequest();
	}
	else if(window.ActiveXObject)
	{
	   oRequest = new ActiveXObject("Microsoft.XMLHTTP");
	}
	
	oRequest.open("POST", "includes/get_name_available.asp", true);
	oRequest.onreadystatechange = UpdateCheckAvailability;

	oRequest.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
	oRequest.send("strCmd=availability&strUsername=" + document.SubmitData.txtNick.value);
}

function UpdateCheckAvailability()
{
	
	document.getElementById("Available").innerHTML = "<img src='../images/wait.gif'> Please wait ..."

	if(oRequest.readyState == 4)
	{	
		if(oRequest.status == 200)
		{
			document.getElementById("Available").innerHTML = oRequest.responseText;
		}
		else
		{
			document.getElementById("Available").innerHTML = "Asychronous Error";
		}
	}
}
function OnChangedUsername()
{
	if(document.SubmitData.txtNick.value == "")
	{
		document.SubmitData.btnCheckAvailability.disabled = true;
	}
	else
	{
		document.SubmitData.btnCheckAvailability.disabled = false;
	}
}

//-->
</script>

</head>
	<div style='margin-left:165px; padding:26px 25px 20px 20px; height: 455px;' class='title_content'>
	
	<noscript><strong>Javascript is disabled on your browser.<br></strong>
	Please enable JavaScript on your browser or upgrade to a Javascript-capable browser to register.</noscript>
	
	<script type="text/javascript">
		document.write("<strong>Please enter your details below. A verification email will be sent to your specified email address. Fields marked 	* must be completed. Your user name and password is case-sensitive. You can enter additional information by going to Edit Profile once you are logged in.<br>")
		document.write("&nbsp;<br></strong>")
		
		document.write("<form style='padding:26px 25px 20px 20px; margin-left: 40px; margin: 0px' method='post' name='SubmitData' action='get_new_member.asp'>")
		document.write("<input value='' maxlength='16' id='txtNick' name='txtNick' type='text' style='width: 164px' onKeyUp='OnChangedUsername();'/>&nbsp;&nbsp;&nbsp;<input id='btnCheckAvailability' type='button' disabled='disabled' value='Check' style='height: 21px' onClick='OnCheckAvailability();'/>&nbsp;&nbsp;<div id='Available'></div><br>")
		document.write("* Username (Only A-Z, 0-9 allowed. Min 2 chars, max 16 chars)<br><br>")
		document.write("<input maxlength='20' name='txtFirstName' type='text' style='width: 164px'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; First Name<br>")
		document.write("<input maxlength='20' name='txtLastName' type='text' style='width: 164px'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Last ")
		document.write("	Name<br>")
		document.write("<input maxlength='40' value='' id='txtEmail' name='txtEmail' type='text' style='width: 164px'>&nbsp;&nbsp;&nbsp; * E-mail address<br>")
		document.write("<input maxlength='40' value='' id='txtconfirmemail' name='txtconfirmemail' type='text' style='width: 164px'>&nbsp;&nbsp;&nbsp; * Confirm e-mail address<br>")
		document.write("<br>")
		document.write("<input maxlength='20' onkeyup='return passwordChanged();' id='txtNewPassword' name='txtNewPassword' type='password' style='width: 164px'>&nbsp;&nbsp;&nbsp; ")
		document.write("* Password&nbsp;&nbsp;&nbsp; <span id='strength'>Type Password</span><br>")
		document.write("<input maxlength='20' id='txtConfirmPassword' name='txtConfirmPassword' type='password' style='width: 164px'>&nbsp;&nbsp;&nbsp; * Confirm password<br>")
		document.write("<br>")
		document.write("<img src='includes/image_ver.asp' alt='Image Verification' width='110' height='35' id='ver_code' name='ver_code'>")
		document.write("<br>")
		document.write("	Can&#39;t read it? <a href='javascript:reloadImage()'>reload</a> for another code")
		document.write("	")
		document.write("	")
		document.write("	<br>")
		document.write("<br>")
		document.write("<input value='' maxlength='5' id='txtImage' name='txtImage' type='text' style='width: 164px'>&nbsp;&nbsp;&nbsp; * Verification code	")
		document.write("<br>")
		document.write("<br>")
		document.write("<input id='HideEmail' name='HideEmail' type='checkbox' value='0'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;")
		document.write("	<br>")
		document.write("Hide email address<br>")
		document.write("<br>")
		document.write("<input onclick='return validate_form(this)' name='Button1' type='submit' value='submit' style='width: 51px'><input name='Reset1' type='reset' value='reset' style='width: 51px'>")
		document.write("</form>")
		document.write("")
	
	</script>
	
	</div>
		<div class="clear"></div>
	</div>
	<br />
	<div id="footer" class="nn">
		<br style="line-height:5px" />
		Copyright 2008 © Bradfordsbulls.co.uk . All rights reserved. &nbsp;|&nbsp; <a href="?Page=Terms">
		Terms of use</a> &nbsp;|&nbsp; <a href="?Page=Policy">Privacy Policy</a>
	</div>
	
	
</div>


</body>
</html>



<br><br>