function stripAt(str)
{
   var res, pos, atstr;  
   atstr = "(zavinac)";
   pos = str.indexOf(atstr);
   if (pos<0) return str;

   res = str.substring(0, pos) + "@" +
      str.substring(pos+atstr.length, str.length);

   return res;
}

function submitForm ( action, variableName ) {
    
    this.document.forms['form1'].action = action;
    this.document.forms['form1'].elements[0].name = variableName;
    this.document.forms['form1'].submit();

}

