<!--
// Shows a layer by the cursor
// Copyright 2006 Bontrager Connection, LLC
var cX = 0; var cY = 0;
function UpdateCursorPosition(e){ cX = e.pageX; cY = e.pageY;}
function UpdateCursorPositionDocAll(e){ cX = event.clientX; cY = event.clientY;}
if(document.all) { document.onmousemove = UpdateCursorPositionDocAll; }
else { document.onmousemove = UpdateCursorPosition; }
function AssignPosition(d) {
d.style.left = (cX+10) + "px";
d.style.top = (cY+10) + "px";
}
function HideContent(d) {
if(d.length < 1) { return; }
document.getElementById(d).style.display = "none";
}
function ShowContent(d) {
if(d.length < 1) { return; }
var dd = document.getElementById(d);
AssignPosition(dd);
dd.style.display = "";
}
function ReverseContentDisplay(d) {
if(d.length < 1) { return; }
var dd = document.getElementById(d);
AssignPosition(dd);
if(dd.style.display == "none") { dd.style.display = ""; }
else { dd.style.display = "none"; }
}

// Opens a popup window giving the URL
// the width is equal to x
// and the height is equal to y
// if called when the window is already open
// behind other windows, the focus will bring it to the front

function openWin(URL,width,height) {
	myWin = window.open(URL,"window","width="+width+",height="+height+",toolbar=no,menubar=no,status=no,scrollbars=yes,resizable");
	myWin.resizeTo( width+10,height+10 );
	myWin.focus();
   
   }  


// Opens a window and places an image
// given the url, the title, width, and height

function openImg (url,title,width,height){

	myWin = window.open( "", "myWin",
							"width="+(width+20)+",height="+(height+40)+",toolbar=no,location=no,directories=no,"+
							"status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no" );
							
	myWin.resizeTo( width+40, height+80 );
							
	myWin.document.open(); 

    myWin.document.writeln( "<head><title>"+title+"</title>" );
	myWin.document.writeln( "<link rel=stylesheet href=css/v2.css type=text/css></head>" );
	myWin.document.writeln( "<img src=\""+url+"\" alt=\""+title+"\">" );
	myWin.document.writeln( "<br><a href=javascript:window.close();><font color=#000000>Close This Window</font></a>" );

	myWin.document.close();
	myWin.focus();
	
} 



// Opens a window and places a string
// given the string, the title, width, and height

function openString (string1,title,width,height){

	myWin = window.open( "", "myWin",
							"width="+(width+20)+",height="+(height+40)+",top=200,left=300,toolbar=no,location=no,directories=no,"+
							"status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no" );
							
	//myWin.resizeTo( width+40, height+80 );
							
	myWin.document.open();
	myWin.document.writeln( "<head><title>"+title+"</title>" );
	myWin.document.writeln( "<link rel=stylesheet href=/style/style1.css type=text/css></head>" );
	myWin.document.writeln( "<body><?php include("+string1+"); ?>" );
	myWin.document.writeln( "<a href=javascript:window.close();>Close This Window</a></body>" );
	myWin.document.close();
	myWin.focus();
	
}



// Submits the form and bumps the page down to the bookmark when 
// a radio button is clicked on the locations.asp page.

function bio_onclick() { 
   //alert ("hi");
   //window.document.bio.action = "mike.asp";
   window.document.bio.submit()
   return true;
}



// Opens an alert and asks the user if they wish to leave 
// the page they are working on. Used primarily for the 
// service desk applications.

function alert_onclick() {
	var myConfirm = window.confirm("You have asked to leave. Click OK to leave or click Cancel to stay.");
	if (myConfirm)
	{
	//window.alert("a Wise choice grasshopper");
	return true;
	} 
	else  //window.alert("Sorry");
	return false;
	
}


// Opens a window and embeds the video in 
// the page with a title

