function hideField(elemName) {
	(document.getElementById(elemName)).style.display = 'none';
}

function showField(elemName) {
	(document.getElementById(elemName)).style.display = '';
}

// changes chageElemName's visibility when elem is changed to the trigger value
function optionToggleField(elem, triggerVal, changeElemName) {
	if (elem.value == triggerVal) {
		showField(changeElemName);
		document.getElementById(changeElemName).focus();
	} else {
		hideField(changeElemName);
	}
}
var site_url = 'http://investnest.com';

var anylinkmenu1={divclass:'anylinkmenu tools', inlinestyle:'', linktarget:''} //First menu variable. Make sure "anylinkmenu1" is a unique name!
anylinkmenu1.items=[
	["Cyberhomes Home Valuation", site_url + "/page.php?page=32"],
	["Zillow Home Valuation", site_url + "/page.php?page=33"],
	["Financial Tools", site_url + "/page.php?page=41"],
	["Calculators", site_url + "/page.php?page=39"],
	["Real Estate Articles", site_url + "/rearticles"]
	 //no comma following last entry!
]

var anylinkmenujoin={divclass:'anylinkmenu', inlinestyle:'', linktarget:''} //First menu variable. Make sure "anylinkmenu1" is a unique name!
anylinkmenujoin.items=[
	["Groups", site_url + "/groups"]
	 //no comma following last entry!
]

var anylinkmenuvidupload={divclass:'anylinkmenu', inlinestyle:'', linktarget:''} //First menu variable. Make sure "anylinkmenu1" is a unique name!
anylinkmenuvidupload.items=[
	["Upload", site_url + "/uploader.php"],
	["Import", site_url + "/uploader.php"]
	 //no comma following last entry!
]

var anylinkmenuaudioupload={divclass:'anylinkmenu', inlinestyle:'', linktarget:''} //First menu variable. Make sure "anylinkmenu1" is a unique name!
anylinkmenuaudioupload.items=[
	["Upload", site_url + "/audio_uploader.php"]
	 //no comma following last entry!
]

var anylinkmenuimageupload={divclass:'anylinkmenu', inlinestyle:'', linktarget:''} //First menu variable. Make sure "anylinkmenu1" is a unique name!
anylinkmenuimageupload.items=[
	["Upload", site_url + "/image_uploader.php"]
	 //no comma following last entry!
]

var anylinkmenublogupload={divclass:'anylinkmenu', inlinestyle:'', linktarget:''} //First menu variable. Make sure "anylinkmenu1" is a unique name!
anylinkmenublogupload.items=[
	["Write", site_url + "/blogs.php?action=write"]
	 //no comma following last entry!
]



var anylinkmenuabout={divclass:'anylinkmenu', inlinestyle:'', linktarget:''} //First menu variable. Make sure "anylinkmenu1" is a unique name!
anylinkmenuabout.items=[
	["Careers", site_url + "/page.php?page=11"],
	["Contact Us", site_url + "/page.php?page=2"],
	["Support", site_url + "/page.php?page=15"],
	["Media Center", site_url + "/page.php?page=43"]
	 //no comma following last entry!
]

var anylinkmenu_upload={divclass:'anylinkmenu', inlinestyle:'', linktarget:''} //First menu variable. Make sure "anylinkmenu1" is a unique name!
anylinkmenu_upload.items=[
	["Video", site_url + "/uploader.php"],
	["Audio", site_url + "/audio_uploader.php"],
	["Images", site_url + "/image_uploader.php"],
	["Blogs", site_url + "/blogs.php?action=write"]
	 //no comma following last entry!
]

