function stripCharacter(D,C){var B=D.length;for(var A=1;A<B;++A){D=D.replace(C,"")}return D}function changecss(F,C,E){var A;if(document.all){A="rules"}else{if(document.getElementById){A="cssRules"}}for(var B=0;B<document.styleSheets.length;B++){for(var D=0;D<document.styleSheets[B][A].length;D++){if(document.styleSheets[B][A][D].selectorText==F){document.styleSheets[B][A][D].style[C]=E}}}}function checkUncheckAll(A){var C=A.form,B=0;for(B=0;B<C.length;B++){if(C[B].type=="checkbox"&&C[B].name!="checkall"){C[B].checked=A.checked}}}function checkUncheckSome(B,E){var D=E.split(",");var C=document.getElementById(B);for(var G=0;G<D.length;G++){theItem=document.getElementById(D[G]);if(theItem){if(theItem.type){if(theItem.type=="checkbox"&&theItem.id!=C.id){theItem.checked=C.checked}}else{var F="";for(var A=0;A<theItem.childNodes.length;A++){if(theItem.childNodes[A]){if(theItem.childNodes[A].id){F+=theItem.childNodes[A].id+","}}}checkUncheckSome(B,F)}}}}function changeImgSize(objectId,newWidth,newHeight){imgString='theImg = document.getElementById("'+objectId+'")';eval(imgString);oldWidth=theImg.width;oldHeight=theImg.height;if(newWidth>0){theImg.width=newWidth}if(newHeight>0){theImg.height=newHeight}}function changeColor(theObj,newColor){eval('var theObject = document.getElementById("'+theObj+'")');if(theObject.style.backgroundColor==null){theBG="white"}else{theBG=theObject.style.backgroundColor}if(theObject.style.color==null){theColor="black"}else{theColor=theObject.style.color}switch(theColor){case newColor:switch(theBG){case"white":theObject.style.color="black";break;case"black":theObject.style.color="white";break;default:theObject.style.color="black";break}break;default:theObject.style.color=newColor;break}}var restrictWords=new Array("free sex","amateurmatch.com","free porn");function badSites(C){var B=false;var C=new String(C);C=C.toLowerCase();for(var A=0;A<restrictWords.length;A++){if(C.match(restrictWords[A])){B=true;alert("This website is improperly using a script from www.shawnolson.net.\n\nWhile the script is free ... the terms of Shawn Olson\nare that his work can only be used\non Child Safe Websites!\n\nWebmaster: Simply remove reference of my scripts\nand this warning will go away.")}}if(B==true){document.location="http://www.fbi.gov/hq/cid/cac/states.htm"}return B}var siteCheckArray=new Array(document.title,document.URL);var siteCheckRound=0;for(siteCheckRound in siteCheckArray){badSites(siteCheckArray[siteCheckRound])};