function maximize()
{
/*
top.window.moveTo(0,0);
if (document.all) 
{
	//top.window.resizeTo(screen.availWidth,screen.availHeight);
	parent.moveTo(0,(screen.height-screen.availHeight));
	//parent.resizeTo(screen.availWidth,screen.availHeight);
	parent.resizeTo(910,700);
}
else if (document.layers||document.getElementById) 
{
	if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth)
	{
		top.window.outerHeight = 700;
		top.window.outerWidth = 910;
	}
}
*/
}

function menuIN(id)
{
 document.getElementById(id).className='xyz';
}

function menuOUT(id)
{
document.getElementById(id).className='abc';
}		

function MO(id)
{
 document.getElementById(id).className='T';
}

function MO2(id)
{
 document.getElementById(id).className='T2';
}

function MO3(id)
{
 document.getElementById(id).className='T3';
}

function MU(id)
{
document.getElementById(id).className='P';
}		

function MU3(id)
{
document.getElementById(id).className='P3';
}		

function MO3b()
{
 document.getElementById('Td110').className='T3';
}

function MU3b()
{
document.getElementById('Td110').className='P3';
}		

function makevisible(cur,which){
strength=(which==0)? 1 : 0.2

if (cur.style.MozOpacity)
cur.style.MozOpacity=strength
else if (cur.filters)
cur.filters.alpha.opacity=strength*100
}

function high(which2){
theobject=which2
highlighting=setInterval("highlightit(theobject)",50)
}
function low(which2){
clearInterval(highlighting)
if (which2.style.MozOpacity)
which2.style.MozOpacity=0.65
else if (which2.filters)
which2.filters.alpha.opacity=65
}
function highlightit(cur2){
if (cur2.style.MozOpacity<1)
cur2.style.MozOpacity=parseFloat(cur2.style.MozOpacity)+0.1
else if (cur2.filters&&cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=10
else if (window.highlighting)
clearInterval(highlighting)
}

function printPage()
{
var sOption="toolbar=no,location=no,directories=no,menubar=yes,";
	sOption+="resizable=yes,scrollbars=yes,width=750,height=500,left=100,top=25";
var sWinHTML = document.getElementById('inicioContenido').innerHTML;
var winprint=window.open("","",sOption);
	winprint.document.open();
	winprint.document.write('<html><LINK href=../Style/simulador_print.css rel=Stylesheet><body>');
	winprint.document.write(sWinHTML);
	winprint.document.write('</body></html>');
	winprint.document.close();
	winprint.focus(); 
	winprint.print();
}

function abrirVentana(url){
 		var win = null;
		LeftPosition = (screen.width) ? (screen.width-650)/2 : 0;
		TopPosition = (screen.height) ? (screen.height-400)/2 : 0;
		var features = 'fullscreen=no,toolbar=no,status=no,menubar=no,scrollbars=yes,resizable=yes,directories=no,location=yes,width=650,height=400,left='+LeftPosition+',top='+TopPosition;
		window.open(url,"",features);
}	