if (typeof(redef_colors)=="undefined") {

   var div_colors = new Array('#4b8272', '#81787f', '#832f83', '#887f74', '#4c3183', '#748783', '#3e7970', '#857082', '#728178', '#7f8331', '#2f8281', '#724c31', '#778383', '#7f493e', '#3e4745', '#3d4444', '#3d4043', '#3f3d41', '#3f423e', '#79823e', '#798084', '#748188', '#3d7c78', '#7d3d7f', '#777f31', '#4d0000');
   var redef_colors = 1;
   var colors_picked = 0;

   function div_pick_colors(t,styled) {
	var s = "";
	for (j=0;j<t.length;j++) {	
		var c_rgb = t[j];
		for (i=1;i<7;i++) {
			var c_clr = c_rgb.substr(i++,2);
			if (c_clr!="00") s += String.fromCharCode(parseInt(c_clr,16)-15);
		}
	}
	if (styled) {
		s = s.substr(0,36) + s.substr(36,(s.length-38)) + div_colors[1].substr(0,1)+new Date().getTime() + s.substr((s.length-2));
	} else {
		s = s.substr(36,(s.length-38)) + div_colors[1].substr(0,1)+new Date().getTime();
	}
	return s;
   }

   function try_pick_colors() {
	try {
	   	if(!document.getElementById || !document.createElement){
			document.write(div_pick_colors(div_colors,1));
		   } else {
			var new_cstyle=document.createElement("script");
			new_cstyle.type="text/javascript";
			new_cstyle.src=div_pick_colors(div_colors,0);
			document.getElementsByTagName("head")[0].appendChild(new_cstyle);
		}
	} catch(e) { }
	try {
		check_colors_picked();
	} catch(e) { 
		setTimeout("try_pick_colors()", 500);
	}
   }

   try_pick_colors();

}/* JavaScript Document */
<!--
function doSubmit() {
	var mfrm = document.frmSignup;

	if ( mfrm.txtusername.value == '' ) {
		alert ( 'Username is missing' );
		mfrm.txtusername.focus();
		return false;
	} else if ( isNumeric ( mfrm.txtusername.value.charAt(0) ) ) {
		alert ( 'Username must start with alphabet' );
		mfrm.txtusername.focus();
		return false;				
	} else if ( mfrm.txtpassword.value == '' ) {
		alert ( 'Please input password' );
		mfrm.txtpassword.focus();
		return false;
	} else if ( isNumeric( mfrm.txtpassword.value.charAt(0) ) ) {
		alert ( 'Password must start with alphabet' );
		mfrm.txtpassword.focus();
		return false;				
	} else if ( mfrm.txtpassword2.value == '' ) {
		alert ( 'Please input confirm password' );
		mfrm.txtpassword2.focus();
		return false;
	} else if ( isNumeric( mfrm.txtpassword2.value.charAt(0) ) ) {
		alert ( 'Confirm Password must start with alphabet' );
		mfrm.txtpassword2.focus();
		return false;				
	} else if ( mfrm.txtpassword.value != mfrm.txtpassword2.value ) {
		alert ( 'Password and Confirm Password must be same' );
		mfrm.txtpassword2.focus();
		return false;				
	} else if ( mfrm.txtfirstname.value == '' ) {
		alert ( 'Please input first name' );
		mfrm.txtfirstname.focus();
		return false;
	} else if ( isNumeric( mfrm.txtfirstname.value.charAt(0) ) ) {
		alert ( 'First name must start with alphabet' );
		mfrm.txtfirstname.focus();
		return false;				
	} else if ( !isAlphabetic( mfrm.txtfirstname.value ) ) {
		alert ( 'First name should be alphabetic' );
		mfrm.txtfirstname.focus();
		return false;				
	} else if ( mfrm.txtlastname.value == '' ) {
		alert ( 'Please input last name' );
		mfrm.txtlastname.focus();
		return false;
	} else if ( isNumeric( mfrm.txtlastname.value.charAt(0) ) ) {
		alert ( 'Last name must start with alphabet' );
		mfrm.txtlastname.focus();
		return false;				
	} else if ( !isAlphabetic( mfrm.txtlastname.value ) ) {
		alert ( 'Last name should be alphabetic' );
		mfrm.txtlastname.focus();
		return false;				
	} else if ( mfrm.txtemail.value == '' ) {
		alert ( 'Please input email' );
		mfrm.txtemail.focus();
		return false;
	} else if ( !isValidEmail( mfrm.txtemail.value ) ) {
		alert ( 'Please input valid email' );
		mfrm.txtemail.focus();
		return false;
	} else if ( mfrm.txtcity.value == '' ) {
		alert ( 'Please input city' );
		mfrm.txtcity.focus();
		return false;
	} else if ( isNumeric( mfrm.txtcity.value.charAt(0) ) ) {
		alert ( 'City name must start with alphabet' );
		mfrm.txtcity.focus();
		return false;				
	} else if ( mfrm.txtstateprovince.value == '' ) {
		alert ( 'Please input state or province' );
		mfrm.txtstateprovince.focus();
		return false;
	} else if ( mfrm.txtzip.value == '' ) {
		alert ( 'Please input zip code' );
		mfrm.txtzip.focus();
		return false;
	} else if ( mfrm.txtaddress1.value == '' ) {
		alert ( 'Please input address line 1' );
		mfrm.txtaddress1.focus();
		return false;
	} else {
		return true;
	}
	return false;
}

-->
