function bigpopup(url)
{
	remote1 = window.open(url,"Feedback","width=600,height=490,left=50,top=50,resizable=Yes,scrollbars=Yes,toolbar=no,menubar=no,status=no,titlebar=0");
	if (remote1.opener == null)
	{
		remote1.opener = window;
	}
}

// Sized popup
function sized_popup(width, height, url)
{	
	var my_width  	= width;
	var my_height 	= height;
	
	thepopup = window.open(url,"littlepopper","resizable=1,toolbar=yes,location=0,directories=0,status=1,menubar=yes,scrollbars=1,copyhistory=0,width=" + my_width + ",height=" + my_height + ",left=50,top=50");
	thepopup.focus();
}

function sized_popup2(width, height, url)
{	
	var my_width  	= width;
	var my_height 	= height;
	
	thepopup2 = window.open(url,"littlepopper2","resizable=1,toolbar=0,location=0,directories=0,status=1,menubar=1,scrollbars=1,copyhistory=0,width=" + my_width + ",height=" + my_height + ",left=100,top=100");
	thepopup2.focus();
}

function smallpopup(file)
{
newWindow=window.open(file,"","toolbar=no,location=no,directories=no,status=no,scrollbars=Yes,menubar=no,resize=Yes,width=400,height=400,left=100,top=70");
if (newWindow.opener == null) {newWindow.opener = window};

}

function mediumpopup(file)
{
newWindow=window.open(file,"","toolbar=no,location=no,directories=no,addressbar=no,status=no,scrollbars=Yes,menubar=no,resize=Yes,width=540,height=400,left=100,top=70");
if (newWindow.opener == null) {newWindow.opener = window};

}

function largepopup(file)
{
newWindow=window.open(file,"","toolbar=no,location=no,directories=no,status=no,scrollbars=Yes,menubar=no,resize=Yes,width=775,height=550,left=25,top=25");
if (newWindow.opener == null) {newWindow.opener = window};

}

function help(file)
{newWindow=window.open(file,"","toolbar=no,location=no,directories=no,status=no,scrollbars=yes,menubar=yes,resize=Yes,width=625,height=400,left=100,top=70");
if (newWindow.opener == null) {newWindow.opener = window};
	}


function openURL()
{ 

// grab index number of the selected option
selInd = document.theForm.aaa.selectedIndex; 

// get value of the selected option
goURL = document.theForm.aaa.options[selInd].value;

// redirect browser to the grabbed value (hopefully a URL)
top.main1.document.location.href=goURL; 

}
