<!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" xml:lang="$ContentLocale" lang="$ContentLocale">
<head>
	<% base_tag %>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="author" content="www.idea.lt" />
	<meta http-equiv="imagetoolbar" content="no" />   
	<% require css(mysite/adminlogin/admin.css) %> 
	<title><% _t('AdminLogin.ADMIN_AREA_TITLE', 'Admin Area') %></title>
  
</head>
<body>
    <div id="container">
        <h1><% _t('AdminLogin.ADMIN_LOGIN_TITLE', 'Vartotojų prisijungimas') %></h1>
        <div id="loginform">
            $Form
        </div>
    </div>
    <div id="footer">
        <a href="http://www.idea.lt" title="<% _t('AdminLogin.ADMIN_AREA_DEV', 'IDEA – interneto svetainių kūrimas') %>" class="idea" target="_blank">
            <img src="mysite/adminlogin/born_in_idea.png" alt="<% _t('AdminLogin.ADMIN_AREA_DEV', 'IDEA – interneto svetainių kūrimas') %>" width="129" height="34" title="<% _t('AdminLogin.ADMIN_AREA_DEV', 'IDEA – interneto svetainių kūrimas') %>" />
        </a>   
    </div>
    
   
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> 

<script type="text/javascript"> 
$(document).ready(function() {
    if($('#Email label').length>0) {
        $('#MemberLoginForm_LoginForm_Email').attr('placeholder', $('#Email label').html());
    }
    if($('#Password label').length>0) {
        $('#MemberLoginForm_LoginForm_Password').attr('placeholder', $('#Password label').html());
    }

    if($.browser.msie) {
        // placeholder not supported
        var input = document.createElement("input");
        if(('placeholder' in input)==false) { 
            $('[placeholder]').focus(function() {
                var i = $(this);
                if(i.val() == i.attr('placeholder')) {
                    i.val('').removeClass('placeholder');
                    if(i.hasClass('password')) {
                        i.removeClass('password');
                        this.type='password';
                    }			
                }
            }).blur(function() {
                var i = $(this);	
                if(i.val() == '' || i.val() == i.attr('placeholder')) {
                    if(this.type=='password') {
                        i.addClass('password');
                        this.type='text';
                    }
                    i.addClass('placeholder').val(i.attr('placeholder'));
                }
            }).blur().parents('form').submit(function() {
                $(this).find('[placeholder]').each(function() {
                    var i = $(this);
                    if(i.val() == i.attr('placeholder'))
                        i.val('');
                })
            });
        }
    } 
});
</script> 
</body>
</html>