function openMain(url) {
	top.mainFrame.location.href=url;
}

function openBoth (url1, url2) {
	top.mainFrame.location.href = url2;
	top.leftFrame.location.href = url1;
}

function maintain(thing,url) {
		window.open(thing);
		top.mainFrame.location.href=url;
}
	
function maintainsmall(thing,url) {
		window.open(thing, 'myNewWin');
		top.mainFrame.location.href=url;
}

function GoToForum(){
	top.mainFrame.location.href="http://www.bioen.uiuc.edu/faculty/insana/URI/forum"
}


function backtotop(url) {
	if (! window.history)
		{top.mainFrame.location.href=url;
		return}
	if (window.history.length == 0)
		{top.mainFrame.location.href=url;
		return}
	else
		top.mainFrame.location.href="javascript:history.back()"
}


function popup(url){
		window.open(url);
}


function downloadpopup(name){
	var href = 'files/URI-' + name + '.zip';
	window.open(href);
	window.close()
	return false;
}


function copyrightpopup(name){
	newwindow=window.open('URICopyrightPopup.htm',name, 'width=600,height=400,scrollbars=yes,resizable=yes');
	if (window.focus) {newwindow.focus()}
	return false;
}


function GoToIndex(){
	parent.document.body.cols='120, *'
	top.leftFrame.location.href="URIMenu.htm";
	top.mainFrame.location.href="URIProject.htm";

}
