function WriteHeader(name)
{
	document.write("<object id='header' classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' height='70' width='552'>");
	document.write("<param name='allowScriptAccess' value='sameDomain'>");
	document.write("<param name='movie' value='" + name + "'");
	document.write("<param name='quality' value='high'>");
	document.write("<param name='wmode' value='transparent'>");
	document.write("<param name='bgcolor' value='#ffffff'>");
	document.write("<embed src='" + name + "' quality='high' bgcolor='#ffffff' width='552' height='70' name='header' align='middle' allowscriptaccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
	document.write("</object>");
}

function WriteBanner(name)
{
    document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width='351' height='100' align='middle'>");
    document.write("<param name='allowScriptAccess' value='sameDomain' />");
	document.write("<param name='movie' value='" + name + "'");
	document.write("<param name='quality' value='high'>");
    document.write("<param name='bgcolor' value='#10568a' />");
    document.write("<param name='wmode' value='transparent'>");
    document.write("<embed src='" + name + "' wmode='transparent' quality='high' bgcolor='#10568a' width='351' height='100' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
    document.write("</object>");
}

// Banner APIMEC

	
function convite_por()
	{
	Url = window.open("/itausa/html/pt-BR/download/apimec/Convite_Apimec_SP2011.pdf", "apimec", "scrollbars=yes,width=790,left=0,height=545,top=0,resizable=yes,toolbar=no");
	}

function convite_ing()
	{
	Url = window.open("/itausa/html/pt-BR/download/apimec/Convite_Apimec_SP2011.pdf", "apimec", "width=790,left=0,height=545,top=0,resizable=yes,toolbar=no");
	}
	
function webcast_por()
	{
	Url = window.open("http://www.mediatown.com.br/prnewswire/player/?id=789", "_blank", "resizable=yes,scrollbars=yes,width=1120,height=580,left=0,top=0");
	}
	
function webcast_ing()
	{
	Url = window.open("http://www.mediatown.com.br/prnewswire/player/?id=789", "_blank", "resizable=yes,scrollbars=yes,width=1120,height=570,left=0,top=0");
	}
	
// Banner DCC
//Banner novo
function fnPorDemon()
	{
	    Url = window.open("/itausa/Content/DCC/DCC.aspx?DCC=/itausa/HTML/pt-BR/infofinan/demon/Dcc_e_MDA/df300911/index.htm", "_self");
	}

function fnIngDemon()
	{
	    Url = window.open("/itausa/Content/DCC/DCC.aspx?idioma=en-US&DCC=/itausa/HTML/en-US/infofinan/demon/Dcc_e_MDA/df300911/index.htm", "_self");
	}
	
//--------------------------------

function fnPorTele()
	{
	    //Url = window.open("/itausa/Content/DCC/DCC.aspx?DCC=/itausa/HTML/pt-BR/infofinan/demon/Dcc_e_MDA/df300911/index.htm", "_self");
	    Url = window.open("/itausa/html/pt-BR/infofinan/demon/Dcc_e_MDA/df300911/its300911.pdf", "_blank", "scrollbars=yes,width=790,left=0,height=545,top=0,resizable=yes,toolbar=no");
	}

function fnIngTele()
	{
	    //Url = window.open("/itausa/Content/DCC/DCC.aspx?DCC=/itausa/HTML/en-US/infofinan/demon/Dcc_e_MDA/df300911/index.htm", "_self");
	    Url = window.open("/itausa/html/en-US/infofinan/demon/Dcc_e_MDA/df300911/its300911.pdf", "_blank", "scrollbars=yes,width=790,left=0,height=545,top=0,resizable=yes,toolbar=no");
	}
	
// Links Genericos
	  
function fnPorAgo()
	{
	url = window.open("/itausa/html/pt-BR/download/informativo_ago_itausa.pdf");
	}

function fnIngAgo()
	{
	url = window.open("/itausa/html/en-US/download/informativo_ago_itausa.pdf");
	}
	
function dr_olavo()
{
   URL = window.open("/Itausa/Content/Comunicado/ListaComunicados.aspx?Comunicado=2300&idioma=pt-BR", "_self");
}

function dr_olavo_i()
{
   URL = window.open("/Itausa/Content/Comunicado/ListaComunicados.aspx?Comunicado=2310&idioma=pt-BR", "_self");
}

// Destaque

function DestaquePort()
	{
		Url = window.open("/itausa/html/pt-BR/download/its_far_12082009.pdf", "apimec", "scrollbars=yes,width=790,left=0,height=545,top=0,resizable=yes,toolbar=no");
	}
	
function DestaqueIng()
	{
		Url = window.open("/itausa/html/en-US/download/its_far_12082009.pdf", "apimec", "scrollbars=yes,width=790,left=0,height=545,top=0,resizable=yes,toolbar=no");
	}
	
function DestaqueI()
	{
		Url = window.open("/itausa/HTML/pt-BR/download/manual_29Abr2011.pdf", "apimec", "scrollbars=yes,width=790,left=0,height=545,top=0,resizable=yes,toolbar=no");
	}
	
function DestaqueIng()
	{
		Url = window.open("/itausa/HTML/en-US/download/manual_29Abril2011.pdf", "apimec", "scrollbars=yes,width=790,left=0,height=545,top=0,resizable=yes,toolbar=no");
	}
