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 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);		}	}}