  function attach(openid){
  		var mail;
		mail = document.getElementById('login-email-address').value;
  		self.location="<?php echo HTTP_SERVER.DIR_WS_CATALOG;?>index.php?main_page=login&action=process&step=attach&mail="+mail+"&openid="+openid;
  }
