<!--

//search engine
function toGo(aForm)
{
		var srcTerm = escape(aForm.question.value);

		var aUrl = "http://isearch.web.att.com/search?q=site%3Awww.research.att.com" + srcTerm + "&spell=1&site=iSearch&output=xml_no_dtd&client=iSearch&access=p&proxystylesheet=iSearch";
		
		window.open(aUrl);
}



function StockLook(aForm)
{	if(aForm.s.value == "")
	{
	alert("Please enter stock symbol.");
		//return false;
	}
	else
	{	
		window.open('http://finance.yahoo.com/q?d=t&s='+aForm.s.value);
		aForm.s.value = "";
	}
}

function WeatherLook(aForm)
{	if(aForm.where.value == "")
	{
	alert("Please enter zip code.");
		//return false;
	}
	else
	{	
		// window.open('http://finance.yahoo.com/q?d=t&s='+aForm.s.value);
		aForm.submit();
		aForm.where.value = "";
		
	}
}

var newWind = null;
function doWin(page_url,name,w,h) {
//if (newWind != null && newWind.open) newWind.close();
newWind = window.open(page_url, name, "width="+w+",height="+h+",scrollbars=1,menubar=0,location=0,toolbar=0,status=0,left=100,top=100,resizable=1");
newWind.focus();
}


//function for moving links
function getList(aForm){
var found_it = '?vallist=';
var ok = false;
for (var i=0; i < aForm.del.length; i++)  { 
if (aForm.del[i].checked)  {
	ok = true;
	found_it = found_it + aForm.del[i].value + ",";
	
} 
} 
if (ok){
doWin('moveto.cfm'+found_it, 'moving',500,500);
}else{ alert(' Please select at least one link! ');}
}

//function for moving stuff from one select box into another

function SelectAllList(CONTROL){
for(var i = 0;i < CONTROL.length;i++){
CONTROL.options[i].selected = true;
}
//form.submit();
}

function move_item(from, to)
{
  var f;
  var SI; /* selected Index */
  if(from.options.length>0)
  {
    for(i=0;i<from.length;i++)
    {
      if(from.options[i].selected)
      {
        SI=from.selectedIndex;
        f=from.options[SI].index;
        to.options[to.length]=new Option(from.options[SI].text,from.options[SI].value);
		from.options[f]=null;
		i--; /* make the loop go through them all */
      }
    }
  }
 // SelectAllList(to);
}



//-->
