//resize.js

function reSize()
{
	try{			
		window.status="";	

		if (document.all){
		  document.getElementById("frBody").style.height = window.frames.frBody.document.body.scrollHeight + 20;
		}else{
		  document.getElementById("frBody").style.height = window.frames.frBody.document.body.offsetHeight + 20;
		}
		
	}	
	//An error is raised if the IFrame domain != its container's domain
	catch(e)
	{
	window.status =	'Error: ' + e.number + '; ' + e.description;
	}

}

function blockedButton()
{
	try{	

	// bloqueo boton derecho
		curPage=1;
		document.oncontextmenu = function(){return false}
		if(document.layers) {
		window.captureEvents(Event.MOUSEDOWN);
		window.onmousedown = function(e){
		if(e.target==document)return false;
		}
		}
		else {
		document.onmousedown = function(){return true}
		}  
	}
	
	//An error is raised if the IFrame domain != its container's domain
	catch(e)
	{
	window.status =	'Error: ' + e.number + '; ' + e.description;
	}

}

