function MMnav_swapImgRestore() { //v3.0
  var i,x,a=document.MMnav_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MMnav_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MMnav_p) d.MMnav_p=new Array();
    var i,j=d.MMnav_p.length,a=MMnav_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MMnav_p[j]=new Image; d.MMnav_p[j++].src=a[i];}}
}

function MMnav_swapImage() { //v3.0
  var i,j=0,x,a=MMnav_swapImage.arguments; document.MMnav_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MMnav_findObj(a[i]))!=null){document.MMnav_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MMnav_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MMnav_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}


function GetScreenForButton(itemname)
{
	s = '';
	switch (itemname)
	{
		// Introduction
		case 'intro_btn':
		s = 'First';
		break;
		
		// Solar Energy Report
		case 'Solar_btn':	
		s= 'Solar';	
		break;
		
		// Who Can Post?
		case 'WhoCanPost_btn':
		s = 'WhoCanPost';
		break;

		// Post Comment !		
		case 'PostComment_Btn':
		
		break;

		// What is Energy Efficient Mortgage
		case 'WhatIsEEM':
		
		break;

		// Financial Incentive Govt. Forms
		case 'FinGovtForms_Btn':
		s = 'FinGovtForms';
		break;

		// What is a /carbon-offset investment
		case 'WhatIsCarbonOffset_Btn':
		
		break;
		
		// Legislative Action you  can take today!
		case 'LegislativeAction_Btn':
		
		break;

		case 'ZEH_Btn':
		s = 'ZEH';
		break;

		case 'Chat_Btn':
		s = 'First';
		break;
        
        case 'Video_Btn':
		s = 'First';
		break;
	}
	return s;
}

function MouseOverButton(button)
{
	//alert(button.style);
//	alert(button.className);
	curclassname = button.className;
	invclassname = "inv" + 	curclassname;
	button.className = invclassname;
	
	itemname = button.name;
	screenname = GetScreenForButton(itemname);
	if (screenname != '')
	{
		RollOverInfo(screenname);
	}
}

function MouseOutButton(button)
{
	curclassname = button.className;
	//alert("Prev: " +  	curclassname);
	if (curclassname.indexOf("inv") == 0)
	{
		origclassname = curclassname.substr(3);
//		alert(origclassname);
		button.className = origclassname;
		
	}

	itemname = button.name;
	screenname = GetScreenForButton(itemname);
	if (screenname != '')
	{
		InitScreen(screenname);
	}
	
}
var fsperoot;
var domainroot;
var forevergtroot;
GetDocRoot();
function GetDocRoot()
{
	hostname = location.hostname;
	curdomain = 'http://' + hostname + '/';
	domainroot = 'http://' + hostname + '/';
	fsperoot = domainroot + 'FreedomSolarPowerElectric/';
	forevergtroot = fsperoot;
	if (hostname.toUpperCase().indexOf('FREEDOMSOLARPOWERELECTRIC') >=0)
	{
		fsperoot = domainroot;
		forevergtroot = 'http://www.4evergreen13.com/';	
	}
	else
	{
		if(hostname.toUpperCase().indexOf('4EVER') >= 0)
		{
			domainroot = 'http://www.internetnewsnetwork.com/';
			fsperoot = 'http://www.internetnewsnetwork.com/FreedomSolarPowerElectric/';
			forevergtroot = curdomain;
		}
		else 
		{
			if(hostname.toUpperCase().indexOf('INTERNETNEWS') >= 0)
			{
				fsperoot = domainroot + '/FreedomSolarPowerElectric/';
				forevergtroot = 'http://www.4evergreen13.com/';	
			}
		}
	}
}