function embedVid (url,title,width,height){

	myWin = window.open( "", "myWin",
							"width="+(width+5)+",height="+(height+25)+",toolbar=no,location=no,directories=no,"+
							"status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no" );
							
	myWin.resizeTo( width+10, height+55 );
							
	myWin.document.open();
	myWin.document.writeln( "<head><title>"+title+"</title>" );
	myWin.document.writeln( "<link rel=stylesheet href=/style/style1.css type=text/css></head>" );
	myWin.document.writeln( "<embed src=\""+url+"\" height="+height+" width="+width+"></embed>" );
	myWin.document.writeln( "<br><a href=# onclick=window.close()>Close Window</a>" );
	myWin.document.close();
	myWin.focus();

}


function embedAudio (URL,title,width,height) {
//http://forums.mozillazine.org/viewtopic.php?t=206210 For troubleshooting

	myWin = window.open( "", "myWin",
							"width="+(width+5)+",height="+(height+25)+",toolbar=no,location=no,directories=no,"+
							"status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no" );
							
	myWin.resizeTo( width+10, height+55 );
							
	myWin.document.open();
	myWin.document.writeln( "<html><head><title>"+title+"</title>" );
	myWin.document.writeln( "<link rel=stylesheet href=css/v2.css type=text/css></head><body>" );


   myWin.document.writeln("<div>");
   myWin.document.writeln("<h3>" + title + "</h3>");  // Adjust font style to taste
   myWin.document.writeln("<embed src ='" + URL + "' type='audio/mpegurl' pluginspage='http://www.microsoft.com/Windows/MediaPlayer/' autoplay='true' autostart='1' width='290' height='20' controller='1' showstatusbar='1' bgcolor='#ffffff'></embed>"); 
   
   // Firefox and Opera Win require both autostart and autoplay
	myWin.document.writeln( "<br/><a href=# onclick=window.close()><font color='#FFF'>Close Window</font></a>" );
   myWin.document.writeln("</div></body></html>");
	myWin.document.close();
	myWin.focus();



}


///////////////////////////////////////////////////////////
// "Live Clock" script (3.0)
// By Mark Plachetta (astroboy@zip.com.au)
// http://www.zip.com.au/~astroboy/liveclock/
///////////////////////////////////////////////////////////

var LC_Style=[
	"Arial",			// clock font
	"2",				// font size
	"black",			// font colour
	//"white",			// background colour
	"The time is: ",	// html before time
	"",					// html after time
	300,				// clock width
	1,					// 12(1) or 24(0) hour?
	1,					// update never(0) secondly(1) minutely(2)
	3,					// no date(0) dd/mm/yy(1) mm/dd/yy(2) DDDD MMMM(3) DDDD MMMM YYYY(4)
	0,					// abbreviate days/months yes(1) no(0)
	null				// gmt offset (null to disable)
];

///////////////////////////////////////////////////////////

var LC_IE=(document.all);
var LC_NS=(document.layers);
var LC_N6=(window.sidebar);
var LC_Old=(!LC_IE && !LC_NS && !LC_N6);

var LC_Clocks=new Array();

var LC_DaysOfWeek=[
	["Sunday","Sun"],
	["Monday","Mon"],
	["Tuesday","Tue"],
	["Wednesday","Wed"],
	["Thursday","Thu"],
	["Friday","Fri"],
	["Saturday","Sat"]
];

var LC_MonthsOfYear=[
	["January","Jan"],
	["February","Feb"],
	["March","Mar"],
	["April","Apr"],
	["May","May"],
	["June","Jun"],
	["July","Jul"],
	["August","Aug"],
	["September","Sep"],
	["October","Oct"],
	["November","Nov"],
	["December","Dec"]
];

var LC_ClockUpdate=[0,1000,60000];

///////////////////////////////////////////////////////////

