this.focus();
function printerFriendly(urlToOpen) {
var x = (screen.width-800)/2, y = (screen.height-600)/2;
OpenWin = this.open(urlToOpen, "CtrlWindow", "width=800,height=600,toolbar=no,menubar=yes,location=no,scrollbars=yes,resizable=no, screenX="+x+", screenY="+y+", left="+x+", top="+y);
}
function recommend(urlRecommandForThisArticle) {
var x = (screen.width-420)/2, y = (screen.height-300)/2;
OpenWin = this.open(urlRecommandForThisArticle, "CtrlWindow", "width=420,height=415,toolbar=no,menubar=no,location=no,scrollbars=no,resizable=no, screenX="+x+", screenY="+y+", left="+x+", top="+y);
}
function readFunc(ident){
var el = $('toggle_' + ident);
if(el.innerHTML == 'Detalii...'){
$('less_' + ident).hide();
Effect.SlideDown('more_' + ident);
$(el).innerHTML = 'Ascunde...';
}else{
Effect.SlideUp('more_' + ident);
Effect.SlideDown('less_' + ident);
$(el).innerHTML = 'Detalii...';
}
return false;
}
var skipOneReset = false;
function resetPagination(dir){
if(!skipOneReset && !dir){
if(dir){
skipOneReset = true;
} else {
var dir = 'fw';
}
nowPag = $('currPag').innerHTML;
totalPag = $('totalPag').innerHTML;
if((dir=='rw') && (nowPag>1)){
nextPag = nowPag*1-1*1;
} else if((dir=='fw') && (nowPag