var g_txt1, g_txt2, g_univ_code, g_univ_desc;

function openEducation(URL){
	
	mywindow = open(URL,"MyWindow", "width=500,height=300, scrollbars=1");
	mywindow.location.href = URL;
	if(mywindow.opener == null) mywindow.opener = self;
	mywindow.focus();
}

function openSecondEducation(URL){
	
	mywindow = open(URL,"MyWindow", "width=500,height=300, scrollbars=1");
	mywindow.location.href = URL;
	if(mywindow.opener == null) mywindow.opener = self;
	mywindow.focus();
}

function changeObjectUpdate( intObject) {
	window.location.href = "StateList.asp?state=" + intObject.options[intObject.selectedIndex].value;
}

function changeObjectUpdateCountry( intObject) {
	window.location.href = "StateList.asp?country=" + intObject.options[intObject.selectedIndex].value;
}

function changeObjectUpdateEvent( intObject) {

	var ist = document.frm1.location_code.value;
	
	window.location.href = "EventList.asp?location_code="+ist+"&eve=" + intObject.options[intObject.selectedIndex].value;
}


function changeObjectUpdateEvent1( intObject) {

	window.location.href = "EventSearch.asp?eve="+intObject.options[intObject.selectedIndex].value;
}



function restart()
{
	mywindow.close();
}

function StoreValues(selCode,selDesc)
{
	top.opener.document.frmUniv.txtUniv_desc.value = selDesc;
	top.opener.document.frmUniv.univ_code.value = selCode;
	opener.restart();
}



