// JavaScript Document
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function ProcessDropDown(thisdrp,intValue)
{
	thisdrp.selectedIndex=0;
	window.location="http://www.powerhouseteams.com/index.aspx?AID=" + intValue;
}

function updateCaption() {
var x,m,a=updateCaption.arguments;
	m = a[1];
	if ((x=findObj(m))!=null){
	x.innerHTML = a[0];} else {alert("Failed");}
}

function swapImage() {
  var i,j=0,x,a=swapImage.arguments; for(i=0;i<(a.length-3);i+=4)
	if ((x=findObj(a[i]))!=null){x.src=a[i+2];x.alt=a[i+4]}
}

function findObj(theObj, theDoc)
{
  var p, i, foundObj;
  
  if(!theDoc) theDoc = document;
  if( (p = theObj.indexOf("?")) > 0 && parent.frames.length)
  {
	theDoc = parent.frames[theObj.substring(p+1)].document;
	theObj = theObj.substring(0,p);
  }
  if(!(foundObj = theDoc[theObj]) && theDoc.all) foundObj = theDoc.all[theObj];
  for (i=0; !foundObj && i < theDoc.forms.length; i++) 
	foundObj = theDoc.forms[i][theObj];
  for(i=0; !foundObj && theDoc.layers && i < theDoc.layers.length; i++) 
	foundObj = findObj(theObj,theDoc.layers[i].document);
  if(!foundObj && document.getElementById) foundObj = document.getElementById(theObj);
  return foundObj;
}