var colors = Array();
colors[0] = 'transparent';
colors[1] = '#89aec0';

function setBack(control,newColor)
{
	control.style.background=newColor;
}

/*
 * This function is a bit of a beast so here's an example usage:
 *
 * thisWinVar = newWin(400,600,0,1,0,1,"http://www.ptweb.net/");
 *
 * Options are to set width, height of window, and decide whether you
 * want menubar,scrollbar,locbar,resize and set the location of the page that
 * will be loaded.
 */
function newWin(width,height,menubar,scrollbar,locbar,resize,location)
{
   var thisWin = window.open(location,'wob',"menubar=" + menubar + ",scrollbars=" + scrollbar + ",location=" + locbar + ",resizable=" + resize + ",height=" + height + ",width=" + width);  
   thisWin.focus;
}

