hi5 ile dünyaya bağlan.
- Yaşadığınız şehirden veya dünyanın her yerinden arkadaşlar bulun.
- Fotoğraflarınızı paylaşın. Sevdiğiniz müzikleri dinleyin. Arkadaşlarınıza bağlanın.
- Kendi sayfanızı oluşturun, dünyanızı paylaşın.
<div id="hi5-application-main">
<div id="p_center">
<div id="inner-page">
<div id="top-left-column">
<div id="promo-border">
<div class="content" id="promo-section" align="right">
<div id="get-connected" align="left"><style type="text/css">
#top-left-column { width: 440px; }
#registration-form { display: none; } /* New style to hide registration form */
#get-connected { display: block; width: auto; height:auto; } /* Updated style to show get-connected */
#bottom-center-column { width: 440px; }
#bottom-left-column { display: none; }
#inner-page { width: 750px; margin: auto; }
#ogreg {display:none; }
.bigButton { font-size:136%; font-weight:bold; margin:5px 0; cursor:pointer; padding:5px 0; border:none; width:160px; height:32px; background:url(http://images.hi5.com/images/buttons/160_orange.jpg) no-repeat; }
#acclinks { border-left:none; }</style>
<div id="newreg">
<h1>hi5'e kaydolun</h1>
<form id="simpleRegForm" onsubmit="if(validateOnSubmit()) return true; else return false;" action="/friend/registration/simpleRegistrationStep1.do" method="post">
<input type="hidden" name="timestamp" value="8017381074057265355" /> <input id="showText" type="hidden" name="showText" /> <input type="hidden" name="regId" value="12001" /> <input type="hidden" name="currStep" value="1" /> <input type="hidden" name="validateStep" value="0" /> <input type="hidden" name="user.permissions" value="1" /> <input type="hidden" name="inHideAdSample" value="false" /> <input type="hidden" name="user.gender" value="0" /> <input id="safetyCompliance" type="hidden" name="safetyCompliance" value="1" />
<table id="regTable" cellspacing="0" cellpadding="6" width="100%" align="center">
<tbody>
<tr>
<td valign="bottom" align="right" width="25%"><strong>Adınız:</strong></td>
<td>
<table cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td>Ad:<br />
<input id="firstName" tabindex="4" maxlength="25" size="15" name="user.firstname" type="text" /><img id="firstNameImg" alt="" src="http://images.hi5.com/images/clear.gif" width="16" name="firstNameImg" /></td>
<td> Soyad:<br />
<input id="lastName" tabindex="5" maxlength="25" size="15" name="user.lastname" type="text" /><img id="lastNameImg" alt="" src="http://images.hi5.com/images/clear.gif" width="16" name="lastNameImg" /></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr style="display: none">
<td width="25%"> </td>
<td cellspacing="0" cellpadding="0"> </td>
</tr>
<tr style="display: none">
<td width="25%"> </td>
<td cellspacing="0" cellpadding="0"> </td>
</tr>
<tr>
<td align="right"><strong>E-posta Adresiniz:</strong></td>
<td><img id="Loading" style="display: none" src="http://static.hi5.com/images/icons/_/loading.gif" border="0" alt="" /> <input id="regEmail" tabindex="6" maxlength="50" size="30" name="user.email" type="text" /> <img id="regEmailImg" alt="" src="http://images.hi5.com/images/clear.gif" width="16" name="regEmailImg" /></td>
</tr>
<tr style="display: none">
<td width="25%"> </td>
<td cellspacing="0" cellpadding="0"> </td>
</tr>
<tr>
<td align="right"><strong>Bir Şifre Oluşturun:</strong></td>
<td><input id="passwd" tabindex="7" type="password" maxlength="20" size="30" name="password" /> <img id="passwdImg" alt="" src="http://images.hi5.com/images/clear.gif" width="16" name="passwdImg" /></td>
</tr>
<tr style="display: none">
<td width="25%"> </td>
<td cellspacing="0" cellpadding="0"> </td>
</tr>
<!--tr>
<td align="right"><b>Cinsiyetiniz:</b></td>
<td>
<input type="radio" name="user.gender" value="0" tabindex="8" checked="checked" />
<a href="javascript:nothing();" onClick="simpleRegForm.elements['user.gender'][0].click();return true;">Erkek</a>
<input type="radio" name="user.gender" value="1" />
<a href="javascript:nothing();" onClick="simpleRegForm.elements['user.gender'][1].click();return true;">Bayan</a>
</td>
</tr-->
<tr>
<td align="right"><strong>Doğum Tarihi:</strong></td>
<td><!--TODO: localize the date order (for now always displays as euro-style date) --><select style="vertical-align: middle" tabindex="9" onchange="javascript: performOnLoad();" name="DOBDay">
<option value="0">Gün</option>
<option value="1" selected="selected">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
</select> / <select style="vertical-align: middle" tabindex="10" onchange="javascript: performOnLoad();" name="DOBMonth">
<option value="0">Ay</option>
<option value="1" selected="selected">Ocak</option>
<option value="2">Şubat</option>
<option value="3">Mart</option>
<option value="4">Nisan</option>
<option value="5">Mayıs</option>
<option value="6">Haziran</option>
<option value="7">Temmuz</option>
<option value="8">Ağustos</option>
<option value="9">Eylül</option>
<option value="10">Ekim</option>
<option value="11">Kasım</option>
<option value="12">Aralık</option>
</select> / <select style="vertical-align: middle" tabindex="11" onchange="javascript: performOnLoad();" name="DOBYear">
<option value="2006">2006</option>
<option value="2005">2005</option>
<option value="2004">2004</option>
<option value="2003">2003</option>
<option value="2002">2002</option>
<option value="2001">2001</option>
<option value="2000">2000</option>
<option value="1999">1999</option>
<option value="1998">1998</option>
<option value="1997">1997</option>
<option value="1996">1996</option>
<option value="1995">1995</option>
<option value="1994">1994</option>
<option value="1993">1993</option>
<option value="1992">1992</option>
<option value="1991">1991</option>
<option value="1990" selected="selected">1990</option>
<option value="1989">1989</option>
<option value="1988">1988</option>
<option value="1987">1987</option>
<option value="1986">1986</option>
<option value="1985">1985</option>
<option value="1984">1984</option>
<option value="1983">1983</option>
<option value="1982">1982</option>
<option value="1981">1981</option>
<option value="1980">1980</option>
<option value="1979">1979</option>
<option value="1978">1978</option>
<option value="1977">1977</option>
<option value="1976">1976</option>
<option value="1975">1975</option>
<option value="1974">1974</option>
<option value="1973">1973</option>
<option value="1972">1972</option>
<option value="1971">1971</option>
<option value="1970">1970</option>
<option value="1969">1969</option>
<option value="1968">1968</option>
<option value="1967">1967</option>
<option value="1966">1966</option>
<option value="1965">1965</option>
<option value="1964">1964</option>
<option value="1963">1963</option>
<option value="1962">1962</option>
<option value="1961">1961</option>
<option value="1960">1960</option>
<option value="1959">1959</option>
<option value="1958">1958</option>
<option value="1957">1957</option>
<option value="1956">1956</option>
<option value="1955">1955</option>
<option value="1954">1954</option>
<option value="1953">1953</option>
<option value="1952">1952</option>
<option value="1951">1951</option>
<option value="1950">1950</option>
<option value="1949">1949</option>
<option value="1948">1948</option>
<option value="1947">1947</option>
<option value="1946">1946</option>
<option value="1945">1945</option>
<option value="1944">1944</option>
<option value="1943">1943</option>
<option value="1942">1942</option>
<option value="1941">1941</option>
<option value="1940">1940</option>
<option value="1939">1939</option>
<option value="1938">1938</option>
<option value="1937">1937</option>
<option value="1936">1936</option>
<option value="1935">1935</option>
<option value="1934">1934</option>
<option value="1933">1933</option>
<option value="1932">1932</option>
<option value="1931">1931</option>
<option value="1930">1930</option>
<option value="1929">1929</option>
<option value="1928">1928</option>
<option value="1927">1927</option>
<option value="1926">1926</option>
<option value="1925">1925</option>
<option value="1924">1924</option>
<option value="1923">1923</option>
<option value="1922">1922</option>
<option value="1921">1921</option>
<option value="1920">1920</option>
<option value="1919">1919</option>
<option value="1918">1918</option>
<option value="1917">1917</option>
<option value="1916">1916</option>
<option value="1915">1915</option>
<option value="1914">1914</option>
<option value="1913">1913</option>
<option value="1912">1912</option>
<option value="1911">1911</option>
<option value="1910">1910</option>
<option value="1909">1909</option>
<option value="1908">1908</option>
<option value="1907">1907</option>
<option value="1906">1906</option>
<option value="1905">1905</option>
<option value="1904">1904</option>
<option value="1903">1903</option>
<option value="1902">1902</option>
<option value="1901">1901</option>
<option value="1900">1900</option>
</select></td>
</tr>
<tr>
<td valign="middle"> </td>
<td valign="top"><input type="hidden" name="agreeTOS" value="1" /> <span id="TOS" style="display: block; font-size: 11px">Bu düğmeyi tıklayarak <a class="whitetxt" style="text-decoration: underline" href="http://hi5.com/friend/displayTOS.do" target="_blank"><font color="#085098" size="2">hi5 Hizmet Koşulları</font></a> ve <a class="whitetxt" style="text-decoration: underline" href="http://hi5.com/friend/displayPrivacy.do" target="_blank"><font color="#085098" size="2">Gizlilik Politikası</font></a>'nı okuyup kabul ettiğinizi onaylamış olursunuz.</span>
<p class="btnwrap"><input class="bigButton" id="submitButton" type="submit" align="center" value="Kaydol" /></p>
</td>
</tr>
</tbody>
</table>
</form>
</div>
<div id="ogreg">
<h1>hi5'ta arkadaşlarınızı bulun.</h1>
<div id="import-friends">
<div style="padding-right: 20px; padding-left: 20px; padding-bottom: 20px; padding-top: 20px">Hangi arkadaşlarınızın hi5'ta olduğunu öğrenmek mi istiyorsunuz? Başlamak için "Üye Ol"a tıklayın!</div>
<div align="center"><input style="padding-right: 0.5em; padding-left: 0.5em; font-weight: bold; font-size: 18px; padding-bottom: 0.1em; overflow: visible; padding-top: 0.1em" onclick="window.location = '/friend/registration/displayRegistration.do';" type="button" value="Üye ol!" /></div>
</div>
</div>
</div>
</div>
</div>
</div>
<!--Kaz 6/6/08: Hiding ad banner for VE people in sample-->
<div id="right-column"><!-- ARBOinteractive 300x250 -->
<div id="bmone2n-5688.1.1.16">
<table cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td><a href="http://go.cz.bbelements.com/please/redirect/5688/1/1/16/!uwi=1024;uhe=768;uce=1;param=70560/75450_10_?" target="_blank"><img title="line.fm" height="250" src="http://cdn.go.cz.bbelements.com/logos/b70560_3.gif" width="300" border="0" alt="" /></a></td>
</tr>
</tbody>
</table>
<!-- spir.czMonE --></div>
<!-- hi5 taxonomy code -->
<script language="javascript" type="text/javascript">
ARBO_area = "Member_Home";
if (ARBO_area == "ROS") {
ARBO_area = "";
} else if (ARBO_area.indexOf("/") > 0) {
ARBO_area = "." + ARBO_area.substring(0, ARBO_area.indexOf("/"));
} else {
ARBO_area = "." + ARBO_area;
}
</script>
<!-- hi5 taxonomy code end -->
<script src="http://go.cz.bbelements.com/bb/bb_one2n.js?1216119074" type="text/javascript" charset="windows-1250"></script>
<script type="text/javascript">/* <![CDATA[ */
bmone2n.addPosition('5688.1.1.16','');
lh = location.href;
bburlparam = 'href=';
bbhrf = lh + ( lh.indexOf('?')<0 ? '?' : ' &');
bbhrf += "language=HI_VARS_HERE&";
bbhrf += "age=HI_VARS_HERE&";
bbhrf += "gender=HI_VARS_HERE&";
bbhrf += "taxonomy=" + ARBO_area;
bburlparam += encodeURIComponent ? encodeURIComponent(bbhrf):encode(bbhrf);
bmone2n.getAd('go.cz.bbelements.com','',''+(typeof(bburlparam)=='string'?'&'+bburlparam:''),'windows-1250');
/* ]]> */</script>
<script language="JavaScript" src="http://go.cz.bbelements.com/please/showit/0/0/0/1/?typkodu=js&one2n1=/5688/1/1/16/;5688.1.1.16;&one2n=1&ubl=tr&ucc=x86&ucd=32&uce=true&udx=96&udy=96&usl=tr&uje=true&uah=734&uaw=1024&ubd=0&uhe=768&ulx=96&uly=96&use=true&uto=-120&uti=1225892065250&uui=0&uul=tr&uwi=1024&href=http%3A%2F%2Fhi5.com%2F%3Flanguage%3DHI_VARS_HERE%26age%3DHI_VARS_HERE%26gender%3DHI_VARS_HERE%26taxonomy%3D.Member_Home&alttext=0&border=0&bust=0.1810202020087407&target=_top'" type="text/javascript" charset="windows-1250"></script>
<div id="bmone2t-5688.1.1.16" style="display: none">
<script type="text/javascript">/* <![CDATA[ */ bmone2n.makeAd('5688.1.1.16'); /* ]]> */</script>
</div>
<script type="text/javascript">/* <![CDATA[ */ bmone2n.moveAd(); /* ]]> */</script>
<!-- ARBOinteractive 300x250 END -->
<script language="javascript" type="text/javascript">
var expiryDate = new Date((new Date()).getTime() + (1000 * 31536000)).toGMTString();
document.cookie = "fcHistory=275:1225978472751:586:1225978472753; expires="+expiryDate+"; path=/; domain=.hi5.com";
</script>
<div class="section-separator"> </div>
<div class="window_blue" id="login">
<h1>Giriş Yap</h1>
<div class="content">
<div id="loginForm">
<form action="/friend/login.do" method="post" name="loginForm">
<table cellspacing="10" cellpadding="0" width="100%" border="0">
<tbody>
<tr>
<th align="right"><label for="login_email">E-posta:</label></th>
<td><input id="email" tabindex="1" maxlength="255" size="24" name="email" type="text" /></td>
</tr>
<tr>
<th align="right"><label for="login_passwd">Şifre:</label></th>
<td><input tabindex="2" type="password" maxlength="255" size="24" name="password" /></td>
</tr>
<tr>
<td align="right"> </td>
<td align="left"><input type="checkbox" checked="checked" name="remember" value="on" /> <label class="login_remember" for="login_remember"><font size="2">Otomatik Oturum Aç</font></label></td>
</tr>
<tr>
<td> </td>
<td align="left"><input class="submit" tabindex="3" type="submit" value="Oturum Aç" /></td>
</tr>
</tbody>
</table>
</form>
</div>
<div id="forgot-password"><a class="login_forgot" style="float: none" href="http://hi5.com/friend/forgotPassword.do" name="&lid=Anon_Home__Main__Forgot_PW"><font color="#085098">Şifrenizi mi Unuttunuz?</font></a></div>
</div>
</div>
</div>
<div class="section-separator p_clear" style="height: 15px"> </div>
<div id="bottom-left-column"><xhi5:ad adsize="180x150"></xhi5:ad>
<div class="section" id="just-released">
<h1>Yenilikler</h1>
<div class="content">
<ul id="released-list">
<li>Tek bir tıklamayla profilinizin görünümünü değiştirin. <a href="http://hi5.com/friend/account/displayChooseSkin.do"><font color="#085098">Bir arayüz deneyin »</font></a></li>
<li>Fotoğraflarınızı paylaşmak hiç bu kadar kolay olmamıştı. <!--<a href="/friend/photos/displayUploadPhotos.do">--><a onclick="showphotoUploader();" href="javascript:void(0);"><font color="#085098">Resimlerinizi yükleyin »</font></a></li>
<li>Fotoğraflarınızı <a href="http://hi5.com/friend/photos/displayUploadPhotos.do"><font color="#085098">tag’leyerek »</font></a> arkadaşlarınızı hatırlayın.</li>
</ul>
</div>
</div>
</div>
<div id="bottom-center-column">
<div class="section" id="sign-up-div" align="left">
<h1>hi5 ile dünyaya bağlan.</h1>
<ul id="connected-list">
<li id="find-friends">Yaşadığınız şehirden veya dünyanın her yerinden arkadaşlar bulun.</li>
<li id="show-photos">Fotoğraflarınızı paylaşın. Sevdiğiniz müzikleri dinleyin. Arkadaşlarınıza bağlanın.</li>
<li id="build-page">Kendi sayfanızı oluşturun, dünyanızı paylaşın.</li>
</ul>
<!--<a href="/friend/importer/displayAnonymousImportForm.do">SIGN UP »</a>--></div>
</div>
<div class="p_clear" style="clear: right"> </div>
<script type="text/javascript">
//<![CDATA[
if (document.getElementById("email")) {document.getElementById("email").focus();}
document.forms["loginForm"].password.onkeypress = function(event) {
var event = event || window.event;
if (event.keyCode == 13) {
document.forms['loginForm'].submit();
return false;
}
};
//]]>
</script>
</div>
<style type="text/css">
#close{ position:absolute; top:-5px; right:-5px; cursor:pointer; }
.bigButton { font-size:136%; font-weight:bold; margin:5px 0; cursor:pointer; padding:5px 0; border:none; width:160px; height:32px; background:url(http://images.hi5.com/images/buttons/160_orange.jpg) no-repeat; }
#dialog-overlay { width:500px; margin-left:-250px; }
.awesome #dialog-buttons { display:none; }
.awesome #dialog-title { display:none; }</style>
<script type="text/javascript">
document.getElementById("passwd").onkeyup = function(){validatePasswd(this);};
document.getElementById("regEmail").onblur = function(){checkEmail();};
document.getElementById("lastName").onkeyup = function(){if(this.value.length >= 1) isValidLastName(this);};
document.getElementById("firstName").onkeyup = function(){if(this.value.length >= 1) isValidFirstName(this);};
var vId, vValue;
var vError = [];
var errorFields = [];
vError.push(document.getElementById('firstName').id);
vError.push(document.getElementById('lastName').id);
vError.push(document.getElementById('regEmail').id);
vError.push(document.getElementById('passwd').id);
for(i=0 ; i<vError.length ; i++){
var obj = document.getElementById(vError[i]);
if(obj.value.length >= 1){
switch(obj.id){
case 'firstName':
isValidFirstName();
break;
case 'lastName':
isValidLastName();
break;
case 'regEmail':
checkEmail();
break;
case 'passwd':
isValidPassword();
break;
}
}
}
function validatePasswd(valObj){
if(valObj.value.length >= 6)
isValidPassword(valObj);
else{
var imgId = valObj.id + 'Img';
document[imgId].src = "http://images.hi5.com/images/clear.gif";
}
}
function dateToNumber( year, month, day ){
num = year * 10000;
if ( !isNaN( month ) ){
num += month * 100;
}
if ( !isNaN( day ) ){
num += day * 1;
}
return num;
}
function getAge( year, month, day ){
var dateNumber = dateToNumber( year, month, day );
now = 20081105;
diff = now + 1 - dateNumber;
age = 0;
while ( diff > 0 ){
diff -= 10000;
age ++;
}
return age-1;
}
function performOnLoad(){
var selects = document.getElementsByTagName("SELECT");
var cl = selects.length;
var year,day,month;
for(var i=0; i < cl; i++){
if(selects[i].name == 'DOBYear')
year = selects[i].value;
if(selects[i].name == 'DOBMonth')
month = selects[i].value;
if(selects[i].name == 'DOBDay')
day = selects[i].value;
}
var theAge = getAge(year, month, day);
if(theAge < 18 && document.getElementById('compliance')){
document.getElementById('compliance').style.display = "block";
}else if(theAge >= 18 && document.getElementById('compliance')){
document.getElementById('compliance').style.display = "none";
}
//document.getElementById('Loading').style.display = "none";
}
window.onload=performOnLoad;
function changeCompliance(){
if(document.getElementById('checkCompliance') && document.getElementById('checkCompliance').checked == false){
document.getElementById('safetyCompliance').value = 0;
}else{
document.getElementById('safetyCompliance').value = 1;
}
}
function checkEmailFormatValid(){
//use regex to see if the email is valid...
//if so, call CheckEmail(), if not, print message saying email invalid
var reg = new RegExp();
reg.compile("^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})$");
var email = document.getElementById('email').value;
if(reg.exec(email)){
document.getElementById('invalid_email').style.display = "none";
checkEmail();
}
else{
document.getElementById('email_exists').style.visibility = "hidden";
document.getElementById('invalid_email').style.display = "block";
}
}
function checkEmail(){
vInput = document.getElementById('regEmail');
emailId = vInput.id;
emailVal = encodeURIComponent(vInput.value);
if(emailVal == null || emailVal == ''){
updateErrors(false, emailId, 'E-posta adresiniz geçersizdir. Lütfen doğru girdiğinizden emin olun.', 'email_validation');
pushElement(emailId);
}else{
var locStringURL = "/friend/displayEmailErrorAJAX.do";
var pars = "type=" + emailId + "&value=" + emailVal;
var myAjax = new Ajax.Request( locStringURL, {asynchronous: true, method: 'get', parameters: pars,
onComplete: handleResponse});
}
if(errorFields.indexOf(obj.id) >= 0)
return false;
return true;
}
function handleResponse(originalRequest){
var xmlString = originalRequest.responseText;
var results = new Array();
results = xmlString.split('::');
if(results[0] == 'true'){
updateErrors(true, emailId, '', 'email_validation');
if(errorFields.indexOf(emailId) >= 0)
updateErrorFields(emailId);
}
if(results[0] == 'false'){
updateErrors(false, emailId, results[1], 'email_validation');
pushElement(emailId);
}
}
function updateErrors(flag,vId,message,messageId){
var newdiv = document.createElement("div");
newdiv.className = 'dynamicDiv';
vId += 'Img';
if(!flag){
var msgId;
newdiv.innerHTML = message; // message
msgId = document.getElementById(messageId);
msgId.innerHTML = "";
msgId.appendChild(newdiv);
msgId.parentNode.parentNode.style.display = "";
document[vId].src = "http://images.hi5.com/images/icons/_/update_failure.gif";
}else{
newdiv.innerHTML = '';
msgId = document.getElementById(messageId);
msgId.innerHTML = "";
msgId.appendChild(newdiv);
msgId.parentNode.parentNode.style.display = "none";
document[vId].src = "http://images.hi5.com/images/icons/_/update_success.gif";
}
}
function isWithinRange(val,min, max){
if(val == null || val == "") return false;
return(val.length >= min && val.length <= max);
}
function isValidName(obj){
var regEx = new RegExp(/[&<>%*,.`~!@#$()_+=^[]{}|\:;"?/]/g);
if(regEx.test(obj.value)) {
return false;
}
return true;
}
function pushElement(id){
if(errorFields.indexOf(id) < 0){
errorFields.push(id);
}
}
function updateErrorFields(id){
var tempArray = [];
for(var i=0 ; i<errorFields.length ; i++){
if(errorFields[i] == id)
continue;
tempArray.push(errorFields[i]);
}
errorFields = tempArray;
}
function isValidFirstName(){
var flag = true;
var obj = document.getElementById('firstName');
if(!isWithinRange(obj.value,1,64)){
updateErrors(false, obj.id, 'Adınız 1 - 64 karakter arasında olmalıdır', 'fname_validation');
pushElement(obj.id);
flag = false;
}else if(!isValidName(obj)){
updateErrors(false, obj.id, 'Adınız yalnızca harflerden (A-Z) ve rakamlardan (0-9) oluşmalıdır.', 'fname_validation');
pushElement(obj.id);
flag = false;
}else{
updateErrors(true, obj.id, '', 'fname_validation');
if(errorFields.indexOf(obj.id) >= 0)
updateErrorFields(obj.id);
flag = true;
}
return flag;
}
function isValidLastName(){
var flag = true;
var obj = document.getElementById('lastName');
if(!isWithinRange(obj.value,1,64)){
updateErrors(false, obj.id, 'Soyadınız 1 - 64 karakter arasında olmalıdır', 'lname_validation');
pushElement(obj.id);
flag = false;
}else if(!isValidName(obj)){
updateErrors(false, obj.id, 'Soyadınız yalnızca harflerden (A-Z) ve rakamlardan (0-9) oluşmalıdır.', 'lname_validation');
pushElement(obj.id);
flag = false;
}else{
updateErrors(true, obj.id, '', 'lname_validation');
if(errorFields.indexOf(obj.id) >= 0)
updateErrorFields(obj.id);
flag = true;
}
return flag;
}
function isValidPassword(){
var flag = true;
var obj = document.getElementById('passwd');
if(!isWithinRange(obj.value,6,20)){
updateErrors(false, obj.id, 'Şifreniz 6 - 20 karakter aralığında olmalıdır', 'password_validation');
pushElement(obj.id);
flag = false;
}else{
updateErrors(true, obj.id, '', 'password_validation');
if(errorFields.indexOf(obj.id) >= 0)
updateErrorFields(obj.id);
flag = true;
}
return flag;
}
function validateOnSubmit(){
var fname = document.getElementById('firstName');
var lname = document.getElementById('lastName');
var email = document.getElementById('regEmail');
var passwd = document.getElementById('passwd');
isValidFirstName();
isValidLastName();
isValidPassword();
checkEmail();
if(errorFields.length > 0){
return false;
}
return true;
}
function checkPassword(password) {
var error = 0;
re = /[0-9]/;
var passwordValid = document.getElementById("passwordValid");
if(password.length < 6 || !re.test(password)) {
passwordValid.style.color = "#BF0000";
error = 1;
} else {
passwordValid.style.color = "#000000";
}
if(error != 0) {
return false;
}
else
return true;
}
</script>
</div>
</div>
<style type="text/css">
#footer * { color: #cccccc !important; }
#footer a { color: #085098 !important; }</style>
<div style="clear: both; padding-right: 0px; padding-left: 0px; padding-bottom: 5px; padding-top: 5px"> </div>
<div id="footer"><span style="float: left"><span style="color: #666666! important">© 2003-2008 hi5 Networks</span> <a href="http://www.hi5networks.com/" target="_blank" name="&lid=Footer_AboutUs">Hakkımızda</a> <a href="http://www.hi5networks.com/blog/" target="_blank" name="&lid=Footer_Blog">Blog</a> <a href="http://www.hi5networks.com/advertising.html" target="_blank" name="&lid=Footer_Advertising">Reklamlar</a> <a href="http://www.hi5networks.com/employment.html" target="_blank" name="&lid=Footer_Jobs">İş Olanakları</a> </span><span style="float: right"><a href="http://hi5.com/friend/displayPrivacy.do" name="&lid=Footer_Privacy">Gizlilik Politikası</a> | <a href="http://hi5.com/friend/displayTOS.do" name="&lid=Footer_TOS">Hizmet Koşulları</a> | <a href="http://hi5.com/friend/displaySafety.do" name="&lid=Footer_OnlineSafety">İnternet Güvenliği</a> </span></div>
<p><br clear="left" />
<!-- Start Quantcast tag --><br />
<br />
<br />
<br />
<br />
<script src="http://edge.quantserve.com/quant.js" type="text/javascript"></script>
<script type="text/javascript">_qmeta="cWM6aWQ9Q3dGVktqVCUyRm81RSUzRDt6PW51bGw7YT0yMDtnPTtjPVRS";_qacct="p-76a2OjoOF1HMc";quantserve();</script>
<noscript></noscript><!-- End Quantcast tag -->
<script src="http://static.hi5.com/friend/js/pngfix_1205259815.js" type="text/javascript"></script>
</p>