function ButtonClick(button)
{
//	alert(button.name);
	//prompt("a", button.name);
	itemname = button.name;
	s = '';
	radiourl = "";
	go_f = domainroot + '/cgi-bin/fspe/go_f.pl?r=';
	switch (itemname)
	{
		// Introduction
		case 'intro_btn':
		//s = fsperoot + 'introflywords.htm';
		// 4EverGreen13 Television
		s = forevergtroot + 'video/videoflywords.htm';
		break;
		case 'backintro_btn':
		s = fsperoot + 'go_f.htm?r=intro.htm';
		break;
		
		// Solar Energy Report
		case 'Solar_btn':
		s = domainroot + '/cgi-bin/fspe/viewcomments.pl';
		break;
		
		// Who Can Post?
		case 'WhoCanPost_btn':
		s = fsperoot + 'go_f.htm?r=/cgi-bin/fspe/identify.pl';
		break;

		// Post Comment !		
		case 'PostComment_Btn':
		s = domainroot + '/cgi-bin/fspe/showcommententry.pl';
		break;

		// What is Energy Efficient Mortgage
		case 'WhatIsEEM':
		//s = fsperoot + 'energymortgage.htm';
		s = forevergtroot + 'energy-efficient-mortgage';
		break;

		// Financial Incentive Govt. Forms
		case 'FinGovtForms_Btn':
		//s = fsperoot + 'go_f.htm?r=appentry.htm';
		s = forevergtroot + 'tax-deduction-credit-abatement-rebate';
		break;

		// Green Real Estate
		case 'GreenRealEstate_Btn':
		//s = fsperoot + 'go_f.htm?r=slmsliding.htm';
		s = go_f+fsperoot+'green-real-estate.htm';
		break;
		
		// What is a /carbon-offset investment
		case 'WhatIsCarbonOffset_Btn':
		s = fsperoot + 'go_f.htm?r=carboncalculator.htm';
		radiourl = "http://www.npr.org/templates/dmg/popup.php?id=15503035&type=1&date=22-Oct-2007&au=1&pid=32653646&random=0402145344&guid=000302F6438D07115BCC183861626364&uaType=WM,RM&aaType=RM,WM&upf=Win32&topicName=Health___Science&subtopicName=Environment&prgCode=ME&hubId=-1&thingId=15503719&ssid=&tableModifier=&mtype=WM";
		break;
		
		// Legislative Action you  can take today!
		case 'LegislativeAction_Btn':
		s = fsperoot + 'go_f.htm?r=takeaction.htm';
		radiourl = "http://www.npr.org/templates/dmg/popup.php?id=15100951&type=1&date=08-Oct-2007&au=1&pid=35324462&random=4035342563&guid=000302F6438D07115BCC183861626364&uaType=WM,RM&aaType=RM,WM&upf=Win32&topicName=Politics___Society&subtopicName=Politics&prgCode=ATC&hubId=-1&thingId=15100970&ssid=&tableModifier=&mtype=WM";
		break;

		// Understanding ZEH
		case 'ZEH_Btn': 
		// TODO: switch button set
		//s = fsperoot + 'save_energy.htm'; // 50 ways to save energy
		s = forevergtroot + '50-ways-to-save-energy';
		// 1 hour Solar Science & Technology Radio Program
		radiourl = "http://www.npr.org/templates/dmg/popup.php?id=6125185&type=1&date=22-Sep-2006&au=1&pid=01243130&random=6365070144&guid=000302F6438D07115BCC183861626364&uaType=WM,RM&aaType=RM,WM&upf=Win32&topicName=Health___Science&subtopicName=Environment&prgCode=TOTN&hubId=-1&thingId=6125184&ssid=&tableModifier=&mtype=WM";
		break;
		
		
		// Alternative energy options
		case 'AltEnOptions_Btn':
			// Are you connected to the grid?
		s = fsperoot + 'go_f.htm?r=help-electricutility.htm';
		break;
		
		// Building a zero energy home
		case 'BuildingZEH_Btn':
		s = fsperoot + 'go_f.htm?r=zeh-seven-steps.htm'; // Seven Steps to a ZEH
		radiourl = "http://www.npr.org/templates/dmg/popup.php?id=15460449&type=1&date=19-Oct-2007&au=1&pid=12627351&random=1636412175&guid=000302F6438D07115BCC183861626364&uaType=WM,RM&aaType=RM,WM&upf=Win32&topicName=Health___Science&subtopicName=Environment&prgCode=ATC&hubId=-1&thingId=15460462&ssid=&tableModifier=&mtype=WM";
		break;
		
		// Home energy conservation
		case 'HomeConservation_Btn':
		s = fsperoot + 'go_f.htm?r=ins_01.html'; // Insulation factsheet
		break;
		
		// HAND
		case 'HAND_Btn':
		s = domainroot + 'HAND/go_f.htm?r='+fsperoot+'hand_intro.htm';
		case 'Chat_Btn':
		openChat();
		break;

		// H.A.N.D
		case 'Hand0_Btn':
		s = domainroot + 'HAND/go_f.htm?r='+fsperoot+'hand_intro.htm';
		break;
		
		// Introduction
		case 'Hand1_Btn':
		s = domainroot + 'HAND/go_f.htm?r='+fsperoot+'hand_foldintro.htm';
		break;
		
		// QUESTIONS To Get a LISTING
		case 'Hand2_Btn':
		s =  forevergtroot +'green-product-directory-registration';
		break;
		
		// BUSINESS DIRECTORY REFERRALS
		case 'Hand3_Btn':
		//s = domainroot + 'HAND/Green_Products_Directory';
		s = forevergtroot +'green-product-directory-listings';
		//  
		break;

		// People board referrals
		case 'Hand4_Btn':
		s = forevergtroot + '2600_City_Green_Neighborhoods';
		break;

		// Simple Form
		case 'GovtFormsBtn':
		//s = fsperoot + 'go_f.htm?r=appentry.htm';
		s = forevergtroot + 'SIMPLE_FORM';
		break;

		// FSPE
		case 'Hand5_Btn':
		s = fsperoot + 'go_f.htm?r=intro.htm';
		break;

        
        case 'Video_Btn':
        openVideo();
		break;

	}

	// Open radio window
	if (radiourl != "")
	{
		args = "alwaysRaised=true,z-lock=1,location=0,menubar=0,resizable=1,scrollbars=1,status=0,titlebar=0,toolbar=0,hotkeys=0,width=390, height=160";
		radiowin = open("", "radio", args);
		radiowin.location.href = radiourl;
	}
	
    if(s!='')
    {
		//s = converturl(s);
		top.location=s;
    }	
}

