// Event handler
function addEvent(obj, evType, fn, useCapture){
  if (obj.addEventListener){
    obj.addEventListener(evType, fn, useCapture);
    return true;
  } else if (obj.attachEvent){
    var r = obj.attachEvent("on"+evType, fn);
    return r;
  } else {
    alert("Handler could not be attached");
  }
}

function set_dropdown() {
  var options = document.getElementById("cfiwn").options;
  var loc = location.href;
  
  }

addEvent(window, "load", set_dropdown); // add it to the event handler for window.onload

function auto_submit() {
	box = document.forms[0].url;
	destination = box.options[box.selectedIndex].value;
	if (destination) location.href = destination;
}

function clearText(thefield){
if (thefield.defaultValue==thefield.value)
thefield.value = ""
}
