var windermere = false;
//////////////////
function pop_windermere_1 ()
{
  window.open(
    "http://frame.windermere.com/index.cfm?fuseaction=listing.searchMap&map=pierce&frameAgentID=16186",
    "thg",
    "width=630,height=400,'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=1,resizable=1");
}
//////////////////
function query_step_1 ()
{
	if (windermere == true)	{
		pop_windermere_1 ();
		return;
	}
	windermere = true;
  window.open(
    "http://thehumegroup.com/docs/query_step.html?link=1",
    "thg",
    "width=630,height=400,'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=1,resizable=1");
}
//////////////////
function pop_windermere_2 ()
{
  window.open(
    "http://www.windermere.com/index.cfm?fuseaction=Listing.actSearchByAgent&searchAgentMetauser_ID=16186",
    "thg",
    "width=630,height=450,'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1");
}
//////////////////
function query_step_2 ()
{
	if (windermere == true)	{
		pop_windermere_2 ();
		return;
	}
	windermere = true;
  window.open(
    "http://thehumegroup.com/docs/query_step.html?link=2",
    "thg",
    "width=630,height=400,'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=1,resizable=1");
}
//////////////////
function goToEmailNotice ()
{
  opener.location='http://thehumegroup.com/services/email-me.htm';
  window.close();
}