var sPrevText='';
function RollOverInfo(buttonname)
{
	if (buttonname=='First')
	{
		buttonname = 'Intro';
	}
       //return; //demo
       /*
   if(domain!='First')
   {
        return;
   }
   */

    if(parent.frames.length==5)
    {
    	mainFrameURL = new String(parent.frames["mainFrame"].location);
    	if(mainFrameURL.indexOf('.ppt')>0)
    	{
    		return;
    	}
    	
        if(parent.frames["mainFrame"].document.rolloverinfo != null)
        {
            
            //if(parent.frames["mainFrame"].document.rolloverinfo)
            {
                //parent.frames["mainFrame"].MMnav_showHideLayers('cmarquee01','','hide');
                //if(IE)
                //{
     	        //   parent.frames["mainFrame"].MMnav_showHideLayers('SearchTips','','hide');
                //}
                parent.frames["mainFrame"].MMnav_showHideLayers('LeftMonitor','','hide');
                parent.frames["mainFrame"].MMnav_showHideLayers('LeftRollover'+buttonname,'','show');
                //if(domain=='First')
                {
                	//if(buttonname!='WhoCanPost')
                	if(buttonname=='Intro')
                	{
	                    parent.frames["mainFrame"].MMnav_showHideLayers('RightMonitor','','hide');
	                     
	                    parent.frames["mainFrame"].MMnav_showHideLayers('RightRollover'+buttonname,'','show');
                    }
                }
                //cmarquee01
            }
        }
    }
}

function InitScreen(domain)
{
	buttonname = domain;
	if (domain=='First')
	{
		domain = 'Intro';
	}
	/*
   if(domain!='First')
   {
        return;
   }
   */

    if(parent.frames.length==5)
    {
    	mainFrameURL = new String(parent.frames["mainFrame"].location);
    	if(mainFrameURL.indexOf('.ppt')>0)
    	{
    		return;
    	}
    	
        if(parent.frames["mainFrame"].document.rolloverinfo != null)
        {
            //if(parent.frames["mainFrame"].document.rolloverinfo)
            {
    
    			/*
                parent.frames["mainFrame"].MMnav_showHideLayers('cmarquee01','','show');
                if(IE)
                {
                parent.frames["mainFrame"].MMnav_showHideLayers('SearchTips','','show');
                }
                parent.frames["mainFrame"].MMnav_showHideLayers('LeftSecond'+domain,'','hide');
                if(sPrevText!='')
                parent.frames["mainFrame"].MMnav_showHideLayers(sPrevText,'','hide','MBubbleBase','','hide','LBubbleBase','','hide');
                sPrevText='';
				*/
                //if(domain=='First')
                {
                	if (buttonname != 'WhoCanPost')
                	{
                    parent.frames["mainFrame"].MMnav_showHideLayers('RightRollover'+domain,'','hide');
                    parent.frames["mainFrame"].MMnav_showHideLayers('RightMonitor','','show');
                    }

                    parent.frames["mainFrame"].MMnav_showHideLayers('LeftRollover'+domain,'','hide');
                    parent.frames["mainFrame"].MMnav_showHideLayers('LeftMonitor','','show');
                }
            }    
        }
    }
}

