document.write("<style type=text/css>");
document.write(".clCMAbs {position:absolute; visibility:hidden;}");
document.write("BODY {margin:0px; padding:0px;}");
document.write("#redbar {margin:0px 0px 0px 0px; padding:0px; height:82px; border-bottom:1px solid #ccc; background-color:#ffffff}");
document.write(".clBar {position:absolute; visibility:hidden;}");
document.write(".none {position:absolute;}");
document.write(".noneover {}");
document.write(".clLevel0, .clLevel0over  {color:#ffffff; position:absolute; font-family:verdana,arial,helvetica,geneva; font-weight:bold; font-size:10px; margin-left:8px; padding:2px 4px 0px 6px}");
document.write(".clLevel0over {color:#fff; font-family:verdana,arial,helvetica,geneva; font-weight:bold; font-size:10px; margin-left:8px; padding:2px 4px 0px 6px;}");
document.write(".clLevel0 {}");
document.write(".clLevel0over {cursor:pointer; cursor:hand; background-color:#D82727; layer-background-color:#D82727; color:#fff;}");
document.write(".clLevel0border {position:absolute; visibility:hidden;}");

document.write(".clLevel1, .clLevel1over {border-left:3px solid #D82727; padding:2px 0px 0px 4px; margin:0px; position:absolute; font-family:verdana,arial,helvetica; font-size:10px; font-weight:regular;}");
document.write(".clLevel1 {background-color:#fff; layer-background-color:#fff; color:#555;}");
document.write(".clLevel1over {background-color:#efefef; layer-background-color:#efefef; color:#D82727; cursor:pointer; cursor:hand;}");
document.write(".clLevel1border {background-color:#808285; layer-background-color:#808285; position:absolute;  visibility:hidden; }");

document.write(".clLevel2, .clLevel2over {border-left:3px solid #D82727; padding:2px 0px 0px 4px;  position:absolute; font-family:verdana,arial,helvetica; font-size:10px; font-weight:regular; }");
document.write(".clLevel2 {background-color:#fff; layer-background-color:#fff; color:#555;}");
document.write(".clLevel2over {background-color:#efefef; layer-background-color:#efefef; color:#D82727; cursor:pointer; cursor:hand;}");
document.write(".clLevel2border {background-color:#808285; layer-background-color:#808285; position:absolute; visibility:hidden; }");

document.write("#ralogo {position:absolute; top:13px; left:18px; border:0px}");
document.write("#sitename {position:absolute; top:35px; left:177px; color:#666666; font-family:Verdana,arial,helvetica; font-size:12px; font-weight:bold;}");
document.write("#sitename a {color:#777777; font-family:verdana,Arial,Helvetica,sans-serif; font-weight:normal; font-size:10px; text-decoration:none;}");
document.write("#sitename a:hover {color:#BB2322;}");
document.write("#username {font-family:verdana,arial,helvetica; color:#BA2232; font-size:9.4px;}");
document.write("#useroptions {white-space:nowrap; text-align:right; margin:5px 0px 0px 0px; padding:0px; font-family:verdana,arial,helvetica; color:#777777; font-size:9.4px;}");
document.write("#useroptions a {font-size:9.4; white-space:nowrap; color:#777777; text-decoration:none;}");
document.write("#useroptions a:hover {color:#BB2322; text-decoration:underline}");
document.write(".searchform {line-height:9.4px; color:#777777; font-family:Verdana,Arial,Helvetica,sans-serif; font-size:9.4px; margin:0px; padding:0px;}");
document.write(".search {vertical-align:top; color:#666666; font-family:Verdana,Arial,Helvetica,sans-serif; font-size:9.4px;}");
document.write(".submit {vertical-align:top; color:#666666; font-family:Verdana,Arial,Helvetica,sans-serif; font-size:10px; font-weight:bold; cursor:pointer}");
document.write("* .search {vertical-align:top; color:#666666; font-family:Verdana,Arial,Helvetica,sans-serif; width:120px; padding-left:2px; border:1px solid #cccccc; background-color:#eeeeee; cursor:pointer}");
document.write("* .submit {vertical-align:top; color:#666666; font-family:Verdana,Arial,Helvetica,sans-serif; width:18px; border:1px solid #cccccc; background-color:#eeeeee;}");
document.write("#lst {float:right;}");
document.write("#redbarlinks {background-image:url(https://www.rockwellautomation.com/lib/images/lst.gif); background-repeat:no-repeat; background-position:top right; position:absolute; top:59px; left:0px; width:100%; min-width:720px; background-color:#BB2322; border:1px solid #ccc; border-width:1px 0px 1px 0px; margin:0px; padding:0px; height:17px}");
document.write("</style>");

