/*function mostraDiv( destaque )
	{
	  var elem, vis;
	  if( document.getElementById ) // this is the way the standards work
		elem = document.getElementById( destaque );
	  else if( document.all ) // this is the way old msie versions work
		  elem = document.all[destaque];
	  else if( document.layers ) // this is the way nn4 works
		elem = document.layers[destaque];
	  vis = elem.style;
	  // if the style.display value is blank we try to figure it out here
	  if(vis.display==''&&elem.offsetWidth!=undefined&&elem.offsetHeight!=undefined)
		vis.display = (elem.offsetWidth!=0&&elem.offsetHeight!=0)?'block':'none';
	  vis.display = (vis.display==''||vis.display=='block')?'none':'block';
	}*/
function mostraDiv( destaque )
{

var blog, flickr, youtube, orkut, wiki, limpo, vis;

if( document.getElementById ) // this is the way the standards work
	limpo = document.getElementById('destaqueLimpo');
else if( document.all ) // this is the way old msie versions work
	limpo = document.all['destaqueLimpo'];
else if( document.layers ) // this is the way nn4 works
	limpo = document.layers['destaqueLimpo'];	
	
if( document.getElementById ) // this is the way the standards work
	blog = document.getElementById('destaqueBlog');
else if( document.all ) // this is the way old msie versions work
	blog = document.all['destaqueBlog'];
else if( document.layers ) // this is the way nn4 works
	blog = document.layers['destaqueBlog'];	
	
if( document.getElementById ) // this is the way the standards work
	flickr = document.getElementById('destaqueFlickr');
else if( document.all ) // this is the way old msie versions work
	flickr = document.all['destaqueFlickr'];
else if( document.layers ) // this is the way nn4 works
	flickr = document.layers['destaqueFlickr'];
	
if( document.getElementById ) // this is the way the standards work
	youtube = document.getElementById('destaqueYoutube');
else if( document.all ) // this is the way old msie versions work
	youtube = document.all['destaqueYoutube'];
else if( document.layers ) // this is the way nn4 works
	youtube = document.layers['destaqueYoutube'];
	
if( document.getElementById ) // this is the way the standards work
	orkut = document.getElementById('destaqueOrkut');
else if( document.all ) // this is the way old msie versions work
	orkut = document.all['destaqueOrkut'];
else if( document.layers ) // this is the way nn4 works
	orkut = document.layers['destaqueOrkut'];
	
if( document.getElementById ) // this is the way the standards work
	wiki = document.getElementById('destaqueWiki');
else if( document.all ) // this is the way old msie versions work
	wiki = document.all['destaqueWiki'];
else if( document.layers ) // this is the way nn4 works
	wiki = document.layers['destaqueWiki'];
	
	switch(destaque){
		case 'destaqueBlog':
			vis = blog.style;
			vis.display = 'block';
			flickr.style.display = 'none';
			orkut.style.display = 'none';
			youtube.style.display = 'none';
			wiki.style.display = 'none';
			limpo.style.display = 'none';
			break
		case 'destaqueFlickr':
			vis = flickr.style;
			vis.display = 'block'
			blog.style.display = 'none';
			orkut.style.display = 'none';
			youtube.style.display = 'none';
			wiki.style.display = 'none';
			limpo.style.display = 'none';
			break
		case 'destaqueYoutube':
			vis = youtube.style;
			vis.display = 'block'
			blog.style.display = 'none';
			flickr.style.display = 'none';
			orkut.style.display = 'none';
			wiki.style.display = 'none';
			limpo.style.display = 'none';
			break
		case 'destaqueOrkut':
			vis = orkut.style;
			vis.display = 'block'
			blog.style.display = 'none';
			flickr.style.display = 'none';
			youtube.style.display = 'none';
			wiki.style.display = 'none';
			limpo.style.display = 'none';
			break
		case 'destaqueWiki':
			vis = wiki.style;
			vis.display = 'block'
			blog.style.display = 'none';
			flickr.style.display = 'none';
			orkut.style.display = 'none';
			youtube.style.display = 'none';
			limpo.style.display = 'none';
			break
		}

}