//alert(top.location);
s = new String(top.location);
//alert(s);
buttons='<form>\n' + 
'<table border="0" cellpadding="0" cellspacing="0" bgcolor="#000000">\n' + 
'<tr>\n' + 
'  <td style="height: 1px"></td>\n' + 
'  <td style="height: 1px"></td>\n' + 
'  <td style="height: 1px"></td>\n' + 
'  <td style="height: 1px"></td>\n' + 
'  <td style="height: 1px"></td>\n' + 
'  <td style="height: 1px"></td>\n' + 
'  <td style="height: 1px"></td>\n' + 
'  <td style="height: 1px"><img src="img/mainmenu/spacer.gif" width="42" height="1"></td>\n' + 
'  <td style="height: 1px"></td>\n' + 
'  <td style="height: 1px"></td>\n' + 
'  <td style="height: 1px"></td>\n' + 
'</tr>\n' + 
'<tr><td>\n' + 
'<input name="intro_btn"  onClick="ButtonClick(this)" onMouseOver="MouseOverButton(this)" onMouseOut="MouseOutButton(this)"  type="button" class="introbtnstyle" style="width:62px;" value="4Ever\n' + 
'Green13\n' + 
'Television">\n' + 
'\n' + 
'</td>\n' + 
'<td><button \n' + 
'name="WhoCanPost_btn" type="button" id="WhoCanPost_btn" class="redbtnstyle" style="width: 60px; text-align: center;"  onClick="ButtonClick(this)"  onMouseOver="MouseOverButton(this)" onMouseOut="MouseOutButton(this)">Arizona<br>\n' + 
'21st Solar<br>\n' + 
'RoadMap\n' + 
'</button>\n' + 
'</td>\n' + 
'<td><input name="WhatIsEEM" type="button" class="redbtnstyle" style="width:122px;"  onClick="ButtonClick(this)"  onMouseOver="MouseOverButton(this)" onMouseOut="MouseOutButton(this)"  value="WHAT IS AN\n' + 
'ENERGY EFFICIENT\n' + 
'MORTGAGE ?">\n' + 
'</td>\n' + 
'<td><input name="FinGovtForms_Btn" type="button" class="redbtnstyle" style="width:90px"  onClick="ButtonClick(this)"  onMouseOver="MouseOverButton(this)" onMouseOut="MouseOutButton(this)"  value="FINANCIAL\n' + 
'INCENTIVE\n' + 
'GOVT.FORMS">\n' + 
'</td>\n' + 
'<td><input name="GreenRealEstate_Btn" type="button" class="redbtnstyle" style="width:60px"  onClick="ButtonClick(this)"  onMouseOver="MouseOverButton(this)" onMouseOut="MouseOutButton(this)"  value="GREEN\n' + 
'REAL\n' + 
'ESTATE">\n' + 
'</td>\n' + 
'\n' + 
'<td>\n' + 
'<input name="WhatIsCarbonOffset_Btn" type="button" class="redbtnstyle" style="width:115px"  onClick="ButtonClick(this)"  onMouseOver="MouseOverButton(this)" onMouseOut="MouseOutButton(this)"  value="WHAT IS A\n' + 
'CARBON OFF-SET\n' + 
'INVESTMENT">\n' + 
'</td>\n' + 
'<td><input name="LegislativeAction_Btn" type="button" class="redbtnstyle" style="width:135px;"  onClick="ButtonClick(this)"  onMouseOver="MouseOverButton(this)" onMouseOut="MouseOutButton(this)"  value="LEGISLATIVE ACTION\n' + 
'YOU CAN\n' + 
'TAKE TODAY!">\n' + 
'</td>\n' + 
'<td width="42" align="center"><span style=\'color:#FFFFFF; font-size: 12px; font-weight: bold; font-family: "Times New Roman", Times, serif;\'>&lt;-GO-&gt;</span><br>\n' + 
'<span style="color:#FFFF18; font-size: 12px; font-weight: bold; font-family: "Times New Roman", Times, serif;">&nbsp;&nbsp;TO-&gt;</span><br>\n' + 
'<span style="color:#FFFF18; font-size: 12px; font-weight: bold; font-family: "Times New Roman", Times, serif;">&lt;-BK&nbsp;&nbsp;&nbsp;&nbsp;</span></td>\n' + 
'<td><input name="ZEH_Btn" type="button" class="yellowbtnstyle" style="width:115px"  onClick="ButtonClick(this)"  onMouseOver="MouseOverButton(this)" onMouseOut="MouseOutButton(this)"  value="UNDERSTANDING\n' + 
'A ZERO ENERGY\n' + 
'HOME">\n' + 
'</td>\n' + 
'<td><input name="HAND_Btn" type="button" class="yellowbtnstyle" style="width:55px;"  onClick="ButtonClick(this)"  onMouseOver="MouseOverButton(this)" onMouseOut="MouseOutButton(this)"  value="\n' + 
'H.A.N.D.\n' + 
' ">\n' + 
'</td>\n' + 
'\n' + 
'<td align="center"><span class="whitebtnstyle">LIVE</span><br><input \n' + 
'name="Chat_Btn" type="button" class="bluebtnstyle" style="width:50px;"  onClick="ButtonClick(this)"  onMouseOver="MouseOverButton(this)" onMouseOut="MouseOutButton(this)" value="CHAT"><br>\n' + 
'<input name="Video_Btn" type="button"  class="rosebtnstyle" style="width:50px;"  onClick="ButtonClick(this)"  onMouseOver="MouseOverButton(this)" onMouseOut="MouseOutButton(this)" value="VIDEO">\n' + 
'</td>\n' + 
'</tr>\n' + 
'</table>\n' + 
'</form>\n';


