<!--
/* *************************************************************
* set some global variables that will be checked later         *
***************************************************************/
var emailLinkImg = new Image();

var imageRootPath = "images/";
var imageType = "gif";

var navArray = [
	/* here's are sample Array entryies for "nav" and "spacer" types
	["nav","inactive cue","Image Link","Image Root Name","image events (aside from 'Home' and 'Off' which are mandatory 'O' for over ,'D' so...'O' 'D' or 'OD' ", "alt text...if none found here just use],
	["spacer","spacer.gif","alt text"],
	*/


	["nav","home","index.php","navHome","O","Home Page"],
	["nav","fused","fused.php","navFused","O","Fused Glass Jewelry"],
	["nav","gallery","gallery.php","navGallery","O","Other Jewelry"],
	["nav","artistInfo","artistInfo.php","navArtistInfo","O","Artist Information"],

	// this last entry is here just to help protect you from screwing up the syntax when adding entries...just leave it be
	["image type values nav/spacer","inactive cue","off Image","over image","click image","alt text"]
];

function createImageObject(rootName){
	eval(rootName +'= new Image()');
	eval(rootName+'.src = "'+ imageRootPath + rootName + '.' +imageType+'"');
}

function drawImageSet(imageSet,nativeTrigger){
	document.write('<table cellspacing="0" cellpadding="0" class="navigation" ><tr>');
	for( x=0; x < imageSet.length-1; x++){
		document.write('<td class="navButton">');
		if(imageSet[x][0].toLowerCase() == "nav"){
			tmpAText = "";
			tmpAltText = "";
			if ( imageSet[x][1].toLowerCase() != nativeTrigger.toLowerCase() ){

				tmpAText += '<a href="'+imageSet[x][2]+'"';

				if ( eval("menu"+(x+1)+".length") > 0 ){
					tmpAText += ' onMouseOver="dropdownmenu(this, event, menu'+(x+1)+', \'205px\',\''+imageSet[x][3]+'\');"';
					tmpAText += ' onMouseOut="dynamichide(event,\''+imageSet[x][3]+'\')"';
				}
				else{
					tmpAText += ' onMouseOver="document.autoDrawn'+imageSet[x][3]+'.src='+imageSet[x][3]+'Over.src"';
					tmpAText += ' onMouseOut="document.autoDrawn'+imageSet[x][3]+'.src='+imageSet[x][3]+'Off.src;"';
				}

				( !imageSet[x][5] || imageSet[x][5] == "" ) ? tmpAltText = ' alt="'+imageSet[x][2]+'"' : tmpAltText = ' alt="'+imageSet[x][5]+'"';
				tmpAText += ">";
				document.write(tmpAText+'<img name="autoDrawn'+imageSet[x][3]+'" src='+imageRootPath+imageSet[x][3]+'Off.'+imageType+ ' border="0" '+tmpAltText+'></a>');

				/*
					tmpAText += '<a href="'+imageSet[x][2]+'"';
					if (imageSet[x][4].toLowerCase().indexOf("o") > -1) tmpAText += ' onMouseOver="document.autoDrawn'+imageSet[x][3]+'.src='+imageSet[x][3]+'Over.src"';
					if (imageSet[x][4].toLowerCase().indexOf("x") > -1) tmpAText += ' onMouseDown="return clickreturnvalue()" onMouseOver="dropdownmenu(this, event, menu'+(x+1)+', \'205px\'); document.autoDrawn'+imageSet[x][3]+'.src='+imageSet[x][3]+'Over.src;"';
					if (imageSet[x][4].toLowerCase().indexOf("d") > -1) tmpAText += ' onMouseDown="document.autoDrawn'+imageSet[x][3]+'.src='+imageSet[x][3]+'Down.src"';
					if (imageSet[x][4].toLowerCase().indexOf("d") > -1 ||imageSet[x][4].toLowerCase().indexOf("o") > -1) tmpAText += ' onMouseOut="document.autoDrawn'+imageSet[x][3]+'.src='+imageSet[x][3]+'Off.src;"';
					if (imageSet[x][4].toLowerCase().indexOf("x") > -1) tmpAText += ' onMouseOut="dynamichide(event); document.autoDrawn'+imageSet[x][3]+'.src='+imageSet[x][3]+'Off.src;"';
					( !imageSet[x][5] || imageSet[x][5] == "" ) ? tmpAltText = ' alt="'+imageSet[x][2]+'"' : tmpAltText = ' alt="'+imageSet[x][5]+'"';
					tmpAText += ">";
					document.write(tmpAText+'<img name="autoDrawn'+imageSet[x][3]+'" src='+imageRootPath+imageSet[x][3]+'Off.'+imageType+ ' border="0" '+tmpAltText+'></a>');
				*/
			}else{
				tmpAText += '<a href="'+imageSet[x][2]+'"';
				if ( eval("menu"+(x+1)+".length") > 0 ){
					tmpAText += '<a href="'+imageSet[x][2]+'"';
					tmpAText += ' onMouseOver="dropdownmenu(this, event, menu'+(x+1)+', \'205px\');"';
					tmpAText += ' onMouseOut="dynamichide(event)"';
					( !imageSet[x][5] || imageSet[x][5] == "" ) ? tmpAltText = ' alt="'+imageSet[x][2]+'"' : tmpAltText = ' alt="'+imageSet[x][5]+'"';
					tmpAText += ">";
					document.write(tmpAText+'<img name="autoDrawn'+imageSet[x][3]+'" src='+imageRootPath+imageSet[x][3]+'Home.'+imageType+ ' border="0" '+tmpAltText+'></a>');
				}
				else{
					( !imageSet[x][5] || imageSet[x][5] == "" ) ? tmpAltText = ' alt="'+imageSet[x][2]+'"' : tmpAltText = ' alt="'+imageSet[x][5]+'"';
					document.write('<img src="'+imageRootPath+imageSet[x][3]+'Home.'+imageType+'" border="0" '+tmpAltText+'>');
				}
				/*
				( !imageSet[x][5] || imageSet[x][5] == "" ) ? tmpAltText = ' alt="'+imageSet[x][2]+'"' : tmpAltText = ' alt="'+imageSet[x][5]+'"';
				if (imageSet[x][4].toLowerCase().indexOf("x") > -1)
				{document.write('<a href="/" onMouseOver="dropdownmenu(this, event, menu'+(x+1)+', \'205px\')" ><img src="'+imageRootPath+imageSet[x][3]+'Home.'+imageType+'" border="0" >');}
				else
				{document.write('<img src="'+imageRootPath+imageSet[x][3]+'Home.'+imageType+'" border="0" '+tmpAltText+'>');}
				*/
			}
		}else{
			( !imageSet[x][2] || imageSet[x][2] == "" ) ? tmpAltText = ' alt="'+imageSet[x][1]+'"' : tmpAltText = ' alt="'+imageSet[x][2]+'"';
			document.write('<img src="'+imageRootPath+imageSet[x][1]+'" border="0"  '+tmpAltText+'>');
		}
		document.write('</td></tr>');
	}
	document.write('</table>');
}