var anylinkmenutranslate={divclass:'anylinkmenu', inlinestyle:'', linktarget:''} //First menu variable. Make sure "anylinkmenu1" is a unique name!
anylinkmenutranslate.items=[
	["French", "javascript:var%20t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||(document.selection&&document.selection.createRange&&document.selection.createRange().text));var%20e=(document.charset||document.characterSet);if(t!=''){location.href='http://translate.google.com/translate_t?text='+t+'&hl=en&langpair=auto|fr&tbb=1&ie='+e;}else{location.href='http://translate.google.com/translate?u='+escape(location.href)+'&hl=en&langpair=auto|fr&tbb=1&ie='+e;};"],
	["Spanish", "javascript:var%20t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||(document.selection&&document.selection.createRange&&document.selection.createRange().text));var%20e=(document.charset||document.characterSet);if(t!=''){location.href='http://translate.google.com/translate_t?text='+t+'&hl=en&langpair=auto|es&tbb=1&ie='+e;}else{location.href='http://translate.google.com/translate?u='+escape(location.href)+'&hl=en&langpair=auto|es&tbb=1&ie='+e;};"],
	["Chinese (Simp)", "javascript:var%20t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||(document.selection&&document.selection.createRange&&document.selection.createRange().text));var%20e=(document.charset||document.characterSet);if(t!=''){location.href='http://translate.google.com/translate_t?text='+t+'&hl=en&langpair=auto|zh-CN&tbb=1&ie='+e;}else{location.href='http://translate.google.com/translate?u='+escape(location.href)+'&hl=en&langpair=auto|zh-CN&tbb=1&ie='+e;};"],
	["German", "javascript:var%20t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||(document.selection&&document.selection.createRange&&document.selection.createRange().text));var%20e=(document.charset||document.characterSet);if(t!=''){location.href='http://translate.google.com/translate_t?text='+t+'&hl=en&langpair=auto|de&tbb=1&ie='+e;}else{location.href='http://translate.google.com/translate?u='+escape(location.href)+'&hl=en&langpair=auto|de&tbb=1&ie='+e;};"],
	["Italian", "javascript:var%20t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||(document.selection&&document.selection.createRange&&document.selection.createRange().text));var%20e=(document.charset||document.characterSet);if(t!=''){location.href='http://translate.google.com/translate_t?text='+t+'&hl=en&langpair=auto|it&tbb=1&ie='+e;}else{location.href='http://translate.google.com/translate?u='+escape(location.href)+'&hl=en&langpair=auto|it&tbb=1&ie='+e;};"],
	["Japanese", "javascript:var%20t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||(document.selection&&document.selection.createRange&&document.selection.createRange().text));var%20e=(document.charset||document.characterSet);if(t!=''){location.href='http://translate.google.com/translate_t?text='+t+'&hl=en&langpair=auto|ja&tbb=1&ie='+e;}else{location.href='http://translate.google.com/translate?u='+escape(location.href)+'&hl=en&langpair=auto|ja&tbb=1&ie='+e;};"],
	["Korean", "javascript:var%20t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||(document.selection&&document.selection.createRange&&document.selection.createRange().text));var%20e=(document.charset||document.characterSet);if(t!=''){location.href='http://translate.google.com/translate_t?text='+t+'&hl=en&langpair=auto|ko&tbb=1&ie='+e;}else{location.href='http://translate.google.com/translate?u='+escape(location.href)+'&hl=en&langpair=auto|ko&tbb=1&ie='+e;};"],
	["Arabic", "javascript:var%20t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||(document.selection&&document.selection.createRange&&document.selection.createRange().text));var%20e=(document.charset||document.characterSet);if(t!=''){location.href='http://translate.google.com/translate_t?text='+t+'&hl=en&langpair=auto|ar&tbb=1&ie='+e;}else{location.href='http://translate.google.com/translate?u='+escape(location.href)+'&hl=en&langpair=auto|ar&tbb=1&ie='+e;};"],
	["Hindi", "javascript:var%20t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||(document.selection&&document.selection.createRange&&document.selection.createRange().text));var%20e=(document.charset||document.characterSet);if(t!=''){location.href='http://translate.google.com/translate_t?text='+t+'&hl=en&langpair=auto|hi&tbb=1&ie='+e;}else{location.href='http://translate.google.com/translate?u='+escape(location.href)+'&hl=en&langpair=auto|hi&tbb=1&ie='+e;};"],
	["Russian", "javascript:var%20t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||(document.selection&&document.selection.createRange&&document.selection.createRange().text));var%20e=(document.charset||document.characterSet);if(t!=''){location.href='http://translate.google.com/translate_t?text='+t+'&hl=en&langpair=auto|ru&tbb=1&ie='+e;}else{location.href='http://translate.google.com/translate?u='+escape(location.href)+'&hl=en&langpair=auto|ru&tbb=1&ie='+e;};"]
	 //no comma following last entry!
]



var anylinkmenu2={divclass:'anylinkmenu', inlinestyle:'width:150px; background:#FDD271', linktarget:'_new'} //Second menu variable. Same precaution.
anylinkmenu2.items=[
	["CNN", "http://www.cnn.com/"],
	["MSNBC", "http://www.msnbc.com/"],
	["Google", "http://www.google.com/"],
	["BBC News", "http://news.bbc.co.uk"] //no comma following last entry!
]



var anylinkmenu3={divclass:'anylinkmenucols', inlinestyle:'', linktarget:'secwin'} //Third menu variable. Same precaution.
anylinkmenu3.cols={divclass:'column', inlinestyle:''} //menu.cols if defined creates columns of menu links segmented by keyword "efc"
anylinkmenu3.items=[
	["Dynamic Drive", "http://www.dynamicdrive.com/"],
	["CSS Drive", "http://www.cssdrive.com/"],
	["JavaScript Kit", "http://www.javascriptkit.com/"],
	["Coding Forums", "http://www.codingforums.com/"],
	["JavaScript Reference", "http://www.javascriptkit.com/jsref/", "efc"],
	["CNN", "http://www.cnn.com/"],
	["MSNBC", "http://www.msnbc.com/"],
	["Google", "http://www.google.com/"],
	["BBC News", "http://news.bbc.co.uk", "efc"],
	["News.com", "http://www.news.com/"],
	["SlashDot", "http://www.slashdot.com/"],
	["Digg", "http://www.digg.com/"],
	["Tech Crunch", "http://techcrunch.com"] //no comma following last entry!
]

var anylinkmenu4={divclass:'anylinkmenu', inlinestyle:'width:150px; background:#DFFDF4', linktarget:'_new'} //Second menu variable. Same precaution.
anylinkmenu4.items=[
	["CNN", "http://www.cnn.com/"],
	["MSNBC", "http://www.msnbc.com/"],
	["Google", "http://www.google.com/"],
	["BBC News", "http://news.bbc.co.uk"] //no comma following last entry!
]