<!--

var URL = location.href;
theURLcomp=URL.split('//');
theCanal2=theURLcomp[1].split('?');
theCanal=theCanal2[0].split('/');
if(theCanal.length <=2) {
	sitepg = "manequim/home";
}
else {
	sitepg = "manequim";
	for(x=1;x<theCanal.length;x++){
		if(theCanal[x].search(".shtml") != -1 ) {}
		else {
			if(theCanal[x] == "faca-e-use") theCanal[x] = "parafazer";
			if(theCanal[x] == "editorial") theCanal[x] = "ensaios";
			if(theCanal[x] == "historia-da-moda") theCanal[x] = "historia";
			if(theCanal[x] == "reportagem") theCanal[x] = "reportagens";
			if(theCanal[x] == "figurinos-na-tv") theCanal[x] = "figurinosdetv";
			if(theCanal[x] == "acessorios") theCanal[x] = "facaeuse";
			if(theCanal[x] == "ponto-a-ponto") theCanal[x] = "pontoaponto";
			if(theCanal[x] == "as-tramas-de-milady") theCanal[x] = "tramasdemilady";
			if(theCanal[x] == "datas-especiais") theCanal[x] = "datasespeciais";
			if(theCanal[x] == "editora-e-voce") theCanal[x] = "editoraevoce";
		sitepg+="/"+theCanal[x];
		}
		if(theCanal[x]=="" && theCanal.length < 4) { sitepg+="home"; }
	}
}  
if(sitepg == "manequim/blog/home") sitepg = "manequim/blog";
if(sitepg == "manequim/busca/home") sitepg = "manequim/busca";
if(sitepg == "manequim/concursos/home") sitepg = "manequim/promocao";
if(sitepg == "manequim/revista/home") sitepg = "manequim/revista";
if(sitepg == "manequim/blogs/as-tramas-de-milady") sitepg = "manequim/blogs/tramasdemilady";
if(sitepg == "manequim/expediente/home" || sitepg == "manequim/newsletter/home" || sitepg == "manequim/termosdeuso/home" || sitepg == "manequim/faleconosco/home") sitepg = "manequim/institucional";


if(sitepg== 'manequim/home') var poslist='Top,Bottom,Right1,x01,Left,Right3';
else var poslist='Top,Bottom,Right1,Left,x01,Right3';


if(typeof especialOAS == "string") {
		
	if(especialOAS == "manequim/diadasmaes/materia") {
		ABR_page = "manequim/diadasmaes/materia";
		sitepg =  "manequim/diadasmaes/materia";
		poslist = 'Top,Bottom,Right1,Left,x01';
	}
	if(especialOAS == "manequim/diadasmaes/home") {
		ABR_page = "manequim/diadasmaes/home";
		sitepg = "manequim/diadasmaes/home";
		poslist = 'Top';
	}
	if(especialOAS == "ensaio") {
		ABR_page = "manequim/formato-lateral";
		sitepg = "manequim/formato-lateral";
		poslist = 'Right1';
	}
}

if(sitepg.search("blogs") != -1) {  
		sitepg ='manequim/blog';
		var poslist='Top,Right1';
}
if(sitepg.search("noiva") != -1) {  
		sitepg ='manequim/noivas';
		var poslist='Top,Right1,Left,Right3';
}
if(sitepg.search("desafio-da-moda") != -1) {  
		sitepg ='especiais/manequim/desafiodamoda';
		var poslist='Top,Right1,Bottom';
}



//configuration
OAS_url ='http://ads.abril.com.br/RealMedia/ads/';
OAS_listpos = poslist;
OAS_query = '';
OAS_sitepage = sitepg;
//end of configuration
OAS_version = 10;
OAS_rn = '001234567890'; OAS_rns = '1234567890';
OAS_rn = new String (Math.random()); OAS_rns = OAS_rn.substring (2, 11);
 function OAS_NORMAL(pos) { 
 document.write('<A HREF="' + OAS_url + 'click_nx.ads/' + OAS_sitepage + '/1' + OAS_rns + '@' + OAS_listpos + '!' + pos + OAS_query + '" TARGET=_top>');
document.write('<IMG SRC="' + OAS_url + 'adstream_nx.ads/' + OAS_sitepage + '/1' + OAS_rns + '@' + OAS_listpos + '!' + pos + OAS_query + '" BORDER=0></A>');
}


OAS_version = 11;
if (navigator.userAgent.indexOf('Mozilla/3') != -1)
OAS_version = 10;
if (OAS_version >= 11)
document.write('<SCR'+ 'IPT LANGUAGE=JavaScript1.1 SRC="' + OAS_url + 'adstream_mjx.ads/' + OAS_sitepage + '/1' + OAS_rns + '@' + OAS_listpos + OAS_query + '"><\/SCRIPT>');


document.write('');
function OAS_AD(pos) {
if (OAS_version >= 11)
  OAS_RICH(pos);
else
  OAS_NORMAL(pos);
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

//-->