function rightsidebar(idioma){
// SCROLL BAR
/***********************************************
* IFRAME Scroller script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
var shownews = "yes" //variable para mostrar o no el rss de las noticias del norte de castilla -yes-no-
var showcamino = "yes" //variable para mostrar o no el scroll del camino de la lengua-yes-no-
var showmayores = "yes" //variable para mostrar o no el scroll del camino de la lengua-yes-no-
var FechaHora="no" //variable para fecha y hora
var RAE="no"//variable para mostrar o no gadchet del diccionario de la real academia española
var PALABRA="no"//variable para mostrar o no gadchet de la palabra española del dia
var visita="no"//variable para mostrar o no gadchet del globo del mundo con las visitas
//specify path to your external page:

	//document.write(	'<a href="http://www.eee.cervantes.es/es/detallecentro.asp?id=1954" target="_blank"><img src="../images/acreditacion07.jpg"></a>')

//SCROLL CURSO VIAJE
if (showcamino == "yes") {
	var iframesrc="../scroll/textoscroll.php"
	//separador
	document.write('<br>')
	document.write('<img src="../picts/paragraph-line.jpg" height="3" width="145px" border="0" vspace="7">')
	document.write('<br>')
	//fin separador
	
	document.write('<table  width="145px" height="190px" cellpadding="0" cellspacing="0" border="1" bordercolor="#996600" style="border-collapse:collapse">')
	document.write('<tr>')
	document.write('<th bgcolor="#FFB000" scope="col"><p class=liste-cours>Curso Viaje Camino de la Lengua Castellana</p></th>')
	document.write('</tr>')
	document.write('<tr>')
	document.write('<th width="145" height="145" scope="row">')
	document.write('<iframe id="datamain" src="'+iframesrc+'" width="140px" height="140px" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0"  scrolling="no"></iframe>')
	document.write('</th></tr>')
	document.write('</table>')
}




//SCROLL CURSO MAYORES 50
if (showmayores == "yes") {
var iframesrc="../scroll/mayorestextoscroll.php?lang="+idioma

if (idioma == "en") {idioma = "es"}
if (idioma == "br") {idioma = "es"}
	//separador
	document.write('<br>')
	document.write('<img src="../picts/paragraph-line.jpg" height="3" width="145px" border="0" vspace="7">')
	document.write('<br>')
	//fin separador
	
	document.write('<table  width="145px" height="145px" cellpadding="0" cellspacing="0" border="1" bordercolor="#996600" style="border-collapse:collapse">')
	document.write('<tr>')
	
	
	document.write('<th bgcolor="#66ccff" scope="col"><p class=liste-cours><a href="http://www.academiaparamo.com/'+idioma+'/mayores.php?lang='+idioma+'" target="_blank">Curso para mayores de 50 años</a></p></th>')

	document.write('<tr>')
	document.write('<th width="145" height="145" scope="row">')
	document.write('<iframe id="datamain" src="'+iframesrc+'" width="140px" height="140px" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0"  scrolling="no"></iframe>')
	document.write('</th></tr>')
	document.write('</table>')
}


//NOTICIAS DE VALLADOLID
if (shownews == "yes") {
	//separador
	document.write('<br>')
	document.write('<img src="../picts/paragraph-line.jpg" height="3" width="145px" border="0" vspace="7">')
	//fin separador
		var iframesrc="/rss.php"
		document.write('<br><br>')
		document.write('<table  width="145px" height="60px" cellpadding="1" cellspacing="0" border="1" bordercolor="#996600" style="border-collapse:collapse">')
		document.write('<tr>')
		document.write('<th bgcolor="#FFFF99" scope="col"><p class=liste-cours>Valladolid en el diario digital del<br><a href="http://www.nortecastilla.es/" target="_blank"><img src="/picts/ncastilla.gif" width="140" height="23"></a></p></th>')
		document.write('</tr>')
		document.write('</table>')
		document.write('<iframe id="datamain" src="'+iframesrc+'" width="145px" height="140px" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0"  scrolling="no"></iframe>')
}
if (FechaHora == "yes") {
		//separador
	//document.write('<br>')
	document.write('<img src="../picts/paragraph-line.jpg" height="3" width="145px" border="0" vspace="7">')
	//fin separador
<!--- inicio codigo relojesflash.com--->
	document.write('<table  width="145px" height="150px" cellpadding="0" cellspacing="0" border="1" bordercolor="#996600" style="border-collapse:collapse">')
	document.write('<tr>')
	document.write('<th bgcolor="#FFB000" scope="col"><p class=liste-cours>Hora / Fecha</p></th>')
	document.write('</tr>')
	document.write('<tr>')
	document.write('<th bgcolor="#FFB000" width="145" height="145" scope="row">')
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" height="130" width="130"><param name="movie" value="http://www.relojesflash.com/swf/clock2001.swf"><param name="quality" value="high"><embed src="http://www.relojesflash.com/swf/clock2001.swf" wmode="transparent" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" height="130" width="130"></object>')
	document.write('</th></tr>')
	document.write('</table>')
document.write('<br>')
document.write('<br>')
<!--- fin codigo relojesflash.com--->
}
if (RAE == "yes") {
		//separador
	//document.write('<br>')
	document.write('<img src="../picts/paragraph-line.jpg" height="3" width="145px" border="0" vspace="7">')
	//fin separador

	document.write('<table  width="145px" height="150px" cellpadding="0" cellspacing="0" border="1" bordercolor="#996600" style="border-collapse:collapse">')
	document.write('<tr>')
	document.write('<th bgcolor="#FFB000" scope="col"><p class=liste-cours>Hora / Fecha</p></th>')
	document.write('</tr>')
	document.write('<tr>')
	document.write('<th bgcolor="#FFB000" width="145" height="145" scope="row">')
document.write('<script src="http://gmodules.com/ig/ifr?url=http://ditman.googlepages.com/rae.xml&amp;synd=open&amp;w=150&amp;h=200&amp;title=Buscador+R.A.E.&amp;border=%23ffffff%7C3px%2C1px+solid+%23999999&amp;output=js"></script>')
document.write('</th></tr>')
	document.write('</table>')
document.write('<br>')
document.write('<br>')

}
if (PALABRA == "yes") {
		
	document.write('<br>')
	document.write('<img src="../picts/paragraph-line.jpg" height="3" width="145px" border="0" vspace="7">')
	//fin separador
		document.write('<br><br>')
				document.write('<table  width="145px" height="60px" cellpadding="1" cellspacing="0" border="1" bordercolor="#996600" style="border-collapse:collapse">')

		document.write('<table>')

		document.write('<tr><td colspan="2"><script language="JavaScript" src="http://www.hitsalive.com/spanish_wotd/wotd_png.php"></script></td></tr>')
		document.write('<tr><td align="right"><font color="#c0c0c0" face="Verdana" size="1">Play Recording:</font></td><td><script language="JavaScript" src="http://www.hitsalive.com/spanish_wotd/wotd_mp3.php"></script></td></tr>')
document.write('<td colspan="2"></font></b><a href="http://www.declan-software.com/spanish/learn_spanish_words_gg.htm" target="_blank">Learn Spanish Now!</a></td>')
		document.write('</table></table>')
		
}

if (visita == "yes") {
document.write('<img src="../picts/paragraph-line.jpg" height="3" width="145px" border="0" vspace="7">')
	document.write('<div align="center">')
document.write('<script type="text/javascript" src="http://jd.revolvermaps.com/r.js"></script><script type="text/javascript">rm_f1st("0","180","true","false","000000","3GqfaOkTBxh","true","ff0000");</script><noscript><applet codebase="http://rd.revolvermaps.com/j" code="core.RE" width="180" height="180" archive="g.jar"><param name="cabbase" value="g.cab" /><param name="r" value="true" /><param name="n" value="false" /><param name="i" value="3GqfaOkTBxh" /><param name="m" value="0" /><param name="s" value="180" /><param name="c" value="ff0000" /><param name="v" value="true" /><param name="b" value="000000" /><param name="rfc" value="true" /></applet></noscript>')
document.write('</div>')
}
}// -- END -->