if ((document.navtopic!=null) && (document.navtopic == "zeh")
|| (s.indexOf('?r=zeh-')>0) || (s.indexOf('?r=ins_')>0)
|| (s.indexOf('/zeh-')>0) || (s.indexOf('/ins_')>0)
|| (s.indexOf('zeh-')>0) || (s.indexOf('ins_')>0)
|| (s.indexOf('save_energy.htm')>0) || (s.indexOf('help-')>0)
)
{

	buttons = '<form>\n' + 
	'<table cellpadding="0" cellspacing="0" bgcolor="#000000">\n' + 
	'<tr><td>\n' + 
	'<input name="backintro_btn"  type="button" class="yellowbtnstyle" id="backintro_btn" style="width:95px;" onClick="ButtonClick(this)" onMouseOver="MouseOverButton(this)" onMouseOut="MouseOutButton(this)"   value="GO BACK TO:\n' + 
	'Intro - Report\n' + 
	'Forms - Invest\n' + 
	'Message Board">\n' + 
	'\n' + 
	'</td>\n' + 
	'<td align="center"><span style=\'color:#FFFFFF; font-size: 12px; font-weight: bold; font-family: "Times New Roman", Times, serif;\'>&lt;-GO-&gt;</span><br>\n' + 
	'<span style="color:#FFFF18; font-size: 12px; font-weight: bold; font-family: "Times New Roman", Times, serif;">&nbsp;&nbsp;TO-&gt;</span><br>\n' + 
	'<span style="color:#FFFF18; font-size: 12px; font-weight: bold; font-family: "Times New Roman", Times, serif;">&lt;-BK&nbsp;&nbsp;&nbsp;&nbsp;</span>\n' + 
	'</td>\n' + 
	'<td><input name="ZEH_Btn" type="button" class="redbtnstyle" style="width:115px"  onClick="ButtonClick(this)"  onMouseOver="MouseOverButton(this)" onMouseOut="MouseOutButton(this)"  value="UNDERSTANDING\n' + 
	'A ZERO ENERGY\n' + 
	'HOME">\n' + 
	'</td>\n' + 
	'<td align="center"><span style=\'color:#FFFFFF; font-size: 12px; font-weight: bold; font-family: "Times New Roman", Times, serif;\'>&lt;-GO-&gt;</span><br>\n' + 
	'<span style="color:#FFFF18; font-size: 12px; font-weight: bold; font-family: "Times New Roman", Times, serif;">&nbsp;&nbsp;TO-&gt;</span><br>\n' + 
	'<span style="color:#FFFF18; font-size: 12px; font-weight: bold; font-family: "Times New Roman", Times, serif;">&lt;-BK&nbsp;&nbsp;&nbsp;&nbsp;</span>\n' + 
	'</td>\n' + 
	'<td><input name="AltEnOptions_Btn" type="button" class="redbtnstyle" id="AltEnOptions_Btn" style="width:80px;"  onClick="ButtonClick(this)"  onMouseOver="MouseOverButton(this)" onMouseOut="MouseOutButton(this)"  value="Alternative\n' + 
	'ENERGY\n' + 
	'OPTIONS">\n' + 
	'</td>\n' + 
	'<td align="center"><span style=\'color:#FFFFFF; font-size: 12px; font-weight: bold; font-family: "Times New Roman", Times, serif;\'>&lt;-GO-&gt;</span><br>\n' + 
	'<span style="color:#FFFF18; font-size: 12px; font-weight: bold; font-family: "Times New Roman", Times, serif;">&nbsp;&nbsp;TO-&gt;</span><br>\n' + 
	'<span style="color:#FFFF18; font-size: 12px; font-weight: bold; font-family: "Times New Roman", Times, serif;">&lt;-BK&nbsp;&nbsp;&nbsp;&nbsp;</span>\n' + 
	'</td>\n' + 
	'<td><input name="BuildingZEH_Btn" type="button" class="redbtnstyle" id="BuildingZEH_Btn" style="width:100px"  onClick="ButtonClick(this)"  onMouseOver="MouseOverButton(this)" onMouseOut="MouseOutButton(this)"  value="BUILDING A\n' + 
	'ZERO\n' + 
	'ENERGY HOME">\n' + 
	'</td>\n' + 
	'<td align="center"><span style=\'color:#FFFFFF; font-size: 12px; font-weight: bold; font-family: "Times New Roman", Times, serif;\'>&lt;-GO-&gt;</span><br>\n' + 
	'<span style="color:#FFFF18; font-size: 12px; font-weight: bold; font-family: "Times New Roman", Times, serif;">&nbsp;&nbsp;TO-&gt;</span><br>\n' + 
	'<span style="color:#FFFF18; font-size: 12px; font-weight: bold; font-family: "Times New Roman", Times, serif;">&lt;-BK&nbsp;&nbsp;&nbsp;&nbsp;</span>\n' + 
	'</td>\n' + 
	'<td>\n' + 
	'<input name="HomeConservation_Btn" type="button" class="redbtnstyle" id="HomeConservation_Btn" style="width:120px"  onClick="ButtonClick(this)"  onMouseOver="MouseOverButton(this)" onMouseOut="MouseOutButton(this)"  value="HOME\n' + 
	'ENERGY\n' + 
	'CONSERVATION">\n' + 
	'</td>\n' + 
	'<td align="center"><span style=\'color:#FFFFFF; font-size: 12px; font-weight: bold; font-family: "Times New Roman", Times, serif;\'>&lt;-GO-&gt;</span><br>\n' + 
	'<span style="color:#FFFF18; font-size: 12px; font-weight: bold; font-family: "Times New Roman", Times, serif;">&nbsp;&nbsp;TO-&gt;</span><br>\n' + 
	'<span style="color:#FFFF18; font-size: 12px; font-weight: bold; font-family: "Times New Roman", Times, serif;">&lt;-BK&nbsp;&nbsp;&nbsp;&nbsp;</span>\n' + 
	'</td>\n' + 
	'<td align="center"><span class="whitebtnstyle">LIVE</span><br>\n' + 
	'<input name="Chat_Btn" type="button" class="bluebtnstyle" style="width:50px;"  onClick="ButtonClick(this)"  onMouseOver="MouseOverButton(this)" onMouseOut="MouseOutButton(this)" value="CHAT"><br>\n' + 
	'<input name="Video_Btn" type="button"  class="rosebtnstyle" style="width:50px;"  onClick="ButtonClick(this)"  onMouseOver="MouseOverButton(this)" onMouseOut="MouseOutButton(this)" value="VIDEO">\n' + 
	'</td>\n' + 
	'</tr>\n' + 
	'</table>\n' + 
	'</form>\n';
}

