<!-- javascript functions for AppleCrisp blog at applecrispcontra.com/blog -->var defaultTitle = "Apple Crisp Photos"var picWindow;var cont=0;function displayPhoto(which,title) <!-- display a photo in a correctly sized window which closes when you click it -->								<!-- window title is broken in safari -->{	if(cont==1)		{picWindow.close();picWindow=null}	if(title==null)		{title=defaultTitle}	picWindow=window.open('','picWindow','resizable=no,scrollbars=no,width=640,height=480,') 	picWindow.document.write('<html><head><title>' + title + '</title><meta http-equiv="imagetoolbar" content="no"></head> <body onclick="window.close()" style="overflow:hidden" marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" scroll="no" onUnload="opener.cont=0" > <img src="' + which + '" onLoad="opener.redimension(this.width, this.height)">');	picWindow.document.close();cont++;}function redimension(width, height){	picWindow.resizeTo(width,height);}function togglecomments (postid) { <!-- from blogger.com make comments collapsible >   var whichpost = document.getElementById(postid);       if (whichpost.className=="commentshown") {       whichpost.className="commenthidden";    }    else {       whichpost.className="commentshown";    } } function revealMp3(mp3name) {	<!-- like collapsible comments - reveal a media file. hidden so it didn't load with the page -->								<!-- no need to hide it again -->	var theP = document.getElementById(mp3name);	theP.style.display="inline";}