/////////////////////////////////////////////
//    include: c_js/foundation.js
/////////////////////////////////////////////
var browserIsIE = ( (navigator.appName == "Microsoft Internet Explorer" ) ? true : false );

	function getPathFromId( src_id )
	{
		var pth = "";
		if ( (src_id.indexOf) && (src_id.indexOf('_') !=-1) )
		{
			var tmp = src_id.split('_');
			pth = "00"+tmp[1];
		}
		else
		{
			pth = "00"+src_id;
		}

		var pthLen = pth.length % 3;
		pth = pth.substr(pthLen, pth.length);

		var npath = "";
		for (var xx = 0; (xx < pth.length-3); (xx += 3))
		{
			npath += pth.substr(xx, 3) + "/";
		}
		return(npath);
	}

function getDataFromID( idValue )
	{
		var idSplit = idValue.split('-');
		var dataValue = idSplit[1];
		return dataValue
	}

function populateElement( div_in, pop_data )
	{
		document.getElementById( div_in ).innerHTML = pop_data;
		document.getElementById( div_in ).style.visibility="visible";
	}

function populateDiv( div_in, pop_data )
	{
		document.getElementById( div_in ).innerHTML = pop_data;
		document.getElementById( div_in ).style.visibility="visible";
		document.getElementById( div_in ).style.display="block";
	}

function trim(str)
	{
		return str.replace(/^\s*|\s*$/g,"");
	}

function htmlentity(str)
{
	var newstr = str.replace(/\&/g, "&amp;");
	newstr = newstr.replace(/"/g, "&quot;");
	newstr = newstr.replace(/</g, "&lt;");
	newstr = newstr.replace(/>/g, "&gt;");

	return newstr;
}

function htmlentity_decode(str)
{
	var newstr = str.replace(/\&amp;/g, "&");
	newstr = newstr.replace(/\&quot;/g, "\"");
	newstr = newstr.replace(/\&lt;/g, "<");
	newstr = newstr.replace(/\&gt;/g, ">");

	return newstr;
}

function swapCSSClass( domObj, oldClass, newClass )
	{
		var splitter = domObj.className.split( ' ' );
		var classNameBuild = '';
		for ( var xx=0; xx < splitter.length; xx++ )
			{
				classNameBuild += ( ( splitter[xx] == oldClass ) ? newClass : splitter[xx] ) + ' ';
			}

		domObj.className = trim( classNameBuild );
	}

function hideDisplay( domObj )
	{
		if ( ( typeof domObj ) != 'object' )
			{
				domObj = document.getElementById( domObj );
			}

		domObj.style.visibility = 'hidden';
		domObj.style.display = 'none';

	}

function showDisplay( i_Obj )
{
	var domObj = null;

	if ( ( typeof i_Obj ) != 'object' )
	{	domObj = document.getElementById( i_Obj );	}
	else
	{
		domObj = i_Obj;
	}

	if (domObj.id.substr(0,8) == "floater-")
	{
		var tempObj = "";
		for (i=1; i<4;i++)
		{
			tempObj = document.getElementById( "floater-"+i );
			tempObj.style.zIndex=0;
		}

		if (IS_IE_BROWSER=="true")
		{	domObj.style.zIndex = domObj.zIndex++;	}
		else
		{	domObj.style.zIndex = 1;	}
	}

	domObj.style.visibility = 'visible';
	domObj.style.display = 'block';
 }


function setfieldvalue(field_name, value)
{
	document.getElementById(field_name).value = value;
}

function format_date(dateObj)
{
	var d_names = new Array("Sunday", "Monday", "Tuesday",
							"Wednesday", "Thursday", "Friday", "Saturday");

	var m_names = new Array("January", "February", "March", "April",
							"May", "June", "July", "August", "September",
							"October", "November", "December");

	var curr_day	= dateObj.getDay();
	var curr_date	= dateObj.getDate();
	var curr_month	= dateObj.getMonth();
	var curr_year	= dateObj.getFullYear();
	var sup = "th";

	if (curr_date == 1 || curr_date == 21 || curr_date ==31)
	{	sup = "st";	}
	else if (curr_date == 2 || curr_date == 22)
	{	sup = "nd";	}
	else if (curr_date == 3 || curr_date == 23)
	{	sup = "rd";	}

	return(d_names[curr_day] + ", " + m_names[curr_month] + " " + curr_date + sup + ", " + curr_year);
}

function popWin(url_in, width_in, height_in, title_in)
{  // General method used to open a popup window from the site
	var winWidth = ((width_in!=null) ? parseInt(width_in) : 640);
	var winHeight = ((height_in!=null) ? parseInt(height_in) : 480);
	var windowTitle = (String)((title_in!=null) ? title_in: "");
	
	windowTitle = windowTitle.replace(/ /g, "_");
	var features = "width="+winWidth+",height="+winHeight+",resizable=1,toolbar=1,scrollbars=1";  

	wnd = window.open(url_in, windowTitle, features);
	wnd.focus();
}

function gen_open_win(url_in, nm_in)
{
	popWin(url_in);
}

function build_date_sel( base_field_name, default_ymd, years_back, years_ahead, months_format )
{
	base_field_name = ( base_field_name == null ? "f" : base_field_name );
	years_back = ( years_back == null ? 2 : years_back );
	years_ahead = ( years_ahead == null ? 5 : years_ahead );
	months_format = ( months_format == null ? "full" : months_format );

	var monthsAbbrev = new Array( "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" );
	var monthsFull = new Array( "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" );
	var ymd = ( default_ymd instanceof Date ? default_ymd : new Date() );

	var year_value = ymd.getFullYear();
	var month_value = ymd.getMonth() + 1;
	var day_value = ymd.getDate();

	var year_start = year_value - years_back;
	var year_stop = year_value + years_ahead;

	var newDiv = document.createElement("div");
	var newSel1 = document.createElement("select");
	newSel1.name = base_field_name + "_month";
	newSel1.id = base_field_name + "_month";
	for( var mc = 0; mc < 12; mc++ )
	{
		var newOption = document.createElement("option");
		newOption.value = mc + 1;
		newOption.text = ( months_format == "full" ? monthsFull[mc] : months_format == "abbrev" ? monthsAbbrev[mc] : ( mc + 1 < 10 ? "0" : "" ) + ( mc + 1 ) );
		if( mc + 1 == month_value )
		{
			newOption.setAttribute("selected", "selected");
		}
		newSel1.appendChild( newOption );
	}

	var newText1 = document.createTextNode( "\u00A0\u00A0\u00A0" );

	var newSel2 = document.createElement("select");
	newSel2.name = base_field_name + "_day";
	newSel2.id = base_field_name + "_day";
	for( var md = 0; md < 31; md++ )
	{
		var newOption = document.createElement("option");
		newOption.value = md + 1;
		newOption.text = ( md + 1 < 10 ? "0" : "" ) + ( md + 1 );
		if( md == day_value )
		{
			newOption.setAttribute("selected", "selected");
		}
		newSel2.appendChild( newOption );
	}

	var newText2 = document.createTextNode( "\u00A0\u00A0\u00A0" );

	var newSel3 = document.createElement("select");
	newSel3.name = base_field_name + "_year";
	newSel3.id = base_field_name + "_year";
	for( var my = year_start; my <= year_stop; my++ )
	{
		var newOption = document.createElement("option");
		newOption.value = my;
		newOption.text = my;
		if( my == year_value )
		{
			newOption.setAttribute("selected", "selected");
		}
		newSel3.appendChild( newOption );
	}

	newDiv.appendChild( newSel1 );
	newDiv.appendChild( newText1 );
	newDiv.appendChild( newSel2 );
	newDiv.appendChild( newText2 );
	newDiv.appendChild( newSel3 );

	return newDiv;
}




/////////////////////////////////////////////
//    include: c_js/ajax-base.js
/////////////////////////////////////////////
function createRequestObject()
{
	var ro;

	if ( browserIsIE )
	{
		ro = new ActiveXObject("Microsoft.XMLHTTP");
	}
	else
	{
		ro = new XMLHttpRequest();
	}

	return ro;
}

function getPageKeyValue( )
{
	return document.anchors[0].name;
}

function readCookie( name )
{
	var nameEQ = name + "=";
	var ca = document.cookie.split(';');
	for( var i=0; i < ca.length; i++ )
	{
		var c = ca[i].replace(/^\s*|\s*$/g,"");
		if( c.indexOf(nameEQ) == 0 )
		{
			return c.substring( nameEQ.length, c.length );
		}
	}
	return null;
}


function ajaxSendRequest( area, module_name, url_data, http_obj_in, return_method, post_data, post_content_type, async )
{
	var request_sent = false;
	var is_async = ((async==null) ? true : async);

	var method = ((post_data == null) ? 'get' : 'post');
	var phpsessid = readCookie('PHPSESSID');
	phpsessid = ( phpsessid == null ? "" : phpsessid );

	if ( area == 'site' )
		{
			url_data += '&u_page=' + PAGE_ID + '&u_page_mod=' + PAGE_MOD + '&PHPSESSID=' + phpsessid;
		}

	http_obj_in.open( method, area +'_call.php?u_content=xml&u_slave_module=' + module_name + '&' + url_data, is_async );
	http_obj_in.onreadystatechange = return_method;

	switch ( post_content_type )
	{
		case 'xml':
			http_obj_in.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');
			http_obj_in.send( 'web_form_post_data=' + encodeURIComponent( post_data ) );
			//http_obj_in.send( 'web_form_post_data=' + escape( post_data ) );
			//alert( post_data );
			break;
		case 'form':
			http_obj_in.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
			http_obj_in.send( post_data );
			//alert( post_data );
			break;
		default:
			http_obj_in.send(post_data);
			break;
	}

	request_sent = true;


  return request_sent;
}

function checkLogout( resp )
	{
		if ( resp == '<logged_out />' )
			{
				location.reload();
			}

		return false;
	}


function ajaxRequestComplete( http_obj_in )
{
	return ( http_obj_in.readyState == 4 );
}

function ajaxGetResponseText( http_obj_in )
{
	return ( http_obj_in.responseText );
}

function ajaxGetResponseXml( http_obj_in )
{
	return ( http_obj_in.responseXML );
}

function ajaxPopulateDiv( div_in, pop_data )
{
	populateDiv( div_in, pop_data );
}

function convertFormToXml( form_in, is_array, get_select_val )
{
	var numElements = null;
	var currElem = null;
	var xmlForm = '<?xml version="1.0" encoding="UTF-8"?>\n';
	var formz = null;
	var currForm = null;
	var xx;
	var xy;

	if ( is_array != null )
		{
			 formz = form_in;
		}
	else
		{
			formz = new Array();
			formz[0] = form_in;
		}
	var numFormz = formz.length;

	xmlForm += '<web_form_post xmlns="http://www.omaha.com/xml/configuration" id="' + formz[0].name + '">\n';

	for ( xx=0; xx < numFormz; xx++ )
		{
			currForm = formz[xx];
			xmlForm += '\t<form name="' + currForm.name + '">\n';
			numElements = currForm.length;

			for ( xy=0; xy < numElements; xy++ )
				{
					currElem = currForm.elements[xy];
					if ((currElem.type!="radio")|| ( ((currElem.type=="checkbox") || (currElem.type=="radio")) && (currElem.checked) ))
					{
						xmlForm += '\t\t<field type="' + currElem.type + '" name="' + ( ( currElem.name) ? currElem.name : currElem.id ) + '">\n';
						switch ( currElem.type )
							{
								case 'checkbox':
									xmlForm += '\t\t\t<value>' + ( ( currElem.checked) ? htmlentity( currElem.value ) : '' ) + '</value>\n';
								break;
								case 'select-one':
									if ( (get_select_val) && (currElem.selectedIndex>=0))
									{
										xmlForm += '\t\t\t<value>' + htmlentity(currElem.options[currElem.selectedIndex].value + "!=!" + currElem.options[currElem.selectedIndex].text)+ '</value>\n';
										break;
									}

								case 'select-multiple':
									for( var oc = 0; oc < currElem.options.length; oc++ )
									{
										if( currElem.options[oc].selected )
										{
											xmlForm += '\t\t\t<value>' + htmlentity(currElem.options[oc].value) + '</value>\n';
										}
									}
									break;

								default:
									xmlForm += '\t\t\t<value>' + htmlentity(convertUnicode2HTML( currElem.value )) + '</value>\n';
								break;
							} // end switch

						xmlForm += '\t\t</field>\n';
					}
				} // end for xy

			xmlForm += '\t</form>\n';
		} // end for xx

	xmlForm += '</web_form_post>';

	return xmlForm;
}




/////////////////////////////////////////////
//    include: c_js/conversion.js
/////////////////////////////////////////////
var debug1 = true;
var debug2 = true;
var escapeMap = '';
var CPstring = '';

var hexNum = { 0:1, 1:1, 2:1, 3:1, 4:1, 5:1, 6:1, 7:1, 8:1, 9:1,
				A:1, B:1, C:1, D:1, E:1, F:1,
				a:1, b:1, c:1, d:1, e:1, f:1 };
var jEscape = { 0:1, b:1, t:1, n:1, v:1, f:1, r:1 };
var decDigit = { 0:1, 1:1, 2:1, 3:1, 4:1, 5:1, 6:1, 7:1, 8:1, 9:1 };


	function dec2hex ( textString )
	{
		return (textString+0).toString(16).toUpperCase();
	}

	function  dec2hex2 ( textString )
	{
		var hexequiv = new Array ("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F");
		return hexequiv[(textString >> 4) & 0xF] + hexequiv[textString & 0xF];
	}

	function  dec2hex4 ( textString )
	{
		var hexequiv = new Array ("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F");
		return hexequiv[(textString >> 12) & 0xF] + hexequiv[(textString >> 8) & 0xF] + hexequiv[(textString >> 4) & 0xF] + hexequiv[textString & 0xF];
	}

	function convertUnicode2HTML ( textString )
	{
		var haut = 0;
		var n = 0;
		CPstring = '';
		for (var i = 0; i < textString.length; i++)
		{
			var b = textString.charCodeAt(i);
			if (b>255)
			{
				if (b < 0 || b > 0xFFFF)
				{
					CPstring += 'Error ' + dec2hex(b) + '!';
				}
				if (haut != 0)
				{
					if (0xDC00 <= b && b <= 0xDFFF)
					{
						CPstring += convertCP2DecNCR(dec2hex(0x10000 + ((haut - 0xD800) << 10) + (b - 0xDC00)));
						haut = 0;
						continue;
					}
					else
					{
						CPstring += '!erreur ' + dec2hex(haut) + '!';
						haut = 0;
					}
				}

				if (0xD800 <= b && b <= 0xDBFF)
				{
					haut = b;
				}
				else
				{
					CPstring += convertCP2DecNCR(dec2hex(b));
				}
			}
			else
			{
				CPstring += textString.charAt(i);
			}
		}
		return( CPstring );
	}


	function convertCP2DecNCR ( textString )
	{
		var outputString = "";
		textString = textString.replace(/^\s+/, '');
		if (textString.length == 0)
		{ return ""; }

		textString = textString.replace(/\s+/g, ' ');
		var listArray = textString.split(' ');
		for ( var i = 0; i < listArray.length; i++ )
		{
			var n = parseInt(listArray[i], 16);
			outputString += ('&#' + n + ';');
		}
		return( outputString );
	}




/////////////////////////////////////////////
//    include: c_js/display/draggable_window.js
/////////////////////////////////////////////
// Global object to hold drag information.

var dragObj = new Object();
dragObj.zIndex = 0;
 


function getCursorXPos( event )
	{
		var x;
		if ( browserIsIE ) 
			{
				x = window.event.clientX + document.documentElement.scrollLeft + document.body.scrollLeft; 
			}
		else
			{
				x = event.clientX + window.scrollX; 
			}
			
		return x;	
	}

function getCursorYPos( event )
	{
		var y;
		if ( browserIsIE ) 
			{
				y = window.event.clientY + document.documentElement.scrollTop + document.body.scrollTop;
			}
		else
			{
				y = event.clientY + window.scrollY;
			}
			
		return y;	
	} 

function dragStart(event, id)
	{		
		var el;
		var x, y;
		

		
		// If an element id was given, find it. Otherwise use the element being
		// clicked on.
		
		if (id)
			{
				dragObj.elNode = document.getElementById(id);
			}
		else 
			{
				if ( browserIsIE )
					{ dragObj.elNode = window.event.srcElement; }
				else
					{ dragObj.elNode = event.target; }
		
				// If this is a text node, use its parent element.
		
		
				if (dragObj.elNode.nodeType == 3)
					{
						dragObj.elNode = dragObj.elNode.parentNode;
					}
			}
		
		// Get cursor position with respect to the page.		
		x = getCursorXPos( event );
		y = getCursorYPos( event );
		
		// Save starting positions of cursor and element.
		
		dragObj.cursorStartX = x;
		dragObj.cursorStartY = y;
		dragObj.elStartLeft  = parseInt(dragObj.elNode.offsetLeft, 10);
		dragObj.elStartTop   = parseInt(dragObj.elNode.offsetTop,  10);
		
		if (isNaN(dragObj.elStartLeft)) 
			dragObj.elStartLeft = 0;
		
		if (isNaN(dragObj.elStartTop))
			dragObj.elStartTop  = 0; 
		
		if (dragObj.elNode.id.substr(0,8) == "floater-")
		{
			var tempObj = "";
			for (i=1; i<4;i++)
			{
				tempObj = document.getElementById( "floater-"+i );
				tempObj.style.zIndex=0;
			}
	
			if (IS_IE_BROWSER=="true")
			{	dragObj.elNode.style.zIndex = dragObj.zIndex++;	}
			else
			{	dragObj.elNode.style.zIndex = 1;	}
			
		}

		// Capture mousemove and mouseup events on the page.
		if ( browserIsIE ) 
			{
				document.attachEvent("onmousemove", dragGo);
				document.attachEvent("onmouseup",   dragStop);
				window.event.cancelBubble = true;
				window.event.returnValue = false;
			}
		else
			{
				document.addEventListener("mousemove", dragGo,   true);
				document.addEventListener("mouseup",   dragStop, true);
				event.preventDefault();
			}
}

function dragGo(event) 
	{	
		var x, y;
		
		// Get cursor position with respect to the page.		
		x = getCursorXPos( event );
		y = getCursorYPos( event );
		
		if ( browserIsIE ) 
			{
				x = window.event.clientX + document.documentElement.scrollLeft
					+ document.body.scrollLeft;
				y = window.event.clientY + document.documentElement.scrollTop
					+ document.body.scrollTop;
			}
		else
			{
				x = event.clientX + window.scrollX;
				y = event.clientY + window.scrollY;
			}
		
		// Move drag element by the same amount the cursor has moved.   
		var newPosLeft = (dragObj.elStartLeft + x - dragObj.cursorStartX);
		var newPosTop = (dragObj.elStartTop  + y - dragObj.cursorStartY); 
		
		dragObj.elNode.style.left = ( ( newPosLeft < 0 ) ? 0 : newPosLeft ) + "px";
		dragObj.elNode.style.top  = ( ( newPosTop < 0 ) ? 0 : newPosTop ) + "px"; 
		
		if ( browserIsIE) 
			{
				window.event.cancelBubble = true;
				window.event.returnValue = false;
			}
		else
			{
				event.preventDefault();
			}
	}

function dragStop(event) 
	{  				
		if ( browserIsIE) 
			{
				document.detachEvent("onmousemove", dragGo);
				document.detachEvent("onmouseup",   dragStop);
			}
		else
			{
				document.removeEventListener("mousemove", dragGo,   true);
				document.removeEventListener("mouseup",   dragStop, true);
			}
	} 
	



/////////////////////////////////////////////
//    include: c_js/display/floaters.js
/////////////////////////////////////////////
function showFloater( floater_num, title, content, override_width, override_height, override_bg, override_X, override_Y )
{ 
	var oldWidth = null, oldHeight = null;
	
	var floaterName = 'floater-' + floater_num;

	if (override_width==null)
	{	override_width = ((floater_num==1) ? "320px" : "240px");	}

	if (override_height==null)
	{	override_height = ((floater_num==1) ? "320px" : "180px");	}

	if (override_bg==null)
	{
		switch (parseInt(floater_num))
		{
			case 1:
			case 2:
					switch (parseInt(PAGE_ID))
					{
						case 10001: override_bg = "#e5becf"; break;
						case 10002: override_bg = "#fbedc0"; break;
						default: override_bg = "#fff"; break;
					}
					break;
			case 3:
			default:
					override_bg = "#bebad0";
					break;
		}
	}

	setFloaterWidthOverride( floater_num, override_width );
	setFloaterHeightOverride( floater_num, override_height );
	setFloaterBackgroundOverride( floater_num, override_bg );
	if(override_Y < 1)
	{
		override_Y = 1;
	}
	setFloaterPositionOverride( floater_num, override_X, override_Y );

	if ( title != null )
	{	document.getElementById( floaterName + '-title' ).innerHTML = title;	}
		
	if ( content != null )
	{	document.getElementById( floaterName + '-content' ).innerHTML = content; }

	showDisplay( floaterName );  
}

function hideFloater( floater_num )
{  	
	var floaterName = 'floater-' + floater_num;
	hideDisplay( floaterName );
}

var onclose_action_added = false;
function add_onclose_action( floaterName, action )
{
	if( action != null && onclose_action_added == false )
	{
		document.getElementById( floaterName + '-closelink' ).href = document.getElementById( floaterName + '-closelink' ).href + action;
		onclose_action_added = true;
	}
}
	
function setFloaterPositionOverride( floater_num, override_X, override_Y )
{
	var floaterName = 'floater-' + floater_num;
	var scrollXY = getScrollXY();
	var iebody=(document.compatMode && document.compatMode != "BackCompat")? document.documentElement : document.body

	if ( override_X == null)
	{
		var parentWindowWidth = ((IS_SAFARI=="true") ? window.innerWidth : iebody.clientWidth);
		var popW = parseInt(document.getElementById( floaterName + '-holderdiv' ).style.width);
		override_X = ((parentWindowWidth - popW) / 2)+scrollXY["X"];
		override_X = override_X+"px";
	}

	if ( override_Y == null)
	{
		var parentWindowHeight = ((IS_SAFARI=="true") ? window.innerHeight : iebody.clientHeight);
		var popH = parseInt(document.getElementById( floaterName + '-holderdiv' ).style.height);
		override_Y = ((parentWindowHeight - popH) / 2)+scrollXY["Y"];
		if(override_Y < 1)
		{
			override_Y = 1;
		}
		override_Y = override_Y+"px";
	}

	document.getElementById( floaterName ).style.left = override_X;
	document.getElementById( floaterName ).style.top = override_Y;
}
	
function getScrollXY()
{
	var scrOfX = 0, scrOfY = 0;
	if( typeof( window.pageYOffset ) == 'number' )
	{
		//Netscape compliant
		scrOfY = window.pageYOffset;
		scrOfX = window.pageXOffset;
	}
	else if( document.body && ( document.body.scrollLeft || document.body.scrollTop ) )
	{
		//DOM compliant
		scrOfY = document.body.scrollTop;
		scrOfX = document.body.scrollLeft;
	}
	else if( document.documentElement && ( document.documentElement.scrollLeft || document.documentElement.scrollTop ) )
	{
		//IE6 standards compliant mode
		scrOfY = document.documentElement.scrollTop;
		scrOfX = document.documentElement.scrollLeft;
	}

	var out=Object();
	out["X"] = scrOfX;
	out["Y"] = scrOfY;

	return(out);
}

function setFloaterWidthOverride( floater_num, override_width )
	{
		var floaterName = 'floater-' + floater_num;
		var correctValue = ( ( override_width == null ) ? '' : override_width );
		var splitString = correctValue.split(parseInt(correctValue));
		var extention = splitString[1];
		var newValue = parseInt(correctValue)+4;

		document.getElementById( floaterName + '-innerframe' ).style.width = (newValue+extention);
		document.getElementById( floaterName + '-innerdiv' ).style.width = correctValue;
		document.getElementById( floaterName + '-innertable' ).style.width = correctValue;
		document.getElementById( floaterName + '-holderdiv' ).style.width = correctValue;
	}
	
function setFloaterHeightOverride( floater_num, override_height )
	{
		var floaterName = 'floater-' + floater_num;
		var correctValue = ( ( override_height == null ) ? '' : override_height );
		var splitString = correctValue.split(parseInt(correctValue));
		var extention = splitString[1];
		var newValue = parseInt(correctValue)+25;

		document.getElementById( floaterName + '-innerframe' ).style.height = (newValue+extention);
		document.getElementById( floaterName + '-innerdiv' ).style.height = correctValue;
		document.getElementById( floaterName + '-innertable' ).style.height = correctValue;
		document.getElementById( floaterName + '-holderdiv' ).style.height = correctValue;
	}
	
function setFloaterBackgroundOverride( floater_num, override_bg )
	{
		var floaterName = 'floater-' + floater_num;
		var correctValue = ( ( override_bg == null ) ? '' : override_bg ); 
		document.getElementById( floaterName + '-holderdiv' ).style.background = correctValue;
		document.getElementById( floaterName + '-content' ).style.background = correctValue;
	}	




/////////////////////////////////////////////
//    include: c_js/form_validation.js
/////////////////////////////////////////////
var okToSubmit_form = true;

function checkDate(i_month, i_day, i_year)
{
	var months= new Array(12) 
	months[1]="Jan"; 
	months[2]="Feb"; 
	months[3]="Mar"; 
	months[4]="Apr"; 
	months[5]="May"; 
	months[6]="Jun"; 
	months[7]="Jul"; 
	months[8]="Aug"; 
	months[9]="Sep"; 
	months[10]="Oct"; 
	months[11]="Nov"; 
	months[12]="Dec"; 

	var myMonthStr = months[parseInt(i_month.value)];
	var myDayStr = i_day.value;
	var myYearStr = i_year.value;
	var myDateStr = myDayStr + ' ' + myMonthStr + ' ' + myYearStr;
	
	/* Using form values, create a new date object
	which looks like "Wed Jan 1 00:00:00 EST 1975". */
	var myDate = new Date( myDateStr );
	
	// Convert the date to a string so we can parse it.
	var myDate_string = myDate.toGMTString();
	
	/* Split the string at every space and put the values into an array so,
	using the previous example, the first element in the array is "Wed", the
	second element is "Jan", the third element is "1", etc. */
	var myDate_array = myDate_string.split( ' ' );
	
	/* If we entered "Feb 31, 1975" in the form, the "new Date()" function
	converts the value to "Mar 3, 1975". Therefore, we compare the month
	in the array with the month we entered into the form. If they match,
	then the date is valid, otherwise, the date is NOT valid. */
	if ( myDate_array[2] != myMonthStr )
	{
//		alert( 'I\'m sorry, but "' + myMonthStr + ' ' + myDayStr + ' ' + myYearStr + '" is NOT a valid date.' );
		return(false);
	}
	else
	{
//		alert( 'Congratulations! "' + myDateStr + '" IS a valid date.' );
		return(true);
	}
}

function _com_isEmpty(string_in)
{
	var isEmpty = false;
	if ( (string_in==null) || (trim(string_in)=="") )
	{	isEmpty = true;	}

	return(isEmpty);
}

function checkField(fieldName, msg_in, type_in)
{
	if ( (fieldName) && (okToSubmit_form==true) )
	{
		if ( (type_in) && (type_in.indexOf('|')>0) )
		{
			var type_in_arr = type_in.split('|');
			type_in = type_in_arr[0];
		}

		switch(type_in)
		{
			case "select":
						if ( fieldName.options[fieldName.selectedIndex].value == "-1")
						{	okToSubmit_form = false;	}
						break;

			case "checkbox":
			case "check":
						if ( fieldName.checked == false)
						{	okToSubmit_form = false;	}
						break;

			case "radio":
						okToSubmit_form = false;
						for (counter = 0; counter < fieldName.length; counter++)
						{
							if (fieldName[counter].checked)
							{	okToSubmit_form = true;	}
						}
						break;

			case "date":
						if (checkDate(type_in_arr[1],type_in_arr[2],type_in_arr[3])==false)
						{	okToSubmit_form = false;	}
						break;

			case "length":
						if ( fieldName.value.length < type_in_arr[1])
						{	okToSubmit_form = false;	}
						break;

			case "lessthan":
						if ( type_in_arr[1] >= type_in_arr[2] )
						{	okToSubmit_form = false;	}
						break;

			case "greaterthan":
						if ( type_in_arr[1] <= type_in_arr[2] )
						{	okToSubmit_form = false;	}
						break;

			case "lessequal":
						if ( type_in_arr[1] > type_in_arr[2] )
						{	okToSubmit_form = false;	}
						break;

			case "greaterequal":
						if ( type_in_arr[1] < type_in_arr[2] )
						{	okToSubmit_form = false;	}
						break;

			case "range":
						if ( ( fieldName.value.length < type_in_arr[1]) || ( fieldName.value.length > type_in_arr[2]) )
						{	okToSubmit_form = false;	}
						break;

			case "value-range":
						if ( ( fieldName.value < type_in_arr[1]) || ( fieldName.value > type_in_arr[2]) )
						{	okToSubmit_form = false;	}
						break;

			case "integer":
						if( isInteger( fieldName ) == false )
						{ okToSubmit_form = false; }
						break;

			case "email":
						if ( /^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,4})+$/.test(fieldName.value) == false )
						{
							msg_in = ((_com_isEmpty(msg_in)==false)
										? msg_in 
										: "The email address you entered does not appear valid.  A valid email address must have an “@” and a “dot” such as name@omaha.com.  Please re-enter this field.");
							okToSubmit_form = false;
						}

						break;

			case "text":
			case "input":
			default:
						if (_com_isEmpty(fieldName.value)==true)
						{	okToSubmit_form = false;	}
						break;
		}

		if ( okToSubmit_form==false)
		{
			if (fieldName.tagName == "INPUT")
			{	fieldName.setAttribute('autocomplete', 'off');	}
			if (type_in != "radio")
			{	fieldName.focus();	}
			alert( msg_in );
		}
	}
}