if ( (s.indexOf('/costs-')>0) || (s.indexOf('?r=costs-')>0)
)
{
	buttons = '<form>\n' + 
'<table border="0" cellpadding="0" cellspacing="0" bgcolor="#000000">\n' + 
'<tr>\n' + 
'  <td style="height: 1px"></td>\n' + 
'  <td style="height: 1px"></td>\n' + 
'  <td style="height: 1px"></td>\n' + 
'  <td style="height: 1px"></td>\n' + 
'  <td style="height: 1px"></td>\n' + 
'  <td style="height: 1px"></td>\n' + 
'  <td style="height: 1px"></td>\n' + 
'  <td style="height: 1px"></td>\n' + 
'  <td style="height: 1px"></td>\n' + 
'</tr>\n' + 
'<tr><td><input name="Costs1_Btn" type="button" class="narrowredbtnstyle"  onClick="ButtonClick(this)"  onMouseOver="MouseOverButton(this)" onMouseOut="MouseOutButton(this)"  value="INTRO\n' + 
'DUCT\n' + 
'ION  ">\n' + 
'</td>\n' + 
'<td><input name="Costs2_Btn" type="button" class="redbtnstyle"   onClick="ButtonClick(this)"  onMouseOver="MouseOverButton(this)" onMouseOut="MouseOutButton(this)"  value="Green-TECH\n' + 
'STUDIOS\n' + 
'in-tv SHOW ">\n' + 
'</td>\n' + 
'\n' + 
'\n' + 
'<td><input name="Costs3_Btn" type="button" class="redbtnstyle"   onClick="ButtonClick(this)"  onMouseOver="MouseOverButton(this)" onMouseOut="MouseOutButton(this)"  value="      HOW\n' + 
'Green-TECH\n' + 
'  WORKS">\n' + 
'</td>\n' + 
'\n' + 
'<td><input name="Costs4_Btn" type="button" class="redbtnstyle"  onClick="ButtonClick(this)"  onMouseOver="MouseOverButton(this)" onMouseOut="MouseOutButton(this)"  value="Green-TECH\n' + 
'    BENE\n' + 
'    FITS">\n' + 
'</td>\n' + 
'\n' + 
'<td><input name="Costs5_Btn" type="button" class="narrowredbtnstyle"   onClick="ButtonClick(this)"  onMouseOver="MouseOverButton(this)" onMouseOut="MouseOutButton(this)"  value="PUB\n' + 
'LIC\n' + 
'ITY"></td>\n' + 
'<td><input name="Costs6_Btn" type="button" class="redbtnstyle"   onClick="ButtonClick(this)"  onMouseOver="MouseOverButton(this)" onMouseOut="MouseOutButton(this)"  value="Green-\n' + 
'TECH\n' + 
'STUDIOS"></td>\n' + 
'<td><input name="Costs7_Btn" type="button" class="redbtnstyle"   onClick="ButtonClick(this)"  onMouseOver="MouseOverButton(this)" onMouseOut="MouseOutButton(this)"  value="GREEN-TECH\n' + 
'ADVERTISING\n' + 
'COSTS"></td>\n' + 
'<td><input name="Costs8_Btn" type="button" class="redbtnstyle"  style="height:50px;"  onClick="ButtonClick(this)"  onMouseOver="MouseOverButton(this)" onMouseOut="MouseOutButton(this)"  value="Questionnaire"></td>\n' + 
'<td align="center"><span class="whitebtnstyle">LIVE</span><br><input \n' + 
'name="Chat_Btn" type="button" class="bluebtnstyle" style="width:50px;"  onClick="ButtonClick(this)"  onMouseOver="MouseOverButton(this)" onMouseOut="MouseOutButton(this)" value="CHAT"><br>\n' + 
'<input name="Video_Btn" type="button"  class="rosebtnstyle" style="width:50px;"  onClick="ButtonClick(this)"  onMouseOver="MouseOverButton(this)" onMouseOut="MouseOutButton(this)" value="VIDEO"></td>\n' + 
'</tr>\n' + 
'</table>\n' + 
'</form>\n';
}

