function f0014(varName, val) 
{ 
 v001=new Image(); 
 v000="v001.php?"+varName+"="+val; 
 v001.src=v000; 
} 
function f0015(targetObjId, stateVarName, yStr, nStr) 
{ 
 v002=document.valueBox[stateVarName].value; 
 v002=(v002 == 'Y') ? 'N' : 'Y'; 
 document.getElementById(targetObjId).innerHTML=(v002 == 'N') ? nStr : yStr; 
 document.valueBox[stateVarName].value=v002; 
 f0141(stateVarName, v002, 30); 
} 
function f_toggleState(v_objId) 
{ 
 var v_obj=document.getElementById(v_objId); 
 var v_currState=(v_obj.getAttribute('S')=='Y')?'N':'Y'; 
 v_obj.setAttribute('S',v_currState); 
 v_obj.innerHTML=v_obj.getAttribute(v_currState); 
 f0141(v_objId,v_currState,30); 
} 
function f_syncToggleState(v_objId) 
{ 
 var v_obj=document.getElementById(v_objId); 
 if (!v_obj) return; 
 var v_cookieVal=f0142(v_objId); 
 if (v_cookieVal) 
 { 
 v_obj.innerHTML=v_obj.getAttribute(v_cookieVal); 
 v_obj.setAttribute('S',v_cookieVal); 
 } 
} 
function f_fontWeight(v_objId, v_wt) 
{ 
 document.getElementById(v_objId).style.fontWeight=v_wt; 
} 
function f0018(elementId, fadeTm) 
{ 
 var me=this; 
 var se=null; 
 var t=null; 
 var dly=3; 
 var tm=fadeTm; 
 var st=0; 
 var w=window; 
 var eId=elementId; 
 if ( fadeTm > 0 ) 
 { 
 E().style.filter="blendTrans(duration="+tm+")"; 
 } 
 if(w.ipFadeSecs) 
 { 
 tm=w.ipFadeSecs; 
 } 
 if(w.ipDelaySecs) 
 { 
 dly=w.ipDelaySecs; 
 } 
 function E() 
 { 
 return document.getElementById(eId); 
 } 
 function ol() 
 { 
 if(!se && ct()) 
 { 
 res(); 
 } 
 } 
 function init() 
 { 
 if(!se) 
 { 
 var ss=E(); 
 if(ss) 
 { 
 se=fc(ss); 
 if(se) 
 { 
 ss.onmousemove=pause; 
 ss.onfilterchange=trans; 
 } 
 } 
 } 
 } 
 function uninit() 
 { 
 var ss=E(); 
 if(ss) 
 { 
 ss.onfilterchange=null; 
 ss.onmousemove=null; 
 } 
 } 
 function hide() 
 { 
 st=1; 
 var ss=E(); 
 if(ss.filters && ss.filters[0]) 
 { 
 f(ss,0); 
 } 
 else 
 { 
 h(); 
 t=w.setTimeout(trans,tm*1000/4); 
 } 
 } 
 function trans() 
 { 
 if(st==1) 
 { 
 st=2; 
 se=ns(se); 
 var ss=E(); 
 if(ss.filters && ss.filters[0]) 
 { 
 f(ss,1); 
 } 
 else 
 { 
 s(); 
 res(); 
 } 
 } 
 else if(st==2) 
 { 
 res(); 
 } 
 } 
 function res() 
 { 
 st=0; 
 t=w.setTimeout(hide,dly*1000); 
 } 
 function ct() 
 { 
 w.clearTimeout(t); 
 init(); 
 return(se !== null); 
 } 
 function f(ss,v) 
 { 
 if ( v ) { se.style.display="block";} 
 ss.filters[0].apply(); 
 v ? se.style.visibility="visible" : se.style.visibility="hidden"; 
 ss.filters[0].play(); 
 if ( !v ) { setTimeout(noBlock, tm*1000); } 
 } 
 function s() 
 { 
 se.style.visibility="visible"; 
 } 
 function h() 
 { 
 se.style.visibility="hidden"; 
 } 
 function noBlock() 
 { 
 se.style.display="none"; 
 } 
 function pause() 
 { 
 if(!st) 
 { 
 if(ct()) 
 { 
 res(); 
 } 
 } 
 } 
 function fc(p) 
 { 
 var n=p.firstChild; 
 while(n && n.nodeType!=1) 
 { 
 n=n.nextSibling; 
 } 
 return n; 
 } 
 function lc(p) 
 { 
 var n=p.lastChild; 
 while(n && n.nodeType!=1) 
 { 
 n=n.previousSibling; 
 } 
 return n; 
 } 
 function pe(n) 
 { 
 var p=n.parentNode; 
 while(p && p.nodeType!=1) 
 { 
 p=p.parentNode; 
 } 
 return p; 
 } 
 function ns(n) 
 { 
 var s=n.nextSibling; 
 while(s && s.nodeType!=1) 
 { 
 s=s.nextSibling; 
 } 
 if(!s) 
 { 
 s=fc(pe(n)); 
 } 
 return s; 
 } 
 function ps(n) 
 { 
 var s=n.previousSibling; 
 while(s && s.nodeType!=1) 
 { 
 s=s.previousSibling; 
 } 
 if(!s) 
 { 
 s=lc(pe(n)); 
 } 
 return s; 
 } 
 this.Flip=function(r) 
 { 
 if(!st) 
 { 
 if(ct()) 
 { 
 h(); 
 se=(r ? ps(se) : ns(se)); 
 s(); 
 res(); 
 } 
 } 
 if(w.event) 
 { 
 w.event.returnValue=false; 
 } 
 return false; 
 }; 
 this.oncreate=function() 
 { 
 if(w.attachEvent) 
 { 
 w.attachEvent("onload",ol); 
 w.attachEvent("onunload",me.ondestroy); 
 } 
 else 
 { 
 w.addEventListener("load",ol,false); 
 } 
 }; 
 this.ondestroy=function() 
 { 
 if(w.detachEvent) 
 { 
 w.detachEvent("onunload",me.ondestroy); 
 w.detachEvent("onload",ol); 
 uninit(); 
 } 
 }; 
 this.oncreate(); 
 return this; 
}; 