function isInteger( fieldName )
{
	return /^\d+$/.test(fieldName.value);
}

function enterKeyPressed(e)
{ 
	var myKeyCode	= 0;
	var enter_pressed = false;

	if ( document.all )	// Internet Explorer 4+
	{	myKeyCode = e.keyCode;	}
	else if ( document.layers || document.getElementById ) // Netscape 4 0r 6+
	{	myKeyCode = e.which;	}

	if ( (myKeyCode == 13) )
	{	enter_pressed = true;	}
	
	return enter_pressed;
}

function isLetter(e, frm, fld_id )
{
	var	ok			= true;
	var myKeyCode	= 0;

	if ( document.all )	// Internet Explorer 4+
	{	myKeyCode = e.keyCode;	}
	else if ( document.layers || document.getElementById ) // Netscape 4 0r 6+
	{	myKeyCode = e.which;	}

	if (((myKeyCode < 48) || (myKeyCode > 57)) && (myKeyCode != 8) && (myKeyCode != 13))
	{	return(true);	}
	else
	{
		alert('Please use letters only.');
		ok = false;
	}

	return(ok);
}

function isNumber(e, fld_id, is_phone, allow_dec)
{
	var	ok			= true;
	var myKeyCode	= 0;

	if ( document.all )	// Internet Explorer 4+
	{	myKeyCode = e.keyCode;	}
	else if ( document.layers || document.getElementById ) // Netscape 4 0r 6+
	{	myKeyCode = e.which;	}

	if (((myKeyCode < 48) || (myKeyCode > 57)) && (myKeyCode != 8) && (myKeyCode != 13))
	{
		if ( (is_phone == true) && ((myKeyCode < 57) || (myKeyCode < 48) || (myKeyCode < 45)) )
		{	return(true);	}

		if ( (myKeyCode == 9) || (myKeyCode == 25) || (myKeyCode == 0) )
		{	return(true);	}
	
		if ((allow_dec == true) && (myKeyCode == 46))
		{	return(true);	}
		//alert(myKeyCode);

		if (fld_id.tagName == "INPUT")
		{	fld_id.setAttribute('autocomplete', 'off');	}
		alert('Please use numbers only.');
		ok = false;
	}

	return(ok);
}

function auto_field_advance(e, fld_in, next_fld, len)
{
	if (!(len>0))
	{	len=3;	}

	if (fld_in.value.length==len)
	{
		if (fld_in.tagName == "INPUT")
		{	fld_in.setAttribute('autocomplete', 'off');	}
		if (next_fld.tagName == "INPUT")
		{	next_fld.setAttribute('autocomplete', 'off');	}
		next_fld.focus();
	}
}

function copy_addr(frm_in)
{
	if (frm_in.f_bill_addr_fl)
	{
		if (frm_in.f_bill_addr_fl.checked == true)
		{
			frm_in.f_del_addr1.value				= frm_in.f_addr1.value;
			frm_in.f_del_addr2.value				= frm_in.f_addr2.value;
			frm_in.f_del_city.value					= frm_in.f_city.value;
			frm_in.f_del_state_cd.selectedIndex		= frm_in.f_state_cd.selectedIndex;
			frm_in.f_del_zip.value					= frm_in.f_zip.value;
		}
	}

	return(true);
}





/////////////////////////////////////////////
//    include: c_js/mapquest-sa.js
/////////////////////////////////////////////
var mapsa_http_obj_mapsa = null;
  
var mapsa_list = new Array( 50 );
var mapsa_num_addrs = 0;
var mapsa_map_width = "540px";
var mapsa_map_height = "400px";
var mapsa_bg = '#366';


function mapsa_add_address( key, addr, city, state, zip )
	{
	
	}
  
function mapsa_remove_address( key )
	{
	
	}
	
function mapsa_clear_addresses( )
	{
	
	}
  
function mapsa_show_mapped_addresses( )
	{ // show a map for mult. addresses 
		 
	}

function mapsa_show_map( addr, city, state, zip )
	{ // show a map for a single address  
		mapsa_http_obj_mapsa = createRequestObject();
		var url_data = 'u_key1=solo' +
			( ( trim( addr ) != '' ) ? '&u_addr1=' + trim( addr ) : '' ) +
			( ( trim( city ) != '' ) ? '&u_city1=' + trim( city ) : '' ) +
			( ( trim( state ) != '' ) ? '&u_state1=' + trim( state ) : '' ) +
			( ( trim( zip ) != '' ) ? '&u_zip1=' + trim( zip ) : '' ) + 
			'&u_show_nav=show'; 
			
		var mapTitle = 'Map: ' + 
			( ( trim( addr ) != '' ) ? trim( addr ) + ', ' : '' ) +
			( ( trim( city ) != '' ) ? trim( city ) + ', ' : '' ) +
			( ( trim( state ) != '' ) ? trim( state ) + ' ' : '' ) +
			( ( trim( zip ) != '' ) ? 'Zip ' + trim( zip )  : '' );
			
		showFloater( 1, mapTitle, '<p class="fwhite" align="center">( Loading Map, please wait ... )</p>', mapsa_map_width, mapsa_map_height, mapsa_bg ); 
			
		ajaxSendRequest( 'site', 'mapsa_display', url_data, mapsa_http_obj_mapsa, handle_mapsa_map_display   );   
	}

function mapsa_redisplay_map( valueIn )
	{ // show a map for a single address  
		var url_data =
			'&u_action=' + valueIn + '&u_show_nav=' +
			( ( document.getElementById('mapsa_nav_panel').style.visibility == 'visible' )
				? 'show' : 'hide' ); 
				
		ajaxSendRequest( 'site', 'mapsa_display', url_data, mapsa_http_obj_mapsa, handle_mapsa_map_display   ); 
	}

function handle_mapsa_map_display( )
	{  
		if ( ajaxRequestComplete( mapsa_http_obj_mapsa ) )
			{ 
				var responseText = mapsa_http_obj_mapsa.responseText; 
				showFloater( 1, null, responseText, mapsa_map_width, mapsa_map_height, mapsa_bg );      
			}  
	} 
 
  
function mapsa_hide_nav() 
	{   
		if ( document.getElementById('mapsa_nav_panel').style.visibility == "hidden" )
			{
				showDisplay( 'mapsa_nav_panel');     
			}
		else
			{
				hideDisplay( 'mapsa_nav_panel'); 
			}	
	
	}    
 



/////////////////////////////////////////////
//    include: c_js/legal.js
/////////////////////////////////////////////
var site_legal_http_obj = null;
var set_legal_width = "490px";
var set_legal_height = "460px";
var set_legal_valignTop = false;

function site_show_legal_info( idValue, titleIn, area_in, topleft )
	{		
		site_search_floater_has_results = false;
	
		site_legal_http_obj = createRequestObject();  
		var url_data = 'u_id=' + idValue;
		if (set_legal_valignTop==true)
		{	showFloater( 1, titleIn, '( Loading ' + titleIn + ', please wait ... )', set_legal_width, set_legal_height, null, null, "0px");	}
		else
		{	showFloater( 1, titleIn, '( Loading ' + titleIn + ', please wait ... )', set_legal_width, set_legal_height);	}
		ajaxSendRequest( area_in, 'site_show_legal_info', url_data, site_legal_http_obj, handle_site_show_legal_info   ); 
	
	}

function handle_site_show_legal_info( )
	{  
		if ( ajaxRequestComplete( site_legal_http_obj ) )
			{
				var responseText = trim( ajaxGetResponseText( site_legal_http_obj ) );  		
				if (set_legal_valignTop==true)
				{	showFloater( 1, "", responseText, set_legal_width, set_legal_height, null, null, "0px" );	}
				else
				{	showFloater( 1, "", responseText, set_legal_width, set_legal_height );	}
			}  
	}  
	
function show_privacy_policy( area_in, i_topleft )
	{
		site_search_floater_has_results = false;
		
		if ( area_in == null )
		{	area_in = 'site';	}

		if ( i_topleft != null )
		{	set_legal_valignTop = i_topleft;	}
		site_show_legal_info( 'privacy_policy', 'Privacy Policy', area_in );
	}
	
function show_terms_of_use( area_in, i_topleft )
	{
		site_search_floater_has_results = false;
	
		if ( area_in == null )
		{	area_in = 'site';	}

		if ( i_topleft != null )
		{	set_legal_valignTop = i_topleft;	}
		site_show_legal_info( 'terms_of_use', 'Terms of Use', area_in );
	}	
	
function show_copyright_statement( area_in, i_topleft )
	{
		site_search_floater_has_results = false;
	
		if ( area_in == null )
		{	area_in = 'site';	}

		if ( i_topleft != null )
		{	set_legal_valignTop = i_topleft;	}
		site_show_legal_info( 'copyright_statement', 'Copyright Statement', area_in );
	}	
	
function show_comment_policy( area_in, i_topleft )
	{
		site_search_floater_has_results = false;
	
		if ( area_in == null )
		{	area_in = 'site';	}

		if ( i_topleft != null )
		{	set_legal_valignTop = i_topleft;	}
		site_show_legal_info( 'comment_policy', 'Comment Policy', area_in );
	}	




