var formfunctions = new function()
{
    this.onfocus = function(Element)
    {
        if (Element.value.length == 0 || Element.value == Element.title || Element.title == "")
        {
        Element.title = Element.value;
        Element.alt = Element.value;
        Element.value = "";
        }
    }
    
    
    this.onblur = function(Element)
    {
        if (Element.value.length == 0 || Element.value == Element.title)
        {
            Element.value = Element.title
            Element.alt = ""
            Element.title = ""
        }
    }
    
    
    this.formsubmit = function(selectedform)
     {
      if(Validate(selectedform)){eval('document.' + selectedform + '.submit();' )} 
     }
}


