// JavaScript Document
function dhtml() {
	document.writeln('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="447" height="320">')
	document.writeln('<param name="movie" value="dhtml/sl/sl_dhtml.swf" />')
	document.writeln('<param name="wmode" value="transparent" />')
	document.writeln('<param name="quality" value="high" />')
	document.writeln('<embed src="dhtml/sl/sl_dhtml.swf" wmode="transparent" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"width="447" height="320"></embed>')
	document.writeln('</object>')
}


function natal2k6() {
	document.writeln('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="550" height="400">')
	document.writeln('<param name="movie" value="swf/dhtml_natal2k6.swf" />')
	document.writeln('<param name="wmode" value="transparent" />')
	document.writeln('<param name="quality" value="high" />')
	document.writeln('<embed src="swf/dhtml_natal2k6.swf" wmode="transparent" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="550" height="400"></embed>')
	document.writeln('</object>')
}




function menu() {
	document.writeln('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="400" height="650">')
	document.writeln('<param name="movie" value="dhtml/youtube/dhtml_balao.swf" />')
	document.writeln('<param name="wmode" value="transparent" />')
	document.writeln('<param name="quality" value="high" />')
	document.writeln('<embed src="dhtml/youtube/dhtml_balao.swf" wmode="transparent" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="400" height="650"></embed>')
	document.writeln('</object>')
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}
function getInnerSize() {
	var size = new Array(2);
	var myWidth = 0, myHeight = 0;
	//Non-IE
	if( typeof( window.innerWidth ) == 'number' ) {
		size[0] = window.innerWidth;
		size[1] = window.innerHeight;
	//IE 6+ in 'standards compliant mode'
	} else if ( document.documentElement &&
	( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {  
		size[0] = document.documentElement.clientWidth;
		size[1] = document.documentElement.clientHeight;
	//IE 4 compatible
	} else if( document.body && ( document.body.clientWidth ||
	document.body.clientHeight ) ) {
		size[0] = document.body.clientWidth;
		size[1] = document.body.clientHeight;
	} else {
		size[0] = document.documentElement.offsetWidth;
		size[1] = document.documentElement.offsetHeight;
	}
	//old document.getElementById('dhtml').style.top = (size[0]*18.5/100)+'px';
	//old document.getElementById('dhtml').style.left = (size[1]*7.85/100)+'px';
	//document.getElementById('ibest').style.top = '195px';
	//document.getElementById('ibest').style.left = ((size[0]-778)/2)+'px';
	//alert(size[0]);
	//return size;
}
//-->