/////////////////////////////////////////////
//    include: site-js/odc/base.js
/////////////////////////////////////////////
	String.prototype.trim = function() { return this.replace(/^\s+|\s+$/, ''); };
	var base_http_obj = null;
	var auth_http_obj = null;
	var email_story_http_obj = null;
	var email_story_title = 'Email Story To A Friend';
	var email_story_win_width = '480px';
	var email_story_win_height = '410px';
	var email_guide_title = 'Email Guide To A Friend';
	var email_guide_win_width = '480px';
	var email_guide_win_height = '410px';

	function email_story( storyID )
	{
		email_story_http_obj = createRequestObject();
		ajaxSendRequest( 'site', 'site_email_story_form', 'u_id=' + storyID, email_story_http_obj, handle_email_story );
	}

	function handle_email_story( )
	{
		if ( ajaxRequestComplete( email_story_http_obj ) )
		{
			var responseText = trim( ajaxGetResponseText( email_story_http_obj ) );
			showFloater( 2, email_story_title, responseText, email_story_win_width, email_story_win_height );
		}
	}

	function email_story_send( form_in )
	{
		// validate
		if ( form_in.f_to_email.value == "" )
		{
			populateDiv( 'story_email_sumbit_msg', '<span class="fred">You must enter recipient email address(es).</span>' );
			form_in.f_to_email.focus();
			return;
		}

		if ( form_in.f_from_email.value == "" )
		{
			populateDiv( 'story_email_sumbit_msg', '<span class="fred">You must enter your email address.</span>' );
			form_in.f_from_email.focus();
			return;
		}

		if ( form_in.f_from_name.value == "" )
		{
			populateDiv( 'story_email_sumbit_msg', '<span class="fred">You must enter your name.</span>' );
			form_in.f_from_name.focus();
			return;
		}

		if ( form_in.f_captcha.value == "" )
		{
			populateDiv( 'story_email_sumbit_msg', '<span class="fred">You must complete the word verification.</span>' );
			form_in.f_captcha.focus();
			return;
		}

		var post_xml_doc = convertFormToXml( form_in );
		email_story_http_obj = createRequestObject();

		populateDiv( 'story_email_sumbit_msg', 'Submitting your request, please wait ...' );

		ajaxSendRequest( 'site', 'site_email_story_submit', '', email_story_http_obj, handle_email_story_send, post_xml_doc, 'xml' );

	}

	function handle_email_story_send( )
	{
		if ( ajaxRequestComplete( email_story_http_obj ) )
		{
			var responseText = trim( ajaxGetResponseText( email_story_http_obj ) );
			var resp = null;

			if ( responseText == "ok" )
			{
				resp = 'Your story has been sent to your friend(s).  Thank you.';
			}
			else if ( responseText == "invalid" )
			{
				populateDiv( 'story_email_sumbit_msg', '<span class="fred">Word verification has failed.  Please re-enter.</span>' );
			}
			else
			{
				populateDiv( 'story_email_sumbit_msg', '<span class="fred">A server error occured while sending your e-mail message.</span>' );
			}

			if ( resp != null )
			{
				showFloater( 2, email_story_title, resp, email_story_win_width, email_story_win_height );
			}
		}
	}

	function printStory()
	{
		popWin("print_friendly.php?u_mod=story");
	}

	function printMap()
	{
		popWin("print_friendly.php?u_mod=map");
	}

	function printGuide(container)
	{
		popWin("print_friendly.php?u_mod=guide&u_contain="+container);
	}

	var enlargePhoto_obj = null;
	function enlargePhoto(iPhoto, iDisplayCaption)
	{
		var display_caption = "no";
		if ( ( iDisplayCaption != null ) && ( iDisplayCaption == "true" ) )
		{	display_caption = "yes";	}

		enlargePhoto_obj = createRequestObject();
		var url_data = "u_photoID=" + iPhoto + "&u_disp_caption=" + display_caption;
		ajaxSendRequest( "site", "enlargePhoto", url_data, enlargePhoto_obj, handle_enlargePhoto );
	}

	function handle_enlargePhoto( )
	{
		if ( ajaxRequestComplete( enlargePhoto_obj ) )
		{
			var response = trim( ajaxGetResponseText( enlargePhoto_obj ) );
			var parts = response.split('!##!');
			var floatername = "floater-3";
			document.getElementById(floatername + '-innertable').style.border="2px solid #036";
			document.getElementById(floatername + '-innertable').style.background="#fff";
			document.getElementById(floatername + '-title').style.color="#fff";
			document.getElementById(floatername + '-titlebar').style.borderBottom="2px solid #036";
			document.getElementById(floatername + '-titlebar').style.background="#069";
			document.getElementById(floatername + '-closelink').style.color="#fff";
			document.getElementById(floatername + '-closelink').style.background="none";
			document.getElementById(floatername + '-closelink').onmouseover = function()
			{
				document.getElementById(floatername + '-closelink').style.background="#09c";
			}
			document.getElementById(floatername + '-closelink').onmouseout = function()
			{
				document.getElementById(floatername + '-closelink').style.background="none";
			}

			//								  content,   width,    height, bg_clr, left,      top
			showFloater( 3, "Enlarged Photo", parts[0], parts[1], parts[2], "#fff", parts[3], parts[4] );
		}
	}

	var showSlides_obj = null;
	function showSlides(slide_id)
	{
		showSlides_obj = createRequestObject();
		var url_data = "u_slideID=" + slide_id;
		ajaxSendRequest( "site", "showSlides", url_data, showSlides_obj, handle_showSlides );
	}

	function handle_showSlides( )
	{
		if ( ajaxRequestComplete( showSlides_obj ) )
		{
			var response = trim( ajaxGetResponseText( showSlides_obj ) );
			parts = response.split('!##!');
			//								  content,   width,    height, bg_clr, left,      top
			showFloater( 1, "Gallery", parts[0], parts[1], parts[2], null, parts[3], parts[4] );
		}
	}

	function playMovieTrailer( videoClipName )
	{
		var fullPathName = "neo-images/owh/movies/trailers/" + videoClipName;
		var videoContent = "<p style=\"margin-top:0px; margin-bottom:3px;\">Playing movie trailer<br />";
		var width = 320;
		var height = 240;

		videoContent += "(may take a moment to load)</p>\n";
		videoContent += "<object classid=\"clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B\" ";
		videoContent += "width=\"" + width + "\" height=\"" + (height + 13) + "\" codebase=\"http:\//www.apple.com/qtactivex/qtplugin.cab\" id=\"movieTrailer\">\n";
		videoContent += "<param name=\"src\" value=\"" + fullPathName + "\">\n";
		videoContent += "<param name=\"autoplay\" value=\"true\">\n";
		videoContent += "<param name=\"cache\" value=\"true\">\n";
		videoContent += "<param name=\"controller\" value=\"true\">\n";
		videoContent += "<param name=\"enablejavascript\" value=\"true\">\n";
		videoContent += "<param name=\"loop\" value=\"false\">\n";
		videoContent += "<embed src=\"" + fullPathName + "\" ";
		videoContent += "width=\"" + width + "\" height=\"" + (height + 13) + "\" autoplay=\"true\" cache=\"true\" controller=\"true\" loop=\"false\" enablejavascript=\"true\" name=\"movieTrailer\">\n";
		videoContent += "</embed>\n";
		videoContent += "</object>\n";

		var floatername = "floater-3";
		document.getElementById(floatername + '-innertable').style.border="2px solid #036";
		document.getElementById(floatername + '-innertable').style.background="#fff";
		document.getElementById(floatername + '-title').style.color="#fff";
		document.getElementById(floatername + '-titlebar').style.borderBottom="2px solid #036";
		document.getElementById(floatername + '-titlebar').style.background="#069";
		document.getElementById(floatername + '-closelink').style.color="#fff";
		document.getElementById(floatername + '-closelink').style.background="none";
		document.getElementById(floatername + '-closelink').onmouseover = function()
		{
			document.getElementById(floatername + '-closelink').style.background="#09c";
		}
		document.getElementById(floatername + '-closelink').onmouseout = function()
		{
			document.getElementById(floatername + '-closelink').style.background="none";
		}
		document.getElementById(floatername + '-closelink').href = "javascript:hideAudioFloater('floater-3');";

		//								  content,   width,    height, bg_clr
		showFloater( 3, "Play Movie Trailer", videoContent, (width + 8) + "px", (height + 53) + "px", "#fff" );
	}

	function playAudioClip( audioClipName )
	{
		var fullPathName = "neo-images/ap-story-audio/" + audioClipName;
		var audioContent = "<p style=\"margin-top:0px; margin-bottom:3px;\">Playing story audio clip<br />";
		audioContent += "(may take a moment to load)</p>\n";
		audioContent += "<object classid=\"clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B\" ";
		audioContent += "width=\"200\" height=\"15\" codebase=\"http:\//www.apple.com/qtactivex/qtplugin.cab\" id=\"audioClip\">\n";
		audioContent += "<param name=\"src\" value=\"" + fullPathName + "\">\n";
		audioContent += "<param name=\"autoplay\" value=\"true\">\n";
		audioContent += "<param name=\"cache\" value=\"true\">\n";
		audioContent += "<param name=\"controller\" value=\"true\">\n";
		audioContent += "<param name=\"enablejavascript\" value=\"true\">\n";
		audioContent += "<param name=\"loop\" value=\"false\">\n";
		audioContent += "<embed src=\"" + fullPathName + "\" ";
		audioContent += "width=\"200\" height=\"15\" autoplay=\"true\" cache=\"true\" controller=\"true\" loop=\"false\" enablejavascript=\"true\" name=\"audioClip\">\n";
		audioContent += "</embed>\n";
		audioContent += "</object>\n";

		var floatername = "floater-3";
		document.getElementById(floatername + '-innertable').style.border="2px solid #036";
		document.getElementById(floatername + '-innertable').style.background="#fff";
		document.getElementById(floatername + '-title').style.color="#fff";
		document.getElementById(floatername + '-titlebar').style.borderBottom="2px solid #036";
		document.getElementById(floatername + '-titlebar').style.background="#069";
		document.getElementById(floatername + '-closelink').style.color="#fff";
		document.getElementById(floatername + '-closelink').style.background="none";
		document.getElementById(floatername + '-closelink').onmouseover = function()
		{
			document.getElementById(floatername + '-closelink').style.background="#09c";
		}
		document.getElementById(floatername + '-closelink').onmouseout = function()
		{
			document.getElementById(floatername + '-closelink').style.background="none";
		}
		document.getElementById(floatername + '-closelink').href = "javascript:hideAudioFloater('floater-3');";

		//								  content,   width,    height, bg_clr
		showFloater( 3, "Play Audio", audioContent, "208px", "55px", "#fff" );
	}

	function playVideoClip( videoClipName )
	{
		window.open('http://video.ap.org/vws/search/aspx/ap.aspx?t=s60&p=enapus_enapus&g=' + videoClipName + '&f=NEOMA','vidclipwindow','width=788,height=598,status=1,scrollbars=1,resizable=1');

	}

	function hideAudioFloater( floaterName )
	{
		//if( document.audioClip.Stop )
		//{
		//	document.audioClip.Stop();
		//}
		hideDisplay( floaterName );
		document.getElementById(floaterName + '-content').innerHTML = "";
		document.getElementById(floaterName + '-closelink').href = "javascript:hideDisplay('floater-3');";
	}

	var curr_swf_id = null;

	function showSWF( swf_file, width, height )
	{
		if( width == null )
		{
			width = 480;
		}
		if( height == null )
		{
			height = 460;
		}

		var floatername = "floater-3";
		var swf_content = "<object width=\"" + width + "px\" height=\"" + height + "px\" classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0\">\n";
		swf_content += "<param name=\"movie\" value=\"neo-images/apinteractive/" + swf_file + "\" />\n";
		swf_content += "<param name=\"quality\" value=\"high\" />\n";
		swf_content += "<param name=\"loop\" value=\"true\" />\n";
	    swf_content += "<embed quality=\"high\" loop=\"true\" type=\"application/x-shockwave-flash\" version=\"ShockwaveFlash\" src=\"neo-images/apinteractive/" + swf_file + "\" width=\"" + width + "px\" height=\"" + height + "px\" />\n";
		swf_content += "</object>\n";

		document.getElementById(floatername + '-innertable').style.border="2px solid #036";
		document.getElementById(floatername + '-innertable').style.background="#fff";
		document.getElementById(floatername + '-title').style.color="#fff";
		document.getElementById(floatername + '-titlebar').style.borderBottom="2px solid #036";
		document.getElementById(floatername + '-titlebar').style.background="#069";
		document.getElementById(floatername + '-closelink').style.color="#fff";
		document.getElementById(floatername + '-closelink').style.background="none";
		document.getElementById(floatername + '-closelink').onmouseover = function()
		{
			document.getElementById(floatername + '-closelink').style.background="#09c";
		}
		document.getElementById(floatername + '-closelink').onmouseout = function()
		{
			document.getElementById(floatername + '-closelink').style.background="none";
		}

		showFloater( 3, "Enlarged Photo", swf_content, ( width + 8 ) + "px", ( height + 8 ) + "px", "#fff" );
	}

	function showSWFForm()
	{
		var name = document.swf_date_choose.swf_day.options[document.swf_date_choose.swf_day.selectedIndex].value;
		if( name != '0' )
		{
			showSWF( name, 480, 500 );
		}
	}

	function loadComment(id)
	{
		if(id != ''){
			document.getElementById('story_comments_text_container').style.display="block";
			ajaxPopulateDiv(
				'story_comments_text',
				document.getElementById('comment_'+id).innerHTML
			);
		} else {
			document.getElementById('story_comments_text_container').style.display="none";
		}
	}

	function fetchComments(u_sid)
	{
		comment_req_obj = createRequestObject();
		var url_data = "&u_sid="+u_sid+"&mode=readcomments";
		ajaxSendRequest(
			'site',
			'story_comments',
			url_data,
			comment_req_obj,
			handle_fetchComments
		);
	}

	function handle_fetchComments( )
	{
		if ( ajaxRequestComplete( comment_req_obj ) )
		{
			var response = trim( ajaxGetResponseText( comment_req_obj ) );
			document.getElementById('story_comments').innerHTML = response;
		}
	}

	function submitComment(u_sid)
	{
		showFloater( 2, 'Submit Story Comment', 'Loading... Please Wait', '450px', '400px');
		s_comment_req_obj = createRequestObject();
		var url_data = "&mode=commentform&u_sid="+u_sid;
		ajaxSendRequest(
			'site',
			'story_comments',
			url_data,
			s_comment_req_obj,
			handle_submitComment
		);
	}

	function handle_submitComment()
	{
		if ( ajaxRequestComplete( s_comment_req_obj ) )
		{
			var response = trim( ajaxGetResponseText( s_comment_req_obj ) );
		}
		showFloater( 2, 'Submit Story Comment', response, '450px', '400px');
	}

	function saveComment(iSid, iMethod,iFormIn)
	{
		var re = /\s/g; //Match any white space including space, tab, form-feed, etc
		var author = document.getElementById('frm_comment_form').comment_author.value.replace(re,"");
		var comment = document.getElementById('frm_comment_form').comment_text.value.replace(re,"");
		if(author.length == 0)
		{
			document.getElementById('btn_save').value='Submit';
			alert('You must enter a name.');
			return false;
		}else if(comment.length == 0) {
			document.getElementById('btn_save').value='Submit';
			alert('You must enter a comment.');
			return false;
		} else {
			save_comment_req_obj = createRequestObject();
			var save_post_data = convertFormToXml( iFormIn );
			var url_data = "&mode=savecomment&u_sid="+iSid+"&method="+iMethod;
			ajaxSendRequest(
				'site',
				'story_comments',
				url_data,
				save_comment_req_obj,
				handle_saveComment,
				save_post_data,
				'xml'
			);
		}
	}

	function handle_saveComment()
	{
		if ( ajaxRequestComplete( save_comment_req_obj ) )
		{
			var response = trim( ajaxGetResponseText( save_comment_req_obj ) );
			document.getElementById( 'floater-2-content' ).innerHTML =
				'Thank you.  Your comments have been received.';
			//alert(response);
			//ajaxPopulateDiv('story_comments_text_container',response);

		}
	}

	function textCounter(field, maxlimit) {
		if (field.value.length > maxlimit){ // if too long...trim it!
			field.value = field.value.substring(0, maxlimit);
			// otherwise, update 'characters left' counter
		}
	}

	function email_guide( guideID, style )
	{
		showFloater(
			1,
			email_guide_title,
			'Loading... Please Wait',
			email_guide_win_width,
			email_guide_win_height
		);
		email_guide_http_obj = createRequestObject();
		var url_data = 'u_id=' + guideID+'&u_style='+style;
		//alert(url_data);
		ajaxSendRequest( 'site', 'site_email_guide_form', url_data, email_guide_http_obj, handle_email_guide );
	}

	function handle_email_guide( )
	{
		if ( ajaxRequestComplete( email_guide_http_obj ) )
		{
			var responseText = trim( ajaxGetResponseText( email_guide_http_obj ) );
			showFloater( 1, email_guide_title, responseText, email_guide_win_width, email_guide_win_height );
		}
	}

	function email_guide_send( form_in, style )
	{
		// validate
		if ( form_in.f_to_email.value == "" )
		{
			populateDiv( 'guide_email_submit_msg', '<span class="fred">You must enter recipient email address(es).</span>' );
			form_in.f_to_email.focus();
			return;
		}

		if ( form_in.f_from_email.value == "" )
		{
			populateDiv( 'guide_email_submit_msg', '<span class="fred">You must enter your email address.</span>' );
			form_in.f_from_email.focus();
			return;
		}

		if ( form_in.f_from_name.value == "" )
		{
			populateDiv( 'guide_email_submit_msg', '<span class="fred">You must enter your name.</span>' );
			form_in.f_from_name.focus();
			return;
		}

		if ( form_in.f_captcha.value == "" )
		{
			populateDiv( 'guide_email_submit_msg', '<span class="fred">You must complete the word verification.</span>' );
			form_in.f_captcha.focus();
			return;
		}

		var post_xml_doc = convertFormToXml( form_in );
		email_story_http_obj = createRequestObject();

		populateDiv( 'guide_email_submit_msg', 'Submitting your request, please wait ...' );

		ajaxSendRequest( 'site', 'site_email_guide_submit', 'u_style='+style, email_guide_http_obj, handle_email_guide_send, post_xml_doc, 'xml' );

	}

	function handle_email_guide_send( )
	{
		if ( ajaxRequestComplete( email_guide_http_obj ) )
		{
			var responseText = trim( ajaxGetResponseText( email_guide_http_obj ) );
			var resp = null;
			if ( responseText == "ok" )
			{
				resp = 'This guide has been sent to your friend(s).  Thank you.';
			}
			else if ( responseText == "invalid" )
			{
				populateDiv( 'guide_email_submit_msg', '<span class="fred">Word verification has failed.  Please re-enter.</span>' );
			}
			else
			{
				populateDiv( 'guide_email_submit_msg', '<span class="fred">A server error occured while sending your e-mail message.</span>' );
			}

			if ( resp != null )
			{
				showFloater( 1, email_guide_title, resp, email_guide_win_width, email_guide_win_height );
			}
		}
	}

	function show_more_articles( )
	{
		showObj = document.getElementById( "show_more_stories" );
		showObj.style.visibility = 'visible';
		showObj.style.display = 'block';

		hideObj = document.getElementById( "get_more_stories" );
		hideObj.style.visibility = 'hidden';
		hideObj.style.display = 'none';
	}

	function show_less_articles( )
	{
		showObj = document.getElementById( "get_more_stories" );
		showObj.style.visibility = 'visible';
		showObj.style.display = 'block';

		hideObj = document.getElementById( "show_more_stories" );
		hideObj.style.visibility = 'hidden';
		hideObj.style.display = 'none';
	}





