// JavaScript Document

 	YAHOO.namespace("container");
	YAHOO.util.Event.onDOMReady(function () {
		YAHOO.container.boxPanel = new YAHOO.widget.Panel("boxPanel", { 
			visible:false, 
			constraintoviewport:true, 
			modal:true,
			fixedcenter:true,
			iframe: true,
			draggable:false

		});
		YAHOO.container.boxPanel.render();
	});



    var imB = function(id, descX){
		
		var myHeight = 0; //myWidth = 0, myHeight = 0;
  if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
   // myWidth = window.innerWidth;
    espaco_iframe = window.innerHeight;
  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    //IE 6+ in 'standards compliant mode'
  //  myWidth = document.documentElement.clientWidth;
    espaco_iframe = document.documentElement.clientHeight;
  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    //IE 4 compatible
  //  myWidth = document.body.clientWidth;
    espaco_iframe = document.body.clientHeight;
  }
espaco_iframe = espaco_iframe - 110

    //document.getElementById('boxConteudo').innerHTML="<img style='width:480px; ' src='" + imgX + "' />"; 
	//YAHOO.container.boxPanel.setFooter(descX); 
	//YAHOO.container.boxPanel.setHeader(descX); 
	mostradetalhes(id,espaco_iframe);
	
	YAHOO.container.boxPanel.show()
	
	
	}
