	var ann = new Array(2);
	var ann_t = new Array(2);
	ann[0] = "We appreciate very much the comments and suggestions we are receiving from periodicosdelsur.com users. <br>We are processing that feedback and updating our database daily. With your help we can make periodicosdelsur.com the best newspaper database of the net. Keep on visiting our site and sending us your contributions.";
	ann[1] = "We are proud to announce that today we are making yet another features and contents update.<br>The main addition we're airing today is free membership with exclusive features. From now on, we'll be trying to make member's experience improve with usage.<br />Other improvements include \"Recently accessed newspapers\", new ranking system and a little restyling.";
	ann[2] = "Following requests from multiple sources we went back to the classic presentation on the home page.<br>There are also some new features that should help you find exactly what you want as fast and simply as possible.";
	ann[3] = "For the second time in the year, we completed a development cycle at <b>periodicosdelsur.com</b> and we are airing the results.<br>This last couple of months our effort has been concentrated mainly in the areas of browsing capabilities and content displaying, so you can get exactly the news you want. Fast.<br>From now on, we will try to continue improving <b>periodicosdelsur.com</b>, at least at this rate until we consider it's good enough (we surely never will).";
	ann[4] = "We appreciate very much all the feedback we have been receiving. We still couldn't process all this contributions and suggestions, specially the content related ones, but we will surely do so on the next content update.<br><br>The Soft Lab team";
	ann_t[0] = "29/08 - Comments and Suggestions ";
	ann_t[1] = "28/04 - Site update";
	ann_t[2] = "08/03 - Announcement";
	ann_t[3] = "15/02 - Site update";
	ann_t[4] = "15/02 - Thanks";
	ann_n = 0;

function comments_suggestions() { window.open('Acciones/dsp_comments.cfm','comments','height=270,width=400'); }

function change_ann (n) {
	anno_td.innerHTML = ann[n];
	anno_t_td.innerHTML = ann_t[n];
}

function rotate_ann(sense) {
	ann_n = (ann.length + ann_n + sense) % ann.length;
	anno_td.innerHTML = ann[ann_n];
	anno_t_td.innerHTML = ann_t[ann_n];
}

function body_load() {
	anno_td = document.getElementById("ann_td");
	anno_t_td = document.getElementById("ann_t_td");
	change_ann(ann_n);
}

function qOK() {
	qV = document.getElementById('q').value;
	if (qV.length <= 1) alert('Your search querys should be larger than one character');
	return qV.length > 1;
}

function changeOptionsDisplay (show) {
	document.getElementById('mapa').style.display = 'none';
	document.getElementById('zonas').style.display = 'none';
	document.getElementById(show).style.display = 'block';
}

function options(eid, exp) {
	if (!compatibleBr()) goIT(eid);
	else menuOp(eid,exp);
}

function menuOp(eid,exp) {
	id = getCode(eid);
	type = getType(eid);

	childCount = getChildCount(eid);
	if (type == 're') childs = cnts;
	else childs = provs;

	if (exp) colSize = Math.ceil(childCount / 3);
	else colSize = 4;

	cType = getChildsType(type);
	zones = document.getElementById('zonas');
	changeOptionsDisplay('zonas');

	j=0;
	zonesHTML = "<table width='480' class='form' cellspacing='0' align='center'>";
	zonesHTML += "<th colspan='3'>What do you want to do on "+name(eid)+"?</th>";
	zonesHTML += "<tr><td colspan='3'><br><b><a href=javascript:goIT('"+eid+"');>&raquo; Show all newspapers</a></b></td></tr>";
	if (type == 'co') zonesHTML+= "<tr><td colspan='3'><b><a href=javascript:goIT('prNA"+id+"');>&raquo; Show national newspapers only</a></b></td></tr>";
	zonesHTML += "<tr><td colspan='3'><br><a href=javascript:adIT('"+eid+"')><b>&raquo;</b> Show me advanced browsing options for " + name(eid) + "</a><br><hr color='#FFFFFF' width='100%' size=1 noshade></td></tr>";
	zonesHTML += "<tr><td colspan='3'><br><b>Show newspapers only for:</b></td></tr>";
	zonesHTML += "<tr><td>";

	for (i = 0; i<childs.length; i++) {
		if (childs[i][0] == id && (childs[i][3] || exp)) {
			j+=1;
			zonesHTML += "<a href=javascript:goIT('"+cType+childs[i][1]+"');> <b>&raquo;</b> "+childs[i][2]+"</a><br>";
			if (j % colSize == 0) zonesHTML += "</td><td>";
		}
	}
	zonesHTML+="</td></tr>";

	if (!exp && childCount > 10) {
		if (getChildsType(type) == 'co') showChildsType = 'countries';
		else showChildsType = 'provinces / states';
		zonesHTML += "<tr><td colspan='3'><a href=javascript:menuOp('"+eid+"',1);><b>+</b> List all " + showChildsType + " in " + name(eid) + "</a><br>";
	}

	zonesHTML+="<tr><td colspan='3'><br><a href=javascript:changeOptionsDisplay('mapa');><font size='-2'><b>&laquo;</b> Back to the map</font></a></td></tr>";
	zonesHTML+="</table>";

	zones.innerHTML = zonesHTML;
}

function goIT(eid) { this.location.href = 'dLI.cfm' + dataIT(eid); }
function adIT(eid) { this.location.href = 'dSE.cfm?location=' + eid; }

function dataIT(eid) {
	type = getType(eid);
	code = getCode(eid);

	if (type == 'co') urlP = '?co='+code;
	else if (type == 're') urlP = '?re='+code;
	else {
		urlP = '?co=' + parentID(eid);
		if (code == 'NA' || code == 'LO') urlP += '&dif=' + code;
		else urlP += '&pr=' + code;
	}

	return urlP + '&OrdC=Rank';
}