// JavaScript Document

function tab(p) {
	
if (p=='2') {	
document.getElementById('p1').className='p1_off';
document.getElementById('p2').className='p2_on';
document.getElementById('cont1').className='ocultar';
document.getElementById('cont2').className='';
} 
else if (p=='1') {	
document.getElementById('p1').className='p1_on';
document.getElementById('p2').className='p2_off';
document.getElementById('cont1').className='';
document.getElementById('cont2').className='ocultar';
}


}


function fnSet() {
parent.location.href='/';	
	} 

	
	/*
	function fnSet() {
	
	HomePage = top.location.href;
	if (document.layers)
	setNSHomepage(HomePage);
	else 
	if (document.all) {
	this.style.behavior='url(#default#homepage)';
	this.setHomePage(HomePage);
	}
	else
	
	//alert('Esta opcion no es soportada por su navegador');
	parent.location.href='/';	

}

*/
function favoritos() {
if ( navigator.appName != 'Microsoft Internet Explorer' )
{ window.sidebar.addPanel("MiniPuzzles","http://www.minipuzzles.com/",""); }
else { window.external.AddFavorite("http://www.minipuzzles.com/","MiniPuzzles"); } }

