//If you can see this you are using a browser that does not support
//JavaScript or Jscript. Please download Netscape Navigator Version 4.0
//(or newer) from http:\home.netscape.com or http:\www.microsoft.com
// Microsoft Internet Explorer Version 4.0 (or newer) from http://home.microsoft.com
//
//This script is the edocs banner.
//Version 2.0

var strHref = window.location.href;

function Banner(){
var metaArrayTest = document.getElementsByName('LASTUPDATED');
document.write('<div id="header">');
document.write('	<div id="floater">');
document.write('		<div class="buttons"><a href="#skipnav" title="Jump to Content"></a>');
document.write('		<a href="http://www.oracle.com/technology/software/index.html">Downloads</a>');
document.write('		&nbsp;|&nbsp;');
document.write('		<a href="http://www.oracle.com/technology/documentation/index.html">Product Documentation</a>');
document.write('		&nbsp;|&nbsp;');
document.write('		<a href="http://www.oracle.com/support/index.html">Support</a>');
document.write('		</div>');
document.write('		<div class="searchbox">');
document.write('		<form name=searchForm onSubmit="javascript: return isNotNull(this.keyword.value)" action=http://search.oracle.com/search/search method=get target=_top style="margin:0px; padding:0px;">');
document.write('	    	    <script language="JavaScript" type="text/javascript">printWelcome()</script>');
//document.write('			<a href="javascript:void(0)" onClick="s_objectID=\'R0:HR:OTN:ORACLEWEBSITEFINDER\';document.getElementById(\'light\').style.display=\'block\';document.getElementById(\'fade\').style.display=\'block\';change();return false;"><img src="http://oracleimg.com/admin/images/sitefinder/oracle_websites_button.gif" style="margin-left:15px;" alt="Sitefinder" width="101" height="18" border="0" /></a>');
document.write('			    <input type="hidden" name="default" value="true"/>');
//document.write('			    <input class=textA  id=Search value="&nbsp;secure search" size=30 name=keyword onClick="javascript: document.searchForm.keyword.value =\'\';isUserInput=true;" onKeyDown="javascript:isUserInput=true;">');
document.write('			    <input class=textA  id=Search value="&nbsp;secure search" size=30 name=keyword onClick="if(this.value==\'&nbsp;secure search\')this.value=\'\';" onKeyDown="javascript:isUserInput=true;">');
document.write('			    <input type="hidden" name="start" value="1"/>');
document.write('			    &nbsp;&nbsp;');
document.write('			    <input type="hidden" name="nodeid" value=""/>');
document.write('			    <input type="hidden" name="fid" value=""/>');
document.write('			    <input type="hidden" name="showSimilarDoc" value="true"/>');
document.write('			    <select onkeydown="javascript:callSubmit(document.searchForm.keyword.value,searchForm,event.keyCode)" name="group" onchange="javascript: setFormValues(document.searchForm,document.searchForm.group.value)" class="textA" size=1>');
document.write('			    <option value="All">All</option>');
document.write('			    <option value="Blogs">Blogs</option>');
document.write('			    <option value="Oracle.com">Corporate Site</option>');
document.write('			    <option value="CRM On Demand">CRM On Demand</option>');
document.write('			    <option value="Discussion Forums">Discussion Forums</option>');
document.write('			    <option value="Documentation" selected>Documentation</option>');
document.write('			    <option value="Education">Education</option>');
document.write('			    <option value="Oracle PartnerNetwork (Public)">PartnerNetwork (Public Only)</option>');
document.write('			    <option value="Oracle Technology Network">Technology Network</option>');
document.write('			    <option value="Video and Multimedia">Video and Multimedia</option>');
document.write('			    </select>');
document.write('			    &nbsp;');
document.write('			<a onClick="javascript: return isNotNull(document.searchForm.keyword.value)" href="javascript:document.searchForm.submit()"> <img src="http://www.oracle.com/admin/images/20px_search.jpg" width="21" alt="" height="20" vspace="1" hspace="1" border="0" title="Search"/></a>');
document.write('		</form>');
//document.write('			<input type="text" name="q" value="Search" class="search" id="Search" title="Enter Search Term" onclick="if(this.value==\'Search\')this.value=\'\';" />');
//document.write('			<input type="image" src="/global_resources/images/redarrow.gif" alt="Search" style="vertical-align:middle;" />');
//document.write('<BR/><div class="buttons"><a   href="http://seeker.bea.com/search?&client=developer&filter=p&ie=latin1&lr=lang_en&numgm=5&oe=latin1&output=xml_no_dtd&proxystylesheet=developer&site=edocs&source=edocs&st=adv">Advanced Search</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </div>');
document.write('		</div>');
document.write('	</div>');
document.write('	<div id="headergraphic"><a href="http://www.oracle.com/technology/documentation/index.html"><img src="/global_resources/images/oracle_bea.gif" alt="Oracle BEA Logo" border="0" width="248" height="41" style="margin:10px 0px 0px 20px;" /></a>');
//document.write('			<img src="/global_resources/images/header_right.gif" align="right" border="0" width="701" height="85" alt="" style="border:0;margin:0;padding:0;width:701px;height:85px;align:right;" />');
document.write('	</div>');
document.write('	<div class="blueline"><img src="/global_resources/images/_.gif" width="1" height="1" alt="" /></div>');
document.write('	<div id="graybar">');
document.write('		<div class="topnav">');

if ((strHref.indexOf("docs-stage") != -1) && (metaArrayTest[0] != null)) {

	document.write('<strong>BEA Internal Doc Info:</strong> ');
	
	var metaArray = document.getElementsByName('LASTUPDATED');
	for (var i=0; i<metaArray.length; i++) {
	document.write('&nbsp;&nbsp; Last update: ' + metaArray[i].content + '&nbsp;&nbsp;');
	}

	var metaArray = document.getElementsByName('LOC_US_CHANGE');
	for (var i=0; i<metaArray.length; i++) {
	document.write('P4 change: ' + metaArray[i].content + '&nbsp;&nbsp;');
	}

	var metaArray = document.getElementsByName('LOC_US_SRCFILE');
	for (var i=0; i<metaArray.length; i++) {
	document.write('P4 File: ' + metaArray[i].content );
	}

	var metaArray = document.getElementsByName('LOC_US_REV');
	for (var i=0; i<metaArray.length; i++) {
	document.write('#' + metaArray[i].content + '<br/>');
	}

} else
	{
	document.write('		<a href="http://www.oracle.com/technology/index.html">OTN Home</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;');
	document.write('		<a href="http://forums.oracle.com/">Oracle Forums</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;');
	document.write('		<a href="http://www.oracle.com/technology/community/index.html">Community</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;');	
 	}

document.write('		</div>');
document.write('	</div>');
document.write('	<div class="twodots"><img src="/global_resources/images/_.gif" width="1" height="1" alt="" /></div>');
document.write('</div>');
}
