function rolloverGB(gbID) {
	document.getElementById(gbID).className = "gbTextRollover";
}

function rolloffGB(gbID) {
	document.getElementById(gbID).className = "gbText";
}

function showPic(pictureID,textID) {
	document.getElementById(pictureID).className = "pictureVisible";
	document.getElementById(textID).className = "linkTextActive";
}

function hidePic(pictureID,textID) {
	document.getElementById(pictureID).className = "picture";
	document.getElementById(textID).className = "linkText";
}

function showPic2(pictureID,textID) {
	var myNodeList = document.getElementsByName('picture');
	for(i=0; i < document.getElementsByName('picture').length; i++) {
		myNodeList[i].className="picture";
	}
	document.getElementById(pictureID).className = "pictureVisible";
	document.getElementById(textID).className = "linkTextBoldActive";
}

function hidePic2(pictureID,textID) {
	document.getElementById(textID).className = "linkTextBoldInactive";
}

/*
function showPic3(pictureID,textID) {
	document.getElementById('basePic').className = "picture";
	document.getElementById(pictureID).className = "pictureVisible";
	document.getElementById(textID).className = "linkTextActive";	
}
*/

function hidePic3(pictureID,textID) {
	document.getElementById(textID).className = "linkText";	
}

function showPic3(pictureID,textID) {
	var myNodeList = document.getElementsByName('picture');
	for(i=0; i < document.getElementsByName('picture').length; i++) {
		myNodeList[i].className="picture";
	}
	document.getElementById(pictureID).className = "pictureVisible";
	document.getElementById(textID).className = "linkTextActive";	
}

function openLink(url) {
	var ua, s, i;
  	ua = navigator.userAgent;
  	s = "MSIE";
  	if ((i = ua.indexOf(s)) >= 0) {
		window.open(url, '', 'toolbar=1,location=1,directories=1,menubar=1,scrollbars=1,resizable=1,width=850,height=650');
  	}
  	s = "Gecko";
  	if ((i = ua.indexOf(s)) >= 0) {
		window.open(url,"Viewlet","status=yes,location=yes,menubar=yes,personalbar=yes,hotkeys=yes,toolbar=yes,scrollbars=yes,width=850,height=650");
	}
}



function openSupport() {
	var ua, s, i;
  	ua = navigator.userAgent;
  	s = "MSIE";
  	if ((i = ua.indexOf(s)) >= 0) {
		window.open('http://metalink.oracle.com', '', 'toolbar=1,location=1,directories=1,menubar=1,scrollbars=1,resizable=1,width=850,height=650');
  	}
  	s = "Gecko";
  	if ((i = ua.indexOf(s)) >= 0) {
		window.open("http://metalink.oracle.com","Support","status=yes,location=yes,menubar=yes,personalbar=yes,hotkeys=yes,toolbar=yes,scrollbars=yes,width=850,height=650");
  	}
}


function openOTN() {
	var ua, s, i;
  	ua = navigator.userAgent;
  	s = "MSIE";
  	if ((i = ua.indexOf(s)) >= 0) {
		window.open('http://www.oracle.com/technology/products/bi/index.html', '', 'toolbar=1,location=1,directories=1,menubar=1,scrollbars=1,resizable=1,width=850,height=650');
  	}
  	s = "Gecko";
  	if ((i = ua.indexOf(s)) >= 0) {
		window.open("http://www.oracle.com/technology/products/bi/index.html","Support","status=yes,location=yes,menubar=yes,personalbar=yes,hotkeys=yes,toolbar=yes,scrollbars=yes,width=850,height=650");
  	}
}

function openForums() {
	var ua, s, i;
  	ua = navigator.userAgent;
  	s = "MSIE";
  	if ((i = ua.indexOf(s)) >= 0) {
		window.open('http://otn.oracle.com/community/index.html', '', 'toolbar=1,location=1,directories=1,menubar=1,scrollbars=1,resizable=1,width=850,height=650');
  	}
  	s = "Gecko";
  	if ((i = ua.indexOf(s)) >= 0) {
		window.open("http://otn.oracle.com/community/index.html","Support","status=yes,location=yes,menubar=yes,personalbar=yes,hotkeys=yes,toolbar=yes,scrollbars=yes,width=850,height=650");
  	}
}

function openOracle() {
	var ua, s, i;
  	ua = navigator.userAgent;
  	s = "MSIE";
  	if ((i = ua.indexOf(s)) >= 0) {
		window.open("http://www.oracle.com/solutions/business_intelligence/","","toolbar=1,location=1,menubar=1,scrollbars=1,resizable=1,width=850,height=650");
  	}
  	s = "Gecko";
  	if ((i = ua.indexOf(s)) >= 0) {
		window.open("http://www.oracle.com/solutions/business_intelligence/","Oracle Corporation","status=yes,location=yes,menubar=yes,personalbar=yes,resizable=yes,hotkeys=yes,toolbar=yes,scrollbars=yes,width=850,height=650");
	}
}

function openViewlet(url) {
	var ua, s, i;
  	ua = navigator.userAgent;
  	s = "MSIE";
  	if ((i = ua.indexOf(s)) >= 0) {
		window.open(url, '', 'toolbar=1,location=1,directories=1,menubar=1,scrollbars=1,resizable=1,width=850,height=650');
  	}
  	s = "Gecko";
  	if ((i = ua.indexOf(s)) >= 0) {
		window.open(url,"Viewlet","status=yes,location=yes,menubar=yes,personalbar=yes,hotkeys=yes,toolbar=yes,scrollbars=yes,width=850,height=650");
	}
}

function openViewlet1024(url) {
	var ua, s, i;
  	ua = navigator.userAgent;
  	s = "MSIE";
  	if ((i = ua.indexOf(s)) >= 0) {
		window.open(url, '', 'toolbar=1,location=1,directories=1,menubar=1,scrollbars=1,resizable=1,width=1024,height=768');
  	}
  	s = "Gecko";
  	if ((i = ua.indexOf(s)) >= 0) {
		window.open(url,"Viewlet","status=yes,location=yes,menubar=yes,personalbar=yes,hotkeys=yes,toolbar=yes,scrollbars=yes,width=1024,height=818");
	}
}
function showDiscoPic(pictureID,textID) {
	document.getElementById('drakePic').className="picture";
	document.getElementById(pictureID).className = "pictureVisible";
	document.getElementById(textID).className = "linkTextBoldActive";
}

function hideDiscoPic(pictureID,textID) {
	document.getElementById(pictureID).className = "picture";
	document.getElementById('drakePic').className="pictureVisible";
	document.getElementById(textID).className = "linkTextBoldInactive";
}