function LC_CreateClock(c) {
	if(LC_IE||LC_N6){clockTags='<span id="'+c.Name+'" style="width:'+c.Width+'px;background-color:'+c.BackColor+'"></span>'}
	else if(LC_NS){clockTags='<ilayer width="'+c.Width+'" bgColor="'+c.BackColor+'" id="'+c.Name+'Pos"><layer id="'+c.Name+'"></layer></ilayer>'}

	if(!LC_Old){document.write(clockTags)}
	else{LC_UpdateClock(LC_Clocks.length-1)}
}

function LC_InitializeClocks(){
	LC_OtherOnloads();
	if(LC_Old){return}
	for(i=0;i<LC_Clocks.length;i++){
		LC_UpdateClock(i);
		if (LC_Clocks[i].Update) {
			eval('var '+LC_Clocks[i].Name+'=setInterval("LC_UpdateClock("+'+i+'+")",'+LC_ClockUpdate[LC_Clocks[i].Update]+')');
		}
	}
}

function LC_UpdateClock(Clock){
	var c=LC_Clocks[Clock];

	var t=new Date();
	if(!isNaN(c.GMT)){
	var offset=t.getTimezoneOffset();
	if(navigator.appVersion.indexOf('MSIE 3') != -1){offset=offset*(-1)}
		t.setTime(t.getTime()+offset*60000);
		t.setTime(t.getTime()+c.GMT*3600000);
	}
	var day=t.getDay();
	var md=t.getDate();
	var mnth=t.getMonth();
	var hrs=t.getHours();
	var mins=t.getMinutes();
	var secs=t.getSeconds();
	var yr=t.getYear();

	if(yr<1900){yr+=1900}

	if(c.DisplayDate>=3){
		md+="";
		abbrev="th";
		if(md.charAt(md.length-2)!=1){
			var tmp=md.charAt(md.length-1);
			if(tmp==1){abbrev="st"}
			else if(tmp==2){abbrev="nd"}
			else if(tmp==3){abbrev="rd"}
		}
		md+=abbrev;
	}

	var ampm="";
	if(c.Hour12==1){
		ampm="AM";
		if(hrs>=12){ampm="PM"; hrs-=12}
		if(hrs==0){hrs=12}
	}
	if(mins<=9){mins="0"+mins}
	if(secs<=9){secs="0"+secs}

	var html = '<font color="'+c.FntColor+'" face="'+c.FntFace+'" size="'+c.FntSize+'">';
	html+=c.OpenTags;
	html+=hrs+':'+mins;
	if(c.Update==1){html+=':'+secs}
	if(c.Hour12){html+=' '+ampm}
	if(c.DisplayDate==1){html+=' '+md+'/'+(mnth+1)+'/'+yr}
	if(c.DisplayDate==2){html+=' '+(mnth+1)+'/'+md+'/'+yr}
	if(c.DisplayDate>=3){html+=' on '+LC_DaysOfWeek[day][c.Abbreviate]+', '+md+' '+LC_MonthsOfYear[mnth][c.Abbreviate]}
	if(c.DisplayDate>=4){html+=' '+yr}
	html+=c.CloseTags;
	html+='</font>';

	if(LC_NS){
		var l=document.layers[c.Name+"Pos"].document.layers[c.Name].document;
		l.open();
		l.write(html);
		l.close();
	}else if(LC_N6||LC_IE){
		document.getElementById(c.Name).innerHTML=html;
	}else{
		document.write(html);
	}
}

function LiveClock(a,b,c,d,e,f,g,h,i,j,k,l){
	this.Name='LiveClock'+LC_Clocks.length;
	this.FntFace=a||LC_Style[0];
	this.FntSize=b||LC_Style[1];
	this.FntColor=c||LC_Style[2];
	//this.BackColor=d||LC_Style[3];
	this.OpenTags=e||LC_Style[4];
	this.CloseTags=f||LC_Style[5];
	this.Width=g||LC_Style[6];
	this.Hour12=h||LC_Style[7];
	this.Update=i||LC_Style[8];
	this.Abbreviate=j||LC_Style[10];
	this.DisplayDate=k||LC_Style[9];
	this.GMT=l||LC_Style[11];
	LC_Clocks[LC_Clocks.length]=this;
	LC_CreateClock(this);
}

