//CONVENZIONI
function centerpopup(URL,width,height){
	if (parseInt(navigator.appVersion) >= 3){
		if (navigator.appName == "Netscape" && parseInt(navigator.appVersion)<5){
			var tools = new Packages.java.awt.Toolkit.getDefaultToolkit();
			screen=tools.getScreenSize();
		}
		x = screen.width;
		y = screen.height;
	}
	window.open(URL,"dummy","top=" + parseInt(y/2-height/2-16) + ",left=" + parseInt(x/2-width/2-5) + ",width=" + width + ",height=" + height);
}

<!-- SCRIPT PER PREFERITI -->
//configure the two variables below to match yoursite's own info
var bookmarkurl="http://www.koineonline.org"
var bookmarktitle="Associazione Universitaria Koiné"

function addbookmark(){
if (document.all)
window.external.AddFavorite(bookmarkurl,bookmarktitle)
}

<!-- *******************************-->
<!-- SCRIPT PER IL TESTO SCORREVOLE -->
<!-- *******************************-->

var browser=navigator.appName + " " + navigator.appVersion;

if (browser.substring(0, 8)=="Netscape"){
	if (screen.width > 800) {
		//Specify the marquee's width (in pixels)
		var marqueewidth=450
	}
	else{
		var marqueewidth=360
	}
}
			
			
//Specify the marquee's height (in pixels, pertains only to NS)
var marqueeheight=12
//Specify the marquee's scroll speed (larger is faster)
var speed=3


function regenerate(){
	window.location.reload()
}
function regenerate2(){
	if (document.layers){
		setTimeout("window.onresize=regenerate",450)
		intializemarquee()
	}
}

function intializemarquee(){
	document.cmarquee01.document.cmarquee02.document.write('<nobr>'+marqueecontents+'</nobr>')
	document.cmarquee01.document.cmarquee02.document.close()
	thelength=document.cmarquee01.document.cmarquee02.document.width
	scrollit()
}

function scrollit(){
	if (document.cmarquee01.document.cmarquee02.left>=thelength*(-1)){
		document.cmarquee01.document.cmarquee02.left-=speed
		setTimeout("scrollit()",100)
	}else{
		document.cmarquee01.document.cmarquee02.left=marqueewidth
		scrollit()
	}
}
window.onload=regenerate2