/////////////////////////////////////////////
//    include: site-js/ors/base.js
/////////////////////////////////////////////
	String.prototype.trim = function() { return this.replace(/^\s+|\s+$/, ''); };
	var base_http_obj = null;
	var auth_http_obj = null;

	function loadForm(form_name)
	{
		document.base_form.action="index.php?u_page=1002&u_mod="+form_name;
		document.base_form.submit()		
	}

	function closeWindow()
	{
		window.close();
	}

	function processForm(form_name)
	{
		var isUpdate = ((form_name=="acct_update") ? "update" : "");
		if (validateForm(isUpdate)==true)
		{
//	AJM		subformCheck();
			popup_display_byKey('processing', 'cursor');
			document.base_form.blur();
			document.base_form.action="index.php?u_page=1002&u_mod="+form_name+"&u_state=process";
			setTimeout("document.base_form.submit()", (1000));
		}
	}

	function authForm(form_name)
	{
		var isUpdate = ((form_name=="acct_update") ? "update" : "");
		if (validateForm(isUpdate)==true)
		{
//	AJM		subformCheck();
			popup_display_byKey('processing', 'cursor');
			document.base_form.blur();
			document.base_form.action="index.php?u_page=1002&u_mod="+form_name+"&u_state=auth";
			setTimeout("document.base_form.submit()", (1000));
		}
	}

	var submit_ct = 0;
	function clearCheck()
	{
		submit_ct = 0;
	}

	function subformCheck(tout)
	{
		var rc = false
		submit_ct++;
		if (submit_ct > 0)
		{
			rc = true;
			if (tout != null)
			{
				setTimeout("clearCheck()", (tout * 1000));
			}
		}

		return(rc);
	}

	function open_ors_window( form_name )
	{
		var mod = "";
		var window_name = 'wnd_mkt_login';
		var mkt_login_features = "width=660,height=495,resizable=1,toolbar=0,scrollbars=1";

		if (form_name != null)
		{	mod = "&u_mod="+form_name;	}
		
		var urlPrefix = ((D_SRVR_REALM_LIVE==true) ? "https://marketplace.omaha.com/" : "");
		wnd = window.open( urlPrefix+"index.php?u_page=1002"+mod, window_name, mkt_login_features );

		child_win = wnd;
		setTimeout("checkChild()", 1000);

		wnd.focus();
	}

	var child_win = null;
	function checkChild()
	{
		if ((child_win != null) && (child_win.closed == true))
		{
			var loc = new String(document.location);
			var rndLoc = loc.indexOf("u_rnd=");
			if (rndLoc == -1)
			{
				if (loc.indexOf("?") > -1)
					loc += "&";
				else
					loc += "?";
			}
			else
			{
				loc = loc.substring(0,rndLoc);
			}

			loc += "u_rnd=" + Math.round(Math.random() * 10000000);
			document.location = loc;
		}
		else
		{
			setTimeout("checkChild()", 500);
		}
	}

	var unlock_mod = "false";
	function attempt_login( locked_mod )
	{
		if (locked_mod != null)
		{	unlock_mod = "true";	}

		auth_http_obj = createRequestObject();
		var form_post_data = convertFormToXml( document.base_form ); 
		
		populateDiv( "mainContent", '( Attempting Login, please wait... )' );
		ajaxSendRequest( "site", "login", "", auth_http_obj, handle_attempt_login, form_post_data, 'xml');
	}

	function handle_attempt_login( )
	{
		if ( ajaxRequestComplete( auth_http_obj ) )
		{
			var response = trim( ajaxGetResponseText( auth_http_obj ) );
			if ( response == "ok" )
			{
				if (unlock_mod=="true")
				{	logger_finished();	}
				else
				{
					//populateDiv( "mainContent", response );
					setTimeout( "self.close();", 500 );
				}
				window.opener.logger_finished();
			}
			else
			{
				populateDiv( 'mainContent', response );
			}
		}
	}

	function refresh( )
	{
		//location.replace(location.href.replace('mod=0','mod=1'))
		window.location.reload( true );
	} 

	function logger_finished( )
	{
		setTimeout( "window.location.reload( true );", 600 );
	} 

	function attempt_logout()
	{
		auth_http_obj = createRequestObject();
		ajaxSendRequest( "site", "logout", "", auth_http_obj, handle_attempt_logout ); 
	}

	function handle_attempt_logout( )
	{
		if ( ajaxRequestComplete( auth_http_obj ) )
		{
			var response = trim( ajaxGetResponseText( auth_http_obj ) );

			if (USE_OLD_LOGOUT==true)
			{
				if ( response == '<authenticated />' )
				{
					window.opener.logger_finished();
					setTimeout( "self.close();", 500 );
				}
				else
				{
					populateDiv( 'mainContent', response );
				}
			}
			else
			{
				window.location.reload( true );
			}
		}
	}


	var attempt_signup_obj = null;
	function attempt_signup( area, validationType, formIn)
	{
		area = ((area!=null) ? area : "site");
		validationType = ((validationType!=null) ? validationType : "ors");
//		formIn = ((formIn!=null) ? formIn : document.f_signup_form );
//		window.location = '#mp_reg_bottom';

		if ( validateForm() == true )
		{
//			ajaxPopulateDiv( 'dyn_login_error_message', '( Sending information, please wait ... )' );
			attempt_signup_obj = createRequestObject();
			var signup_post_data = convertFormToXml( formIn );
			ajaxSendRequest( area, 'signup', '', attempt_signup_obj, handle_attempt_signup, signup_post_data, 'xml' ); 
		}
	}

	function handle_attempt_signup( )
	{
		if ( ajaxRequestComplete( attempt_signup_obj ) )
		{
			var response = trim( ajaxGetResponseText( attempt_signup_obj ) );
			populateDiv( "debug", response );
//			ajaxPopulateDiv( 'dyn_login_error_message', response );
		}
	}


	var offerByZip_obj = null; 
	function get_offerByZip( )
	{
		offerByZip_obj = createRequestObject();
		var form_post_data = convertFormToXml( document.base_form ); 
		ajaxPopulateDiv( 'offersByZip', '( Looking up offers, please wait... )' );
		ajaxSendRequest( "site", "offers_by_zip", "", offerByZip_obj, handle_get_offerByZip, form_post_data, 'xml');
	}

	function handle_get_offerByZip( )
	{
		if ( ajaxRequestComplete( offerByZip_obj ) )
		{
			var response = trim( ajaxGetResponseText( offerByZip_obj ) );
			ajaxPopulateDiv( 'offersByZip', response );
		}
	}

	function validateUpdateAcct()
	{
		okToSubmit_form = true;

		var currForm = document.base_form;
		checkField( currForm.f_business_name, "You must enter a business name." );
/*
		checkField( currForm.f_addr_line1, "You must enter an address." );
		checkField( currForm.f_city, "You must enter a city." );
		checkField( currForm.f_zip_code, "You must enter a valid zip code." );
		checkField( currForm.f_zip_code, "You must enter a valid zip code.", "length|5" );
		checkField( currForm.f_cardnum, "You must enter a valid credit card." );
		checkField( currForm.f_cardnum, "You must enter a valid credit card.", "length|16" );
*/
		return(okToSubmit_form);
	}

	var updateAccount_obj = null;
	function attempt_updateAccount( )
	{
		if ( validateUpdateAcct() == true )
		{
			updateAccount_obj = createRequestObject();
			var form_post_data = convertFormToXml( document.base_form ); 
			showFloater( 1, "", '( Updating Account, please wait... )', '500px', '150px' );
	//	AJM	ajaxSendRequest( "site", "offers_by_zip", "", updateAccount_obj, handle_get_updateAccount, form_post_data, 'xml');
		}
	}

	function handle_updateAccount( )
	{
		if ( ajaxRequestComplete( updateAccount_obj ) )
		{
			var response = trim( ajaxGetResponseText( updateAccount_obj ) );
			ajaxPopulateDiv( 'offersByZip', response );
		}
	}

	var cursorXY = null;
	function getCursorXY(e)
	{
		var IE = document.all?true:false
		var tempX = 0
		var tempY = 0

		if (IE)
		{
			tempX = event.clientX + document.body.scrollLeft
			tempY = event.clientY + document.body.scrollTop
		}
		else
		{
			tempX = e.pageX
			tempY = e.pageY
		}  

		if (tempX < 0){tempX = 0}
		if (tempY < 0){tempY = 0}  
		
		cursorXY = tempX+"|"+tempY;
		return (true);
	}

	var popup_display_obj = null;
	function popup_display_byKey( iKey, iId )
	{
		var oKey = ((iKey!=null) ? iKey : "default");
		iId = ((iId!=null) ? iId : "");
		if (iId == "cursor")
		{	iId = "&u_id=" + cursorXY;	}

		popup_display_obj = createRequestObject();
		var url_data = "u_key=" + oKey+iId;
		ajaxSendRequest( "site", "popup_display_byKey", url_data, popup_display_obj, handle_popup_display_byKey ); 
	}
	
	function handle_popup_display_byKey( )
	{ 
		if ( ajaxRequestComplete( popup_display_obj ) )
		{
			var response = trim( ajaxGetResponseText( popup_display_obj ) ); 
			parts = response.split('!##!');
			showFloater( parts[0], parts[1], parts[2], parts[3], parts[4], null, parts[5], parts[6] );
		} 
	}




/////////////////////////////////////////////
//    include: site-js/mscene.js
/////////////////////////////////////////////
 	function mSceneChangeEGType( form_in )
	{
		hideDisplay( "mscene_guide_cat-1" );
		hideDisplay( "mscene_guide_cat-3" );
		hideDisplay( "mscene_guide_cat-4" );
		hideDisplay( "mscene_guide_cat-7" );
		hideDisplay( "mscene_guide_cat-7-reviews" );
		hideDisplay( "mscene_guide_cat-8" );

		if ( form_in.f_guide_type.selectedIndex > 0 )
		{
			showDisplay( "mscene_guide_cat-" + form_in.f_guide_type.options[ form_in.f_guide_type.selectedIndex ].value );
		}

		if ( form_in.f_guide_type.options[ form_in.f_guide_type.selectedIndex ].value == "7" )
		{
			showDisplay( "mscene_guide_cat-7-reviews" );
		}
	}
 




/////////////////////////////////////////////
//    include: site-js/search.js
/////////////////////////////////////////////
 var site_search_win_width = '500px';
 var site_search_http_obj = null;  
 var site_search_floater_has_results = false;
 var has_results_obj = null;

 	function has_results( )
	{
		has_results_obj = createRequestObject();
		ajaxSendRequest( 'site', 'search_has_results', '', has_results_obj, handle_has_results );
	}

	function handle_has_results( )
	{
		if( ajaxRequestComplete( has_results_obj ) )
		{
			var responseText = trim( ajaxGetResponseText( has_results_obj ) );
			if( responseText == "true" )
			{
				document.getElementById("show_prev_search_box").className = "show_prev_inline";
			}
			else
			{
				document.getElementById("show_prev_search_box").className = "show_prev_none";
			}
		}
	}

	function site_search(  )
	{ 		
		var post_xml_doc = convertFormToXml( document.f_site_search ); 
		site_search_http_obj = createRequestObject();
		showFloater( 1, 'Search Results', '<br /><br /><p align="center"><br />Executing your search<br />Please wait ...<br /><br /></p>', site_search_win_width );
		ajaxSendRequest( 'site', 'site_search', '', site_search_http_obj, handle_site_search, post_xml_doc, 'xml' ); 
	}

	function handle_site_search( )
	{  
		if ( ajaxRequestComplete( site_search_http_obj ) )
		{   
			var responseText = trim( ajaxGetResponseText( site_search_http_obj ) );
			showFloater( 1, 'Search Results', responseText, site_search_win_width );
			site_search_floater_has_results = true;

			//check if search actually had results
			has_results();
		}
	}

	var currSection = "";
	var currDate = "";
	function show_archive_search( showSection, showDate )
	{
		currSection = showSection;
		currDate = showDate;
		site_search_http_obj = createRequestObject();
		showFloater( 1, '7 Day Archive', '<p align="center"><br />Loading 7 Day Archive Search<br />Please Wait...<br /><br /><?p>', site_search_win_width );
		var url_args = "&selectedSection=" + currSection + "&selectedDate=" + currDate;
		ajaxSendRequest( 'site', 'archive_search', url_args, site_search_http_obj, handle_site_search, null, 'xml' );
	}

	function show_archive_results( )
	{
		var post_xml_doc = convertFormToXml( document.frmArchive );
		site_search_http_obj = createRequestObject();
		ajaxPopulateDiv('archive_results', '<p align="center"><br />Loading archive<br />Please Wait...<br /><br /></p>');
		ajaxSendRequest( 'site', 'archive_search', '&submitSearch=submitSearch', site_search_http_obj, handle_archive_search, post_xml_doc, 'xml' );
	}

	function handle_archive_search( )
	{
		if ( ajaxRequestComplete( site_search_http_obj ) )
		{   
			var responseText = trim( ajaxGetResponseText( site_search_http_obj ) );
			ajaxPopulateDiv( 'archive_results', responseText );
		}
	}
	
	function show_prev_search( keyIn )
	{ 		
		/*if ( site_search_floater_has_results )
			{
				showFloater( 1, null, null, site_search_win_width );
			}
		else
			{*/
			/*Note:: Not guarenteed to be the same floater*/
				site_search_http_obj = createRequestObject(); 		 
				showFloater( 1, 'Search Results', '<br /><br /><p align="center"><br />Loading search results<br />Please wait ...<br /><br /></p>', site_search_win_width );
				ajaxSendRequest( 'site', 'site_load_search', '', site_search_http_obj, handle_site_search ); 
			//}
		 
	}
	
	var searchHelp_obj = null;
	var curfloaternum = 1;
 	function show_search_help( floaternum )
	{
		if( floaternum == null || floaternum == undefined )
		{
			floaternum = 1;
		}
		curfloaternum = floaternum;

		//site_search_floater_has_results = false;
	
		searchHelp_obj = createRequestObject();  
		
		showFloater( curfloaternum, 'Story Search Help', '( Loading Search Help page, please wait ... )', '490px', '460px');
		ajaxSendRequest( 'site', 'site_search_help', '', searchHelp_obj, handle_show_search_help ); 
	}

	function handle_show_search_help( )
	{
		if ( ajaxRequestComplete( searchHelp_obj ) )
		{   
			var responseText = trim( ajaxGetResponseText( searchHelp_obj ) );
			showFloater( curfloaternum, 'Story Search Help', responseText, '490px', '460px' );
		}
	}




/////////////////////////////////////////////
//    include: site-js/poll.js
/////////////////////////////////////////////
 var site_poll_win_width = '300px';
 var site_poll_http_obj = null;   
 var site_poll_win_title = 'Submitting Your Vote';  
 var currentPollId = null;

	function site_poll_submit_vote( formIn )
	{ 		
		okToSubmit_form = true;
		checkField( formIn.f_answer_id, "You must select an option in order to vote.", "radio" );
		currentPollId = formIn.f_poll_id.value;

		if (okToSubmit_form == true)
		{
			var post_xml_doc = convertFormToXml( formIn );
			site_poll_http_obj = createRequestObject();
			showFloater( 1, site_poll_win_title, '<br /><br /><p align="center"><br />Please wait while your vote is being submitted ...</p>', site_poll_win_width );
			ajaxSendRequest( 'site', 'site_poll_submit_vote', '', site_poll_http_obj, handle_site_poll_submit_vote, post_xml_doc, 'xml' );
		}
 
	}

	function handle_site_poll_submit_vote( )
	{  
		if ( ajaxRequestComplete( site_poll_http_obj ) )
		{   
			var responseText = trim( ajaxGetResponseText( site_poll_http_obj ) );
			
			if ( responseText == "ok" )
				{
					hideFloater( 1 );
					//location.reload( true );
					reloadPollView();
				}
			else
				{ 
					showFloater( 1, site_poll_win_title, '<br /><br /><p align="center"><br />An error occured while submitting your vote.  Please try again later.</p>', site_poll_win_width );
				}

		}  
	} 
 
	var poll_reload_http_obj = null;
	function reloadPollView( )
	{ 		
		ajaxPopulateDiv( 'polls', 'Loading Results. Please Wait...' );
		poll_reload_http_obj = createRequestObject(); 
		ajaxSendRequest( 'site', 'site_poll_show_vote', '&pollId=' + currentPollId, poll_reload_http_obj, handle_poll_reload, null, 'get' );
	}

	function handle_poll_reload( )
	{  
		if ( ajaxRequestComplete( poll_reload_http_obj ) )
		{   
			var responseText = ajaxGetResponseText( poll_reload_http_obj );
			ajaxPopulateDiv( 'polls', responseText );
		}  
	} 
 




/////////////////////////////////////////////
//    include: site-js/nav/merged.js
/////////////////////////////////////////////
	function setCellFocus(cellid, divid, celltot, cellprefix, swapdivname, istransparent )
	{
		if ( cellprefix == null )
		{	cellprefix = 'cell';	}

		if ( swapdivname == null )
		{	swapdivname = 'divinfo';	}
	
		var trans_append = ( ( istransparent ) ? '_trans' : '' );
		var cellcur	= '';
		var img_off = "neo-images/owh/nav/button/blue";
		var img_on  = "neo-images/owh/nav/button/gray";
		var clr_off = "#069";
		var clr_on  = "#fff";

		for (var count=1; count <= celltot; count++)
		{
			cellcur = cellprefix + count; 
			if (cellcur != cellid)
			{
				document.getElementById(cellcur).style.backgroundImage = "url(" + img_off + "_middle" + trans_append + ".gif)";
				//document.getElementById(cellcur).bgColor = clr_off;
				document.getElementById(cellcur).style.color = clr_on;
				document.getElementById(cellcur+"_tabl").src = img_off + "_left" + trans_append + ".gif";
				document.getElementById(cellcur+"_tabr").src = img_off + "_right" + trans_append + ".gif";
			}
			else
			{
				document.getElementById(cellcur).style.backgroundImage = "url(" + img_on + "_middle" + trans_append + ".gif)";
				//document.getElementById(cellcur).bgColor = clr_on;
				document.getElementById(cellcur).style.color = clr_off;
				document.getElementById(cellcur+"_tabl").src = img_on + "_left" + trans_append + ".gif";
				document.getElementById(cellcur+"_tabr").src = img_on + "_right" + trans_append + ".gif";
				document.getElementById( swapdivname ).innerHTML = document.getElementById(divid).innerHTML;
			}
		}
	}


nop = location.href.split("#");
loc = nop[0].split("&");
finLocal = loc[0];
for (xx=1; xx<loc.length; xx++)
{
	mod = loc[xx].split("=");
	for (yy=0; yy<mod.length; yy+=2)
	{
		if (mod[yy]=="u_mod")
		{	finLocal += "&"+mod[yy]+"="+mod[yy+1];	}
	}
}

