var tgmKey = 'br.caras.eventos' ;
document.write( unescape ( "%3Cscript src='http://www.terra.com.br/ads/tagman.js' type='text/javascript'%3E%3C/script%3E" ) ) ;

function OAS_VARS( OAS_page, OAS_pos ) {
	//
	if ( OAS_page == "/decoracao" ) { tgmKey = 'br.caras.anuario_deco' ; }
	if ( OAS_page == "/tvcaras" ) { tgmKey = 'br.caras.tv_caras' ; }
	if ( OAS_page == "/homepage" ) { tgmKey = 'br.caras.anuarionoivas' ; }
}

function OAS_START() {
	//
}

var countTop2=0

function OAS_AD( ad_type ) {
	if ( ad_type == "Top2" && countTop2==0) { tgm.ShowArea( 'topo' ) ; countTop2++;}
	if ( ad_type == "x02" ) { tgm.ShowArea( 'esquerda' ) ; }
	if ( ad_type == "x07" ) { tgm.ShowArea( 'miolo' ) ; }
	if ( ad_type == "x08" ) { tgm.ShowArea( 'direita' ) ; }
	if ( ad_type == "x15" ) { tgm.ShowArea( 'rodape' ) ; }
	if ( ad_type == "Bottom" ) { document.write( '' ) ; }
	if ( ad_type == "Bottom2" ) { document.write( '' ) ; }
	if ( ad_type == "Position1" ) { document.write( '' ) ; }
	if ( ad_type == "Right" ) { tgm.ShowArea( 'direita2' ) ; }
	if ( ad_type == "Top" ) { document.write( '' ) ; }
	if ( ad_type == "Top" ) { document.write( '' ) ; }
	if ( ad_type == "x01" ) { document.write( '' ) ; }
	if ( ad_type == "x03" ) { document.write( '' ) ; }
	if ( ad_type == "x04" ) { document.write( '' ) ; }
	if ( ad_type == "x05" ) { document.write( '' ) ; }
	if ( ad_type == "x06" ) { document.write( '' ) ; }
	if ( ad_type == "x09" ) { document.write( '' ) ; }
	if ( ad_type == "x10" ) { document.write( '' ) ; }
	if ( ad_type == "x11" ) { document.write( '' ) ; }
	if ( ad_type == "x12" ) { document.write( '' ) ; }
	if ( ad_type == "x13" ) { document.write( '' ) ; }
	if ( ad_type == "x14" ) { document.write( '' ) ; }
	if ( ad_type == "x20" ) { tgm.ShowArea( 'esquerda2', 'publicidade=home' ) ; }
	if ( ad_type == "x21" ) { document.write( '<img src="/images/x.gif" vspace="10"/>') ; tgm.ShowArea( 'esquerda3', 'publicidade=home2' ) ; }
	if ( ad_type == "x22" ) { document.write( '' ) ; }
	if ( ad_type == "x23" ) { document.write( '' ) ; }
	if ( ad_type == "x24" ) { document.write( '' ) ; }
	if ( ad_type == "x25" ) { document.write( '' ) ; }
	if ( ad_type == "x26" ) { document.write( '' ) ; }
	if ( ad_type == "x27" ) { document.write( '' ) ; }
}
