window.name = 'kwm';

function show(id){
	document.getElementById(id).style.visibility = 'visible';
}
function hide(id){
	document.getElementById(id).style.visibility = 'hidden';
}
function swapImg(id,src) { 
	document.getElementById(id).src = src;
}
function submitForm(id){
	document.getElementById(id).submit();
}
function resetForm(formName){
	document.getElementById(formName).reset();
}
function targetId(id,d) {
	if(!d) d = document;
	if(d.all) {
		return d.all.item(id);
	}else if (d.layers) {
	    if(d[id]) return d[id];
	 	for(var i=0; i<d.layers.length; i++) {
			var c = d.layers[i].document;
			if(c[id]) return c[id];
			if(c.layers[id]) return c.layers[id];
			if(c.layers.length > 0) var n = targetId(id,c);
			if(n) return n;
		}
	}
}
function getObject(id) {
	var o = targetId(id);
	if(document.layers) {
		o.style = o;
	}
  return o;
}

if(!document.getElementById) document.getElementById = getObject;

function popHelp(popurl){
	winpops=window.open(popurl,"Help","width=500,height=300,status,scrollbars,toolbar,menubar,resizable,")
}

function popGifts(popurl){
	winpops=window.open(popurl,"Gifts","width=500,height=450,status,scrollbars,menubar,resizable,")
}

function popSub(popurl){
	winpops=window.open(popurl,"Subscribe","width=400,height=320,status,")
}


if (navigator.appName=="Netscape"&&parseFloat(navigator.appVersion)<=4.78&&(navigator.platform=='Win32')){
	document.classes.whiteText.all.fontSize = "10px";
}
