Gracias por todo.
Código PHP:
<div id="login" style="display:none">
<p><span id='login_error_msg' class="login_error" style="display:none"></span></p>
<div style="clear:both"></div>
<p><span class="login_label">login</span> <span class="login_input">[B]<input type="text"/>[/B]</span></p>
<div style="clear:both"></div>
<p><span class="login_label">password</span> <span class="login_input">[B]<input type="password"/>[/B]</span></p>
<div style="clear:both"></div>
</div>
<div class="listing" style="display:none" id="open_login_codediv">
<xmp id="open_login">
Dialog.confirm($('login').innerHTML, {windowParameters: {className:"alphacube", width:400},
okLabel: "login", cancelLabel: "cancel",
ok:function(win){
$('login_error_msg').innerHTML = 'Login or Password incorrect';
$('login_error_msg').show();
Dialog.win.updateHeight();
new Effect.Shake('modal_dialog');
return false;
}
});
</xmp>
</div>