<input class="inputText" name="user" style="color:#666;width:100%;margin-bottom:4px;" onfocus="placeholdertext('login','Логин')" onblur="placeholdertextA('login','Логин')" id="login" value="Логин" type="text"/>
<input class="inputPassword" id="password" name="password" style="color:#666;width:100%;margin-bottom:4px;" onfocus="placeholderpass('password','Пароль')" onblur="placeholderpassA('password','Пароль')" value="Пароль" type="text"/>
<div style="display:none;"><input id="rem$PAGE_ID$" type="checkbox" name="rem" value="1" checked="checked"/></div>
<a href="javascript://" onclick="$('#enterusocial').click();"><div id="ent2u">
<div id="ent1u">Войти</div>
</div></a><div style="padding-top:3px;"></div>
<a href="/index/3"><div id="ent4u">
<div id="ent3u">Регистрация</div>
</div></a>
<input type="submit" style="display:none;" id="enterusocial">
<script>
function placeholdertext(placeholderAid,placeholderAval) {
if(document.getElementById(placeholderAid).value==placeholderAval) {document.getElementById(placeholderAid).value='';document.getElementById(placeholderAid).style.color='#000';}
};
function placeholderpass(placeholderBid,placeholderBval) {
if(document.getElementById(placeholderBid).value==placeholderBval) {document.getElementById(placeholderBid).value='';document.getElementById(placeholderBid).style.color='#000';document.getElementById(placeholderBid).type='password';}
};
function placeholdertextA(placeholderCid,placeholderCval) {
if(document.getElementById(placeholderCid).value=='') {document.getElementById(placeholderCid).value=placeholderCval;document.getElementById(placeholderCid).style.color='#555';}
};
function placeholderpassA(placeholderDid,placeholderDval) {
if(document.getElementById(placeholderDid).value=='') {document.getElementById(placeholderDid).value=placeholderDval;document.getElementById(placeholderDid).style.color='#555';document.getElementById(placeholderDid).type='text';}
};
</script>