var SM_JSUtils={};SM_JSUtils.timeouts=new Array();SM_JSUtils.showHTMLElem=function(b,c){if(b==""){return}var a=null;if(document&&document.getElementById){a=document.getElementById(b)}if(a!=null){a.style.display=c}};SM_JSUtils.hideHTMLElem=function(b){if(b==""){return}var a=null;if(document&&document.getElementById){a=document.getElementById(b)}if(a!=null){a.style.display="none"}};SM_JSUtils.showPopupElem=function(e,d,a,c){if(a==""){return}clearTimeout(SM_JSUtils.timeouts[a]);if(e!=""){var b=null;if(document&&document.getElementById){b=document.getElementById(e)}if(b!=null){b.className=d}}b=null;if(document&&document.getElementById){b=document.getElementById(a)}if(b!=null){$("#"+a).slideDown(100)}};SM_JSUtils.hidePopupElem=function(f,d,a,c,e){if(a==""){return}if(c){SM_JSUtils.timeouts[a]=window.setTimeout("SM_JSUtils.hidePopupElem('"+f+"', '"+d+"', '"+a+"', false, 0)",e)}else{SM_JSUtils.timeouts[a]=null;if(f!=""){var b=null;if(document&&document.getElementById){b=document.getElementById(f)}if(b!=null){b.className=d}}b=null;if(document&&document.getElementById){b=document.getElementById(a)}if(b!=null){$("#"+a).slideUp(100)}}};SM_JSUtils.setElemDefaultValue=function(c,a){if(c==""){return}var b=null;if(document&&document.getElementById){b=document.getElementById(c)}if(b==null){return}b.d=a;if(b.value==''||b.value==null){b.value=b.d;}b.onfocus=function(){if(this.value==this.d){this.value=""}};b.onblur=function(){if(this.value==""){this.value=this.d}}};SM_JSUtils.getInputValue=function(a){if(a!=""){if(document&&document.getElementById){var b=document.getElementById(a);if(b!=null){return b.value}}}return""};