//funciones correccion de flash

var bo_noscript_id = 0;
function xjid() {
  var strBrowser = navigator.userAgent.toLowerCase();
  return (strBrowser.indexOf("msie") > -1 && strBrowser.indexOf("mac") < 0);
}
function imsComenzarFlash() {
  if (xjid()) {
   document.write('<div style="display: none;" id="bo_noscript_id_' + bo_noscript_id + '">');
  }
}
function imsTerminarFlash() {
  if (xjid()) {
   document.write('</div>');
   var theObject = document.getElementById("bo_noscript_id_" + bo_noscript_id++);
   theObject.outerHTML = theObject.innerHTML;
  }
}



// funcion para maximizar la ventana

function maximizarVentana() {
	top.window.moveTo(-4,-4);
	if (document.all) {
		top.window.resizeTo(screen.availWidth+8,screen.availHeight+8);
	}
	else if (document.layers||document.getElementById) {
		if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth){
			top.window.outerHeight = screen.availHeight;
			top.window.outerWidth = screen.availWidth;
		}
	}
}



// correccion Flash para IE otro intento

objects = document.getElementsByTagName("object"); 
for (var i = 0; i < objects.length; i++) 
{ 
    objects[i].outerHTML = objects[i].outerHTML; 
}
