//"http://www.the-chimaera.com/Feb2009/"
// "file:///C|/Documents and Settings/Peter/Desktop/Documents/dev/StephenEdgar/CDsite" 
//


d=document;l=(d.layers)?1:0;op=navigator.userAgent.toLowerCase().indexOf('opera')!=-1; msie=(d.all)?1:0;
isDOM =(d.getElementById)?1:0;
function gE(e,f){if(l){f=(f)?f:self;var V=f.document.layers;
if(V[e])return V[e];for(var W=0;W<V.length;)t=gE(e,V[W++]);return t;}if(d.all)return d.all[e];return d.getElementById(e);}

//show element
function sE(e){if(l)e.visibility='show';else e.style.visibility='visible';}

//hide element
function hE(e){if(l)e.visibility='hide';else e.style.visibility='hidden';}

//get left posn
//function gX(e){if(l) return e.left;else if(d.all)return e.style.pixelLeft;else return e.style.left}
function gX(e){return e.style.pixelLeft;}
//get top posn
//function gY(e){if(l) return e.top;else if (d.all)return e.style.pixelTop;else return e.style.top}
function gY(e){return e.style.pixelTop;}

//get width
//function gW(e){if(l) return e.width;else return e.style.width}
function gW(e){return e.style.pixelWidth;}

//get height
//function gH(e){if(l) return e.clip.height;else if(op) return e.style.pixelHeight;else return //e.style.height}
pw="tc5feb";
//get dynamic height
function gH(myid)
{ 
divob = gE(myid);
if (divob.offsetHeight) { eheight = divob.offsetHeight }
else if (d.getElementById) {eheight = d.defaultView.getComputedStyle(test, "").getPropertyValue("height")}
return eheight;
}

//get z-index
function gZ(e){alert("Entered the gZ function");if(l) return e.zIndex;else return e.style.zIndex} 

function sZ(e,z){if(l)e.zIndex=z;else e.style.zIndex=z;} //set z-index
//function sX(e,x){if(l)e.left=x;else if(op)e.style.pixelLeft=x;else e.style.left=x+"px";}//set left

function sX(e,x){
//alert("Entered the sX function");
//e.style.pixelLeft=x; 
e.style.left = (x +"px");
}//set left

//function sY(e,y){if(l)e.top=y;else if(op)e.style.pixelTop=y;else e.style.top=y+"px";}//set top
function sY(e,y){
//alert("Entered the sY function; e is " +e);
//e.style.pixelTop=y; 
e.style.top = (y+"px");
}//set top


//function sW(e,w){}
function sW(e,w){
//if(l)e.clip.width=w;else if(op)e.style.pixelWidth=w;else e.style.width=w;
e.style.pixelWidth=w; e.style.width=w+"px";
//alert ("In function sW(e,w): e.style.pixelWidth is " +e.style.pixelWidth + "; e.style.width is " +e.style.width);
}

//function sH(e,h){if(l)e.clip.height=h;else if(op)e.style.pixelHeight=h;else e.style.height=h;}
function sH(e,h){e.style.pixelHeight=h; e.style.height=h+"px";}
function sC(e,t,r,b,x){if(l){X=e.clip;X.top=t;X.right=r;X.bottom=b;X.left=x;}else e.style.clip='rect('+t+' '+r+' '+b+' '+x+')';}

function wH(e,h)
{
if(l) {e.document.write(h);e.document.close();return true};
	//Y=e.document;Y.write(h);Y.close()
if(e.innerHTML)
	{
	e.innerHTML=h
	}
}

//Add print stylesheet link REMOVE THIS AND USE actual link in template
var cssNode = d.createElement('link');
cssNode.type = 'text/css';cssNode.rel = 'stylesheet';
cssNode.href = 'printstyle.css'; // Replace by print stylesheet name 
cssNode.media = 'print';
cssNode.title = 'dynamicLoadedSheet';
d.getElementsByTagName("head")[0].appendChild(cssNode);