if ( (s.indexOf('/hand-')>0)
|| (document.navtopic!=null) && (document.navtopic == "hand")
)
{
//	

	evergreen_over_src = forevergtroot + 'img/bot/evergreen_h.gif';
	MMnav_preloadImages(forevergtroot + 'img/bot/evergreen_h.gif',  forevergtroot + 'img/bot/videoserver_h.gif');
	
	buttons = '<form>\n' + 
	'<table border="0" cellpadding="0" cellspacing="0">\n' + 
'<tr>\n' + 
'  <td style="height: 1px"></td>\n' + 
'  <td style="height: 1px"></td>\n' + 
'  <td style="height: 1px"></td>\n' + 
'  <td style="height: 1px"></td>\n' + 
'  <td style="height: 1px"></td>\n' + 
'  <td style="height: 1px"></td>\n' + 
'  <td style="height: 1px"></td>\n' + 
'  <td style="height: 1px"></td>\n' + 
'  <td style="height: 1px"></td>\n' + 
'</tr>\n' + 
'<tr>\n' + 
'  <td><a href="http://www.4EverGreen13.com/video/videoflywords.htm" onclick="return OpenLink(\'GreenTV_Btn\')" onMouseOver="MMnav_swapImage(\'evergreen_btn\',\'\',evergreen_over_src,1)" onMouseOut="MMnav_swapImgRestore()"><img src="img/bot/evergreen_p.gif" alt="CLICK HERE 4EverGreen13 TV SHOW" name="evergreen_btn" border="0" id="evergreen_btn"></a></td>\n' + 
'  <td><button name="Hand0_Btn" type="button" class="redbtnstyle"  style="height:80px" onClick="ButtonClick(this)"  onMouseOver="MouseOverButton(this)" onMouseOut="MouseOutButton(this)">Hammer<br>And<br>Nail<br>Depot<br>H.A.N.D</button></td>\n' + 
'  <td><button name="Hand1_Btn" type="button" class="redbtnstyle"  onClick="ButtonClick(this)"  onMouseOver="MouseOverButton(this)" onMouseOut="MouseOutButton(this)">INTRO<br>\n' + 
'DUCT<br>\n' + 
'ION</button>\n' + 
'</td>\n' + 
'<td><button name="Hand2_Btn" type="button" class="redbtnstyle"   onClick="ButtonClick(this)"  onMouseOver="MouseOverButton(this)" onMouseOut="MouseOutButton(this)">QUESTIONS<br>\n' + 
'To Get a<br>\n' + 
'LISTING</button>\n' + 
'</td>\n' + 
'\n' + 
'\n' + 
'<td><button name="Hand3_Btn" type="button" class="redbtnstyle"   onClick="ButtonClick(this)"  onMouseOver="MouseOverButton(this)" onMouseOut="MouseOutButton(this)" >\n' + 
'BUISNESS<br>\n' + 
'DIRECTORY<br>\n' + 
'REFERRALS</button>\n' + 
'</td>\n' + 
'\n' + 
'<td><button name="Hand4_Btn" type="button" class="redbtnstyle"  onClick="ButtonClick(this)"  onMouseOver="MouseOverButton(this)" onMouseOut="MouseOutButton(this)">PEOPLE<br>\n' + 
'BOARD<br>\n' + 
'REFERRALS</button>\n' + 
'</td>\n' + 
'\n' + 
'<td><button name="Hand5_Btn" type="button" class="redbtnstyle"   onClick="ButtonClick(this)"  onMouseOver="MouseOverButton(this)" onMouseOut="MouseOutButton(this)">Freedom<br>\n' + 
'Solar Power<br>\n' + 
'&amp; Electric</button></td>\n' + 
'<td align="center"><span class="whitebtnstyle" style="width:50px">LIVE</span><br><input \n' + 
'name="Chat_Btn" type="button" class="bluebtnstyle" style="width:50px;"  onClick="ButtonClick(this)"  onMouseOver="MouseOverButton(this)" onMouseOut="MouseOutButton(this)" value="CHAT"><br>\n' + 
'<input name="Video_Btn" type="button"  class="rosebtnstyle" style="width:50px;"  onClick="ButtonClick(this)"  onMouseOver="MouseOverButton(this)" onMouseOut="MouseOutButton(this)" value="VIDEO"></td>\n' + 
'<td align="center"><a href="http://www.4EverGreen13.com/Green_Video_SERVER" onclick="return OpenLink(\'IntroVS_Btn\')" onMouseOver="MMnav_swapImage(\'videoserver_btn\',\'\',\'img/bot/videoserver_h.gif\',1)" onMouseOut="MMnav_swapImgRestore()"><img src="img/bot/videoserver_p.gif" alt="Video Server For Green Products" name="videoserver_btn" border="0" id="videoserver_btn"></a></td>\n' + 
'</tr>\n' + 
'</table>\n' +'</form>\n';
}
if ( s.indexOf('newvideo')>0) 
{
	buttons = '';
}
//buttons.replace(/..\//g,'/'); 
imgsrc = 'src="'+fsperoot+'img';
buttons=buttons.replace(/src=\"img/g, imgsrc);
imgsrc = ",\'"+ forevergtroot +"img/bot";
buttons=buttons.replace(/,\'img\/bot/g, imgsrc);

document.write(buttons);