document.write("<div id='redbar'><table width='100%' bgcolor='ffffff' border='0' cellpadding='0' cellspacing='0'><tr valign='bottom'>");
document.write("<td height='47' width='169'><div id='ralogo'><a href='http://www.rockwellautomation.com/index.html' target='_top'><img src='https://www.rockwellautomation.com/lib/images/ralogo_web.gif' border='0'></a></div></td>");
document.write("<td width='50%' nowrap><div id='sitename'></div></td>");
document.write("<td width='50%' align='right' nowrap><div class='searchform' style='margin-right:18px;'></div>");
document.write("<div id='useroptions' style='margin-right:16px'><span id='username'>");

document.write("</span><br>");

document.write("</div></td></td></tr></table>");
document.write("<div id=redbarlinks><img src=https://www.rockwellautomation.com/lib/images/spacer.gif width=1 height=17></div></div>");

/* START GLOBAL LANGUAGE COOKIE */
// this function gets the cookie, if it exists
/*only the first 2 parameters are required, the cookie name, the cookie
value. Cookie time is in milliseconds, so the below expires will make the 
number you pass in the Set_Cookie function call the number of days the cookie
lasts, if you want it to be hours or minutes, just get rid of 24 and 60.
Generally you don't need to worry about domain, path or secure for most applications
so unless you need that, leave those parameters blank in the function call.*/
function Set_Cookie( name, value, expires, path, domain, secure ) {
	// set time, it's in milliseconds
	var today = new Date();
	today.setTime( today.getTime() );
	// if the expires variable is set, make the correct expires time, the
	// current script below will set it for x number of days, to make it
	// for hours, delete * 24, for minutes, delete * 60 * 24
	if ( expires )
	{
		expires = expires * 1000 * 60 * 60 * 24;
	}
	//alert( 'today ' + today.toGMTString() );// this is for testing purpose only
	var expires_date = new Date( today.getTime() + (expires) );
	//alert('expires ' + expires_date.toGMTString());// this is for testing purposes only
	document.cookie = name + "=" +escape( value ) +
		( ( expires ) ? ";expires=" + expires_date.toGMTString() : "" ) + //expires.toGMTString()
		( ( path ) ? ";path=" + path : "" ) + 
		( ( domain ) ? ";domain=" + domain : "" ) +
		( ( secure ) ? ";secure" : "" );
}		
var exp = new Date();

function Get_Cookie( name ) {
	var start = document.cookie.indexOf( name + "=" );
	var len = start + name.length + 1;
	if ( ( !start ) && ( name != document.cookie.substring( 0, name.length ) ) )
	{
		return null;
	}
	if ( start == -1 ) return null;
	var end = document.cookie.indexOf( ";", len );
	if ( end == -1 ) end = document.cookie.length;
	return unescape( document.cookie.substring( len, end ) );
}

// this deletes the cookie when called
function Delete_Cookie( name, path, domain ) {
	if ( Get_Cookie( name ) ) document.cookie = name + "=" +
			( ( path ) ? ";path=" + path : "") +
			( ( domain ) ? ";domain=" + domain : "" ) +
			";expires=Thu, 01-Jan-1970 00:00:01 GMT";
}

function getCookieVal (offset) {
var endstr = document.cookie.indexOf (";", offset);
if (endstr == -1)
endstr = document.cookie.length;
return unescape(document.cookie.substring(offset, endstr));
}
/*END GLOBAL LANGUAGE COOKIE*/

