function setTitle(title) { 	document.title = title; } function setHref(href) { 	location.href = href; }	function setFlashWidth(width){		document.getElementById("flashobject").style.width = width;}function setFlashHeight(height){	document.getElementById("flashobject").style.height = height;		}function scrollToPos(posX, posY){	self.scrollTo(posX,posY);}function scrollToTop() {    var y1 = y2 = y3 = 0;    if (document.documentElement) {        y1 = document.documentElement.scrollTop || 0;    }    if (document.body) {        y2 = document.body.scrollTop || 0;    }    y3 = window.scrollY || 0;    var y = Math.max(y1, Math.max(y2, y3));    window.scrollTo(0, Math.floor(y * 0.9));    if (y > 0) {        window.setTimeout("scrollToTop()", 1);    }}function bookmarkSite(){	var appName = navigator.appName.toLowerCase(); 	var userAgent = navigator.userAgent.toLowerCase();	if (appName.indexOf("explorer") != -1){		window.external.AddFavorite(parent.window.location, parent.document.title);	} else {		var message;		if (userAgent.indexOf("mac") != -1){			message = "Use Cmd-D or the menu to bookmark this site!";		} else {			message = "Use Ctrl-D or the menu to bookmark this site!";		}		alert(message);			}}function shakeWindow(duration) {	if (parent.moveBy) { //simple check to see if moveBy is supported		for (j = duration; j > 0; j--) {			parent.moveBy(10,0);			parent.moveBy(-10,0);		}	}}