function removeNL(s) {
/*
  ** Remove NewLine, CarriageReturn and Tab characters from a String
  **   s  string to be processed
  ** returns new string
  */
  r = "";
  for (i=0; i < s.length; i++) {
    if (s.charAt(i) != '\n' &&
        s.charAt(i) != '\r' &&
        s.charAt(i) != '\t') {
      r += s.charAt(i);
      }
    }
  return r;
  }

function fixLBs(txt, ch1, ch2,heading)
{
/*This shouldn't be necessary if the tip text is displayed via HTML pop-up, not TITLE */
/* Replace * markers in the txt string by <p> code
or any ch1 (single character) by ch2 (string)
*/

if (!isDOM) {ftxt = ""; return ftxt}; //non-compliant browser
 ftxt = '<p><b>'+ heading +'</b><p>' ;
  for (i=0; i < txt.length; i++) 
  {
    if (txt.charAt(i) == ch1) ftxt += ch2;
	else ftxt += txt.charAt(i);
  } 
      ftxt +='</p>';
	 return ftxt;
}



function showPopup(evt,txt,wwidth,hoffset,voffset) 
{

//html popup
tooltip=gE("tipdiv");shadow = gE("tipdiv_s");
	sW(tooltip,wwidth); //sW(shadow,wwidth); set width
	var content = txt;
		tooltip.innerHTML=content; //shadow.innerHTML=content;
	wheight=gH("tipdiv");
	xoffset=getOffsetX(); yoffset=getOffsetY();
		
	if (window.event) 
	{
	evt=window.event; 
	//if (evt.clientX > (wwidth+15)) tipleft = eval(evt.clientX - 15 - wwidth);
	//else 
	if (hoffset) tipleft = eval(evt.clientX + hoffset); else tipleft = eval(evt.clientX + 25);
	if (evt.clientY > (wheight+15)) tiptop = eval(evt.clientY +yoffset - 15 - wheight);
	  else tiptop = eval(evt.clientY +yoffset + 15);
 	}
	
	else if (evt.pageX) 
	{
	leftspace = eval(evt.pageX - window.scrollX); 
	//if (leftspace > (wwidth+15)) tipleft = eval(evt.pageX - 15 - wwidth);
	//else 
	if (hoffset) tipleft = eval(evt.pageX + hoffset); else tipleft = eval(evt.pageX + 25);
	topspace = eval(evt.pageY - window.scrollY); 
		if (topspace > (wheight+15)) tiptop = eval(evt.pageY - 15 - wheight);
		else tiptop = eval(evt.pageY + 15);
	}
	
	
	sX(tooltip,tipleft); //sX(shadow,tipleft+5); 
	sY(tooltip,tiptop); //sY(shadow,tiptop+5);
	sE(tooltip); //sE(shadow); 
	popup_shown=1;
 }



function movePopup(evt,txt,wwidth,wheight)
{
if (popup_shown==1) showPopup(evt,txt,wwidth)
}
//
function getOffsetX()
{
if (window.scrollX)
 {
	  xoffset = window.scrollX; 
 }
	else if (document.documentElement && document.documentElement.scrollLeft)
	{
		xoffset = document.documentElement.scrollLeft
	}
		else if (document.body)
		{
			  xoffset = document.body.scrollLeft
		}
return xoffset
}	

function getOffsetY()
{
if (window.pageYOffset)
 {
	  yoffset = window.pageYOffset; 
 }
	else if (document.documentElement && document.documentElement.scrollTop)
	{
		yoffset = document.documentElement.scrollTop
	}
		else if (document.body)
		{
			  yoffset = document.body.scrollTop
		}
return yoffset
}	


function hideIt()
{
hE(tooltip);//hE(shadow);
popup_shown=0;wheight=0;
//hE(shadow)
}


function writeEmail(name,domain,linktext) {
   visible=(typeof(linktext)=="undefined")? name+"@"+domain : 
linktext;  document.write ('<a href=mailto:'+name+'@'+domain+'>'+visible+'</a>');
}

	moon='<span class="moon_icon">)</span>&nbsp;';
	
