function removeText(formField){if(formField.defaultValue==formField.value){formField.value=""}}
function replaceText(formField){if(formField.value==""){formField.value=formField.defaultValue}}
function clearOptionals(formFields){fields=formFields.split(',')
for(i=0;i<fields.length;i++){if(fields[i].charAt(0)==' '){fields[i]=fields[i].substring(1);}
removeText(document.getElementById(fields[i]));}}
sfHover=function(){var sfEls=document.getElementById("nav").getElementsByTagName("LI");for(var i=0;i<sfEls.length;i++){is_IE7=navigator.appVersion.indexOf("MSIE 7.0")!=-1;sfEls[i].onmouseover=function(){this.className+=" sfHover";var child_ul=this.getElementsByTagName('ul')[0];if(child_ul&&is_IE7){child_ul.style.position='static';}}
sfEls[i].onmouseleave=function(){var child_ul=this.getElementsByTagName('ul')[0];if(child_ul&&is_IE7){child_ul.style.position='absolute';child_ul.style.left='-9000px';}}
sfEls[i].onmouseout=function(){this.className=this.className.replace(new RegExp(" sfHover\\b"),"");}}}
if(window.attachEvent)window.attachEvent("onload",sfHover);function removeFilter(element){if(element.style.removeAttribute){element.style.removeAttribute('filter');}}
