/* <![CDATA[ */
function submitForm(input)
{
// create dom form object
//var f = getForm('POST', 'http://www.house.gov/htbin/wrep_findrep');
var f = getForm(input.form.method, input.form.action);

// create dom hidden field objects and attach to form
for (var e in input.data)
{
f.appendChild(getHiddenField(e,input.data[e]));
}
var myTextField = document.getElementById('eadd');

f.appendChild(copyEA(myTextField.value));
// attach form to page dom (after the main form because forms cannot be nested).
document.body.appendChild(f);
// call submit() on the form
f.submit();
}

function getForm(method, action, textInput)
{
var f = document.createElement('form');
f.setAttribute('method', method);
f.setAttribute('action', action);

return f;
}
function getHiddenField(key, value)
{

var i = document.createElement('input');
i.setAttribute('type', 'hidden');
i.setAttribute('name', key);
i.setAttribute('value', value);
return i;

}
function copyEA(value)
{

var j = document.createElement('input');
j.setAttribute('type', 'hidden');
j.setAttribute('name', 'ea');
j.setAttribute('value', value);
return j;

}

/* ]]> */

/* the following adds wmode transparent to the Flash Calendar module in the Sidebar */




