diff --git a/unl_theme/scripts/badwordfilter.php b/unl_theme/scripts/badwordfilter.php
new file mode 100644
index 0000000000000000000000000000000000000000..87f72272584354c4e8016c9b9c1d3263b4f85e94
--- /dev/null
+++ b/unl_theme/scripts/badwordfilter.php
@@ -0,0 +1,15 @@
+<?php
+/* here is a nice little function we can use to check for dirty words. It's very intolerant and may filter content that
+   doesn't need to be filtered, but it's for use on the home page where we don't want to chance anything.
+   from: http://blog.otaku-anime.com/2008/04/29/filtro-de-palabras-en-php/ 
+	*/
+
+function filtrado($texto, $reemplazo = false) {
+    $filtradas = 'fu?ck,shit,\Wass,damn,piss,cunt,cocksuc?ker,tits,^ass,fag,bitch,bastard,boner,dick,ass*hole,douche,nigger,nig+a,penis,pussy,pric?k,queer,skank,slut';
+    $f = explode(',', $filtradas);
+    $f = array_map('trim', $f);
+    $filtro = implode('|', $f);
+    
+    return ($reemplazo) ? preg_replace("#$filtro#i", $reemplazo, $texto) : preg_match("#$filtro#i", $texto) ;
+}
+?>
\ No newline at end of file