///////////////////////////////////////////////////////////

LC_OtherOnloads=(window.onload)?window.onload:new Function;
window.onload=LC_InitializeClocks;

// to call in a page
// new LiveClock('font','size','color','background','start','end','width','12hour','update','abbrev','showdate','gmt');




// Random Image Link Script- By JavaScript Kit(http://www.javascriptkit.com) 
// Over 200+ free JavaScripts here!
// Updated: 00/04/25

function random_imglink(myimages,imagelinks) {
var myimages=new Array()

//specify random images below. You can have as many as you wish

myimages[1]="/randoms/random014_001.jpg"
myimages[2]="/randoms/random081_001.jpg"
myimages[3]="/randoms/random029_001.jpg"
myimages[4]="/randoms/random059_001.jpg"
myimages[5]="/randoms/random087_001.jpg"
myimages[6]="/randoms/random029_001.jpg"

//specify corresponding links below

var imagelinks=new Array()
imagelinks[1]="/"
imagelinks[2]="/"
imagelinks[3]="/"
imagelinks[4]="/"
imagelinks[5]="/"
imagelinks[6]="/"

var ry=Math.floor(Math.random()*myimages.length)
if (ry==0)
ry=1

linkoutput = '<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" border="0"></a>' ;
document.write(linkoutput);

}

function random_iconlink(myicons,iconlinks) {
var myicons=new Array()

//specify random images below. You can have as many as you wish

myicons[1]="/promo/promo_mu/mu_icon1.jpg"
myicons[2]="/promo/promo_mu/mu_button1.jpg"
myicons[3]="/promo/promo_cr/cr_icon1.jpg"
myicons[4]="/promo/promo_cr/cr_icon2.jpg"
myicons[5]="/promo/promo_mu/mu_icon3.jpg"


//specify corresponding links below

var iconlinks=new Array()
iconlinks[1]="/"
iconlinks[2]="/"
iconlinks[3]="/"
iconlinks[4]="/"
iconlinks[5]="/"

var ry=Math.floor(Math.random()*myicons.length)
if (ry==0)
ry=1

iconoutput = '<a href='+'"'+iconlinks[ry]+'"'+'><img src="'+myicons[ry]+'" border=0></a>' ;
document.write(iconoutput);

}



// ==============================================
// Copyright 2004 by CodeLifter.com
// Free for all; but please leave in this header.
// ==============================================

var Quotation=new Array() // do not change this!

// Set up the quotations to be shown, below.
// To add more quotations, continue with the
// pattern, adding to the array.  Remember
// to increment the Quotation[x] index!

var QuoteLink = new String
var EndQuoteLink = new String

QuoteLink = "<a title=\"View what people are saying about Joni.\" href=\"quotes.php\">";
EndQuoteLink = "</a>";

Quotation[0] = "Her ability to connect with the circle and the audience on a genuine level were met with a warm &amp; welcome response.";
Quotation[1] = "Laurence's slender form and shy persona belie the tough artist inside who's willing to take on issues in song with a demanding delicacy.";
Quotation[2] = "When a performer like Laurence gets together with a receptive, energetic audience, the result can be magic.";
Quotation[3] = "Laurence's melodies are instantly memorable, and her lyrics show a faith in reconciliation and resurrection.";
Quotation[4] = "Her voice is calm &amp; assured, reminiscent of some of the greats like Joni Mitchell &amp; Joan Baez.";
Quotation[5] = "Laurence has reached a new level of artistic depth in, \"With No Apology,\" her fourth album, due for release in the spring.";
//Quotation[6] = "";


// ======================================
// Do not change anything below this line
// ======================================
var Q = Quotation.length;
var whichQuotation=Math.round(Math.random()*(Q-1));
function showQuotation(){document.write(Quotation[whichQuotation]);}
//showQuotation();



//-->

