xy = 0; //x = y = 0;

function popup( url, id )
{
	// Increment x/y positions.
	xy += 18;            // x += 18; y += 18;
 
	// Don't go too far.
	if ( xy > 200 ) xy = 0;  // if ( x > 200 ) x = 0; if ( y > 200 ) y = 0;
 
	// Open window.
	popupwindow = window.open( url, id, "height=680,width=882,scrollbars=1" );

	// Position window.
	popupwindow.moveTo( xy, xy );
}

function SubmitGetForm( formId, alternativeAction )
{
	var eSearchForm = document.getElementById( formId );
	eSearchForm.action = alternativeAction;
	eSearchForm.submit();
	return false;
}