function makeMenu(thisheadline, thisteaser, thisextra2) //make side menu with collapsible POEMS and PROSE sections
{
//alert("In the makeMenu() function!");
mstring = "";

//List and link content in folders "/" , "POEMS", "PROSE"   

//
     // 

//If headlines don't match, or teasers don't match, link to the page	 
 audioimg=""; audioimg2="";
	 // 
     audioimg='&nbsp;<img src="http://www.stephenedgar.com.au/imagesCD/speaker.gif" alt="sound available" title="In-page audio reading" align="bottom">'; 
     //
    if (thisextra2)
 audioimg2='&nbsp;<img src="http://www.stephenedgar.com.au/imagesCD/speaker2.gif" alt="sound image" title="sound image">'; 
   teaser = "Site home page";
		if (thisheadline != "Home" || thisteaser !=teaser )
	{ 
  	 		mstring+='<p class="contents_link"><a href="http://www.stephenedgar.com.au/index.html" onmouseover="showPopup(event,\'' + teaser + '\',140)" onmouseout="hideIt()">' +moon + 'Home</a>' +audioimg +'</p>';
   }
		else mstring+= '<p class="contents_nolink">Home' +audioimg2 +'</p>';	//don't link to self
	//	
	
//
     // 

//If headlines don't match, or teasers don't match, link to the page	 
 audioimg=""; audioimg2="";
	 // 
    if (thisextra2)
 audioimg2='&nbsp;<img src="http://www.stephenedgar.com.au/imagesCD/speaker2.gif" alt="sound image" title="sound image">'; 
   teaser = "Edgar happenings";
		if (thisheadline != "News" || thisteaser !=teaser )
	{ 
  	 		mstring+='<p class="contents_link"><a href="http://www.stephenedgar.com.au/news.html" onmouseover="showPopup(event,\'' + teaser + '\',140)" onmouseout="hideIt()">' +moon + 'News</a>' +audioimg +'</p>';
   }
		else mstring+= '<p class="contents_nolink">News' +audioimg2 +'</p>';	//don't link to self
	//	
	
//
     // 

//If headlines don't match, or teasers don't match, link to the page	 
 audioimg=""; audioimg2="";
	 // 
    if (thisextra2)
 audioimg2='&nbsp;<img src="http://www.stephenedgar.com.au/imagesCD/speaker2.gif" alt="sound image" title="sound image">'; 
   teaser = "Brief biography with list of awards";
		if (thisheadline != "About Stephen Edgar" || thisteaser !=teaser )
	{ 
  	 		mstring+='<p class="contents_link"><a href="http://www.stephenedgar.com.au/about.html" onmouseover="showPopup(event,\'' + teaser + '\',140)" onmouseout="hideIt()">' +moon + 'About Stephen Edgar</a>' +audioimg +'</p>';
   }
		else mstring+= '<p class="contents_nolink">About Stephen Edgar' +audioimg2 +'</p>';	//don't link to self
	//	
	
//
     // 

//If headlines don't match, or teasers don't match, link to the page	 
 audioimg=""; audioimg2="";
	 // 
    if (thisextra2)
 audioimg2='&nbsp;<img src="http://www.stephenedgar.com.au/imagesCD/speaker2.gif" alt="sound image" title="sound image">'; 
   teaser = "Stephen Edgar’s books and audio, with details of availability";
		if (thisheadline != "Bibliography" || thisteaser !=teaser )
	{ 
  	 		mstring+='<p class="contents_link"><a href="http://www.stephenedgar.com.au/biblio.html" onmouseover="showPopup(event,\'' + teaser + '\',140)" onmouseout="hideIt()">' +moon + 'Bibliography</a>' +audioimg +'</p>';
   }
		else mstring+= '<p class="contents_nolink">Bibliography' +audioimg2 +'</p>';	//don't link to self
	//	
	
//
     // 

//If headlines don't match, or teasers don't match, link to the page	 
 audioimg=""; audioimg2="";
	 // 
    if (thisextra2)
 audioimg2='&nbsp;<img src="http://www.stephenedgar.com.au/imagesCD/speaker2.gif" alt="sound image" title="sound image">'; 
   teaser = "Links to more Stephen Edgar poems and to commentaries on his work";
		if (thisheadline != "Links" || thisteaser !=teaser )
	{ 
  	 		mstring+='<p class="contents_link"><a href="http://www.stephenedgar.com.au/links.html" onmouseover="showPopup(event,\'' + teaser + '\',140)" onmouseout="hideIt()">' +moon + 'Links</a>' +audioimg +'</p>';
   }
		else mstring+= '<p class="contents_nolink">Links' +audioimg2 +'</p>';	//don't link to self
	//	
	
//

mstring+='<a href="#" onmouseover="setStatus(\'Click to show/hide list\'); return true" onmouseout="setStatus(\'\'); return true" onclick="expandCollapse(\'poems\');return false" title="Click to show/hide list"><h3 style="margin-top: 0.6em">SAMPLE POEMS</h3></a>';
mstring += '<div id="poems">';
//
     //  		    
	audioimg=""; audioimg2="";
	 // 
    if (thisextra2)
  audioimg2='&nbsp;<img src="http://www.stephenedgar.com.au/imagesCD/speaker2.gif" alt="sound image" title="sound image">'; 
    teaser = "Three poems from this book (2009)";
		if (thisheadline != "<em>History of the Day</em>" || thisteaser != teaser ) {
		mstring+='<p class="contents_link_c"><a href="http://www.stephenedgar.com.au/poems/HistoryoftheDay.html" onmouseover="showPopup(event,\'' + teaser + '\',140)" onmouseout="hideIt()">' +moon + '<em>History of the Day</em></a>' +audioimg +'</p>';
       }
		else mstring+= '<p class="contents_nolink_c"><em>History of the Day</em>' +audioimg2 +'</p>';	//don't link to self		 
	//	
//
     //  		    
	audioimg=""; audioimg2="";
	 // 
     audioimg='&nbsp;<img src="http://www.stephenedgar.com.au/imagesCD/speaker.gif" alt="sound available" title="In-page audio reading" align="bottom">'; 
     //
    if (thisextra2)
  audioimg2='&nbsp;<img src="http://www.stephenedgar.com.au/imagesCD/speaker2.gif" alt="sound image" title="sound image">'; 
    teaser = "Three poems from this book (2006)";
		if (thisheadline != "<em>Other Summers</em>" || thisteaser != teaser ) {
		mstring+='<p class="contents_link_c"><a href="http://www.stephenedgar.com.au/poems/OtherSummers.html" onmouseover="showPopup(event,\'' + teaser + '\',140)" onmouseout="hideIt()">' +moon + '<em>Other Summers</em></a>' +audioimg +'</p>';
       }
		else mstring+= '<p class="contents_nolink_c"><em>Other Summers</em>' +audioimg2 +'</p>';	//don't link to self		 
	//	
//
     //  		    
	audioimg=""; audioimg2="";
	 // 
    if (thisextra2)
  audioimg2='&nbsp;<img src="http://www.stephenedgar.com.au/imagesCD/speaker2.gif" alt="sound image" title="sound image">'; 
    teaser = "Three poems from this book (2003/2008)";
		if (thisheadline != "<em>Lost in the Foreground</em>" || thisteaser != teaser ) {
		mstring+='<p class="contents_link_c"><a href="http://www.stephenedgar.com.au/poems/LostintheForeground.html" onmouseover="showPopup(event,\'' + teaser + '\',140)" onmouseout="hideIt()">' +moon + '<em>Lost in the Foreground</em></a>' +audioimg +'</p>';
       }
		else mstring+= '<p class="contents_nolink_c"><em>Lost in the Foreground</em>' +audioimg2 +'</p>';	//don't link to self		 
	//	
//
     //  		    
	audioimg=""; audioimg2="";
	 // 
    if (thisextra2)
  audioimg2='&nbsp;<img src="http://www.stephenedgar.com.au/imagesCD/speaker2.gif" alt="sound image" title="sound image">'; 
    teaser = "Three poems from this book (1999)";
		if (thisheadline != "<em>Where the Trees Were</em>" || thisteaser != teaser ) {
		mstring+='<p class="contents_link_c"><a href="http://www.stephenedgar.com.au/poems/WheretheTreesWere.html" onmouseover="showPopup(event,\'' + teaser + '\',140)" onmouseout="hideIt()">' +moon + '<em>Where the Trees Were</em></a>' +audioimg +'</p>';
       }
		else mstring+= '<p class="contents_nolink_c"><em>Where the Trees Were</em>' +audioimg2 +'</p>';	//don't link to self		 
	//	
//
     //  		    
	audioimg=""; audioimg2="";
	 // 
     audioimg='&nbsp;<img src="http://www.stephenedgar.com.au/imagesCD/speaker.gif" alt="sound available" title="In-page audio reading" align="bottom">'; 
     //
    if (thisextra2)
  audioimg2='&nbsp;<img src="http://www.stephenedgar.com.au/imagesCD/speaker2.gif" alt="sound image" title="sound image">'; 
    teaser = "Three poems from this book (1995)";
		if (thisheadline != "<em>Corrupted Treasures</em>" || thisteaser != teaser ) {
		mstring+='<p class="contents_link_c"><a href="http://www.stephenedgar.com.au/poems/CorruptedTreasures.html" onmouseover="showPopup(event,\'' + teaser + '\',140)" onmouseout="hideIt()">' +moon + '<em>Corrupted Treasures</em></a>' +audioimg +'</p>';
       }
		else mstring+= '<p class="contents_nolink_c"><em>Corrupted Treasures</em>' +audioimg2 +'</p>';	//don't link to self		 
	//	
//
     //  		    
	audioimg=""; audioimg2="";
	 // 
    if (thisextra2)
  audioimg2='&nbsp;<img src="http://www.stephenedgar.com.au/imagesCD/speaker2.gif" alt="sound image" title="sound image">'; 
    teaser = "Three poems from this book (1988)";
		if (thisheadline != "<em>Ancient Music</em>" || thisteaser != teaser ) {
		mstring+='<p class="contents_link_c"><a href="http://www.stephenedgar.com.au/poems/AncientMusic.html" onmouseover="showPopup(event,\'' + teaser + '\',140)" onmouseout="hideIt()">' +moon + '<em>Ancient Music</em></a>' +audioimg +'</p>';
       }
		else mstring+= '<p class="contents_nolink_c"><em>Ancient Music</em>' +audioimg2 +'</p>';	//don't link to self		 
	//	
//
     //  		    
	audioimg=""; audioimg2="";
	 // 
    if (thisextra2)
  audioimg2='&nbsp;<img src="http://www.stephenedgar.com.au/imagesCD/speaker2.gif" alt="sound image" title="sound image">'; 
    teaser = "Three poems from this book (1985)";
		if (thisheadline != "<em>Queuing for the Mudd Club</em>" || thisteaser != teaser ) {
		mstring+='<p class="contents_link_c"><a href="http://www.stephenedgar.com.au/poems/QueuingfortheMuddClub.html" onmouseover="showPopup(event,\'' + teaser + '\',140)" onmouseout="hideIt()">' +moon + '<em>Queuing for the Mudd Club</em></a>' +audioimg +'</p>';
       }
		else mstring+= '<p class="contents_nolink_c"><em>Queuing for the Mudd Club</em>' +audioimg2 +'</p>';	//don't link to self		 
	//	
//
mstring+='</div>';

mstring+='<a href="#" onmouseover="setStatus(\'Click to show/hide list\'); return true" onmouseout="setStatus(\'\'); return true" onclick="expandCollapse(\'prose\');return false" title="Click to show/hide list"><h3 style="margin-top:1.0em">SELECTED PROSE</h3></a>';
mstring += '<div id="prose">';
//
     //  		    
	 	 teaser = "Stephen Edgar describes the development of his formal poetry style and method of working&nbsp;";
		if (thisheadline != "In Form for Forty Years" || thisteaser !=teaser ) {	 
		mstring+='<p class="contents_link_c"><a href="http://www.stephenedgar.com.au/prose/InFormforFortyYears.html" onmouseover="showPopup(event,\'' + teaser + '\',140)" onmouseout="hideIt()">' +moon + 'In Form for Forty Years</a></p>';
       }
		else mstring+= '<p class="contents_nolink_c">In Form for Forty Years</p>';	//don't link to self		 
	//	
//
     //  		    
	 	 teaser = "Launch speech for <em>Poems 1980–2008</em> by Jan Owen";
		if (thisheadline != "Book Launch: Jan Owen" || thisteaser !=teaser ) {	 
		mstring+='<p class="contents_link_c"><a href="http://www.stephenedgar.com.au/prose/BookLaunchJanOwen.html" onmouseover="showPopup(event,\'' + teaser + '\',140)" onmouseout="hideIt()">' +moon + 'Book Launch: Jan Owen</a></p>';
       }
		else mstring+= '<p class="contents_nolink_c">Book Launch: Jan Owen</p>';	//don't link to self		 
	//	
//
     //  		    
	 	 teaser = "Launch speech, 2006, for the verse novel &nbsp;<em>Lawrie and Shirley</em> by Geoff Page";
		if (thisheadline != "Book Launch: Geoff Page" || thisteaser !=teaser ) {	 
		mstring+='<p class="contents_link_c"><a href="http://www.stephenedgar.com.au/prose/BookLaunchGeoffPage.html" onmouseover="showPopup(event,\'' + teaser + '\',140)" onmouseout="hideIt()">' +moon + 'Book Launch: Geoff Page</a></p>';
       }
		else mstring+= '<p class="contents_nolink_c">Book Launch: Geoff Page</p>';	//don't link to self		 
	//	
//
     //  		    
	 	 teaser = "Launch speech for <em>Tremors</em> by Andrew Sant, 2004";
		if (thisheadline != "Book Launch: Andrew Sant" || thisteaser !=teaser ) {	 
		mstring+='<p class="contents_link_c"><a href="http://www.stephenedgar.com.au/prose/BookLaunchAndrewSant.html" onmouseover="showPopup(event,\'' + teaser + '\',140)" onmouseout="hideIt()">' +moon + 'Book Launch: Andrew Sant</a></p>';
       }
		else mstring+= '<p class="contents_nolink_c">Book Launch: Andrew Sant</p>';	//don't link to self		 
	//	
//
     //  		    
	 	 teaser = "Launch speech for <em>Collected Poems, 1943–1995</em>, by Gwen Harwood";
		if (thisheadline != "Book Launch: Gwen Harwood" || thisteaser !=teaser ) {	 
		mstring+='<p class="contents_link_c"><a href="http://www.stephenedgar.com.au/prose/BookLaunchGwenHarwood.html" onmouseover="showPopup(event,\'' + teaser + '\',140)" onmouseout="hideIt()">' +moon + 'Book Launch: Gwen Harwood</a></p>';
       }
		else mstring+= '<p class="contents_nolink_c">Book Launch: Gwen Harwood</p>';	//don't link to self		 
	//	
//
     //  		    
	 	 teaser = "Obituary first published in <em>Island</em>";
		if (thisheadline != "In Memory of Gwen Harwood" || thisteaser !=teaser ) {	 
		mstring+='<p class="contents_link_c"><a href="http://www.stephenedgar.com.au/prose/InMemoryofGwenHarwood.html" onmouseover="showPopup(event,\'' + teaser + '\',140)" onmouseout="hideIt()">' +moon + 'In Memory of Gwen Harwood</a></p>';
       }
		else mstring+= '<p class="contents_nolink_c">In Memory of Gwen Harwood</p>';	//don't link to self		 
	//	
//
     //  		    
	 	 teaser = "Was one of Larkin’s best-known poems a negative version of one of Keats’s?";
		if (thisheadline != "My Heart Aches and I Get Half Drunk at Night" || thisteaser !=teaser ) {	 
		mstring+='<p class="contents_link_c"><a href="http://www.stephenedgar.com.au/prose/MyHeartAchesandIGetHalf-D.html" onmouseover="showPopup(event,\'' + teaser + '\',140)" onmouseout="hideIt()">' +moon + 'My Heart Aches and I Get Half Drunk at Night</a></p>';
       }
		else mstring+= '<p class="contents_nolink_c">My Heart Aches and I Get Half Drunk at Night</p>';	//don't link to self		 
	//	
//
mstring+='</div>';
//alert("End of function. mstring is " +mstring);
document.write(mstring);

} //End makeMenu function

