if(!(top==self)){top.location.href=""}function addLoadEvent(func){var oldonload=window.onload;if(typeof window.onload!="function"){window.onload=func}else{window.onload=function(){oldonload();func()}}}window.onload=function(){if(!document.getElementsByTagName){return false}var lnks=document.getElementsByTagName("a");for(var i=0;i<lnks.length;i++){if(lnks[i].className=="popup"){lnks[i].onclick=function(){popUp(this.getAttribute("href"));return false}}}};function popUp(winURL){window.open(winURL,"popup")}hdrHover=function(){if(document.getElementById("headerNav")!=null){if((document.all)&&(document.getElementById)){var hdrCat=document.getElementById("headerNav").getElementsByTagName("li");for(var i=0;i<hdrCat.length;i++){hdrCat[i].onmouseover=function(){this.className+=" hdrhover"};hdrCat[i].onmouseout=function(){this.className=this.className.replace(new RegExp(" hdrhover\\b"),"")}}}}};addLoadEvent(hdrHover);addLoadEvent(function(){if(document.getElementById("userName")){document.getElementById("userName").onfocus=function(){document.getElementById("userName").value=""}}if(document.getElementById("password")){document.getElementById("password").onfocus=function(){document.getElementById("password").value=""}}if(document.getElementById("username1")){document.getElementById("username1").onfocus=function(){document.getElementById("username1").value=""}}if(document.getElementById("password1")){document.getElementById("password1").onfocus=function(){document.getElementById("password1").value=""}}});$(document).ready(function(){$("#openIdGiver").hide();$("a#openIdGiverLink").click(function(){$("#openIdGiver").toggle(400);$("#eGiveGiver").toggle(400);$("#userName").attr("value","");$("#password").attr("value","");return false});$("a#eGiveGiverLink").click(function(){$("#openIdGiver").toggle(400);$("#eGiveGiver").toggle(400);return false});$("#openIdReceiver").hide();$("a#openIdReceiverLink").click(function(){$("#openIdReceiver").toggle(400);$("#eGiveReceiver").toggle(400);$("#username1").attr("value","");$("#password1").attr("value","");return false});$("a#eGiveReceiverLink").click(function(){$("#openIdReceiver").toggle(400);$("#eGiveReceiver").toggle(400);return false});$("a#bookmarkFavorite").click(function(){var url="http://www.egive-usa.com";bookmarkurl=url;bookmarktitle="eGive: Good Stewardship Made Easy";if(document.all){window.external.AddFavorite(bookmarkurl,bookmarktitle)}else{if(window.sidebar){window.sidebar.addPanel(bookmarktitle,bookmarkurl,"")}}return false});$(":input").focus(function(){if($(this).val()==$(this).attr("title")){$(this).val("")}}).blur(function(){if($(this).val()==""){$(this).val($(this).attr("title"))}});$(":input[type=button], :input[type=submit]").mousedown(function(e){$(":input").each(function(i){if($(this).val()==$(this).attr("title")){$(this).val("")}})})});function thirdParty(){document.getElementById("bbb").oncontextmenu=function(){alert("Use without permission is prohibited. The BBB Accreditation seal is a trademark of the Council of Better Business Bureaus, Inc.");return false}}addLoadEvent(thirdParty);
