<!--
var finestra;
function shBig(titolo, percorso, width, height, top, left, funzFin) {
	if (titolo == "") titolo = "www.Toysplanetrock.net";
	if (finestra) finestra.close();
	var agt = navigator.userAgent.toLowerCase();
	var isSaf = (agt.indexOf("safari") != -1);
	if (isSaf) height += 4;
	if (top == "center") top = (screen.availHeight - height)/2;
	if (left == "center") left = (screen.availWidth - width)/2;
	funzFin = "width="+width+",height="+height+",top="+top+",left="+left+","+funzFin;
	finestra = window.open("","",funzFin);
	setTimeout("completaNuovaFinestra('" + percorso + "','" + titolo.replace(/§/g, '&#39;') + "')", 100);	//trova carattere apice singolo in formato html
}
function completaNuovaFinestra(percorso, titolo) {
	var output = '';
	output += '<html><head><title>' + titolo + '</title></head>';
	output += '<body leftMargin=0 topMargin=0><img src="' + percorso + '" border=0/></body></html>';
	finestra.document.write(output);
	finestra.document.close();
}
function chiudiFinestra() {
	if (finestra && !finestra.closed) {
		finestra.close();
	}
}
	  
nereidFadeObjects = new Object();
nereidFadeTimers = new Object();

function nereidFade(object, destOp, rate, delta){
if (!document.all)
return
    if (object != "[object]"){  //do this so I can take a string too
        setTimeout("nereidFade("+object+","+destOp+","+rate+","+delta+")",0);
        return;
    }
    clearTimeout(nereidFadeTimers[object.sourceIndex]);
    diff = destOp-object.filters.alpha.opacity;
    direction = 1;
    if (object.filters.alpha.opacity > destOp){
        direction = -1;
    }
    delta=Math.min(direction*diff,delta);
    object.filters.alpha.opacity+=direction*delta;
    if (object.filters.alpha.opacity != destOp){
        nereidFadeObjects[object.sourceIndex]=object;
        nereidFadeTimers[object.sourceIndex]=setTimeout("nereidFade(nereidFadeObjects["+object.sourceIndex+"],"+destOp+","+rate+","+delta+")",rate);
    }
}
//-->