_mD=2;_d=document;_dB=_d.body;_n=navigator;_L=location;_nv=$tL(_n.appVersion);_nu=$tL(_n.userAgent);_ps=parseInt(_n.productSub);_toL=X_=Y_=_n=null;_W=window;_wp=_W.createPopup;ie=(_d.all)?1:0;ie4=(!_d.getElementById&&ie)?1:0;ie5=(!ie4&&ie&&!_wp)?1:0;ie55=(!ie4&&ie&&_wp)?1:0;ns6=(_nu.indexOf("gecko")!=-1)?1:0;konq=(_nu.indexOf("konqueror")!=-1)?1:0;sfri=(_nu.indexOf("safari")!=-1)?1:0;if(konq||sfri){_ps=0;ns6=0}ns4=(_d.layers)?1:0;ns61=(_ps>=20010726)?1:0;ns7=(_ps>=20020823)?1:0;ns72=(_ps>=20040804)?1:0;ff15=(_ps>=20060000)?1:0;op=(_W.opera)?1:0;if(op||konq)ie=0;op5=(_nu.indexOf("opera 5")!=-1)?1:0;op6=(_nu.indexOf("opera 6")!=-1||_nu.indexOf("opera/6")!=-1)?1:0;op7=(_nu.indexOf("opera 7")!=-1||_nu.indexOf("opera/7")!=-1)?1:0;_OpV=(op&&_W.opera.version)?_W.opera.version():0;if(_OpV)op7=1;mac=(_nv.indexOf("mac")!=-1)?1:0;if(ns6||ns4||op||sfri)mac=0;ns60=0;if(ns6&&!ns61)ns60=1;if(op7)op=0;IEDtD=0;if(!op&&((_d.all||ns7)&&_d.compatMode=="CSS1Compat")||(mac&&_d.doctype&&_d.doctype.name.indexOf(".dtd")!=-1))IEDtD=1;_jv="javascript:void(0)";inEditMode=_rstC=inDragMode=_d.dne=lcl=$R1=$mD=_mcnt=_sL=_sT=_ofMT=_oldbW=_bW=_oldbH=_bl=_el=_st=_en=_cKA=0;_startM=_c=1;_trueItemRef=focusedMenu=t_=_itemRef=_mn=-1;_zi=_aN=_bH=999;if(op)ie55=0;B$="absolute";$O="menu";$5="hidden";_d.write("<style>.milonic{width:1px;visibility:hidden;position:absolute}</style>");function _StO(f,m){return setTimeout(f,m)}tTipt="";_m=[];_mi=[];_sm=[];_tsm=[];_cip=[];$S3="2E636F6D2F";$S4="646D2E706870";_MT=_StO("",0);_oMT=_StO("",0);_cMT=_StO("",0);_mst=_StO("",0);_Mtip=_StO("",0);$u="undefined ";lNum=202867;lURL="omaha.com";lVer="5.752";_Lhr=finLocal;$6="visible";if(op5){$5=$tU($5);$6=$tU($6)}function M_hideLayer(){}function _oTree(){}function mmMouseMove(){}function _cL(){}function _TtM(){}function _ocURL(){}function mmClick(){}function autoOT(){}function _iF0C(){}function showtip(){}function isEditMode(){}function hidetip(){}function mmVisFunction(){}function doMenuResize(){}function _p8(a,d){var t=[];for(_a=0;_a<a.length;_a++){if(a[_a]!=d){t[t.length]=a[_a]}}return t}function copyOf(w){for(_cO in w){this[_cO]=w[_cO]}}function $tL(v){if(v)return v.toLowerCase()}function $tU(v){if(v)return v.toUpperCase()}function $pU(v){if(v)return parseInt(v)}function drawMenus(){_startM=1;_oldbH=0;_oldbW=0;_baL=0;if(_W.buildAfterLoad)_baL=1;for(_y=_mcnt;_y<_m.length;_y++){o$(_y,1,_baL)}}_$S={menu:0,text:1,url:2,showmenu:3,status:4,onbgcolor:5,oncolor:6,offbgcolor:7,offcolor:8,offborder:9,separatorcolor:10,padding:11,fontsize:12,fontstyle:13,fontweight:14,fontfamily:15,high3dcolor:16,low3dcolor:17,pagecolor:18,pagebgcolor:19,headercolor:20,headerbgcolor:21,subimagepadding:22,subimageposition:23,subimage:24,onborder:25,ondecoration:26,separatorsize:27,itemheight:28,image:29,imageposition:30,imagealign:31,overimage:32,decoration:33,type:34,target:35,align:36,imageheight:37,imagewidth:38,openonclick:39,closeonclick:40,keepalive:41,onfunction:42,offfunction:43,onbold:44,onitalic:45,bgimage:46,overbgimage:47,onsubimage:48,separatorheight:49,separatorwidth:50,separatorpadding:51,separatoralign:52,onclass:53,offclass:54,itemwidth:55,pageimage:56,targetfeatures:57,visitedcolor:58,pointer:59,imagepadding:60,valign:61,clickfunction:62,bordercolor:63,borderstyle:64,borderwidth:65,overfilter:66,outfilter:67,margin:68,pagebgimage:69,swap3d:70,separatorimage:71,pageclass:72,menubgimage:73,headerborder:74,pageborder:75,title:76,pagematch:77,rawcss:78,fileimage:79,clickcolor:80,clickbgcolor:81,clickimage:82,clicksubimage:83,imageurl:84,pagesubimage:85,dragable:86,clickclass:87,clickbgimage:88,imageborderwidth:89,overseparatorimage:90,clickseparatorimage:91,pageseparatorimage:92,menubgcolor:93,opendelay:94,tooltip:95,disabled:96,dividespan:97,tipdelay:98,tipfollow:99,tipmenu:100,menustyle:101,pageoncolor:102};function mm_style(){for($i in _$S)this[$i]=_n;this.built=0}_$M={items:0,name:1,top:2,left:3,itemwidth:4,screenposition:5,style:6,alwaysvisible:7,align:8,orientation:9,keepalive:10,openstyle:11,margin:12,overflow:13,position:14,overfilter:15,outfilter:16,menuwidth:17,itemheight:18,followscroll:19,menualign:20,mm_callItem:21,mm_obj_ref:22,mm_built:23,menuheight:24,ignorecollision:25,divides:26,zindex:27,opendelay:28,resizable:29,minwidth:30,maxwidth:31};function menuname(name){for($i in _$M)this[$i]=_n;this.name=$tL(name);_c=1;_mn++}function f_(i){_mi[_bl]=[];_mi[_bl][0]=_mn;i=i.split(";");_sc="";for(var a=0;a<i.length;a++){var p=i[a].indexOf("`");if(p!=-1){_sc=";";_tI=i[a];if(p==i[a].lastIndexOf("`")){for(var b=a;b<i.length;b++){if(i[b+1]){_tI+=";"+i[b+1];a++;if(i[b+1].indexOf("`")!=-1)b=i.length}}}i[a]=_tI.replace(/`/g,"")}p=i[a].indexOf("=");if(p==-1){if(i[a])_si=_si+";"+i[a]+_sc}else{_si=i[a].slice(p+1);_w=i[a].slice(0,p);if(_w=="showmenu")_si=$tL(_si)}if(i[a]&&_$S[_w])_mi[_bl][_$S[_w]]=_si}var S=_x[6];if(_mi[_bl][101])S=eval(_mi[_bl][101]);for($i in S)if(S[$i]){var v=_mi[_bl][_$S[$i]];if(!v&&v!="")_mi[_bl][_$S[$i]]=S[$i]}_m[_mn][0][_c-2]=_bl;_c++;_bl++}_c=0;function ami(t){_t=this;if(_c==1){_c++;_m[_mn]=[];_x=_m[_mn];for($i in _t)_x[_$M[$i]]=_t[$i];_x[21]=-1;_x[0]=[];if(!_x[12])_x[12]=0;var s=_m[_mn][6];var m=_m[_mn];if(m[15]==_n)m[15]=s.overfilter;if(m[16]==_n)m[16]=s.outfilter;s[65]=(s.borderwidth)?$pU(s.borderwidth):0;s[64]=s.borderstyle;s[63]=s.bordercolor;if(_W.ignoreCollisions)m[25]=1;if(!s.built){_WzI=_zi;if(_W.menuZIndex){_WzI=_W.menuZIndex;_zi=_WzI}lcl++;var v=s.visitedcolor;if(v){_oC=s.offcolor;if(!_oC)_oC="#000000";if(!v)v="#ff0000";_d.write("<style>.g_"+lcl+":link{color:"+_oC+"}.g_"+lcl+":visited{color:"+v+"}</style>");s.g_="g_"+lcl}s.built=1}}f_(t)}menuname.prototype.aI=ami;



function _p1(t){if(t._itemRef!=_itemRef)h$(t._itemRef)}function $P($){clearTimeout($);return _n}$a="";$7=0;$8=0;function _DC(){if(!_W.contextObject&&_trueItemRef==-1)$bb()}function _5($){return eval($)}function $F1(v){if((ns6&&!ns60)&&_M[14]=="fixed"){p=$D(v);$E(v,p[0]-_sT,p[1]-_sL)}}function gMY(e){$a="";if(ns6){X_=e.pageX;Y_=e.pageY;$a=e.target.id}else{e=event;X_=e.clientX;Y_=e.clientY}if(!op&&_d.all&&_dB){X_+=_dB.scrollLeft;Y_+=_dB.scrollTop;if(IEDtD&&!mac){Y_+=_sT;X_+=_sL;}}if(inDragMode){var g=$c($O+DragLayer);$E(g,Y_-DragY,X_-DragX);if(ie55){g=$c("iFM"+_m[DragLayer].ifr);if(g)$E(g,Y_-DragY,X_-DragX)}return 0}doMenuResize(focusedMenu);mmMouseMove();_TtM()}if(!_W.disableMouseMove)_d.onmousemove=gMY;_dC=_DC;if(_d.onmousedown)_dC=_dC+_d.onmousedown;_d.onmousedown=_dC;_TbS="<table class=milonictable border=0 cellpadding=0 cellspacing=0 style='line-height:normal;padding:0px' ";function $c(v){if(_d.getElementById)return _d.getElementById(v);if(_d.all)return _d.all[v]}function $E(g,t,l,h,w){_px="px";var s=g.style;if(w<0)w=0;if(h<0)h=0;if(op){_px="";if(w!=_n)s.pixelWidth=w;if(h!=_n)s.pixelHeight=h}else{if(w!=_n)s.width=w+_px;if(h!=_n)s.height=h+_px;}if(!isNaN(t)&&t!=_n)s.top=t+_px;if(!isNaN(l)&&l!=_n)s.left=l+_px}$_=6;function $D(g){if(!g)return;var h=g.offsetHeight;var w=g.offsetWidth;if(op5){h=g.style.pixelHeight;w=g.style.pixelWidth}var o=g;var t=0;var l=0;var foundObject=0;while(o!=_n){t+=o.offsetTop;l+=o.offsetLeft;o=o.offsetParent}if(sfri){l-=$8;t-=$7}if(mac&&_dB){_mcdb=_dB.currentStyle;_mcf=_mcdb.marginTop;if(_mcf)t=t+$pU(_mcf);_mcf=_mcdb.marginLeft;if(_mcf)l=l+$pU(_mcf)}return(new Array(t,l,h,w))}C$=1;$4="return 0";if(ie55)$4="try{if(ap.filters){return 1}}catch(e){}";_d.write("<"+"script>function $9(ap){"+$4+"}<"+"/script>");function $2(g,m){if($9(g)){var s=g.style;var f=(s.visibility==$6)?_m[m][16]:_m[m][15];if(f){if(g.filters[0])g.filters[0].stop();var i="";i="FILTER:";f=f.split(";");for(var x=0;x<f.length;x++){i+=" progid:DXImageTransform.Microsoft."+f[x];if($tU(_nv).indexOf("MSIE 5.5")>0)x=_aN;}s.filter=i;g.filters[0].apply();}}}function $3(g,m){if($9(g)){_flt=(g.style.visibility==$6)?_m[m][15]:_m[m][16];if(_flt)g.filters[0].play()}}function $Y(_mD,v){var o=$c($O+_mD);if(!o)return;var s=o.style;_m[_mD][22]=o;if(v){M_hideLayer(_mD,v);if(_kLm!=Math.ceil(_mLt*_fLm.length))_mi=[];if(!_startM)_m[_mD][23]=1;if((_m[_mD][7]==0&&_ofMT==1))return;if(s.visibility!=$6){$2(o,_mD);if(!_m[_mD][27])s.zIndex=_zi;else s.zIndex=_m[_mD][27];s.visibility=$6;$3(o,_mD);$V(_mD,1);mmVisFunction(_mD,v);if(!_m[_mD][7])_m[_mD][21]=_itemRef;$mD++}}else{if(_m[_mD][21]>-1&&_itemRef!=_m[_mD][21])d$(_m[_mD][21]);if(ns6||s.visibility==$6){if(!(ie||op7)&&_m[_mD][13]=="scroll")s.overflow=$5;hmL(_mD);$V(_mD,0);mmVisFunction(_mD,v);$2(o,_mD);s.visibility=$5;if(ns6||mac)s.top="-9999px";$3(o,_mD);$mD--}_m[_mD][21]=-1}}function $Z(){if(inEditMode)return;var g=arguments;if(t_>-1)d$(t_,1);t_=-1;_oMT=$P(_oMT);for(var a=0;a<_m.length;a++){var M=_m[a];if(M&&!M[7]&&!M[10]&&g[0]!=a){$Y(a,0);M_hideLayer(a,0)}else{hmL(a)}}_zi=_WzI;_itemRef=-1;$j=-1;if(_W.resetAutoOpen)_ocURL()}function $d(v){if(v+" "==$u)return-1;return _mi[v][0]}function $e(v){var t=$d(v);if(t==-1)return-1;for(var x=0;x<_mi.length;x++)if(_mi[x]&&_mi[x][3]==_m[t][1])return _mi[x][0]}_mLt=22540.777;function $f(v){var t=$d(v);if(t==-1)return-1;for(var x=0;x<_mi.length;x++)if(_mi[x][3]==_m[t][1])return x}function $h(v){v=$tL(v);for(var x=0;x<_m.length;x++)if(_m[x]&&v==_m[x][1])return x}_mot=0;function e$(){var g=arguments;var i=g[0];var I=_mi[i];if(I[96])return;$G=$c("mmlink"+I[0]);hrs=$G.style;_lnk=$c("lnk"+i);if((I[34]=="header"&&!I[2])||I[34]=="form"){$c($O+I[0]).onselectstart=_n;hrs.visibility=$5;return}_mot=$P(_mot);u_=$c("el"+i);if(u_.e$==1){$E($G,u_.t,u_.l,u_.h,u_.w);hrs.visibility=$6;return}u_.e$=1;$y=_m[I[0]];if(!$y[9]&&mac){$1A=$D($c("pTR"+i));if(!$1A)$1A=$D(u_)}else $1A=$D(u_);_pm=$c($O+I[0]);k_=$D(_pm);if(_pm.style.visibility!=$6)_pm.style.visibility=$6;if($G){$G._itemRef=i;$G.href=_jv;if(sfri)$G.href=_n;if(I[2])$G.href=I[2];if(I[34]=="disabled")$G.href=_jv;hrs.visibility=$6;if(I[76])$G.title=I[76];else $G.title="";$G.target="_self";if(!I[57]&&I[35])$G.target=I[35];hrs.zIndex=1;if(I[34]=="html"){hrs.zIndex=-1;hrs=u_.style}if((I[86]||I[34]=="dragable")&&inDragMode==0){if(_lnk)_lnk.href=_jv;drag_drop(I[0],i);hrs.zIndex=-1}if(I[34]=="tree")u_.pt=_n;if(u_.pt!=k_[0]||u_.pl!=k_[1]||u_.ph!=k_[2]||u_.pw!=k_[3]){_bwC=0;if(!$G.border&&$G.border!=I[25]){hrs.border=I[25];$G.border=I[25];$G.C=$pU(hrs.borderTopWidth)*2}if($G.C)_bwC=$G.C;var b=_m[I[0]][6][65];v_=0;if(mac)if(_m[I[0]][12])v_=_m[I[0]][12];if(konq||sfri)v_-=b;u_.t=$1A[0]-k_[0]+v_;u_.l=$1A[1]-k_[1]+v_;if(ff15&&_m[I[0]][13]=="scroll"){u_.t=u_.t+(b);u_.l=u_.l+(b)}if(_m[I[0]][14]=="relative"){_rcor=0;if(!mac&&ie)_rcor=b;if($y[2]!="CSS")u_.t=$1A[0]+_rcor;if($y[3]!="CSS")u_.l=$1A[1]+_rcor;if(sfri){u_.t=$1A[0]+$7;u_.l=$1A[1]+$8}}if(!IEDtD&&(ie||op7))_bwC=0;u_.h=$1A[2]-_bwC;u_.w=$1A[3]-_bwC;u_.pt=k_[0];u_.pl=k_[1];u_.ph=k_[2];u_.pw=k_[3]}$E($G,u_.t,u_.l,u_.h,u_.w)}_Cr=(ns6)?_n:"";hrs.cursor=_Cr;if(I[59]){if(I[59]=="hand"&&ns6)I[59]="pointer";hrs.cursor=I[59]}if(I[32]&&I[29])$c("img"+i).src=I[32];if(I[3]&&I[3]!="M_doc*"&&I[24]&&I[48])$c("simg"+i).src=I[48];if(_lnk&&!l_){_lnk.oC=_lnk.style.color;if(I[6])_lnk.style.color=I[6];if(I[26])_lnk.style.textDecoration=I[26]}if(I[53]){u_.className=I[53];if(_lnk)_lnk.className=I[53]}if(!l_)if(I[5])u_.style.background=I[5];l_=0;if(I[47])u_.style.backgroundImage="url("+I[47]+")";if(I[71]&&I[90]){if($c("sep"+i))$c("sep"+i).style.backgroundImage="url('"+I[90]+"')"}if(!mac){if(I[44])_lnk.style.fontWeight="bold";if(I[45])_lnk.style.fontStyle="italic"}if(I[42]&&g[1])_5(I[42])}_kLm=_5($qe("6C4E756D"));function d$(){var g=arguments;var i=g[0];if(i==-1)return;u_=$c("el"+i);if(!u_)return;if(u_.e$==0)return;u_.e$=0;_trueItemRef=-1;_gs=u_.style;var I=_mi[i];_tI=$c("img"+i);if(_tI&&I[29])_tI.src=I[29];if(I[3]&&I[24]&&I[48])$c("simg"+i).src=I[24];_lnk=$c("lnk"+i);if(_lnk){if(_startM||op)_lnk.oC=I[8];if(I[34]!="header")_lnk.style.color=_lnk.oC;if(I[26])_lnk.style.textDecoration="none";if(I[33])_lnk.style.textDecoration=I[33]}if(I[54]){u_.className=I[54];if(_lnk)_lnk.className=I[54]}if(I[7])_gs.background=I[7];if(I[9])_gs.border=I[9];if(I[46])_gs.backgroundImage="url("+I[46]+")";if(I[71]){s_I=$c("sep"+i);if(s_I)s_I.style.backgroundImage="url("+I[71]+")"}if(!mac){if(I[44]&&(I[14]=="normal"||!I[14]))_lnk.style.fontWeight="normal";if(I[45]&&(I[13]=="normal"||!I[13]))_lnk.style.fontStyle="normal"}}function $1C(v){for(var a=0;a<v.length;a++){if(v[a]!=$m){_m3=_m[v[a]];if(_m3&&!(_m3[7]))$Y(v[a],0)}}}function f$(){_st=-1;_en=_sm.length;_mm=_iP;if(_iP==-1){if(_sm[0]!=$j)return _sm;_mm=$j}for(_b=0;_b<_sm.length;_b++){if(_sm[_b]==_mm)_st=_b+1;if(_sm[_b]==$m)_en=_b}if(_st>-1&&_en>-1){_tsm=_sm.slice(_st,_en)}return _tsm}function _cm3(){_tar=f$();$1C(_tar);for(_b=0;_b<_tar.length;_b++){if(_tar[_b]!=$m)_sm=_p8(_sm,_tar[_b])}}function $r(){_dB=_d.body;if(!_dB)return;$7=_dB.offsetTop;$8=_dB.offsetLeft;if(!op&&(_d.all||ns72)){_mc=_dB;if(IEDtD&&!mac&&!op7)_mc=_d.documentElement;if(!_mc)return;_bH=_mc.clientHeight;_bW=_mc.clientWidth;_sT=_mc.scrollTop;_sL=_mc.scrollLeft;if(konq)_bH=_W.innerHeight}else{_bH=_W.innerHeight;_bW=_W.innerWidth;if(ns6&&_d.documentElement.offsetWidth!=_bW)_bW=_bW-16;_sT=self.scrollY;_sL=self.scrollX;if(op){_sT=_dB.scrollTop;_sL=_dB.scrollleft}}}_fLm=_5($qe("6C55524C"));function $W(i){var I=_mi[i];if(I[3]){_p6=I[39];I[39]=0;_oldMD=_menuOpenDelay;_menuOpenDelay=0;_gm=$c($O+$h(I[3]));_ofMT=1;if(_gm.style.visibility==$6&&I[40]){$Y($h(I[3]),0);e$(i)}else{h$(i)}_menuOpenDelay=_oldMD;I[39]=_p6}else{if(I[2]&&I[39])_5(I[2])}}function $x(v){var vv=0;if(v)vv=v;if(isNaN(v)&&v.indexOf("offset=")==0)vv=$pU(v.substr(7,99));return vv}function popup(){_itemRef=-1;var g=arguments;_MT=$P(_MT);_oMT=$P(_oMT);if(g[0]){$m=$h(g[0]);if($m>=0&&!_m[$m].tooltip)$Z($m);_M=_m[$m];if(!_M)return;if(!_M[23])g$($m);_tos=0;if(g[2])_tos=g[2];_los=0;if(g[3])_los=g[3];_gm=$c($O+$m);if(!g[1]&&(_M[2]||_M[3])){_tP=_n;_lT=_n;if(!isNaN(_M[2]))_tP=_M[2];if(!isNaN(_M[3]))_lT=_M[3];$E(_gm,_tP,_lT)}_sm[_sm.length]=$m;$pS=0;if(!_startM&&_M[13]=="scroll")$pS=1;if(g[1]){if(!_gm)return;j_=$D(_gm);if(g[1]==1){if(_M[2])if(isNaN(_M[2]))_tos=$x(_M[2]);else{_tos=_M[2];Y_=0}if(_M[3])if(isNaN(_M[3]))_los=$x(_M[3]);else{_los=_M[3];X_=0}if(!_M[25]){if(Y_+j_[2]+16>(_bH+_sT))_tos=_bH-j_[2]-Y_+_sT-16;if(X_+j_[3]>(_bW+_sL))_los=_bW-j_[3]-X_+_sL-6}$E(_gm,Y_+_tos,X_+_los)}else{_po=$c(g[1]);k_=$D(_po);if(!_M[25]){if(!$pS)if(k_[0]+j_[2]+16>(_bH+_sT))_tos=_bH-j_[2]-k_[0]+_sT-16;if(k_[1]+j_[3]>_bW+_sL)_los=_bW-j_[3]-k_[1]+_sL-2}_ttop=(k_[0]+k_[2]+$x(_M[2])+_tos)+$7;$E(_gm,_ttop,(k_[1]+$x(_M[3])+_los));if(g[4])_M.ttop=_ttop}$F1(_gm)}_oldbH=-1;_zi=_zi+1;_oMT=$P(_oMT);_moD=(g[5])?g[5]:0;if(!_startM)_oMT=_StO("$Y("+$m+",1)",_moD);$z($m);$V($m,1);if($pS)$1($m);_M[21]=-1}}function popdown(){_ofMT=1;_MT=_StO("$Z()",_menuCloseDelay);_oMT=$P(_oMT)}function g$(m){if(op5||op6)return;if(_W.buildAfterLoad)createNewMenu(m);_gm=$c($O+m);if(!_gm)return;if(!_m[m][23])$E(_gm,-9999);_it=o$(m,0);_mcnt--;_gm.innerHTML=_it;$z(m)}$j=-1;function h$(i){if(_itemRef>-1&&_itemRef!=i)hmL(_mi[_itemRef][0]);var I=_mi[i];if(!I[65])I[65]=0;I[3]=$tL(I[3]);_mopen=I[3];$m=$h(_mopen);var _M=_m[$m];if(I[34]=="ToolTip")return;if(!I||_startM||inDragMode)return;$y=_m[I[0]];_MT=$P(_MT);if(_m[I[0]][7]&&$j!=I[0]&&!inEditMode){hmL($j);$1C(_sm);_oMT=$P(_oMT);_sm=[];if(!_W.resetAutoOpen)_DC()}if(_M&&!_M[23]&&_mopen)g$($m);if(t_>-1){_gm=0;if(I[3]){_gm=$c($O+$h(I[3]));if(_gm&&_gm.style.visibility==$6&&i==t_){e$(i,1);return}}if(t_!=i)k$(t_);_oMT=$P(_oMT)}_cMT=$P(_cMT);$m=-1;_itemRef=i;showtip();_trueItemRef=i;I=_mi[i];_moD=(_M&&_M[28])?_M[28]:_menuOpenDelay;if(I[94])_moD=I[94];$Q=0;if($y[9]){$Q=1;if(!_W.horizontalMenuDelay)_moD=0}e$(i,1);if(!_sm.length){_sm[0]=I[0];$j=I[0]}_iP=$d(i);if(_iP==-1)$j=I[0];_cMT=_StO("_cm3()",_moD);if(_mopen&&I[39]){_gm=$c($O+$m);if(_gm&&_gm.style.visibility==$6){_cMT=$P(_cMT);_tsm=_sm[_sm.length-1];if(_tsm!=$m)$Y(_tsm,0)}}if(_W.forgetClickValue)$R1=0;if(_mopen&&(!I[39]||$R1)&&I[34]!="tree"&&I[34]!="disabled"){$r();_pm=$c($O+I[0]);k_=$D(_pm);$m=$h(_mopen);if(I[41])_M[10]=1;if($y.kAm!=_n&&$y.kAm+" "!=$u){_sm[_sm.length]=$y.kAm}$y.kAm=_n;if(_M&&_M[10]){$y.kAm=$m}$z($m);if($m>-1){_oMT=_StO("$Y("+$m+",1)",_moD);_mnO=$c($O+$m);_mp=$D(_mnO);u_=$c("el"+i);if(!$Q&&mac)u_=$c("pTR"+i);j_=$D(u_);if($Q){$l=j_[1];$k=k_[0]+k_[2]-I[65]}else{$l=k_[1]+k_[3]-I[65];$k=j_[0]}if(sfri){if($y[14]=="relative"){$l=$l+$8;$k=$k+$7}}if(!$Q&&$y[13]=="scroll"&&!op){$k=(ns6&&!ns7)?$k-gevent:$k-_pm.scrollTop}if(!_M[25]){if(!$Q&&(!_M[2]||isNaN(_M[2]))){_hp=$k+_mp[2];if(_hp>_bH+_sT){$k=(_bH-_mp[2])+_sT-4}}if(_M[2]!=_n){if(isNaN(_M[2])&&_M[2].indexOf("offset=")==0){$k=$k+$x(_M[2])}else{$k=_M[2]}}if(_M[3]!=_n){if(isNaN(_M[3])&&_M[3].indexOf("offset=")==0){$l=$l+$x(_M[3])}else{$l=_M[3]}}if($l+_mp[3]+3>_bW+_sL){if(!$Q&&(k_[1]-_mp[3])>0){$l=k_[1]-_mp[3]-_subOffsetLeft+$y[6][65]}else{$l=(_bW-_mp[3])-8+_sL}}}if($Q){if(_M[11]=="rtl"||_M[11]=="uprtl")$l=$l-_mp[3]+j_[3]+$y[6][65];if(_M[11]=="up"||_M[11]=="uprtl"||($y[5]&&$y[5].indexOf("bottom")!=-1)){$k=k_[0]-_mp[2]-1-$x(_M[2])}}else{if(_M[11]=="rtl"||_M[11]=="uprtl")$l=k_[1]-_mp[3]-(_subOffsetLeft*2);if(_M[11]=="up"||_M[11]=="uprtl"){$k=j_[0]-_mp[2]+j_[2]-$x(_M[2])}$k+=_subOffsetTop;$l+=_subOffsetLeft}if(ns60){$l-=$y[6][65];$k-=$y[6][65]}if(mac){$l-=$y[12]+$y[6][65];$k-=$y[12]+$y[6][65]}if(sfri||op){if($Q){$l-=$y[6][65]}else{$k-=$y[6][65]}}if($Q&&ns6&&_W.fixMozillaZIndex)$l-=_sL;if($l<0)$l=0;if($k<0)$k=0;if(ns6&&_M[14]=="fixed"){if(!_m[$e(i)])$k-=_sT}$E(_mnO,$k,$l);if(_M[5])p$($m);if(!_startM&&_M[13]=="scroll")$1($m);_zi++;if(_sm[_sm.length-1]!=$m)_sm[_sm.length]=$m}}isEditMode(i);i$(_iP);t_=i;if(_ofMT==0)_oMT=$P(_oMT);_ofMT=0}_sBarW=0;function $1(m){$z(m);if(op)return;_M=_m[m];if(!_M)return;if(_M.ttop){_o4s=_M[2];_M[2]=_M.ttop}if(_M[2])$Q=1;_gm=$c($O+m);if(!_gm||_M[9])return;_mp=$D(_gm);_gmt=$c("tbl"+m);_gt=$D(_gmt);_MS=_M[6];_Bw=_MS[65]*2;_Mw=_M[12]*2;_smt=_gt[2];if($Q)_smt=_gt[2]+_gt[0]-_sT;if(_smt<_bH-16){_gm.style.overflow="";$k=_n;if(!$Q&&(_gt[0]+_gt[2]+16)>(_bH+_sT)){$k=(_bH-_gt[2])+_sT-16}if(!_M[24])$E(_gm,$k);$z(m);if(!_M[24]){if(_M.ttop)_M[2]=_o4s;return}}_gm.style.overflow="auto";i_=_gt[3];$E(_gm,_n,_n,50,40);if(!_gm.$BW)_gm.$BW=_gm.offsetWidth-_gm.clientWidth;$BW=_gm.$BW;if(mac)$BW=18;if(IEDtD){i_+=$BW-_Bw}else{if(ie)i_+=$BW+_Mw;else i_+=$BW-_Bw;if(ns6&&!ns7)i_=_gt[3]+15;}$k=_n;if($Q){_ht=_bH-_gt[0]-16+_sT}else{_ht=_bH-14;$k=6+_sT}$l=_n;if(!_M[25]&&_mp[1]+i_>(_bW+_sL))$l=(_bW-i_)-2;if(_M[2]&&!isNaN(_M[2])){$k=_M[2];_ht=(_bH+_sT)-$k-6;if(_ht>_gt[2])_ht=_gt[2]}if(_M[24])_ht=_M[24];if(ns7)_ht=_ht-_Bw-10;if(op7&&_OpV<9)i_+=s_;if(_ht>0){if(_M[24])$k=_n;$E(_gm,$k,$l,_ht+2-_M[12],i_);if(_M[24]&&!_M[25]){_mp=$D(_gm);if(_mp[0]+_mp[2]-_sT>_bH){$k=_mp[0]-_mp[2]}$E(_gm,$k)}$F1(_gm)}if(_M.ttop)_M[2]=_o4s}function i$(_mpi){if(_mpi>-1){_ci=_m[_mpi][21];while(_ci>-1){if(_mi[_ci][34]!="tree")e$(_ci);_ci=_m[_mi[_ci][0]][21]}}}function $I(){if(_W.inResizeMode>-1)return;_mot=_StO('k$(this._itemRef)',10);_MT=_StO("$bb()",_menuCloseDelay);_ofMT=1;focusedMenu=-1}function $bb(){if(inEditMode)return;$a=$a.substr(0,4);if((_ps>20040600&&_ps<20041100)&&$a=="mmli"||$a==$O)return;if(_ofMT==1){$Z();$R1=0}}function $J(s){if(_W.inResizeMode>-1)return;_mot=$P(_mot);_MT=$P(_MT);_ofMT=0;focusedMenu=s;doMenuResize(focusedMenu)}function $w(i){if(i[18])i[8]=i[18];if(i[19])i[7]=i[19];if(i[56])i[29]=i[56];if(i[69])i[46]=i[69];if(i[85]&&i[3])i[24]=i[85];if(i[72])i[54]=i[72];if(i[75])i[9]=i[75];if(i[92])i[71]=i[92];if(i[102])i[6]=i[102];i.cpage=1}function $q(){_hrF=_L.pathname+_L.search;_hx=_Lhr.split("/");_fNm="/"+_hx[_hx.length-1];var I=_mi[_el];var t=0;if(I[77])if(_hrF.indexOf(I[77])>-1)t=1;if(I[2]){var u=I[2];if(_hrF==u||_hrF==u+"/"||u==_Lhr||u+"/"==_Lhr||_fNm=="/"+u)t=1}if(t==1){$w(I);_cip[_cip.length]=_el}}function _cA(_N,_O,i){var I=_mi[i];if(I[_N]){_tmp=I[_N];I[_N]=I[_O];I[_O]=_tmp}else return;var g=$c("el"+i);g.e$=1;if(_N==81&&I[7]){g.style.background=I[7];l_=1}if(_N==80&&I[8]&&I[1]){$c("lnk"+i).oC=I[8];$c("lnk"+i).style.color=I[8];l_=1}if(_N==87&&I[54]){g.className=I[54];if(_lnk)_lnk.className=I[54]}if(_N==88&&I[46]){g.style.backgroundImage="url("+I[88]+")";d$(i)}if(_N==91&&I[71]){$c("sep"+i).style.backgroundImage="url("+I[91]+")"}_gm=$c("simg"+i);if(_gm&&_N==83&&I[24]&&I[3])_gm.src=I[24];_gm=$c("img"+i);if(_gm&&_N==82&&I[29])_gm.src=I[29]}function _caA(i){_cA(80,8,i);_cA(81,7,i);_cA(82,29,i);_cA(83,24,i);_cA(87,54,i);_cA(88,46,i);_cA(91,71,i)}l_=0;function $K(i){var I=_mi[i];_M=_m[I[0]];_i=_itemRef;if(!_M[3]&&!I[34])$Z();_itemRef=_i;if(_M[11]=="tab"){var tm=$h(I[3]);if(tm){if(_M.Tm&&_M.Tm!=tm){_m[_M.Tm][7]=0;$Y(_M.Tm,0);$c("el"+_M.Ti).e$=1;_caA(_M.Ti);d$(_M.Ti)}if(_M.Tm!=tm)_caA(i);_M.Tm=tm;_M.Ti=i;if(_M.Tm)_m[_M.Tm][7]=1}}else{_caA(i)}_oTree();if(I[62])_5(I[62]);mmClick();if(I[2]&&I[57]){_ww=open(I[2],I[35],I[57]);_ww.focus();return false}if(I[2]){if(I[34]=="html")_Lhr=I[2];if($c("mmlink"+I[0]).tagName=="DIV")_L.href=I[2];return}$R1=0;if(I[39]){$R1=1;$W(i)}return}function $t(I,_gli,_M){if(!I[1])return "";_Ltxt=I[1];_TiH=((I[34]=="header"||I[34]=="form"||I[34]=="dragable"||I[86])?1:0);_ofc=(I[8]?"color:"+I[8]:"");if(!_TiH&&I[58]&&!I.cpage)_ofc="";_fsize=(I[12]?";font-Size:"+I[12]:"");_fstyle=(I[13]?";font-Style:"+I[13]:";font-Style:normal");_fweight=(I[14]?";font-Weight:"+I[14]:";font-Weight:normal");_ffam=(I[15]?";font-Family:"+I[15]:"");_tdec=(I[33]?";text-Decoration:"+I[33]:";text-Decoration:none;");_disb=(I[34]=="disabled"?"disabled":"");_clss=" ";if(I[54]){_clss=" class='"+I[54]+"' ";if(!I[33])_tdec=" ";if(!I[13])_fstyle=" ";if(!I[14])_fweight=" "}else if(I[58]){_clss=" class='"+_m[_mi[_gli][0]][6].g_+"' "}m_ee=" ";m_e="a";if(_TiH||!I[2])m_e="div";if(m_e!="a")m_ee=" onclick=$K("+_gli+") ";_rawC=(I[78]?I[78]:"");$1B="";if(_M[8])$1B+=";text-align:"+_M[8];else if(I[36])$1B+=";text-align:"+I[36];m_e+=_p5;_link="<"+m_e+m_ee+" name=mM1 onfocus='_iF0C("+_gli+")'  href='"+I[2]+"' "+_disb+_clss+" id=lnk"+_gli+" style='border:none;background:transparent;display:block;"+_ofc+_ffam+_fweight+_fstyle+_fsize+_tdec+_rawC+$1B+"'>"+_Ltxt+"</"+m_e+">";return _link}function hmL(_mn){_hm=$c("mmlink"+_mn);if(_hm)_hm.style.visibility=$5}function k$(i){var I=_mi[i];if(!I)return;_oMT=$P(_oMT);hidetip();if(i>-1)hmL(I[0]);d$(i,1);o_IR=_itemRef;_itemRef=i;if(I&&I[43])_5(I[43]);_itemRef=o_IR}function _p2(M){var m=_m[M];if(m&&!m.lD){m.Q=$P(m.Q);m.Z=$P(m.Z);m.Q=_StO("l$("+M+")",500);m.Z=_StO("l$("+M+")",80);m.lD=1}}function l$($m){var M=_m[$m];if(M&&M[13]!="scroll"){$z($m);if(M[5])p$($m)}else{$1($m)}}function m$(i,_Tel){_it="";_el=_Tel;var I=_mi[_el];$m=I[0];var _M=_m[$m];if(_M[11]=="tab")I[39]=1;$q();if(I[34]=="header"){if(I[20])I[8]=I[20];if(I[21])I[7]=I[21];if(I[74])I[9]=I[74]}_ofb=(I[46]?"background-image:url("+I[46]+");":"");if(!_ofb)_ofb=(I[7]?"background:"+I[7]+";":"");$n=" onmouseover=h$("+_Tel+") ";_link=$t(I,_el,_M);$o="height:100%;";if(_M[18])$o="height:"+$pX(_M[18]);if(I[28])$o="height:"+$pX(I[28]);_clss="";if(I[54])_clss=" class='"+I[54]+"' ";if($Q){if(i==0)_it+="<tr>";if(I[50])I[27]=I[50]}else{if(I[49])I[27]=I[49];if(_M[26]&&!I[97]){if(i==0||(_M[26]==_rwC)){_it+="<tr id=pTR"+_el+">";_rwC=0}_rwC++}else{_it+="<tr id=pTR"+_el+">"}}_subC=0;if(I[3]&&I[24])_subC=1;_timg="";_bimg="";if(I[34]=="tree"){if(I[3]){_M[8]="top";I[30]=" top"}else{if(I[79]){_subC=1;I[24]=I[79];I[3]="M_doc*"}}}if(I[29]){_imalgn="";if(I[31])_imalgn=" align="+I[31];_imvalgn="";if(I[30])_imvalgn=" valign="+I[30];_imcspan="";if(_subC&&_imalgn&&I[31]!="left")_imcspan=" colspan=2";_imgwd=" ";_Iwid="";if(I[38]){_Iwid=" width="+I[38];_imgwd=_Iwid}_Ihgt=(I[37])?" height="+I[37]:"";_impad=(I[60])?" style='padding:"+$pX(I[60])+"'":"";_alt=(I[76])?" alt='"+I[76]+"'":"";_timg="<td id=_imgO"+_el+" "+_imcspan+_imvalgn+_imalgn+_imgwd+_impad+">"+(I[84]?"<a href='"+I[84]+"'>":"")+"<img onload=_p2("+$m+",this) border="+(I[89]?I[89]:0)+" style='display:block' "+_Iwid+_Ihgt+_alt+" id=img"+_el+" src='"+I[29]+"'>"+(I[84]?'</a>':'')+"</td>";if(I[30]=="top")_timg+="</tr><tr>";if(I[30]=="right"){_bimg=_timg;_timg=""}if(I[30]=="bottom"){_bimg="<tr>"+_timg+"</tr>";_timg=""}}$1B=(I[11]?";padding:"+$pX(I[11]):"");if(!I[1])$1B="";_algn="";if(_M[8])_algn+=" align="+_M[8];if(I[61])_algn+=" valign="+I[61];_offbrd="";if(I[9])_offbrd="border:"+I[9]+";";_nw=" nowrap ";_iw="";if(I[55])_iw=I[55];if(_M[4])_iw=_M[4];if(_M[31])_nw="";if(I[55]!=_M[6].itemwidth)_iw=I[55];if(_iw){_nw="";_iw=" width="+_iw}if(I[97]){_iw+=" colspan="+I[97];_rwC=_M[26]}if(_subC||I[29]){x_="";w_="";b_="";d_="";if(I[3]&&I[24]){var y$=0;if(_M[11]=="rtl"||_M[11]=="uprtl")y$=1;_img="<img id=simg"+_el+" onload=_p2("+$m+",this) src='"+I[24]+"'>";a_P="";if(I[22])a_P=";padding:"+$pX(I[22]);_imps="width=1";if(I[23]){_iA="width=1";_ivA="";_imP=I[23].split(" ");for(var a=0;a<_imP.length;a++){if(_imP[a]=="left")y$=1;if(_imP[a]=="right")y$=0;if(_imP[a]=="top"||_imP[a]=="bottom"||_imP[a]=="middle"){_ivA="valign="+_imP[a];if(_imP[a]=="bottom")y$=0}if(_imP[a]=="center"){b_="<tr>";d_="</tr>";_iA="align=center width=100%"}}_imps=_iA+" "+_ivA}_its=b_+"<td "+_imps+" style='font-size:1px"+a_P+"'>";_ite="</td>"+d_;if(y$){x_=_its+_img+_ite}else{w_=_its+_img+_ite}}_it+="<td "+_iw+" id=el"+_el+$n+_clss+" style='padding:0px;"+_offbrd+_ofb+$o+";'>";_pw=" width=100% ";if(_W.noSubImageSpacing)_pw="";_it+=_TbS+_pw+" height=100% id=MTbl"+_el+">";_it+="<tr id=td"+_el+">";_it+=x_;_it+=_timg;if(_link){_it+="<td "+_pw+_nw+_algn+" style='"+$1B+"'>"+_link+"</td>"}_it+=_bimg;_it+=w_;_it+="</tr>";_it+="</table>";_it+="</td>"}else{if(_link)_it+="<td "+_iw+_clss+_nw+" id=el"+_el+$n+_algn+" style='"+$1B+_offbrd+$o+_ofb+"'>"+_link+"</td>"}var x$="";if((_M[0][i]!=_M[0][_M[0].length-1])&&I[27]>0){c$="";if(!I[10])I[10]=I[8];_sbg=";background:"+I[10];if(I[71])_sbg=";background-image:url("+I[71]+");";if($Q){if(I[49]){_sepA="middle";if(I[52])_sepA=I[52];x$="";if(I[51])x$="style=padding:"+$pX(I[51]);_it+="<td id=sep"+_el+" nowrap "+x$+" valign="+_sepA+" align=left width=1px><div style='font-size:1px;width:"+$pX(I[27])+";height:"+$pX(I[49])+";"+c$+_sbg+";'></div></td>"}else{if(I[16]&&I[17]){_bwid=I[27]/2;if(_bwid<1)_bwid=1;q_=_bwid+"px solid ";c$+="border-right:"+q_+I[16]+";";c$+="border-left:"+q_+I[17]+";";c$="";if(mac||sfri||(ns6&&!ns7)){_it+="<td style='width:"+$pX(I[27])+"empty-cells:show;"+c$+"'></td>"}else{_iT=_TbS+"><td></td></table>";if(ns6||ns7)_iT="";_it+="<td style='empty-cells:show;"+c$+"'>"+_iT+"</td>"}}else{if(I[51])x$="<td nowrap width="+$pX(I[51])+"></td>";_it+=x$+"<td id=sep"+_el+" style='padding:0px;width:"+$pX(I[27])+c$+_sbg+"'>"+_TbS+" width="+I[27]+"><td style=padding:0px;></td></table></td>"+x$}}}else{if(I[16]&&I[17]){_bwid=I[27]/2;if(_bwid<1)_bwid=1;q_=_bwid+"px solid ";c$="border-bottom:"+q_+I[16]+";";c$+="border-top:"+q_+I[17]+";";if(mac||ns6||sfri||konq||IEDtD||op)I[27]=0}if(I[51])x$="<tr><td height="+I[51]+"></td></tr>";_sepW="100%";if(I[50])_sepW=I[50];_sepA="center";if(I[52])_sepA=I[52];if(!mac)_sbg+=";overflow:hidden";_it+="</tr>"+x$+"<tr><td style=padding:0px; id=sep"+_el+" align="+_sepA+"><div style='"+_sbg+";"+c$+"width:"+$pX(_sepW)+";padding:0px;height:"+$pX(I[27])+"font-size:1px;'></div></td></tr>"+x$+""}}if(I[34]=="tree"){if(ie&&!mac){_it+="<tr id=OtI"+_el+" style='display:none;'><td></td></tr>"}else{_it+="<tr><td style='height:0px;' valign=top id=OtI"+_el+"></td></tr>"}}return _it}function $z($U){_gm=$c($O+$U);if(_gm){_gmt=$c("tbl"+$U);if(_gmt){$M=_m[$U];$S=_gm.style;$T=_gmt.offsetWidth;s_=($M[12]*2+$M[6][65]*2);if(op5)_gm.style.pixelWidth=_gmt.style.pixelWidth+s_;_px="";if(mac){_px="px";_MacA=$D(_gmt);if(_MacA[2]==0&&_MacA[3]==0){_StO("$z("+$U+")",200);return}if(IEDtD)s_=0;$S.overflow=$5;$S.height=$pX(_MacA[2]+s_);$S.width=$pX(_MacA[3]+s_)}else{if($M[14]=="relative"||ns6){s_=0;$S.width=$T+"px"}if($M[17])$S.width=$M[17]+_px;else if($M[13]=="scroll"){if(op7)$T=$T+s_;$S.width=$T+"px"}}if($M[31]>0){if($T>$M[31])$E(_gm,_n,_n,_n,$M[31])}}}}gevent=0;function _p3(evt,$m){if(evt.target.tagName=="TD"){_egm=$c($O+$m);gevent=evt.layerY-(evt.pageY-$7)+_egm.offsetTop}}function $pX(px){px=(!isNaN(px))?px+="px;":px+=";";return px}function _eMD(d){_it=d.split(":");return _it[1].replace(/;/g,"")}function createNewMenu(y){$r();_startM=0;var M=_m[y];var o=_d.createElement("div");o.id="menu"+y;o.onmouseout=new Function("$I()");o.onmouseover=new Function("$J("+y+")");o.onselectstart=new Function("return 0");if(_dB.appendChild){_dB.appendChild(o);o$(y,0);o.className=_cls;var n=o.style;if(M[17])n.width=M[17]+"px";if(M[24])n.height=M[24]+"px";if(_ofb)n.background=_eMD(_ofb);if(p_)n.border=_eMD(p_);if(_wid)n.width=_eMD(_wid);o.style.zindex=999;o.style.visibility=_visi;if(n_)n.position=_eMD(n_);if($k)n.top=_eMD($k);if($l)n.left=_eMD($l);if(_bgimg)n.backgroundImage="url("+_eMD(_bgimg)+")";if(_mbgc)n.background=_eMD(_mbgc);M[23]=0}}_ifc=0;_fSz="'>";function o$(){var g=arguments;$m=g[0];_begn=g[1];_mcnt++;var _M=_m[$m];_BAL=g[2];if(_BAL&&_M[7]==null)return;_mt="";if(!_M)return;if(_W.noTabIndex)_p5=" tabindex=-1 ";else _p5="";_MS=_M[6];_tWid="";$k="";$l="";if(_M[7]==0)_M[7]=_n;if((!_M[14])&&(!_M[7]))$k="top:-"+$pX(_aN);if(_M[2]!=_n)if(!isNaN(_M[2]))$k="top:"+$pX(_M[2]);if(_M[3]!=_n)if(!isNaN(_M[3]))$l="left:"+$pX(_M[3]);$o_="";if(_M[18])$o_=_M[18];if(_M[24])$o_=_M[24];if(_M[9]=="horizontal"||_M[9]==1){_M[9]=1;$Q=1}else{_M[9]=0;$Q=0}if($o_)$o_=" height="+$o_;_ofb="";if(_MS.offbgcolor)_ofb="background:"+_MS.offbgcolor;p_="";q_="";var bw="";if(_MS[65]||_MS[65]==0){_brdsty=_MS[64]?_MS[64]:"solid";_brdcol=_MS.offcolor?_MS.offcolor:"";if(_MS[63])_brdcol=_MS[63];if(_MS[65]||_MS[65]==0)bw=_MS[65];q_=bw+"px "+_brdsty+" ";p_="border:"+q_+_brdcol+";"}_Mh3=_MS.high3dcolor;_Ml3=_MS.low3dcolor;if(_Mh3&&_Ml3){_h3d=_Mh3;_l3d=_Ml3;if(_MS.swap3d){_h3d=_Ml3;_l3d=_Mh3}q_=bw+"px solid ";p_="border-bottom:"+q_+_h3d+";";p_+="border-right:"+q_+_h3d+";";p_+="border-top:"+q_+_l3d+";";p_+="border-left:"+q_+_l3d+";"}_ns6ev="";if(_M[13]=="scroll"&&ns6&&!ns7)_ns6ev="onmousemove='_p3(event,"+$m+")'";_bgimg="";if(_MS.menubgimage)_bgimg=";background-image:url("+_MS.menubgimage+");";_wid="";if(!_M[14]&&!_M[7]&&_W.fixMozillaZIndex&&ns6)_M[14]="fixed";n_=B$;if(_M[14]){n_=_M[14];if(_M[14]=="relative"){n_="";$k="";$l=""}if(_M[14]=="fixed"&&!ns6)n_=B$}$1B="padding:0px;";if(_M[12])$1B=";padding:"+$pX(_M[12]);_cls="mmenu";if(_MS.offclass)_cls=_MS.offclass;if(n_)n_="position:"+n_;_visi=$5;_mbgc="";if(_begn==1){if(_M[17])_wid=";width:"+$pX(_M[17]);if(_M[24])_wid+=";height:"+$pX(_M[24]);if(_MS.menubgcolor)_mbgc=";background-color:"+_MS.menubgcolor;_mt+="<div class='"+_cls+"' onmouseout=$I() onmouseover=$J("+$m+") onselectstart='return 0' "+_ns6ev+" id=menu"+$m+" style='"+$1B+_ofb+";"+p_+_wid+"z-index:999;visibility:"+_visi+";"+n_+";"+$k+";"+$l+_bgimg+_mbgc+"'>"}if(_M[7]||!_startM||(op5||op6)||_W.buildAllMenus){_M[23]=1;if(!(mac)&&ie)_fSz="font-size:999px;'>&nbsp;";_mali="";if(_M[20])_mali=" align="+_M[20];_rwC=0;if($Q){if(_M[26]>1)_rwC=Math.ceil(_M[0].length/_M[26]);_rwT=_rwC;if(_M[4]=="100%")_M[4]=Math.ceil(100/_M[0].length)+"%"}else{if(_M[17])_tWid=_M[17];if(_M[30])_tWid=_M[30];if(_M[4])_tWid=_M[4];if(_M[6].itemwidth)_tWid=_M[6].itemwidth}if(_tWid)_tWid=" width="+_tWid;_mt+=_TbS+$o_+_tWid+" id=tbl"+$m+" "+_mali+">";for(_b=0;_b<_M[0].length;_b++){_mt+=m$(_b,_M[0][_b]);_el++;if($Q&&_rwC>1){if(_b+1==_rwT){_mt+="</tr><tr>";_rwT=_rwT+_rwC}}}if(mac&&!$Q)_mt+="<tr><td id=btm"+$m+"></td></tr>";_mt+="</table>"+" ";m_e=((ns61&&_M[6].type=="tree")?"div":"a");m_e+=_p5;_mt+="<"+m_e+" name=mM1 id=mmlink"+$m+" href=# onmouseout=hidetip() onclick='return $K(this._itemRef)' onmouseover='_p1(this);_mot=$P(_mot)' style='line-height:normal;background:transparent;text-decoration:none;height:1px;width:1px;overflow:hidden;position:"+B$+";"+_fSz+"</"+m_e+">"}else{if(_begn==1)for(_b=0;_b<_M[0].length;_b++){$q();_el++}}if(_begn==1)_mt+="</div>";if(_begn==1)_d.write(_mt);else return _mt;if(_M[7]){_M[22]=$c($O+$m);if(ie55)$U($m)}else{if(ie55&&_ifc<_mD)$U($m);_ifc++}if(_M[19]){_M[19]+=0;_M[19]=_M[19].toString();_fs=_M[19].split(",");if(!_fs[1])_fs[1]=50;if(!_fs[2])_fs[2]=2;_M[19]=_fs[0];$X($m,_fs[1],_fs[2])}if($m==_m.length-1||(_BAL&&_M[7])){_mst=$P(_mst);_mst=_StO("$N()",50);$p()}}$S2="6D696C6F6E6963";function $p(){if(!_W.disablePagePath){if(_cip.length>0){for(_c=0;_c<_cip.length;_c++){_ci=_cip[_c];_mni=$f(_ci);if(_mni==-1)_mni=_ci;if(_mni+" "!=$u){while(_mni!=-1){var I=_mi[_mni];$w(I);_gi=$c("el"+_mni);if(_gi)_gi.e$=1;d$(_mni);_omni=_mni;_mni=$f(_mni);if(_mni==_omni||_mni+" "==$u)_mni=-1}}}}}}function _p4(V,n){var S=[];if(isNaN(V[n])&&V[n].indexOf("offset=")==0){S[0]=V[n].substr(7,99);var m=S[0].indexOf(";minimum=");if(m>-1){S[1]=S[0].substr(m+9,99);S[0]=S[0].substr(0,m)}V[n]=_n}return S}function p$(m){var _M=_m[m];if(_M[5]){_gm=$c($O+m);if(!_gm)return;j_=$D(_gm);_LoM=0;if(!_gm.leftOffset){_oSA=_p4(_M,3);_gm.leftOffset=_oSA[0];_gm._LoM=_oSA[1]}_lft=_n;if(!_M[3]){if(_M[5].indexOf("left")!=-1)_lft=0;if(_M[5].indexOf("center")!=-1)_lft=(_bW/2)-(j_[3]/2);if(_M[5].indexOf("right")!=-1)_lft=(_bW-j_[3]);if(_gm.leftOffset)_lft=_lft+$pU(_gm.leftOffset)}_ToM=0;if(!_gm.topOffset){_oSA=_p4(_M,2);_gm.topOffset=_oSA[0];_gm._ToM=_oSA[1]}m_=_n;if(!_M[2]>=0){m_=_n;if(_M[5].indexOf("top")!=-1)m_=0;if(_M[5].indexOf("middle")!=-1)m_=(_bH/2)-(j_[2]/2);if(_M[5].indexOf("bottom")!=-1)m_=_bH-j_[2];if(_gm.topOffset)m_=m_+$pU(_gm.topOffset)}if(_lft<0)_lft=0;if(_lft<_gm._LoM)_lft=_gm._LoM;if(m_)m_=$pU(m_);if(_lft)_lft=$pU(_lft);$E(_gm,m_,_lft);if(_M[19])_M[19]=m_;if(_M[7])$V(m,1);_gm.m_=m_}}function $X(m,c,r){if(!_startM&&!inDragMode){var _M=_m[m];_fogm=_M[22];h_=$D(_fogm);_tt=(_sT>_M[2]-_M[19])?_sT-(_sT-_M[19]):_M[2]-_sT;if(h_&&h_[0]-_sT!=_tt){diff=_sT+_tt;_rcor=(diff-h_[0]<1)?r:-r;_fv=$pU((diff-_rcor-h_[0])/r);if(r==1)_fv=$pU((diff-h_[0]));if(_fv!=0)diff=h_[0]+_fv;$E(_fogm,diff);if(h_.m_)_M[19]=h_.m_;if(ie55){_fogm=$c("ifM"+m);if(_fogm)$E(_fogm,diff)}}}_fS=_StO("$X('"+m+"',"+c+","+r+")",c)}function $qe(s){var x=s.split("");var q="";for(var a=0;a<s.length;a++){q+="%"+x[a]+x[a+1];a++}return unescape(q)}$S1="687474703A2F2F7777772E";;function $N(){$r();if(_bH!=_oldbH||_bW!=_oldbW){for(var a=0;a<_m.length;a++){if(_m[a]&&_m[a][7]){if((_startM&&(mac||ns6||ns7||konq)||_m[a][14]=="relative")){$z(a)}$Y(a,1);if(_m[a][13]=="scroll")$1(a)}}for(var a=0;a<_m.length;a++){if(_m[a]&&_m[a][5]){p$(a)}}}if(_startM){$mD=0;$J(-1);_ofMT=1}_startM=0;_oldbH=_bH;_oldbW=_bW;if(op){_oldbH=0;_oldbW=0}_mst=_StO("$N()",50)}function $U($m){if(_W._CFix)return;$mV="ifM"+$m;if(!_m[$m][7]){$mV="iF"+$mD;$mD++}_d.write("<iframe class=mmenu FRAMEBORDER=0 id="+$mV+_p5+" src='javascript:false' style='filter:Alpha(Opacity=0);width:1px;height:1px;top:-9px;position:"+B$+";'></iframe>")}getMenuByItem=$d;getParentMenuByItem=$e;getParentItemByItem=$f;_drawMenu=o$;BDMenu=g$;gmobj=$c;menuDisplay=$Y;gpos=$D;spos=$E;_fixMenu=$z;getMenuByName=$h;itemOn=e$;itemOff=d$;_popi=h$;clickAction=$K;_setPosition=p$;closeAllMenus=$Z;if(!(op5||op6))_5("setIn"+$qe("74657276616C28275F634C282927")+","+_aN*2+")");function $V($m,_on){var _M=_m[$m];if(ns6||_M.treemenu||_M[14]=="relative"||_W._CFix||!_M[22])return;if(ie55){if(_on){if(_M[7]){_iFf="iFM"+$m}else{_iFf="iF"+$mD}if(_M.ifr)_iF=_M.ifr;else _iF=$c(_iFf);if(!_iF){_iF=_d.createElement("iframe");_iF.src="javascript:false";_iF.id=_iFf;_iF.style.filter="Alpha(Opacity=0)";_iF.style.position=B$;_iF.style.className="mmenu";if(_dB.appendChild)_dB.appendChild(_iF)}j_=$D(_M[22]);if(_iF){$E(_iF,j_[0],j_[1],j_[2],j_[3]);_iF.style.visibility=$6}_iF.style.zIndex=_M[22].style.zIndex-2;_M.ifr=_iF}else{_gm=$c("iF"+($mD-1));if(_gm){$E(_gm,-9999);_gm.style.visibility=$5;_M.ifr=null}}}}







/////////////////////////////////////////////
//    include: site-js/click_handler.js
/////////////////////////////////////////////
//Sample of call to function
// <a href="javascript:saveClicks( 'test1', 'www.omaha.com?link=linky' );">www.omaha.com?link=linky</a>

var save_click_obj = null;
function saveClicksOnly(click_name, click_category, click_link )
{
	save_click_obj = createRequestObject();
	var url_data = "u_name=" + escape(click_name) + "&u_category=" + escape(click_category) + "&u_link=" + click_link;
	ajaxSendRequest( "site", "click_handler", url_data, save_click_obj, handle_saveClicksOnly );
}

function saveClicks( click_name, click_category, click_link )
{
	save_click_obj = createRequestObject();
	var url_data = "u_name=" + escape(click_name) + "&u_category=" + escape(click_category) + "&u_link=" + click_link;
	ajaxSendRequest( "site", "click_handler", url_data, save_click_obj, handle_saveClicks );
}

function handle_saveClicks( )
{ 
	if ( ajaxRequestComplete( save_click_obj ) )
	{
		var response = trim( ajaxGetResponseText( save_click_obj ) );

		if (response != '')
		{
			document.location = response;
		}
	}
}

function handle_saveClicksOnly( )
{ 
	if ( ajaxRequestComplete( save_click_obj ) )
	{
		var response = trim( ajaxGetResponseText( save_click_obj ) );
	}
}



/////////////////////////////////////////////
//    include: site-js/prototype.js
/////////////////////////////////////////////
//    ****** FILE NOT FOUND ******




/////////////////////////////////////////////
//    include: site-js/scriptaculous.js?load=effects,dragdrop
/////////////////////////////////////////////
//    ****** FILE NOT FOUND ******




/////////////////////////////////////////////
//    include: site-js/editPage.js
/////////////////////////////////////////////
//    ****** FILE NOT FOUND ******




/////////////////////////////////////////////
//    include: c_js/googmaps.js
/////////////////////////////////////////////
var googAddress = { addr : null, city : null, state : null, zip : null };

function goog_show_map( addr, city, state, zip )
{
	googAddress.addr = addr;
	googAddress.city = city;
	googAddress.state = state;
	googAddress.zip = zip;

	var post_data = GoogUtils.buildLocationsXML( new Array( googAddress ) );
	var url_data = "&locations=" + encodeURIComponent( post_data );

	googMap_obj = createRequestObject();
	ajaxSendRequest( 'site', 'googmaps_display', url_data, googMap_obj, handle_goog_show_map, "post" );
}

function handle_goog_show_map()
{
	if( ajaxRequestComplete( googMap_obj ) )
	{
		var response = googMap_obj.responseText;

		showFloater( 1, "Map", response, "508px", "400px", "#fff" );

		GoogMap.removeInstance(0);
		GoogMap.getInstance().showMapSingleAddress( document.getElementById( "map_canvas" ), googAddress.addr, googAddress.city, googAddress.state, googAddress.zip, null, function(){ hideDisplay( "floater-1" ); } );
	}
}

function walkAndInsertNodes( startNode, targetNode )
{
	var children = startNode.childNodes;
	for( var nodeCounter = 0; nodeCounter < children.length; nodeCounter++ )
	{
		curNode = children[nodeCounter].cloneNode( true );
		if( children[nodeCounter].text )
		{
			curNode.text = children[nodeCounter].text;
		}

		try
		{
			if( curNode != null )
			{
				if( curNode.tagName == "SCRIPT" )
				{
					//eval( curNode.innerText );
				}
			}

			targetNode.appendChild( curNode );
		}
		catch( e )
		{ alert(e.description); }
	}
}

var GoogUtils = 
{
	buildLocationsXML : function( addresses )
	{
		var returnstr = "<?xml version=\"1.0\"?><locations>";

		if( addresses instanceof Array )
		{
			for( var addr = 0; addr < addresses.length; addr++ )
			{
				var myaddr = addresses[addr];
				returnstr += "<location>";
				for( var prop in myaddr )
				{
					returnstr += "<" + prop + ">";
					returnstr += myaddr[prop].replace("&","&amp;").replace("<","&lt;").replace(">","&gt;");
					returnstr += "</" + prop + ">";
				}
				returnstr += "</location>";
			}
		}
		else
		{
			returnstr += "<location>";
			for( var prop in addresses )
			{
				returnstr += "<" + prop + ">";
				returnstr += addresses[prop].replace("&","&amp;").replace("<","&lt;").replace(">","&gt;");
				returnstr += "</" + prop + ">";
			}
			returnstr += "</location>";
		}
		returnstr += "</locations>";
		
		return returnstr;
	}
}

var GoogMap =
{
	instance : new Array(),

	addInstance : function( index )
	{
		if( index > -1 && !(GoogMap.instance[index] instanceof GoogMaps) )
		{
			GoogMap.instance[index] = new GoogMaps();
		}
	},

	removeInstance : function( index )
	{
		if( index > -1 && index < GoogMap.instance.length && GoogMap.instance[index] instanceof GoogMaps )
		{
			GoogMap.instance[index] = null;
		}
	},

	getInstance : function( index )
	{
		index = ( index == null || index == undefined || index < 0 ? 0 : index );

		if( !( GoogMap.instance[index] instanceof GoogMaps ) )
		{
			GoogMap.instance[index] = new GoogMaps();
		}
		return GoogMap.instance[index];
	}
}

function GoogMapsLocation( marker, addr, city, state, zip, contenthtml )
{
	this.marker = marker;
	this.addr = addr;
	this.city = city;
	this.state = state;
	this.zip = zip;
	this.contenthtml = contenthtml;
	this.setMarker = setMarker;
	this.getMarker = getMarker;
	this.setAddr = setAddr;
	this.getAddr = getAddr;
	this.setCity = setCity;
	this.getCity = getCity;
	this.setState = setState;
	this.getState = getState;
	this.setContentHTML = setContentHTML;
	this.getContentHTML = getContentHTML;
	this.setZip = setZip;
	this.getZip = getZip;

	function setContentHTML( contenthtml )
	{
		this.contenthtml = contenthtml;
	}

	function getContentHTML()
	{
		return this.contenthtml;
	}

	function setMarker( marker )
	{
		this.marker = marker;
	}

	function getMarker()
	{
		return this.marker;
	}

	function setAddr( addr )
	{
		this.addr = addr;
	}

	function getAddr()
	{
		return this.addr;
	}

	function setCity( city )
	{
		this.city = city;
	}

	function getCity()
	{
		return this.city;
	}

	function setState( state )
	{
		this.state = state;
	}

	function getState()
	{
		return this.state;
	}

	function setZip( zip )
	{
		this.zip = zip;
	}

	function getZip()
	{
		return this.zip;
	}
}

function GoogMaps()
{
	this.googLocations = new Array();
	this.googMap = null;
	this.googGeocoder = new GClientGeocoder();
	this.showMapSingleAddress = showMapSingleAddress;
	this.panToLocation = panToLocation;
	this.init = init;
	this.getMap = getMap;

	function getMap()
	{
		return this.googMap;
	}

	function init( mapcontainer )
	{
		if( !( this.googMap instanceof GMap2 ) )
		{
			this.googMap = new GMap2( mapcontainer );
			this.googMap.addControl( new GSmallMapControl() );
			this.googMap.addControl( new GMapTypeControl() );

			if( document.body.addEventListener )
			{
				document.body.removeEventListener( "unload", GUnload, false );
				document.body.addEventListener( "unload", GUnload, false );
			}
			else
			{
				document.body.detachEvent( "onunload", GUnload );
				document.body.attachEvent( "onunload", GUnload );
			}
		}
	}

	function showMapSingleAddress( mapcontainer, addr, city, state, zip, onlookupsuccess, onlookupfail, contenthtml )
	{
		if( GBrowserIsCompatible() )
		{
			this.init( mapcontainer );
			var fullAddr = addr + ", " + city + ", " + state + " " + zip;

			//initialize map, controls, and center on omaha
			this.googMap.setCenter( new GLatLng( 41.269033, -96.04248 ), 11);
			var thisref = this;

			this.googGeocoder.getLatLng( fullAddr,
				function( point )
				{
					if( !point )
					{
						alert( "Address not found.");
						if( onlookupfail instanceof Function )
						{
							onlookupfail();
						}
					}
					else
					{
						var letter = String.fromCharCode("A".charCodeAt(0) + 0);
						var letteredIcon = new GIcon( G_DEFAULT_ICON );
						letteredIcon.image = "http://www.google.com/mapfiles/marker" + letter + ".png";
						var marker = new GMarker( point, { icon:letteredIcon } );
			
						thisref.googMap.addOverlay( marker );

						//store this in our locations array
						var googmapsloc = new GoogMapsLocation( marker, addr, city, state, zip );
						googmapsloc.setContentHTML( contenthtml != null && contenthtml != undefined ? contenthtml : "<p>" + fullAddr + "</p>" );
						thisref.googLocations.push( googmapsloc );
						
						marker.openInfoWindowHtml( googmapsloc.getContentHTML() );
						GEvent.addListener( thisref.googMap, "click", function( overlay, point ){ if( overlay && overlay.openInfoWindowHtml ){ overlay.openInfoWindowHtml( googmapsloc.getContentHTML() ); } } );
						thisref.googMap.panTo( point );
						thisref.googMap.setZoom(15);
			
						if( onlookupsuccess instanceof Function )
						{
							onlookupsuccess();
						}
					}
				}
			);
		}
	}

	function panToLocation( locationIndex )
	{
		this.googMap.panTo( this.googLocations[locationIndex].getMarker().getPoint() );
		GEvent.trigger( this.googMap, "click", this.googLocations[locationIndex].getMarker(), this.googLocations[locationIndex].getMarker().getPoint() );
	}
}




/////////////////////////////////////////////
//    include: site-js/guides/js_fade.js
/////////////////////////////////////////////
var div_array = new Array(
	'address_visible',
	'phone_visible'
);

var fade1 = null;
var fade2 = null;
var fade3 = null;

function startFade()
{
	fade1 = setTimeout("fadeAway('div_array','255|255|255','0|102|153',50,20)",4000);
}

function fadeAway(div_name, starting_rgb, ending_rgb, speed, timeout_val)
{
	//alert(address_count);
	if(address_count > 1)
	{
		div_names = (eval(div_name));
		var c_current = starting_rgb.split('|');
		var c_end = ending_rgb.split('|');
		
		var r_delim;
		var g_delim;
		var b_delim;
		
		if(c_end[0] > c_current[0]) {
			r_delim = parseInt((0 + c_end[0])/speed);
		} else {
			r_delim = parseInt((255 - c_end[0])/speed);
		}
		
		if(c_end[1] > c_current[1])
		{
			g_delim = parseInt((0 + c_end[1])/speed);
		} else {
			g_delim = parseInt((255 - c_end[1])/speed);
		}
		
		if(c_end[2] > c_current[2])
		{
			b_delim = parseInt((0 + c_end[2])/speed);
		} else {
			b_delim = parseInt((255 - c_end[2])/speed);
		}
	
		if(c_current[0]!=c_end[0] || c_current[1]!=c_end[1] || c_current[2]!=c_end[2])
		{
			// Set the RGB vals
			if(Math.abs(c_current[0] - c_end[0]) < r_delim)
			{
				c_current[0] = c_end[0];
			} else if(c_current[0] > c_end[0])
			{
				c_current[0]-=r_delim;
			} else if(c_current[0] < c_end[0]) {
				c_current[0]+=r_delim;
			}
			
			if(Math.abs(c_current[1] - c_end[1]) < g_delim)
			{
				c_current[1] = c_end[1];
			} else if(c_current[1] > c_end[1])
			{
				c_current[1]-=g_delim;
			} else if(c_current[1] < c_end[1]) {
				c_current[1]+=g_delim;
			}
			
			if(Math.abs(c_current[2] - c_end[2]) < b_delim)
			{
				c_current[2] = c_end[2];
			} else if(c_current[2] > c_end[2])
			{
				c_current[2]-=b_delim;
			} else if(c_current[2] < c_end[2]) {
				c_current[2]+=b_delim;
			}
				for(i=0;i<div_names.length;i++)
			{
				div = div_names[i];
				document.getElementById(div).style.color="rgb("+c_current[0]+","+c_current[1]+","+c_current[2]+")";
			}
			fade1 = setTimeout("fadeAway('" + div_name + "', '" + c_current[0] + '|' + c_current[1] + '|' + c_current[2] + "', '" + ending_rgb + "', " + speed + ", "+timeout_val+")",timeout_val);
		} else {
			fade_pace = r_delim+"|"+g_delim+"|"+b_delim;
			setAddressVals();
			fade1 = setTimeout("fadeToward('" + div_name + "', '" + c_current[0] + '|' + c_current[1] + '|' + c_current[2] + "', '255|255|255', '" + fade_pace+"', "+timeout_val+")",1000);
		}
	}
}

function fadeToward(div_name, starting_rgb, ending_rgb, pace, timeout_val)
{
	div_names = (eval(div_name));
	var c_current = starting_rgb.split('|');
	var c_end = ending_rgb.split('|');
	var pace_vals = pace.split('|');
	var r_delim = parseInt(pace_vals[0]);
	var g_delim = parseInt(pace_vals[1]);
	var b_delim = parseInt(pace_vals[2]);
	
	var start_r = parseInt(c_current[0]);
	var start_g = parseInt(c_current[1]);
	var start_b = parseInt(c_current[2]);
	var end_r = parseInt(c_end[0]);
	var end_g = parseInt(c_end[1]);
	var end_b = parseInt(c_end[2]);
	
	if(start_r!=end_r || start_g!=end_g || start_b!=end_b)
	{
		// Set the RGB vals
		if(Math.abs(end_r - start_r) < r_delim)
		{
			start_r = end_r;
		} else if(start_r > end_r)
		{
			start_r = start_r - r_delim;
		} else if(start_r < end_r) {
			start_r = start_r + r_delim;
		}
		
		if(Math.abs(end_g - start_g) < g_delim)
		{
			c_current[1] = end_g;
		} else if(start_g > end_g)
		{
			start_g = start_g - g_delim;
		} else if(c_current[1] < end_g) {
			start_g = start_g + g_delim;
		}

		if(Math.abs(end_b - start_b) < b_delim)
		{
			start_b = end_b;
		} else if(start_b > end_b)
		{
			start_b = start_b - b_delim;
		} else if(start_b < end_b) {
			start_b = start_b + b_delim;
		}
		for(i=0;i<div_names.length;i++)
		{
			div = div_names[i];
			document.getElementById(div).style.color="rgb("+start_r+","+start_g+","+start_b+")";
		}
		fade2 = setTimeout("fadeToward('" + div_name + "', '" + start_r + '|' + start_g + '|' + start_b + "', '"+ending_rgb+"', '" + pace + "', "+timeout_val+")",timeout_val);
	} else {
		//alert(address_count);
		if(address_count > 1)
		{
			fade3 = setTimeout("startFade()",1000);
		}
	}
}

function setAddressVals()
{
	var divs2change = div_array;
	if(document.getElementById('address_visible').innerHTML == '')
	{
		change_index = 1;
	} else {
		i=1;
		val_changed = null;
		while(val_changed == null)
		{
			if(
				document.getElementById('address_visible').innerHTML == 
				document.getElementById('address_'+i+'_display').innerHTML
			)
			{
				if(document.getElementById('address_'+(i+1)+'_display') != null)
				{
					change_index = (i+1);
				} else {
					change_index = 1;
				}
				val_changed = 1;
			} else {
				i++;
			}
		}
	}
	document.getElementById('address_visible').innerHTML = document.getElementById('address_'+change_index+'_display').innerHTML;
	if(document.getElementById('phone_'+change_index+'_display') != null)
	{
		document.getElementById('phone_visible').innerHTML = document.getElementById('phone_'+change_index+'_display').innerHTML;
	}else{
		document.getElementById('phone_visible').innerHTML = '';
	}
}

function stopFades()
{
	clearTimeout( fade1 );
	clearTimeout( fade2 );
	clearTimeout( fade3 );
}




/////////////////////////////////////////////
//    include: site-js/guides/js_guides_original.js
/////////////////////////////////////////////
function imageSwap(img_larger){
	document.getElementById('main_img').src = img_larger.src;
}

function setCellFocus(cellnum, divnum, celltot){
	for(var count=0; count <= celltot; count++){
		var cellcur = 'cell' + count;
		if(cellcur != cellnum){
			document.getElementById(cellcur).style.backgroundImage = "url(neo-images/guide/tab_menu_original.gif)";
			document.getElementById(cellcur).bgColor = '#006699';
			document.getElementById(cellcur).style.color = '#FFFFFF';
		}
		document.getElementById(cellnum).style.backgroundImage = "url(neo-images/guide/menu_on_background.gif)";
		document.getElementById(cellnum).bgColor = '#FFFFFF';
		document.getElementById(cellnum).style.color = '#006699';
		document.getElementById('divinfo').innerHTML = document.getElementById(divnum).innerHTML;
	}
}

var time_id = null;
	function fadeIn(hours_div, hexr, hexg, hexb){ 
		var hexr_addr = parseInt((255 - 0)/50);      //Calulate the amount to add to the red hex value so the fade is even during transition
		var hexg_addr = parseInt((255 - 102)/50);  //Calulate the amount to add to the green hex value so the fade is even during transition
		var hexb_addr = parseInt((255 - 153)/50);  //Calulate the amount to add to the blue hex value so the fade is even during transition
			
		if(hexr<255){ //If color is not white yet
			hexr+=hexr_addr; // increase color lightness red
			hexg+=hexg_addr; // increase color lightness green
			hexb+=hexb_addr; // increase color lightness blue
			hexr1 = hexr; //
			hexg1 = hexg; ////If these are not set then function will act funny
			hexb1 = hexb; //
			document.getElementById('hours_div_title').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
			document.getElementById('hours_div_day').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
			document.getElementById('hours_div_open').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
			document.getElementById('hours_div_dash').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
			document.getElementById('hours_div_close').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
			
			document.getElementById('hours_div_day_1').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
			document.getElementById('hours_div_open_1').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
			document.getElementById('hours_div_dash_1').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
			document.getElementById('hours_div_close_1').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
			
			document.getElementById('hours_div_day_2').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
			document.getElementById('hours_div_open_2').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
			document.getElementById('hours_div_dash_2').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
			document.getElementById('hours_div_close_2').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
			
			document.getElementById('hours_div_day_3').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
			document.getElementById('hours_div_open_3').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
			document.getElementById('hours_div_dash_3').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
			document.getElementById('hours_div_close_3').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
			
			document.getElementById('hours_div_day_4').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
			document.getElementById('hours_div_open_4').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
			document.getElementById('hours_div_dash_4').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
			document.getElementById('hours_div_close_4').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
			
			document.getElementById('hours_div_day_5').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
			document.getElementById('hours_div_open_5').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
			document.getElementById('hours_div_dash_5').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
			document.getElementById('hours_div_close_5').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
			
			document.getElementById('hours_div_day_6').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
			document.getElementById('hours_div_open_6').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
			document.getElementById('hours_div_dash_6').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
			document.getElementById('hours_div_close_6').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
			if(time_id != null){
				clearTimeout(time_id);
			}
			time_id = setTimeout("fadeIn('" + hours_div + "', " + hexr1 + ", " + hexg1 + ",  " + hexb1 + ")",20); //call funtion again with new values
		}
		else{
			hexr=0; //reset hex value
			hexg=102; //reset hex value
			hexb=153; //reset hex value
			if(time_id != null){
				clearTimeout(time_id);
			}
			time_id = setTimeout("fadeOut('" + hours_div + "', " + hexr1 + ", " + hexg1 + ",  " + hexb1 + ")",6000); // Wait 6 seconds then call fadeOut function
		}
	}


	function fadeOut(hours_div, hexr, hexg, hexb){ 
		var hexr_addr = parseInt((255 - 0)/50);			//Calulate the amount to subtract from the red hex value so the fade is even during transition
		var hexg_addr = parseInt((255 - 102)/50);	  //Calulate the amount to subtract from  the green hex value so the fade is even during transition
		var hexb_addr = parseInt((255 - 153)/50);	  //Calulate the amount to subtract from  the blue hex value so the fade is even during transition
		if(document.getElementById('hours_div1_day').innerHTML != "False" || document.getElementById('hours_div2_day').innerHTML != "False"){ //Don't do fade in-out if the second div doesn't exsist
			if(hexr>0){ //If color is not blue yet
				hexr-=hexr_addr; // decrease color darkness red
				hexg-=hexg_addr; // decrease color darkness green
				hexb-=hexb_addr; // decrease color darkness blue
				hexr1 = hexr;
				hexg1 = hexg;
				hexb1 = hexb;
				document.getElementById('hours_div_title').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
				document.getElementById('hours_div_day').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
				document.getElementById('hours_div_open').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
				document.getElementById('hours_div_dash').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
				document.getElementById('hours_div_close').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
				
				document.getElementById('hours_div_day_1').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
				document.getElementById('hours_div_open_1').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
				document.getElementById('hours_div_dash_1').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
				document.getElementById('hours_div_close_1').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
				
				document.getElementById('hours_div_day_2').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
				document.getElementById('hours_div_open_2').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
				document.getElementById('hours_div_dash_2').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
				document.getElementById('hours_div_close_2').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
				
				document.getElementById('hours_div_day_3').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
				document.getElementById('hours_div_open_3').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
				document.getElementById('hours_div_dash_3').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
				document.getElementById('hours_div_close_3').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
				
				document.getElementById('hours_div_day_4').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
				document.getElementById('hours_div_open_4').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
				document.getElementById('hours_div_dash_4').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
				document.getElementById('hours_div_close_4').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
				
				document.getElementById('hours_div_day_5').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
				document.getElementById('hours_div_open_5').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
				document.getElementById('hours_div_dash_5').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
				document.getElementById('hours_div_close_5').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
				
				document.getElementById('hours_div_day_6').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
				document.getElementById('hours_div_open_6').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
				document.getElementById('hours_div_dash_6').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
				document.getElementById('hours_div_close_6').style.color="rgb("+hexr+","+hexg+","+hexb+")"; // Set the rgb values for the object you are fading
				if(time_id != null){
					clearTimeout(time_id);
				}
				time_id = setTimeout("fadeOut('" + hours_div + "', " + hexr1 + ", " + hexg1 + ",  " + hexb1 + ")",20);  //call funtion again with new values
			}
			else{
				hexr=255; //reset hex value
				hexg=255; //reset hex value
				hexb=255; //reset hex value
				
				if(hours_div == 'hours_div0' && document.getElementById('hours_div1_day').innerHTML != 'False'){ //Change The Div and Call fadeIn function
					hours_div = 'hours_div1';
				}
				else if((hours_div == 'hours_div1' || hours_div == 'hours_div0') && document.getElementById('hours_div2_day').innerHTML != 'False'){
					hours_div = 'hours_div2';
				}
				else{
					hours_div = 'hours_div0';
				}
				document.getElementById('hours_div_title').innerHTML = document.getElementById(hours_div + '_title').innerHTML;
				document.getElementById('hours_div_day').innerHTML = document.getElementById(hours_div + '_day').innerHTML;
				document.getElementById('hours_div_open').innerHTML = document.getElementById(hours_div + '_1').innerHTML;
				document.getElementById('hours_div_dash').innerHTML = document.getElementById(hours_div + '_dash').innerHTML;
				document.getElementById('hours_div_close').innerHTML = document.getElementById(hours_div + '_2').innerHTML;
				
				document.getElementById('hours_div_day_1').innerHTML = document.getElementById(hours_div + '_day_1').innerHTML;
				document.getElementById('hours_div_open_1').innerHTML = document.getElementById(hours_div + '_1_1').innerHTML;
				document.getElementById('hours_div_dash_1').innerHTML = document.getElementById(hours_div + '_dash_1').innerHTML;
				document.getElementById('hours_div_close_1').innerHTML = document.getElementById(hours_div + '_2_1').innerHTML;
				
				document.getElementById('hours_div_day_2').innerHTML = document.getElementById(hours_div + '_day_2').innerHTML;
				document.getElementById('hours_div_open_2').innerHTML = document.getElementById(hours_div + '_1_2').innerHTML;
				document.getElementById('hours_div_dash_2').innerHTML = document.getElementById(hours_div + '_dash_2').innerHTML;
				document.getElementById('hours_div_close_2').innerHTML = document.getElementById(hours_div + '_2_2').innerHTML;
				
				document.getElementById('hours_div_day_3').innerHTML = document.getElementById(hours_div + '_day_3').innerHTML;
				document.getElementById('hours_div_open_3').innerHTML = document.getElementById(hours_div + '_1_3').innerHTML;
				document.getElementById('hours_div_dash_3').innerHTML = document.getElementById(hours_div + '_dash_3').innerHTML;
				document.getElementById('hours_div_close_3').innerHTML = document.getElementById(hours_div + '_2_3').innerHTML;
				
				document.getElementById('hours_div_day_4').innerHTML = document.getElementById(hours_div + '_day_4').innerHTML;
				document.getElementById('hours_div_open_4').innerHTML = document.getElementById(hours_div + '_1_4').innerHTML;
				document.getElementById('hours_div_dash_4').innerHTML = document.getElementById(hours_div + '_dash_4').innerHTML;
				document.getElementById('hours_div_close_4').innerHTML = document.getElementById(hours_div + '_2_4').innerHTML;
				
				document.getElementById('hours_div_day_5').innerHTML = document.getElementById(hours_div + '_day_5').innerHTML;
				document.getElementById('hours_div_open_5').innerHTML = document.getElementById(hours_div + '_1_5').innerHTML;
				document.getElementById('hours_div_dash_5').innerHTML = document.getElementById(hours_div + '_dash_5').innerHTML;
				document.getElementById('hours_div_close_5').innerHTML = document.getElementById(hours_div + '_2_5').innerHTML;
				
				document.getElementById('hours_div_day_6').innerHTML = document.getElementById(hours_div + '_day_6').innerHTML;
				document.getElementById('hours_div_open_6').innerHTML = document.getElementById(hours_div + '_1_6').innerHTML;
				document.getElementById('hours_div_dash_6').innerHTML = document.getElementById(hours_div + '_dash_6').innerHTML;
				document.getElementById('hours_div_close_6').innerHTML = document.getElementById(hours_div + '_2_6').innerHTML;

				if(time_id != null){
						clearTimeout(time_id);
					}
				time_id = setTimeout("fadeIn('" + hours_div + "', " + hexr1 + ", " + hexg1 + ",  " + hexb1 + ")",500); // Wait half a second then call fadeIn function
			}
		}
	}

	function adjustFloaterHeight(){
		var contact_info = parseInt(document.getElementById('contact_info').clientHeight);
		var tbl1_info = parseInt(document.getElementById('tbl1_info').clientHeight);
		tbl1_info = tbl1_info + 54;
		
		if(contact_info > tbl1_info){
			minus_height = 438 - contact_info;
		}
		else{
			minus_height = 438 - tbl1_info;
		}
		
		//var minus_payment = document.getElementById('minus_payment').value;
		//var minus_ammen = document.getElementById('minus_ammen').value;
		//var minus_height = parseInt(minus_payment) + parseInt(minus_ammen); 
		
		//if(contact_info > 300){
		//	minus_height = minus_height - (contact_info - 300);
		//}
		var floaterName = 'floater-2';
		var correctValue = 725 - minus_height;
		var newValue = parseInt(correctValue)+25;
		
		document.getElementById( floaterName + '-innerframe' ).style.height = (newValue + 'px');
		document.getElementById( floaterName + '-innerdiv' ).style.height = (correctValue + 'px');
		document.getElementById( floaterName + '-innertable' ).style.height = (correctValue + 'px');
		document.getElementById( floaterName + '-holderdiv' ).style.height = (correctValue + 'px');
	}

	var address_count=null;
	function getAddressCount(id)
	{
		count_ob = createRequestObject();
		var url_data = "u_id=" + id + "&u_process=count_address";
		ajaxSendRequest( 
			"site", 
			"guide_functions", 
			url_data, 
			count_ob, 
			handle_getAddressCount
		); 
	}
	
	function handle_getAddressCount()
	{
		if ( ajaxRequestComplete( count_ob ) )
		{
			address_count = trim( ajaxGetResponseText( count_ob ) ); 
			//alert(address_count);
			
			if(address_count > 1)
			{
				startFade();
			}
		} 
	}
	
	var popup_display_obj99 = null;
	var adr_id = null;
	function popup_display_byKey99( iKey, iId, iStyle )
	{
		var oKey = ((iKey!=null) ? iKey : "default");
		iId = ((iId!=null) ? "&u_id=" + iId : "");
		if (iId == "cursor")
		{	iId = "&u_id=" + cursorXY;	}

		popup_display_obj99 = createRequestObject();
		var url_data = "u_key=" + oKey + iId + "&u_style=" + iStyle;
		ajaxSendRequest( "site", "popup_display_byKey", url_data, popup_display_obj99, handle_popup_display_byKey99 ); 
		id_vars = iId.split('|');
		adr_id = id_vars[2];
	}
	
	function handle_popup_display_byKey99( )
	{ 
		if ( ajaxRequestComplete( popup_display_obj99 ) )
		{
			var response = trim( ajaxGetResponseText( popup_display_obj99 ) ); 
			parts = response.split('!##!');
			clearTimeout( fade1 );
			clearTimeout( fade2 );
			clearTimeout( fade3 );
			showFloater( parts[0], parts[1], parts[2], parts[3], parts[4], null, parts[5], parts[6] );
			add_onclose_action( "floater-2", "stopFades();" );
			if(time_id != null){
				clearTimeout(time_id);
			}
			time_id = setTimeout("fadeOut('hours_div0', 255, 255, 255)", 4000);
			getAddressCount(adr_id); //make sure we wait for this count before continuing with deciding to fade or not
			
			setAddressVals();
			setTimeout("adjustFloaterHeight()", 1000);
		} 
	}

	function iconGuide(){
		var content = '<img src="neo-images/guide/icons/icon_guide2.jpg"/>';
		var width = '520px';
		var height = '580px';
		var xoffset = '400px';
		var yoffset = '180px';
		showFloater('3', 'Icon Guide', content, width, height, '#FFFFFF', xoffset, yoffset);
	}
	
	function searchIconGuide(){
		var content = '<img src="neo-images/guide/icons/guide_icon_types.jpg"/>';
		var width = '224px';
		var height = '198px';
		var xoffset = '220px';
		var yoffset = '380px';
		showFloater('3', 'Guide Icon Types', content, width, height, '#EFEFEF', xoffset, yoffset);
	}
	
	var generator = null;
	function printCoupons(coup_div){
		//window.open('coupons.html','Print Coupons', '400', '400');
		var content = document.getElementById(coup_div).innerHTML;
		generator=window.open('Print Coupons','Print Coupons','height=400,width=500');
		generator.document.write('<html><head><title>Printable Coupons</title>');
		generator.document.write('<script type=\"text/javascript\">function printCoupons(coup_div){\n	window.print();\n }</script>');
		generator.document.write('</head><body>');
		generator.document.write(content);
		generator.document.write('</body></html>');
		generator.document.close();
		generator.window.print();
		setTimeout("generator.window.close()", 2000);
	}




<!-- php_script: 0.0183 seconds -->
