var a = "<div><span style='color:#BB5E59; font-weight:bold;'>Neighborhood:</span> Know and interact with your neighbors and reap the benefits!</div>";
	var b = "<div><span style='color:#BB5E59; font-weight:bold;'>Business:</span> Connect personally and professionally with the people in your organization!</div>";
	var c = "<div><span style='color:#BB5E59; font-weight:bold;'>Sports:</span> Share schedules, pictures, carpools and more with people in your sports organizations!</div>";
	var d = "<div><span style='color:#BB5E59; font-weight:bold;'>School:</span> Interact easily with your own or your kid's classmates and their parents!</div>";
	var e = "<div><span style='color:#BB5E59; font-weight:bold;'>Religious:</span> Enhance your connections with the people in your congregation!</div>";
	var f = "<div><span style='color:#BB5E59; font-weight:bold;'>Family:</span> Stay more connected with the people you love most!</div>";
	var g = "<div><span style='color:#BB5E59; font-weight:bold;'>Any:</span> Make all of your organizations work better for you. It's easy, secure and free!</div>";
function markthumb(src){
	if(src == 'neighborhood'){

		document.getElementById('dvCommInfo').innerHTML = a;
	}
	else if(src == 'business'){

		document.getElementById('dvCommInfo').innerHTML = b;
	}
	else if(src == 'sports'){

		document.getElementById('dvCommInfo').innerHTML = c;
	}
	else if(src == 'school'){

		document.getElementById('dvCommInfo').innerHTML = d;
	}
	else if(src == 'religious'){

		document.getElementById('dvCommInfo').innerHTML = e;
	}
		else if(src == 'family'){

		document.getElementById('dvCommInfo').innerHTML = f;
	}
		else if(src == 'any'){

		document.getElementById('dvCommInfo').innerHTML = g;
	}
}
function markthumbout(src){
	if(src == 'neighborhood'){

		document.getElementById('dvCommInfo').innerHTML = a;
	}
	else if(src != 'business'){

		document.getElementById('dvCommInfo').innerHTML = a;
	}
	else if(src != 'fitness'){

		document.getElementById('dvCommInfo').innerHTML = a;
	}
	else if(src != 'sports'){

		document.getElementById('dvCommInfo').innerHTML = a;
	}
	else if(src != 'religious'){

		document.getElementById('dvCommInfo').innerHTML = a;
	}
		else if(src != 'family'){

		document.getElementById('dvCommInfo').innerHTML = a;
	}
		else if(src != 'any'){

		document.getElementById('dvCommInfo').innerHTML = a;
	}
}

function chkTime(txt){
	if(txt == 'neighborhood'){
		setTimeout("markthumbout()",2000);
	}
	else if(txt != 'business') {
		setTimeout("markthumbout()",2000);
	}
	else if(txt != 'sports') {
		setTimeout("markthumbout()",2000);
	}
	else if(txt != 'school') {
		setTimeout("markthumbout()",2000);
	}
	else if(txt != 'religious') {
		setTimeout("markthumbout()",2000);
	}
		else if(txt != 'family') {
		setTimeout("markthumbout()",2000);
	}
		else if(txt != 'any') {
		setTimeout("markthumbout()",2000);
	}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_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=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->

theObjects = document.getElementsByTagName("object");
for (var i = 0; i < theObjects.length; i++) {
theObjects[i].outerHTML = theObjects[i].outerHTML;
}
MM_preloadImages('images/tab_search_on.gif','images/tab_help_on.gif','images/tab_about_on.gif','images/tab_communities_on.gif');
