
var isloaded =false;
// array for tabs

function testloading() {
	isloaded=true;
}

function toggle(main) {
	//isloaded=true;
 if (isloaded) {
	jumpURL(main);
 }
}


// changes the content of the text mainframe and left div layer to the given URLs
function jumpURL(url) {
	//alert(url);
		top.mainFrame.location=url;
		//top.mainFrame.focus();
		//top.mainFrame.history.go();
}

// changes the content top location to the given URL
function jumpTop(url) {
		top.location=url;
		top.focus();
}

onload=testloading

