function gebi(id) { return document.getElementById(id); }

function input_fcs(obj,chk,cls) {
	if (obj != undefined) {
		//obj.className = cls;
		if (obj.value == chk) obj.value = '';
	}
}

function input_blr(obj,chk,cls) {
	if (obj != undefined) {
		if (obj.value == '') { 
			obj.value = chk;
			//obj.className = cls;
		}
	}
}

function pov(obj,cls) {
	if (cls == undefined) cls = 'pnt';
	if (obj != undefined) {
		obj.className = cls+' over';
		var num = parseInt(obj.id);
		gebi(num+'_img').src = gebi(num+'_on').src;
		var sub = gebi(num+'_sub');
		if (sub) {
			fadeOpacity(sub.id, 'oR1');
			/*
			if (sub.style.opacity) sub.style.opacity = '0.25';
			if (sub.style.MozOpacity) sub.style.MozOpacity = '0.25';
			if (sub.style.filter) sub.style.filter = "alpha(opacity=25)";
			//if (sub.filters) sub.filters.alpha.opacity = 25;
			alert('wow1'+sub.style.filter);
			*/
		}
	}
}

function pou(obj,cls) {
	if (cls == undefined) cls = 'pnt';
	if (obj != undefined) {
		obj.className = cls;
		var num = parseInt(obj.id);
		gebi(num+'_img').src = gebi(num+'_off').src;
		var sub = gebi(num+'_sub');
		if (sub) {
			fadeOpacity.back(sub.id);
			/*
			sub.style.display = 'block';
			if (sub.style.opacity) sub.style.opacity = '0.25';
			if (sub.style.MozOpacity) sub.style.MozOpacity = '0.25';
			if (sub.style.filter) sub.style.filter = "alpha(opacity=25)";
			//if (sub.filters) sub.filters.alpha.opacity = 25;
			alert('wow1'+sub.style.filter);
			*/
		}
	}
}

function docloc(loc) {
	if (loc == undefined) return;
	document.location = loc;
}