for( x=0; x < navArray.length; x++){
	if ( navArray[x][0].toLowerCase() == "nav" ){
		createImageObject(navArray[x][3]+"Off");
		if(navArray[x][4].toLowerCase().indexOf("o") > -1 ) createImageObject(navArray[x][3]+"Over");
		if(navArray[x][4].toLowerCase().indexOf("x") > -1 ) createImageObject(navArray[x][3]+"Over");
		if(navArray[x][4].toLowerCase().indexOf("d") > -1 ) createImageObject(navArray[x][3]+"Down");
	}
}


/***********************************************
* AnyLink Drop Down Menu- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

//Contents for menu 1
var menu1=new Array()

//Contents for menu 2, and so on
var menu2=new Array()

//Contents for menu 3, and so on
var menu3=new Array()

//Contents for menu 4, and so on
var menu4=new Array()

//Contents for menu 5, and so on
var menu5=new Array()

//Contents for menu 6, and so on
var menu6=new Array()


var menuwidth='185px' //default menu width
var menubgcolor='#E4E4E3'  //menu bgcolor
var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?

/////No further editting needed

var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}


function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top="500px"
if (menuwidth!=""){
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
}
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
}
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
}
}
return edgeoffset
}

function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}


function dropdownmenu(obj, e, menucontents, menuwidth,parentImage){
	//alert(obj+"-"+e+"-"+menucontents+"-"+menuwidth+"-"+parentImage);
	//return;
	if (typeof(parentImage) != "undefined") eval("autoDrawn"+parentImage+".src = " + parentImage + "Over.src");
	if (window.event) event.cancelBubble=true
	else if (e.stopPropagation) e.stopPropagation()
	clearhidemenu()
	dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
	populatemenu(menucontents)

	if (ie4||ns6){
	showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
	dropmenuobj.x=getposOffset(obj, "left")
	dropmenuobj.y=getposOffset(obj, "top")
	//dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
	dropmenuobj.style.left="209px";
	//dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
	dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight-28+"px"
}

return clickreturnvalue()
}

function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function dynamichide(e,parentImage){
	if (typeof(parentImage) != "undefined") eval("autoDrawn"+parentImage+".src = " + parentImage + "Off.src");
	if (ie4&&!dropmenuobj.contains(e.toElement)){
		if (typeof(parentImage) != "undefined") eval("autoDrawn"+parentImage+".src = " + parentImage + "Off.src");
		delayhidemenu()
	}
	else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget)){
		if (typeof(parentImage) != "undefined") eval("autoDrawn"+parentImage+".src = " + parentImage + "Off.src");
		delayhidemenu()
	}
}

function hidemenu(e){
	if (typeof dropmenuobj!="undefined"){
		if (ie4||ns6)
		dropmenuobj.style.visibility="hidden"
	}
}

function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}

if (hidemenu_onclick=="yes")
document.onclick=hidemenu

function spawnWindow( width, height, location )
{
		var thePropertiesString = "";
		thePropertiesString += "menu=no,";
		thePropertiesString += "address=no,";
		thePropertiesString += "height=" + height + ",";
		thePropertiesString += "width=" + width;

		window.open( location , "Gallery" , thePropertiesString );
}




function footer()
{
	var today=new Date();
	var nyear=today.getYear();
	
	if (nyear<=99)
  	nyear= "19"+nyear;

	if ((nyear>99) && (nyear<2000))
 	nyear+=1900;
		document.write('<table width="750"><tr><td align="left" class="innerFooter">');
		document.write('copyright &copy; ');
		document.write(nyear);
		document.write(' The Liz Show');
		document.write('</td><td align="right" class="innerFooter">site designed by <a href="http://www.sangfroidweb.com" alt="Sangfroid Web Design" target="_blank" >SangFroid Web Design</a></td></tr></table>');
}
//-->