<!--
function unframe(){if(self.parent.frames.length!=0)self.parent.location=document.location;}
function detectBrowser(){var agt=navigator.userAgent.toLowerCase();var nav="MZ";if(agt.indexOf("opera")>=0){nav="OP";}else if(agt.indexOf("firefox")>=0){nav="FX";}else if(agt.indexOf("msie")>=0){nav="IE";}
return nav;}
function printPage(){var nav=navigator.userAgent.toLowerCase();nVersion=parseInt(navigator.appVersion);nIE=(nav.indexOf("msie")!=-1);nWin=((nav.indexOf("win")!=-1)||(nav.indexOf("16bit")!=-1));nIE4Win=(nIE&&(nVersion==4)&&nWin);if(window.print){window.print();}else if(nIE4Win){printIE();}else if(nWin){alert("Utilice el comando de impresión de su navegador para imprimir esta página.");}}
function newWindow(url,name,x,y,w,h,mode){if((url==null)||(String(url)=="undefined"))url="about:blank";if((name==null)||(String(name)=="undefined"))name="wnd"+String(Math.round(1000*Math.random()));if(isNaN(w)){w=(String(w)=="full")?window.screen.width-10:512;}
if(isNaN(h)){h=(String(h)=="full")?window.screen.height-50:384;}
if(isNaN(x)){if(String(x)=="left"){x=0;}else if(String(x)=="right"){x=window.screen.width-(w+10);}else{x=(window.screen.width/2)-(w/2+10);}}
if(isNaN(y)){if(String(y)=="top"){y=0;}else if(String(y)=="bottom"){y=window.screen.height-(h+50);}else{y=(window.screen.height/2)-(h/2+50);}}
if(isNaN(mode))mode=0;wnd=window.open(url,name,"left="+x+",top="+y+",screenX="+x+",screenY="+y+",width="+w+",height="+h+",fullscreen="+(((mode&1)==1)?"yes":"no")+",resizable="+(((mode&2)==2)?"yes":"no")+",scrollbars="+(((mode&4)==4)?"yes":"no")+",titlebar="+(((mode&8)==8)?"yes":"no")+",menubar="+(((mode&16)==16)?"yes":"no")+",toolbar="+(((mode&32)==32)?"yes":"no")+",status="+(((mode&64)==64)?"yes":"no")+"");if(wnd!=null)wnd.focus();return wnd;}
function focusImage(image,focus){image.src=(focus==null||focus)?image.src.replace("_off","_on"):image.src.replace("_on","_off");}
function blurImage(image){focusImage(image,false);}
function addBookmark(){var title=document.title;var url=document.location.href;try{if(window.external){window.external.AddFavorite(url,title);}
else if(window.sidebar){window.sidebar.addPanel(title,url,"");}
else if(window.opera&&window.print){return true;}}catch(e){alert("No se ha podido añadir la página a los marcadores favoritos.\n\nPruebe a hacerlo manualmente con las funciones de su navegador.");}}
var externalLinks={"clusty":"http://clusty.com/search?query={$_PARAMS_$}","delicious":"http://del.icio.us/post?url={$_URL_$}","dictionary":"http://www.dict.org/bin/Dict?Database=*&Form=Dict1&Strategy=*&Query={$_PARAMS_$}","digg":"http://www.digg.com/submit?url={$_URL_$}&phase=2","flickr":"http://www.flickr.com/search/?q={$_PARAMS_$}","google":"http://www.google.com/search?q={$_PARAMS_$}","imdb":"http://us.imdb.com/Title?{$_PARAMS_$}","meneame":"http://meneame.net/submit.php?url={$_URL_$}","msdn":"http://search.microsoft.com/search/results.aspx?View=msdn&st=b&qu={$_PARAMS_$}","technorati":"http://technorati.com/search/{$_URL_$}","slashdot":"http://slashdot.org/bookmark.pl?url={$_URL_$}","youtube":"http://www.youtube.com/results?search_query={$_PARAMS_$}&search=Search","wikipedia":"http://en.wikipedia.org/wiki/Special:Search?search={$_PARAMS_$}","wikipedia_es":"http://es.wikipedia.org/wiki/Especial:Search?search={$_PARAMS_$}"};function externalLink(name,params){var url=externalLinks[name].replace("{$_URL_$}",escape(document.location.href));if(params!=null)url=url.replace("{$_PARAMS_$}",params);newWindow(url,"nombre","center","center",736,536,126);}
var changedHeader=false;function headerImage(entry){if(!changedHeader){var headerImg;if(entry!=null){headerImg="header"+entry.substring(5,9)+".jpg";}else{var today=new Date();var year=""+(""+today.getFullYear()).substring(2);var month=""+(today.getMonth()+1);if(year.length<2)year="0"+year;if(month.length<2)month="0"+month;headerImg="header"+year+month+".jpg";}
document.getElementById("header").style.backgroundImage='url("themes/entropia/img/'+headerImg+'")';}
changedHeader=true;}
function picHover(idPic,theColor){document.getElementById(idPic).style.backgroundColor=theColor;}