function expandCollapse(section) {
//expand or collapse a menu section;
sectobj=gE(section); 
if  (sectobj.style.display=="none")  //currently closed
       sectobj.style.display="block"; //open it 
else sectobj.style.display="none"; //close it 
 } 


function popupEbook(fileURL,top,height,left,width) 
{
 windowOptions = "resizable=yes";
 windowOptions += "width=" + width + ",height=" + height + ",top=" + top + ",left=" + left;
 window.open(fileURL,"popwindow",windowOptions)
}

function playAudioS(ref) {
var codestr = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="206" height="17">\n';
codestr+= '<param name="movie" value="http://stephenedgar.com.au/audio/SECURE-TSPlayer/SECURE-TSPlayerV4.5.swf" />\n';
codestr+= '<param name="quality" value="high" />  <param name ="wmode" value="transparent" /> <param name="FlashVars" value="playlistfile=http://stephenedgar.com.au/audio/SECURE-TSPlayer/player-html/getPlayData.php%3Fmp3file%3D';
codestr+= ref;
codestr+= '&configurationfile=http://stephenedgar.com.au/audio/SECURE-TSPlayer/player-html/configuration.xml" />';
codestr+= '<embed src="http://stephenedgar.com.au/audio/SECURE-TSPlayer/SECURE-TSPlayerV4.5.swf" quality="high" wmode="transparent" flashvars="playlistfile=http://stephenedgar.com.au/audio/SECURE-TSPlayer/player-html/getPlayData.php%3Fmp3file%3D';
codestr+= ref;
codestr+= '&configurationfile=http://stephenedgar.com.au/audio/SECURE-TSPlayer/player-html/configuration.xml" ';
codestr+= 'pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="206" height="17"></embed>';
codestr+= '</object>';
document.write(codestr);
}

function setStatus(content) {
self.status=content;
}


function breadcrumbs(){
  sURL = new String;
  bits = new Object;
  var x = 0;
  var stop = 0;
  var output = "<a href=\"/\">Home</a>  >  ";
  sURL = location.href;
  sURL = sURL.slice(8,sURL.length);
  chunkStart = sURL.indexOf("/");
  sURL = sURL.slice(chunkStart+1,sURL.length)
  while(!stop){
    chunkStart = sURL.indexOf("/");
    if (chunkStart != -1){
      bits[x] = sURL.slice(0,chunkStart)
      sURL = sURL.slice(chunkStart+1,sURL.length);
    }else{
      stop = 1;
    }
    x++;
  }
  for(var i in bits){
    output += "<a href=\"";
    for(y=1;y<x-i;y++){
      output += "../";
    }
    output += bits[i] + "/\">" + bits[i] + "</a>  >  ";
  }
  document.write(output + document.title);
}


/*


*/
