var newwin;

function launchwin(winurl,winname,winfeatures) {
	//This launches a new window and then
	//focuses it if window.focus() is supported.
	newwin = window.open(winurl,winname,winfeatures);
	
	//delay a bit here because IE4 encounters errors
	//when trying to focus a recently opened window
	setTimeout('newwin.focus();',250);
	
}

function openChild(file,window,winfeatures) {
    childWindow=open(file,window,winfeatures);
    if (childWindow.opener == null) childWindow.opener = self;
	childWindow.focus();
}


/*USED FOR BURST ON HOME PAGE, OPEN CHILD WIN AND CHANGES PAGE ON PARENT WIN - KEVIN*/
function openPages(file,window,winfeatures, main_url) {
	childWindow=open(file,window,winfeatures);
	location.href=main_url;
    if (childWindow.opener == null) childWindow.opener = self;
	childWindow.focus();
}


 