		<!--
		var done=false;
		
		function ImageOn(imgName){
			if (document.images){
				ActiveImage = eval("img" + imgName + "On.src");
				document [imgName].src = ActiveImage;
			}
		}
		function ImageOff(imgName){
			if (document.images){
				Switch = (imgName.toUpperCase() == menuSelected.toUpperCase())?"On":"Off";
				ActiveImage = eval("img" + imgName + Switch + ".src");
				document [imgName].src = ActiveImage;
			}
		}
		
		// ACTIVATE MENU
		function activateLayer(layerName, activeColor)
		{

			if (NS4 || IE4)
			{
				eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.background="'+activeColor+'";');
			} 
			onLayer = layerName;
		}

		// DEACTIVATE MENU
		function deactivateLayer(layerName, inactiveColor)
		{

			if (NS4 || IE4) 
			{
				if (layerName == 'Nav'+ menuSelected) inactiveColor = borderColor;
				eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.background="'+inactiveColor+'"');
			}
		}

		// SHOW HIDDEN MENU
		function showLayer(layerName)
		{
		
			if (NS4 || IE4) 
			{
				eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="visible"');
			} 
			onLayer = layerName
		}

		// HIDE MENU
		function hideLayer(layerName)
		{
			if (NS4 || IE4) 
			{
				eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="hidden"');
			}
		}

		//-->
	
		function preloadImages() //v3.0
		{ 
			var docMain = document; 
			if(docMain.Images)
			{
				if(!docMain.LoadImages) docMain.LoadImages = new Array();
				var intCounter, intImageCount = docMain.LoadImages.length, argImages = preloadImages.arguments; 
				for(intCounter = 0; intCounter < argImages.length; intCounter++)
				if (argImages[intCounter].indexOf("#") != 0)
				{ 
					docMain.LoadImages[intImageCount] = new Image; 
					docMain.LoadImages[intImageCount++].src = argImages[intCounter];
				}
			}
		}

		function swapImgRestore() //v3.0
		{ 
			var intCounter, imgTemp, argImages = document.swapImages; 
			for( intCounter = 0; argImages && intCounter < argImages.length && 
				(imgTemp = argImages[intCounter]) && imgTemp.oSrc; intCounter++ ) imgTemp.src = imgTemp.oSrc;
		}

		function swapImage() //v3.0
		{ 
			var intCounter, intIndex = 0, imgTemp, strArgs = swapImage.arguments; 
			document.swapImages = new Array; 
			for(intCounter = 0; intCounter < (strArgs.length - 2); intCounter += 3 )
			if ((imgTemp = findObj(strArgs[intCounter])) != null)
			{
				document.swapImages[intIndex++] = imgTemp; 
				if(!imgTemp.oSrc) imgTemp.oSrc = imgTemp.src;
				imgTemp.src = strArgs[intCounter + 2];
			}
		}

		function findObj(strImage, doc) //v4.01
		{ 
			var intIndex, intCounter, imgFound;  
			if(!doc) doc = document; 
			if((intIndex = strImage.indexOf("?")) > 0 && parent.frames.length) 
			{
				doc = parent.frames[strImage.substring(intIndex + 1)].document;
				strImage = strImage.substring(0, intIndex);
			}
			if(!(imgFound = doc[strImage]) && doc.all) imgFound = doc.all[strImage]; 
			for (intCounter=0; !imgFound && intCounter < doc.forms.length; intCounter++) imgFound = doc.forms[intCounter][strImage];
			for (intCounter=0; !imgFound && doc.layers && intCounter < doc.layers.length; intCounter++) imgFound = findObj(strImage, doc.layers[intCounter].document);
			if(!imgFound && doc.getElementById) imgFound = doc.getElementById(strImage); 
			return imgFound;
		}

		function ShowImage(lngID)
		{			
			wndViewer = window.open("ImageViewer.asp?ImageID="+ lngID,"Viewer","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=500,height=500");
			wndViewer.focus();
			return false;
		} 
		
		function launchViewer(filename,x,y)
		{ 
			if (!done)
			{
				window.imagex = x;
				window.imagey = y;
				window.viewerx = ((x/2) < 500) ? 500 : x/2;
				window.viewery = y/1.8;
				//window.imagename="/SkopArt/images/works/" + filename;
				window.imagename="//a666346.sites.myregisteredsite.com/images/works/" + filename;
				viewer=window.open("viewer/ImageViewer.html","VIEWER","height=" + (window.viewery) +",width=" + (window.viewerx) + ",toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=yes");
				viewer.opener=window;
				viewer.focus();
			}
			return done;
		}
		-->
