DomBuilder.apply(window);
var dropdowns = {
	build : function(){
var ui_about = document.getElementById("ui_about"); 
var ui_operations = document.getElementById("ui_operations"); 
var ui_investors = document.getElementById("ui_investors"); 
ui_about.appendChild( UL( 
LI( A({href: 'http://ramenergy.triadcentral.com/index.cfm?id=7'},"Company Profile") ),
LI( A({href: 'http://ramenergy.triadcentral.com/index.cfm?id=8'},"History") ),
LI( A({href: 'http://ramenergy.triadcentral.com/index.cfm?id=11'},"Management") ),
LI( A({href: 'http://ramenergy.triadcentral.com/index.cfm?id=19'},"Bios") ) ) ); 
ui_operations.appendChild( UL( 
LI( A({href: 'http://ramenergy.triadcentral.com/index.cfm?id=21'},"Developing Fields") ),
LI( A({href: 'http://ramenergy.triadcentral.com/index.cfm?id=49'},"Mature Oil Fields") ),
LI( A({href: 'http://ramenergy.triadcentral.com/index.cfm?id=50'},"Mature Gas Fields") ) ) ); 
ui_investors.appendChild( UL( 
LI( A({href: 'http://phx.corporate-ir.net/phoenix.zhtml?c=129813&p=irol-IRHome'},"Overview") ),
LI( A({href: 'http://phx.corporate-ir.net/phoenix.zhtml?c=129813&p=irol-stockquote'},"Stock Information") ),
LI( A({href: 'http://phx.corporate-ir.net/phoenix.zhtml?c=129813&p=irol-govboard'},"Corporate Governance") ),
LI( A({href: 'http://phx.corporate-ir.net/phoenix.zhtml?c=129813&p=irol-sec'},"SEC Filings") ),
LI( A({href: 'http://phx.corporate-ir.net/phoenix.zhtml?c=129813&p=irol-news&nyo=0'},"News Releases") ),
LI( A({href: 'http://phx.corporate-ir.net/phoenix.zhtml?c=129813&p=irol-analysts'},"Analyst Coverage") ),
LI( A({href: 'http://phx.corporate-ir.net/phoenix.zhtml?c=129813&p=irol-calendar'},"Calendar of Events") ),
LI( A({href: 'http://phx.corporate-ir.net/phoenix.zhtml?c=129813&p=irol-ownershipsummary'},"Ownership Profile") ),
LI( A({href: 'http://phx.corporate-ir.net/phoenix.zhtml?c=129813&p=irol-presentations'},"Presentations") ),
LI( A({href: 'http://phx.corporate-ir.net/phoenix.zhtml?c=129813&p=irol-inforeq'},"Information Request") ),
LI( A({href: 'http://phx.corporate-ir.net/phoenix.zhtml?c=129813&p=irol-alerts'},"E-mail Alerts") )) );

	}
}
var roll = {
	define : function(){
		if (!document.all&&!document.getElementById) return;
		var links = document.getElementById("ui");
		if (!links) return;
		for (var i=0; i<links.childNodes.length; i++) {
			var link = links.childNodes[i];
			if (link.nodeName == "LI") {
				link.onmouseover = function(){
					this.className = "over";
				}
				link.onmouseout = function(){
					this.className = this.className.replace("over", "");
				}
			}
		}
	}
}


if (window.addEventListener) {
	window.addEventListener("load", dropdowns.build, false);
}
else if (document.addEventListener) {
	document.addEventListener("load", dropdowns.build, false);
}
else if (window.attachEvent) {
	window.attachEvent("onload", dropdowns.build);
	window.attachEvent("onload", roll.define);
}
else if (typeof window.onload == "function") {
	window.onload = function(){
		dropdowns.build();
		roll.define();
	};
}
else {
	window.onload = roll.define; dropdowns.build;
}


