<!-- hide from JavaScript-challenged browsers

var tmr;
var tmrmenu;

function opensecurecert()
	{
	thewindow = window.open('https://www.thawte.com/cgi/server/certdetails.exe?code=USTRAD158-1','anew',config='height=510,width=520,toolbar=no,menubar=no,scrollbars=yes,resizable=no,location=no,directories=no,status=yes');
	}

function openaltviews(avurl, widthval, toppos, heightdivisor)
	{
	leftpos = (screen.width) ? (screen.width - widthval) / 2 : 100;
	heightval = (screen.height) ? (screen.height) / heightdivisor : 100;
	winfeatures = 'height=' + heightval + ',width=' + widthval + ',top=' + toppos + ',left=' + leftpos + ',scrollbars=1,location=0,directories=0,status=0,menubar=0,toolbar=0,resizable=1,dependent=1'
	popupWin = window.open(avurl, 'altviews', winfeatures);
	popupWin.focus();
	}

function openhelp (helpurl)
	{
	widthval = 640
	heightval = 800
	leftpos = (screen.width) ? (screen.width - widthval) / 2 : 100;
	toppos = (screen.height) ? (screen.height - heightval) / 2 : 100;
	winfeatures = 'height=' + heightval + ',width=' + widthval + ',top=' + toppos + ',left=' + leftpos + ',scrollbars=1,location=0,directories=0,status=0,menubar=0,toolbar=0,resizable=1,dependent=1'
	popupWin = window.open(helpurl, 'helpwin', winfeatures);
	popupWin.focus();
	}

function showmenu(elmntid)
	{
	var i;
	var e;
	var s;
	var x;
	if (tmr != null)
		clearTimeout(tmr);
	if (tmrmenu != null && tmrmenu != elmntid)
		hidemenu(tmrmenu);
	x = document.getElementById(elmntid);
	if (document.forms[0] != null)
		{
		for (i=0; i<document.forms[0].length; ++i)
			{
			e=document.forms[0].elements[i];
			s=e.type;
			s=s.toLowerCase();
			if (s.indexOf("select") > -1)
				{
				s = e.name;
				if ((elmntid == "help" && s == "ILSRTSel") || (elmntid == "padultack" && s == "ColorSel") || (elmntid.charAt(0) == 'p' && (s == "DesignerSel" || s == "ThemeSel")) || (elmntid.charAt(0) == 'b' && (s == "bCountryID" || s =="bShippingMethod")))
					e.style.visibility="hidden";
				}
			}
		}
	x.style.visibility="visible";
	x.refresh();
	}

function setmenutimer(elmntid)
	{
	tmrmenu = elmntid;
/* needs to be at least 1 sec */
	tmr = setTimeout('hidemenu(tmrmenu)',1000);
	}

function hidemenu(elmntid)
	{
	var i;
	var x;
	var e;
	var s;
	var d;
	x = document.getElementById(elmntid);
	if (document.forms[0] != null)
		{
		for (i=0; i<document.forms[0].length; ++i)
			{
			e=document.forms[0].elements[i];
			s=e.type;
			s=s.toLowerCase();
			if (s.indexOf("select") > -1)
				{
				if (e.id == "ThemeSel")
					{
					d=document.getElementById("descThemeSel");
					if (d != null)
						{
						e.style.visibility=d.style.visibility;
						}
					else
						{
						e.style.visibility="visible";
						}
					}
				else
					{
					e.style.visibility="visible";
					}
				}
			}
		}
	x.style.visibility="hidden";
	}

vVer  = parseInt(navigator.appVersion)
vNS = navigator.appName=="Netscape"
vIE = navigator.appName=="Microsoft Internet Explorer"

function norcl(evnt)
	{
/*	var msg;
	msg = "This image is the property of ThePotteryConnection.com or one of our suppliers, please do not distribute these images.";
	if (vNS && evnt.which > 1)
		{
		alert(msg);
		return false;
		}
	else if (vIE && (event.button >1))
		{
		alert(msg);
		return false;
		}
*/	}

document.onmousedown = norcl;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (vNS && vVer<5) window.onmousedown = norcl;
//window.onmousedown=norcl;

function stopRKey(evt)
	{
	var evt  = (evt) ? evt : ((event) ? event : null);
	var node = (evt.target) ? evt.target : ((evt.srcElement) ? evt.srcElement : null);
	if ((evt.keyCode == 13) && (node.type=="text"))
		{
		return false;
		}
	}
document.onkeypress = stopRKey;

// finished hiding -->
