added a servlet and a bean

hb2143 [2005-07-31 02:21:44]
added a servlet and a bean
Filename
.classpath
.cvsignore
.project
.tomcatplugin
config/bean settings.ini
config/content extractor settings.ini
config/content.ini
config/custom.ini
src/psl/crunch3/Crunch3Settings.java
src/psl/crunch3/MainControl.java
src/psl/crunch3/plugins/contentextractor/ContentExtractorSettings.java
src/psl/crunch3/web/Form.jsp
src/psl/crunch3/web/SettingsBean.java
src/psl/crunch3/web/SettingsServlet.java
src/psl/crunch3/web/interface_files/crunch.css
src/psl/crunch3/web/interface_files/menu_r1_c1.gif
src/psl/crunch3/web/interface_files/menu_r1_c2.gif
src/psl/crunch3/web/interface_files/menu_r1_c3.gif
src/psl/crunch3/web/interface_files/menu_r1_c4.gif
src/psl/crunch3/web/interface_files/menu_r1_c5.gif
src/psl/crunch3/web/interface_files/spacer.gif
src/psl/crunch3/web/interface_files/title.png
src/psl/crunch3/web/test.jsp
web/admin
diff --git a/.classpath b/.classpath
index 9ebf048..b2bcc31 100644
--- a/.classpath
+++ b/.classpath
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <classpath>
-	<classpathentry excluding="psl/crunch3/util/wrapperinduction/" kind="src" path="src"/>
+	<classpathentry excluding="psl/crunch3/util/wrapperinduction/" output="output" kind="src" path="src"/>
 	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
 	<classpathentry kind="lib" path="jars/swt.jar"/>
 	<classpathentry kind="lib" path="jars/nekohtml-0.8.2/nekohtml.jar"/>
@@ -9,5 +9,8 @@
 	<classpathentry kind="lib" path="jars/googleapi/googleapi.jar"/>
 	<classpathentry kind="lib" path="jars/jfreechart/jfreechart-0.9.21/jfreechart-0.9.21.jar"/>
 	<classpathentry kind="lib" path="jars/jfreechart/jfreechart-0.9.21/lib/jcommon-0.9.6.jar"/>
+	<classpathentry kind="lib" path="C:/Program Files/Tomcat 5.5/common/lib/servlet-api.jar"/>
+	<classpathentry kind="lib" path="C:/Program Files/Tomcat 5.5/common/lib/jasper-runtime.jar"/>
+	<classpathentry kind="lib" path="C:/Program Files/Tomcat 5.5/common/lib/jsp-api.jar"/>
 	<classpathentry kind="output" path="bin"/>
 </classpath>
diff --git a/.cvsignore b/.cvsignore
new file mode 100644
index 0000000..a340c10
--- /dev/null
+++ b/.cvsignore
@@ -0,0 +1 @@
+work
\ No newline at end of file
diff --git a/.project b/.project
index 458b468..4d48fd3 100644
--- a/.project
+++ b/.project
@@ -21,5 +21,23 @@
 		<nature>org.eclipse.jdt.core.javanature</nature>
 		<nature>org.eclipse.jem.beaninfo.BeanInfoNature</nature>
 		<nature>net.sourceforge.metrics.nature</nature>
+		<nature>com.sysdeo.eclipse.tomcat.tomcatnature</nature>
 	</natures>
+	<linkedResources>
+		<link>
+			<name>output</name>
+			<type>2</type>
+			<location>C:/Program Files/Tomcat 5.5/webapps/Crunch/WEB-INF/classes</location>
+		</link>
+		<link>
+			<name>WEB-INF</name>
+			<type>2</type>
+			<location>C:/Program Files/Tomcat 5.5/webapps/Crunch/WEB-INF</location>
+		</link>
+		<link>
+			<name>website</name>
+			<type>2</type>
+			<location>C:/Documents and Settings/hb2143/Desktop/crunchsite_files</location>
+		</link>
+	</linkedResources>
 </projectDescription>
diff --git a/.tomcatplugin b/.tomcatplugin
new file mode 100644
index 0000000..be8e021
--- /dev/null
+++ b/.tomcatplugin
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<tomcatProjectProperties>
+    <rootDir>/</rootDir>
+    <exportSource>false</exportSource>
+    <reloadable>true</reloadable>
+    <redirectLogger>false</redirectLogger>
+    <updateXml>true</updateXml>
+    <warLocation></warLocation>
+    <extraInfo></extraInfo>
+    <webPath>/crunch3</webPath>
+</tomcatProjectProperties>
diff --git a/config/bean settings.ini b/config/bean settings.ini
new file mode 100644
index 0000000..3af1581
--- /dev/null
+++ b/config/bean settings.ini
@@ -0,0 +1,42 @@
+#Content Extractor Settings File
+#Fri Jul 29 13:37:58 EDT 2005
+<A>\ tags\ are\ substance=true
+<FORM>\ tags\ are\ substance=true
+Ignore\ Image\ Links=false
+Ignore\ Meta\ Tags=false
+Display\ Image\ Link\ ALTs=false
+Ignore\ Text\ Links=false
+<INPUT>\ tags\ are\ substance=true
+Ignore\ <IFRAME>\ Tags=false
+<BUTTON>\ tags\ are\ substance=true
+Ignore\ All\ Advertisements=false
+<SELECT>\ tags\ are\ substance=true
+Ignore\ External\ Stylesheets=true
+<IFRAME>\ tags\ are\ substance=true
+Ignore\ <EMBED>\ tags=false
+Ignore\ Styles=false
+Ignore\ Only\ Links\ and\ Text\ in\ Link\ Lists=false
+Ignore\ <INPUT>\ Tags=false
+Ignore\ Flash=false
+Ignore\ Image\ Links\ in\ Link\ Lists=false
+<IMG>\ tags\ are\ substance=true
+<TEXTAREA>\ tags\ are\ substance=true
+Ignore\ Scripts=false
+Ignore\ Forms=false
+Display\ Image\ ALTs=false
+Maximum\ Number\ of\ Line\ Breaks=2
+Ignore\ <BUTTON>\ Tags=false
+Limit\ Number\ of\ Line\ Breaks=false
+Ignore\ Style\ Attribute\ in\ <DIV>\ Tags=false
+Ignore\ <NOSCRIPT>\ Tags=true
+Add\ removed\ links\ to\ bottom\ of\ the\ page=false
+Minimum\ text\ length\ as\ substance=33
+Remove\ Empty\ Tables=true
+Ignore\ Text\ Links\ in\ Link\ Lists=false
+Ignore\ Table\ Cell\ Widths=false
+Ignore\ Style\ Attributes=false
+Ignore\ <SELECT>\ Tags=false
+Ignore\ Link\ Lists=true
+Ignore\ Images=false
+Link/Text\ Removal\ Ratio=0.22
+Print\ Only\ Text=false
diff --git a/config/content extractor settings.ini b/config/content extractor settings.ini
index 3e6e215..3fbe328 100644
--- a/config/content extractor settings.ini
+++ b/config/content extractor settings.ini
@@ -1,29 +1,29 @@
 #Content Extractor Settings File
-#Mon Jul 18 15:35:50 EDT 2005
+#Fri Jul 29 14:17:03 EDT 2005
 <A>\ tags\ are\ substance=true
 <FORM>\ tags\ are\ substance=true
 Ignore\ Image\ Links=false
-Ignore\ Meta\ Tags=true
-Display\ Image\ Link\ ALTs=true
+Ignore\ Meta\ Tags=false
+Display\ Image\ Link\ ALTs=false
 Ignore\ Text\ Links=false
 <INPUT>\ tags\ are\ substance=true
-Ignore\ <IFRAME>\ Tags=true
+Ignore\ <IFRAME>\ Tags=false
 <BUTTON>\ tags\ are\ substance=true
-Ignore\ All\ Advertisements=true
+Ignore\ All\ Advertisements=false
 <SELECT>\ tags\ are\ substance=true
 Ignore\ External\ Stylesheets=false
 <IFRAME>\ tags\ are\ substance=true
-Ignore\ <EMBED>\ tags=true
+Ignore\ <EMBED>\ tags=false
 Ignore\ Styles=false
-Ignore\ Only\ Links\ and\ Text\ in\ Link\ Lists=true
-Ignore\ <INPUT>\ Tags=true
-Ignore\ Flash=true
-Ignore\ Image\ Links\ in\ Link\ Lists=true
+Ignore\ Only\ Links\ and\ Text\ in\ Link\ Lists=false
+Ignore\ <INPUT>\ Tags=false
+Ignore\ Flash=false
+Ignore\ Image\ Links\ in\ Link\ Lists=false
 <IMG>\ tags\ are\ substance=true
 <TEXTAREA>\ tags\ are\ substance=true
-Ignore\ Scripts=true
+Ignore\ Scripts=false
 Ignore\ Forms=false
-Display\ Image\ ALTs=true
+Display\ Image\ ALTs=false
 Maximum\ Number\ of\ Line\ Breaks=2
 Ignore\ <BUTTON>\ Tags=false
 Limit\ Number\ of\ Line\ Breaks=false
@@ -31,12 +31,12 @@ Ignore\ Style\ Attribute\ in\ <DIV>\ Tags=false
 Ignore\ <NOSCRIPT>\ Tags=true
 Add\ removed\ links\ to\ bottom\ of\ the\ page=false
 Minimum\ text\ length\ as\ substance=12
-Remove\ Empty\ Tables=true
-Ignore\ Text\ Links\ in\ Link\ Lists=true
-Ignore\ Table\ Cell\ Widths=true
+Remove\ Empty\ Tables=false
+Ignore\ Text\ Links\ in\ Link\ Lists=false
+Ignore\ Table\ Cell\ Widths=false
 Ignore\ Style\ Attributes=false
-Ignore\ <SELECT>\ Tags=true
-Link/Text\ Removal\ Ratio=0.5
+Ignore\ <SELECT>\ Tags=false
+Ignore\ Link\ Lists=false
 Ignore\ Images=false
-Ignore\ Link\ Lists=true
+Link/Text\ Removal\ Ratio=0.34
 Print\ Only\ Text=false
diff --git a/config/content.ini b/config/content.ini
new file mode 100644
index 0000000..822d009
--- /dev/null
+++ b/config/content.ini
@@ -0,0 +1,42 @@
+#Content Extractor Settings File
+#Fri Jul 29 14:16:42 EDT 2005
+<A>\ tags\ are\ substance=true
+<FORM>\ tags\ are\ substance=true
+Ignore\ Image\ Links=false
+Ignore\ Meta\ Tags=false
+Display\ Image\ Link\ ALTs=false
+Ignore\ Text\ Links=false
+<INPUT>\ tags\ are\ substance=true
+Ignore\ <IFRAME>\ Tags=false
+<BUTTON>\ tags\ are\ substance=true
+Ignore\ All\ Advertisements=false
+<SELECT>\ tags\ are\ substance=true
+Ignore\ External\ Stylesheets=false
+<IFRAME>\ tags\ are\ substance=true
+Ignore\ <EMBED>\ tags=false
+Ignore\ Styles=false
+Ignore\ Only\ Links\ and\ Text\ in\ Link\ Lists=false
+Ignore\ <INPUT>\ Tags=false
+Ignore\ Flash=false
+Ignore\ Image\ Links\ in\ Link\ Lists=false
+<IMG>\ tags\ are\ substance=true
+<TEXTAREA>\ tags\ are\ substance=true
+Ignore\ Scripts=false
+Ignore\ Forms=false
+Display\ Image\ ALTs=false
+Maximum\ Number\ of\ Line\ Breaks=2
+Ignore\ <BUTTON>\ Tags=false
+Limit\ Number\ of\ Line\ Breaks=false
+Ignore\ Style\ Attribute\ in\ <DIV>\ Tags=false
+Ignore\ <NOSCRIPT>\ Tags=true
+Add\ removed\ links\ to\ bottom\ of\ the\ page=false
+Minimum\ text\ length\ as\ substance=12
+Remove\ Empty\ Tables=false
+Ignore\ Text\ Links\ in\ Link\ Lists=false
+Ignore\ Table\ Cell\ Widths=false
+Ignore\ Style\ Attributes=false
+Ignore\ <SELECT>\ Tags=false
+Ignore\ Link\ Lists=false
+Ignore\ Images=false
+Link/Text\ Removal\ Ratio=0.34
+Print\ Only\ Text=false
diff --git a/config/custom.ini b/config/custom.ini
index a7debbf..93be9a2 100644
--- a/config/custom.ini
+++ b/config/custom.ini
@@ -1,42 +1,42 @@
 #Content Extractor Settings File
-#Fri Jul 15 12:07:35 EDT 2005
+#Wed Jul 27 20:08:57 EDT 2005
 <A>\ tags\ are\ substance=true
 <FORM>\ tags\ are\ substance=true
 Ignore\ Image\ Links=false
-Ignore\ Meta\ Tags=true
+Ignore\ Meta\ Tags=false
 Display\ Image\ Link\ ALTs=true
 Ignore\ Text\ Links=true
 <INPUT>\ tags\ are\ substance=true
-Ignore\ <IFRAME>\ Tags=true
+Ignore\ <IFRAME>\ Tags=false
 <BUTTON>\ tags\ are\ substance=true
-Ignore\ All\ Advertisements=false
+Ignore\ All\ Advertisements=true
 <SELECT>\ tags\ are\ substance=true
-Ignore\ External\ Stylesheets=true
+Ignore\ External\ Stylesheets=false
 <IFRAME>\ tags\ are\ substance=true
-Ignore\ <EMBED>\ tags=true
-Ignore\ Styles=true
+Ignore\ <EMBED>\ tags=false
+Ignore\ Styles=false
 Ignore\ Only\ Links\ and\ Text\ in\ Link\ Lists=true
-Ignore\ <INPUT>\ Tags=true
-Ignore\ Flash=true
+Ignore\ <INPUT>\ Tags=false
+Ignore\ Flash=false
 Ignore\ Image\ Links\ in\ Link\ Lists=true
 <IMG>\ tags\ are\ substance=true
 <TEXTAREA>\ tags\ are\ substance=true
-Ignore\ Scripts=false
-Ignore\ Forms=true
+Ignore\ Scripts=true
+Ignore\ Forms=false
 Display\ Image\ ALTs=true
 Maximum\ Number\ of\ Line\ Breaks=2
-Ignore\ <BUTTON>\ Tags=true
+Ignore\ <BUTTON>\ Tags=false
 Limit\ Number\ of\ Line\ Breaks=false
-Ignore\ Style\ Attribute\ in\ <DIV>\ Tags=true
+Ignore\ Style\ Attribute\ in\ <DIV>\ Tags=false
 Ignore\ <NOSCRIPT>\ Tags=true
 Add\ removed\ links\ to\ bottom\ of\ the\ page=false
 Minimum\ text\ length\ as\ substance=12
 Remove\ Empty\ Tables=false
 Ignore\ Text\ Links\ in\ Link\ Lists=true
-Ignore\ Table\ Cell\ Widths=true
-Ignore\ Style\ Attributes=true
-Ignore\ <SELECT>\ Tags=true
-Link/Text\ Removal\ Ratio=0.75
+Ignore\ Table\ Cell\ Widths=false
+Ignore\ Style\ Attributes=false
+Ignore\ <SELECT>\ Tags=false
+Link/Text\ Removal\ Ratio=0.3
 Ignore\ Images=false
-Ignore\ Link\ Lists=false
+Ignore\ Link\ Lists=true
 Print\ Only\ Text=false
diff --git a/src/psl/crunch3/Crunch3Settings.java b/src/psl/crunch3/Crunch3Settings.java
index e9f1eca..22cf4eb 100644
--- a/src/psl/crunch3/Crunch3Settings.java
+++ b/src/psl/crunch3/Crunch3Settings.java
@@ -27,7 +27,7 @@ public class Crunch3Settings {
 	public static final String[] FILTER_TYPES_DEF = { "text/html" };
 	public static final boolean FILTER_HOMEPAGES_DEF = true;
 	public static final boolean PROXY_MODE_DEF = true;
-	public static String SETTINGS_FILE = "config/level2.ini";
+	public static String SETTINGS_FILE = "config/content extractor settings.ini";
 	public static final boolean CHECK_HOMEPAGE_DEF = false;

 	//internal variables
diff --git a/src/psl/crunch3/MainControl.java b/src/psl/crunch3/MainControl.java
index 0579a5f..84a918c 100644
--- a/src/psl/crunch3/MainControl.java
+++ b/src/psl/crunch3/MainControl.java
@@ -23,6 +23,7 @@ public class MainControl extends Thread{

 	boolean GUIActive;
 	String currentURL;
+	ContentExtractor ce;
 	ContentExtractorDescription description = null;

 	public MainControl(boolean gui){
@@ -49,7 +50,7 @@ public class MainControl extends Thread{

 		int choice = -1; //corresponds to the menu item number
 		Scanner in = new Scanner(System.in);
-		ContentExtractor ce = new ContentExtractor();
+		ce = new ContentExtractor();
 		description = ce.getControl();
 		yield();
 		Crunch3.proxy.registerPlugin(ce);
@@ -155,7 +156,7 @@ public class MainControl extends Thread{
 	 * set the Crunch3Settings settings file to the specified file
 	 * @param file
 	 */
-	private void loadFile(String file){
+	public void loadFile(String file){

 		//try to read the file
 		try{
@@ -184,6 +185,7 @@ public class MainControl extends Thread{

 		Crunch3.proxy.registerPlugin(new SamplePlugin());
 		Crunch3.proxy.registerPlugin(new SizeModifier());
+		Crunch3.proxy.registerPlugin(ce);
 	}


diff --git a/src/psl/crunch3/plugins/contentextractor/ContentExtractorSettings.java b/src/psl/crunch3/plugins/contentextractor/ContentExtractorSettings.java
index d968a3f..4718479 100644
--- a/src/psl/crunch3/plugins/contentextractor/ContentExtractorSettings.java
+++ b/src/psl/crunch3/plugins/contentextractor/ContentExtractorSettings.java
@@ -392,10 +392,13 @@ public class ContentExtractorSettings implements ContentExtractorConstants {
 	 */
 	public void saveSettings() {
 		saveProperties();
-
+
 		try {
-			mSettings.store(new FileOutputStream(new File(mSettingsFile)), "Content Extractor Settings File");
+			FileOutputStream fos = new FileOutputStream(new File(mSettingsFile));
+			mSettings.store(fos, "Content Extractor Settings File");
+			fos.close();
 		} catch (Exception e) {
+
 			if (Crunch3.settings.isVerbose())
 				e.printStackTrace();
 		}
@@ -414,9 +417,29 @@ public class ContentExtractorSettings implements ContentExtractorConstants {
 		} catch (Exception e) {
 			if (Crunch3.settings.isVerbose())
 				e.printStackTrace();
+
 		}

+
 	}


+	public void save(String f){
+		saveProperties();
+
+
+		try {
+			File temp = new File(f);
+			File settings = new File(mSettingsFile);
+			mSettings.store(new FileOutputStream(f), "Content Extractor Settings File");
+
+		} catch (Exception e) {
+			if (Crunch3.settings.isVerbose())
+				e.printStackTrace();
+
+		}
+
+
+	}
+
 }
diff --git a/src/psl/crunch3/web/Form.jsp b/src/psl/crunch3/web/Form.jsp
new file mode 100644
index 0000000..6562cc2
--- /dev/null
+++ b/src/psl/crunch3/web/Form.jsp
@@ -0,0 +1,361 @@
+<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
+<html>
+<head>
+<title>
+Sun Form, Invalid Input
+</title>
+</head>
+<jsp:useBean id="b" scope="session" class="project1.MyBean" />
+<body>
+<h1>
+Invalid Information
+</h1>
+<tr>
+<td valign="top"><!-- content area begin -->
+<table  cellpadding="0" cellspacing="0"><!--    <tr>
+     <td colspan="2"><img src="/sf2004/img/clear.gif" width="1" height="20" hspace="0" vspace="0"  /></td>
+    </tr> -->
+<tbody>
+<tr>
+<td colspan="2"><img src=
+"../../../../../../../Documents%20and%20Settings/hb2143/My%20Documents/CSE336/Project1/CSE336hw9/MailingList_files/mailing_list_title_bar.gif"  alt=""></td>
+</tr>
+
+<tr>
+<td class="t10"><img src="../../../../../../../Documents%20and%20Settings/hb2143/My%20Documents/CSE336/Project1/CSE336hw9/MailingList_files/clear.gif" width="10"
+height="1"  alt=""></td>
+<td class="t3">
+
+
+
+<form action="http://localhost:8080/MyApp/validate.xyz" method="get"
+ name="form1" onsubmit="return check_form_universal();">
+<div><input type="hidden" name="recipient"
+value=<jsp:getProperty name="b" property="recipient"/>>
+<input type="hidden" name="thankyou"
+value=<jsp:getProperty name="b" property="thankYou"/>>
+<input type="hidden" name="form_mode"
+value=<jsp:getProperty name="b" property="formMode"/>> <input
+type="hidden" name="form_id"
+value=<jsp:getProperty name="b" property="formId"/>> <input type=
+"hidden" name="table_id" value=<jsp:getProperty name="b" property="tableId"/>>
+ <input type=
+"hidden" name="_required" value="first_name,last_name"> <input
+type="hidden" name="_email" value=<jsp:getProperty name="b"
+property="hiddenEmail"/>> <input type="hidden"
+name="filepath" value=<jsp:getProperty name="b" property="filePath"/>>
+<input type="hidden" name="altfilename"
+value=<jsp:getProperty name="b" property="altFileName"/>> </div>
+
+<table width="100%"  cellspacing="0" cellpadding="0">
+<tbody>
+<tr>
+<td>Please Enter your information in the following fields.</td>
+</tr>
+</tbody>
+</table>
+<div>
+<br></div>
+
+
+<table width="450" class="tab1" >
+<tbody>
+<tr>
+<td class="t11">First Name:<br>
+<input type="text" name="first_name" size="30" maxlength="30"
+value=<jsp:getProperty name="b" property="firstName"/>></td>
+<td class="t11">Last Name:<br>
+<input type="text" name="last_name" size="30" maxlength="50"
+value=<jsp:getProperty name="b" property="lastName"/>></td>
+</tr>
+
+<tr>
+<td class="t11">Company:<br>
+<input type="text" name="company" size="30" maxlength="50"
+value= <jsp:getProperty name="b" property="company"/>><br>
+</td>
+<td class="t11">Title:<br>
+<input type="text" name="title" size="30" maxlength="80"
+value = <jsp:getProperty name="b" property="title"/>><br>
+</td>
+</tr>
+
+<tr>
+<td class="t11">Address:<br>
+<input type="text" name="address" size="30" maxlength="40"
+value =<jsp:getProperty name="b" property="address"/>></td>
+<td class="t11">City:<br>
+<input type="text" name="city" size="30" maxlength="50"
+value =<jsp:getProperty name="b" property="city"/>></td>
+</tr>
+
+<tr>
+<td class="t11">State: (US and Canada Only)<br>
+ <select name="state">
+<option value="State" <%=b.stateSelectionAttr("State")%>>
+------Select a State or Province------</option>
+<option value="AL" <%=b.stateSelectionAttr("AL")%>>AL - Alabama</option>
+<option value="AK" <%=b.stateSelectionAttr("AK")%>>AK - Alaska</option>
+<option value="AZ" <%=b.stateSelectionAttr("AZ")%>>AZ - Arizona</option>
+<option value="AR" <%=b.stateSelectionAttr("AR")%>>AR - Arkansas</option>
+<option value="CA" <%=b.stateSelectionAttr("CA")%>>CA - California</option>
+<option value="CO" <%=b.stateSelectionAttr("CO")%>>CO - Colorado</option>
+<option value="CT" <%=b.stateSelectionAttr("CT")%>>CT - Connecticut</option>
+<option value="DE" <%=b.stateSelectionAttr("DE")%>>DE - Delaware</option>
+<option value="DC" <%=b.stateSelectionAttr("DC")%>>DC - District of Columbia</option>
+<option value="FL" <%=b.stateSelectionAttr("FL")%>>FL - Florida</option>
+<option value="GA" <%=b.stateSelectionAttr("GA")%>>GA - Georgia</option>
+<option value="HI" <%=b.stateSelectionAttr("HI")%>>HI - Hawaii</option>
+<option value="ID" <%=b.stateSelectionAttr("ID")%>>ID - Idaho</option>
+<option value="IL" <%=b.stateSelectionAttr("IL")%>>IL - Illinois</option>
+<option value="IN" <%=b.stateSelectionAttr("IN")%>>IN - Indiana</option>
+<option value="IA" <%=b.stateSelectionAttr("IA")%>>IA - Iowa</option>
+<option value="KS" <%=b.stateSelectionAttr("KS")%>>KS - Kansas</option>
+<option value="KY" <%=b.stateSelectionAttr("KY")%>>KY - Kentucky</option>
+<option value="LA" <%=b.stateSelectionAttr("LA")%>>LA - Louisiana</option>
+<option value="ME" <%=b.stateSelectionAttr("ME")%>>ME - Maine</option>
+<option value="MD" <%=b.stateSelectionAttr("MD")%>>MD - Maryland</option>
+<option value="MA" <%=b.stateSelectionAttr("MA")%>>MA - Massachusetts</option>
+<option value="MI" <%=b.stateSelectionAttr("MI")%>>MI - Michigan</option>
+<option value="MN" <%=b.stateSelectionAttr("MN")%>>MN - Minnesota</option>
+<option value="MS" <%=b.stateSelectionAttr("MS")%>>MS - Mississippi</option>
+<option value="MO" <%=b.stateSelectionAttr("MO")%>>MO - Missouri</option>
+<option value="MT" <%=b.stateSelectionAttr("MT")%>>MT - Montana</option>
+<option value="NE" <%=b.stateSelectionAttr("NE")%>>NE - Nebraska</option>
+<option value="NV" <%=b.stateSelectionAttr("NV")%>>NV - Nevada</option>
+<option value="NH" <%=b.stateSelectionAttr("NH")%>>NH - New Hampshire</option>
+<option value="NJ" <%=b.stateSelectionAttr("NJ")%>>NJ - New Jersey</option>
+<option value="NM" <%=b.stateSelectionAttr("NM")%>>NM - New Mexico</option>
+<option value="NY" <%=b.stateSelectionAttr("NY")%>>NY - New York</option>
+<option value="NC" <%=b.stateSelectionAttr("NC")%>>NC - North Carolina</option>
+<option value="ND" <%=b.stateSelectionAttr("ND")%>>ND - North Dakota</option>
+<option value="OH" <%=b.stateSelectionAttr("OH")%>>OH - Ohio</option>
+<option value="OK" <%=b.stateSelectionAttr("OK")%>>OK - Oklahoma</option>
+<option value="OR" <%=b.stateSelectionAttr("OR")%>>OR - Oregon</option>
+<option value="PA" <%=b.stateSelectionAttr("PA")%>>PA - Pennsylvania</option>
+<option value="PR" <%=b.stateSelectionAttr("PR")%>>PR - Puerto Rico</option>
+<option value="RI" <%=b.stateSelectionAttr("RI")%>>RI - Rhode Island</option>
+<option value="SC" <%=b.stateSelectionAttr("SC")%>>SC - South Carolina</option>
+<option value="SD" <%=b.stateSelectionAttr("SD")%>>SD - South Dakota</option>
+<option value="TN" <%=b.stateSelectionAttr("TN")%>>TN - Tennessee</option>
+<option value="TX" <%=b.stateSelectionAttr("TX")%>>TX - Texas</option>
+<option value="UT" <%=b.stateSelectionAttr("UT")%>>UT - Utah</option>
+<option value="VT" <%=b.stateSelectionAttr("VT")%>>VT - Vermont</option>
+<option value="VA" <%=b.stateSelectionAttr("VA")%>>VA - Virginia</option>
+<option value="WA" <%=b.stateSelectionAttr("WA")%>>WA - Washington</option>
+<option value="WV" <%=b.stateSelectionAttr("WV")%>>WV - West Virginia</option>
+<option value="WI" <%=b.stateSelectionAttr("WI")%>>WI - Wisconsin</option>
+<option value="WY" <%=b.stateSelectionAttr("WY")%>>WY - Wyoming</option>
+<option value="AB" <%=b.stateSelectionAttr("AB")%>>AB - Alberta</option>
+<option value="BC" <%=b.stateSelectionAttr("BC")%>>BC - British Columbia</option>
+<option value="MB" <%=b.stateSelectionAttr("MB")%>>MB - Manitoba</option>
+<option value="NB" <%=b.stateSelectionAttr("NB")%>>NB - New Brunswick</option>
+<option value="NF" <%=b.stateSelectionAttr("NF")%>>NF - Newfoundland</option>
+<option value="NS" <%=b.stateSelectionAttr("NS")%>>NS - Nova Scotia</option>
+<option value="NT" <%=b.stateSelectionAttr("NT")%>>NT - Northwest Territories</option>
+<option value="ON" <%=b.stateSelectionAttr("ON")%>>ON - Ontario</option>
+<option value="PE" <%=b.stateSelectionAttr("PE")%>>PE - Prince Edward Island</option>
+<option value="QC" <%=b.stateSelectionAttr("QC")%>>QC - Quebec</option>
+<option value="SK" <%=b.stateSelectionAttr("SK")%>>SK - Saskatchewan</option>
+<option value="YT" <%=b.stateSelectionAttr("YT")%>>YT - Yukon</option>
+<option value="other" <%=b.stateSelectionAttr("other")%>>Other</option>
+<option value="none" <%=b.stateSelectionAttr("none")%>>None</option>
+</select> </td>
+<td class="t11">Zip/Postal Code:<br>
+<input type="text" name="zip" size="10" maxlength="30"
+value=<jsp:getProperty name="b" property="zipCode"/>></td>
+</tr>
+
+<tr>
+<td class="t11">Email Address:<br>
+<input type="text" name="email" size="30" maxlength="150"
+value=<jsp:getProperty name="b" property="email"/>></td>
+<td class="t11">Country:<br>
+ <select name="country">
+<option value="gnar">------------Select A
+Country--------------</option>
+<option value="Afghanistan">Afghanistan</option>
+<option value="Albania">Albania</option>
+<option value="Algeria">Algeria</option>
+<option value="Antigua">Antigua</option>
+<option value="Argentina">Argentina</option>
+<option value="Armenia">Armenia</option>
+<option value="Australia">Australia</option>
+<option value="Austria">Austria</option>
+<option value="Bahamas">Bahamas</option>
+<option value="Bangladesh">Bangladesh</option>
+<option value="Barbados">Barbados</option>
+<option value="Belarus">Belarus</option>
+<option value="Belgium">Belgium</option>
+<option value="Belize">Belize</option>
+<option value="Benin">Benin</option>
+<option value="Bolivia">Bolivia</option>
+<option value="Bosnia">Bosnia</option>
+<option value="Brazil">Brazil</option>
+<option value="Brunei">Brunei</option>
+<option value="Bulgaria">Bulgaria</option>
+<option value="Burundi">Burundi</option>
+<option value="Cambodia">Cambodia</option>
+<option value="Canada">Canada</option>
+<option value="Cape Verde">Cape Verde</option>
+<option value="Central A. R.">Central A. R.</option>
+<option value="Chad">Chad</option>
+<option value="Chile">Chile</option>
+<option value="China">China</option>
+<option value="Columbia">Columbia</option>
+<option value="Congo">Congo</option>
+<option value="Costa Rica">Costa Rica</option>
+<option value="Croatia">Croatia</option>
+<option value="Cuba">Cuba</option>
+<option value="Cyprus">Cyprus</option>
+<option value="Czech Republic">Czech Republic</option>
+<option value="Denmark">Denmark</option>
+<option value="Dominican Republic">Dominican Republic</option>
+<option value="Ecuador">Ecuador</option>
+<option value="El Salvador">El Salvador</option>
+<option value="Egypt">Egypt</option>
+<option value="Equitorial Guinea">Equitorial Guinea</option>
+<option value="Ethiopia">Ethiopia</option>
+<option value="Fiji">Fiji</option>
+<option value="Finland">Finland</option>
+<option value="France">France</option>
+<option value="Germany">Germany</option>
+<option value="Greece">Greece</option>
+<option value="Greneda">Greneda</option>
+<option value="Guatemala">Guatemala</option>
+<option value="Guinea">Guinea</option>
+<option value="Haiti">Haiti</option>
+<option value="Honduras">Honduras</option>
+<option value="Hungary">Hungary</option>
+<option value="Iceland">Iceland</option>
+<option value="India">India</option>
+<option value="Indonesia">Indonesia</option>
+<option value="Iran">Iran</option>
+<option value="Iraq">Iraq</option>
+<option value="Ireland">Ireland</option>
+<option value="Israel">Israel</option>
+<option value="Italy">Italy</option>
+<option value="Ivory Coast">Ivory Coast</option>
+<option value="Jamaica">Jamaica</option>
+<option value="Japan">Japan</option>
+<option value="Jordan">Jordan</option>
+<option value="Kenya">Kenya</option>
+<option value="Korea">Korea</option>
+<option value="Laos">Laos</option>
+<option value="Lebanon">Lebanon</option>
+<option value="Liberia">Liberia</option>
+<option value="Libya">Libya</option>
+<option value="Lithuania">Lithuania</option>
+<option value="Luxemberg">Luxemberg</option>
+<option value="Macedonia">Macedonia</option>
+<option value="Madagascar">Madagascar</option>
+<option value="Malawi">Malawi</option>
+<option value="Malaysia">Malaysia</option>
+<option value="Mexico">Mexico</option>
+<option value="Moldova">Moldova</option>
+<option value="Mongolia">Mongolia</option>
+<option value="Morocco">Morocco</option>
+<option value="Nepal">Nepal</option>
+<option value="Netherlands">Netherlands</option>
+<option value="New Zealand">New Zealand</option>
+<option value="Nicaragua">Nicaragua</option>
+<option value="Niger">Niger</option>
+<option value="Nigeria">Nigeria</option>
+<option value="Norway">Norway</option>
+<option value="Oman">Oman</option>
+<option value="Pakistan">Pakistan</option>
+<option value="Panama">Panama</option>
+<option value="Papua New Guinea">Papua New Guinea</option>
+<option value="Paraguay">Paraguay</option>
+<option value="Peru">Peru</option>
+<option value="Philippines">Philippines</option>
+<option value="Poland">Poland</option>
+<option value="Portugal">Portugal</option>
+<option value="Qatar">Qatar</option>
+<option value="Romania">Romania</option>
+<option value="Russia">Russia</option>
+<option value="Rwanda">Rwanda</option>
+<option value="Samoa">Samoa</option>
+<option value="Saudi Arabia">Saudi Arabia</option>
+<option value="Serbia">Serbia</option>
+<option value="Singapore">Singapore</option>
+<option value="Slovenia">Slovenia</option>
+<option value="Slovokia">Slovokia</option>
+<option value="Somalia">Somalia</option>
+<option value="South Africa">South Africa</option>
+<option value="Spain">Spain</option>
+<option value="Sudan">Sudan</option>
+<option value="Swaziland">Swaziland</option>
+<option value="Sweden">Sweden</option>
+<option value="Switzerland">Switzerland</option>
+<option value="Syria">Syria</option>
+<option value="Taiwan">Taiwan</option>
+<option value="Tanzania">Tanzania</option>
+<option value="Thailand">Thailand</option>
+<option value="Tunisia">Tunisia</option>
+<option value="Turkey">Turkey</option>
+<option value="Uganda">Uganda</option>
+<option value="United Kingdom">United Kingdom</option>
+<option value="Ukraine">Ukraine</option>
+<option value="Uruguay">Uruguay</option>
+<option value="United States" selected="selected">United
+States</option>
+<option value="Venezuela">Venezuela</option>
+<option value="Vietnam">Vietnam</option>
+<option value="Yemen">Yemen</option>
+<option value="Zambia">Zambia</option>
+<option value="Zimbabwe">Zimbabwe</option>
+<option value="Other">Other</option>
+</select> </td>
+</tr>
+
+<tr valign="top">
+<td class="t11">Telephone:<br>
+<input type="text" name="telephone" size="20" maxlength="30"
+value=<jsp:getProperty name="b" property="telephone"/>></td>
+<td class="t11">Fax:<br>
+<input type="text" name="fax" size="20" maxlength="20"
+value=<jsp:getProperty name="b" property="fax"/>></td>
+</tr>
+
+<tr>
+<td colspan="3">Sun may use this information to contact me:<br>
+ <select name="info_to_contact">
+<option value="Yes" <%=b.contactSelectionAttr("Yes")%>>Yes</option>
+<option value="No" <%=b.contactSelectionAttr("No")%>>No</option>
+</select> <br>
+<br>
+ Sun may share this information with its business associates to
+contact me:<br>
+ <select name="info_share">
+<option value="Yes" <%=b.shareSelectionAttr("Yes")%>>Yes</option>
+<option value="No" <%=b.shareSelectionAttr("No")%>>No</option>
+</select> <br>
+<br>
+ Sun Microsystems respects your desire for privacy. Data collected
+from this form will not be sold to organizations external to Sun
+without your consent. We may use this data for communications with
+you of product announcements, program information, events, or other
+related Sun activities. We may also share this data with our
+business associates to bring you a wider range of information. If
+you do not wish to be contacted by Sun or its business associates,
+please answer the following questions on this form accordingly. If
+you have any questions, please refer to our <a href=
+"http://www.sun.com/privacy/index.html">Privacy Policy</a> <br>
+<br>
+<input type="submit" name=".submit" value="Submit">&nbsp;<input
+type="reset" name="reset"></td>
+</tr>
+</tbody>
+</table>
+</form>
+</td>
+</tr>
+</tbody>
+</table>
+
+<jsp:include page="/footer.html"/>
+
+
+</body>
+</html>
diff --git a/src/psl/crunch3/web/SettingsBean.java b/src/psl/crunch3/web/SettingsBean.java
new file mode 100644
index 0000000..d403198
--- /dev/null
+++ b/src/psl/crunch3/web/SettingsBean.java
@@ -0,0 +1,686 @@
+package psl.crunch3.web;
+
+import java.io.Serializable;
+
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.widgets.Button;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Group;
+import org.eclipse.swt.widgets.Label;
+import org.eclipse.swt.widgets.Sash;
+import org.eclipse.swt.widgets.TabItem;
+import org.eclipse.swt.widgets.Text;
+
+import psl.crunch3.Crunch3;
+import psl.crunch3.plugins.contentextractor.ContentExtractorConstants;
+import psl.crunch3.plugins.contentextractor.ContentExtractorSettings;
+
+public class SettingsBean implements Serializable {
+
+
+	private boolean ignoreAds;
+	private boolean ignoreScripts;
+	private boolean ignoreNoscript;
+	private boolean	ignoreExternalStylesheets;
+	private boolean ignoreStyles;
+	private boolean ignoreStyleAttributes;
+	private boolean ignoreStyleInDiv;
+	private boolean ignoreImages;
+	private boolean displayAltTags;
+	private boolean ignoreImageLinks;
+	private boolean displayImageLinkAlts;
+	private boolean ignoreTextLinks;
+	private boolean ignoreForms;
+	private boolean ignoreInput;
+	private boolean ignoreButton;
+	private boolean ignoreSelect;
+	private boolean ignoreMeta;
+	private boolean ignoreIframe;
+	private boolean ignoreTableCellWidths;
+	private boolean ignoreEmbed;
+	private boolean ignoreFlash;
+
+	private boolean	ignoreLinkLists;
+	private boolean ignoreLLTextLinks;
+	private boolean ignoreLLImageLinks;
+	private boolean ignoreOnlyTextAndLinks;
+	private double linkTextRatio;
+
+	private boolean	removeEmptyTables;
+	private boolean substanceImage;
+	private boolean	substanceTextarea;
+	private boolean substanceLinks;
+	private boolean substanceButton;
+	private boolean substanceInput;
+	private boolean substanceForm;
+	private boolean substanceSelect;
+	private boolean substanceIFrame;
+	private int minimumTextLength;
+
+	private boolean htmlOutput;
+	private boolean textOutput;
+	private boolean appendLinks;
+	private boolean limitLineBreaks;
+	private int	maxLineBreaks;
+
+
+	private ContentExtractorSettings mFilter;
+
+	public SettingsBean(){
+
+
+	}
+
+
+
+
+	public void setAppendLinks(String appendLinks) {
+		if(appendLinks !=null)
+			this.appendLinks = true;
+		else this.appendLinks = false;
+	}
+
+
+
+
+	public void setDisplayAltTags(String displayAltTags) {
+		if(displayAltTags !=null)
+			this.displayAltTags = true;
+		else this.displayAltTags = false;
+	}
+
+
+
+
+	public void setDisplayImageLinkAlts(String displayImageLinkAlts) {
+		if(displayImageLinkAlts !=null)
+			this.displayImageLinkAlts = true;
+		else this.displayImageLinkAlts = false;
+	}
+
+
+
+
+	public void setHtmlOutput(String htmlOutput) {
+		if(htmlOutput !=null)
+			this.htmlOutput = true;
+		else this.htmlOutput = false;
+	}
+
+
+
+
+	public void setIgnoreAds(String ignoreAds) {
+		if(ignoreAds !=null)
+			this.ignoreAds = true;
+		else this.ignoreAds = false;
+	}
+
+
+
+
+	public void setIgnoreButton(String ignoreButton) {
+		if(ignoreButton !=null)
+			this.ignoreButton = true;
+		else this.ignoreButton = false;
+	}
+
+
+
+
+	public void setIgnoreEmbed(String ignoreEmbed) {
+		if( ignoreEmbed !=null)
+			this.ignoreEmbed = true;
+		else this.ignoreEmbed = false;
+	}
+
+
+
+
+	public void setIgnoreExternalStylesheets(String ignoreExternalStylesheets) {
+		if( ignoreExternalStylesheets !=null)
+			this.ignoreExternalStylesheets = true;
+		else this.ignoreExternalStylesheets = false;
+	}
+
+
+
+
+	public void setIgnoreFlash(String ignoreFlash) {
+		if( ignoreFlash !=null)
+			this.ignoreFlash = true;
+		else this.ignoreFlash = false;
+	}
+
+
+
+
+	public void setIgnoreForms(String ignoreForms) {
+		if( ignoreForms !=null)
+			this.ignoreForms = true;
+		else this.ignoreForms = false;
+	}
+
+
+
+
+	public void setIgnoreIframe(String ignoreIframe) {
+		if( ignoreIframe !=null)
+			this.ignoreIframe = true;
+		else this.ignoreIframe = false;
+	}
+
+
+
+
+	public void setIgnoreImageLinks(String ignoreImageLinks) {
+		if( ignoreImageLinks !=null)
+			this.ignoreImageLinks = true;
+		else this.ignoreImageLinks = false;
+	}
+
+
+
+
+	public void setIgnoreImages(String ignoreImages) {
+		if( ignoreImages !=null)
+			this.ignoreImages = true;
+		else this.ignoreImages = false;
+	}
+
+
+
+
+	public void setIgnoreInput(String ignoreInput) {
+		if( ignoreInput !=null)
+			this.ignoreInput = true;
+		else this.ignoreInput = false;
+	}
+
+
+
+
+	public void setIgnoreLinkLists(String ignoreLinkLists) {
+		if( ignoreLinkLists !=null)
+			this.ignoreLinkLists = true;
+		else this.ignoreLinkLists = false;
+	}
+
+
+
+
+	public void setIgnoreLLImageLinks(String ignoreLLImageLinks) {
+		if( ignoreLLImageLinks !=null)
+			this.ignoreLLImageLinks = true;
+		else this.ignoreLLImageLinks = false;
+	}
+
+
+
+
+	public void setIgnoreLLTextLinks(String ignoreLLTextLinks) {
+		if( ignoreLLTextLinks !=null)
+			this.ignoreLLTextLinks = true;
+		else this.ignoreLLTextLinks = false;
+	}
+
+
+
+
+	public void setIgnoreMeta(String ignoreMeta) {
+		if( ignoreMeta !=null)
+			this.ignoreMeta = true;
+		else this.ignoreMeta = false;
+	}
+
+
+
+
+	public void setIgnoreNoscript(String ignoreNoscript) {
+		if( ignoreNoscript !=null)
+			this.ignoreNoscript = true;
+		else this.ignoreNoscript = false;
+	}
+
+
+
+
+	public void setIgnoreOnlyTextAndLinks(String ignoreOnlyTextAndLinks) {
+		if( ignoreOnlyTextAndLinks !=null)
+			this.ignoreOnlyTextAndLinks = true;
+		else this.ignoreOnlyTextAndLinks = false;
+	}
+
+
+
+
+	public void setIgnoreScripts(String ignoreScripts) {
+		if( ignoreScripts !=null)
+			this.ignoreScripts = true;
+		else this.ignoreScripts = false;
+	}
+
+
+
+
+	public void setIgnoreSelect(String ignoreSelect) {
+		if( ignoreSelect !=null)
+			this.ignoreSelect = true;
+		else this.ignoreSelect = false;
+	}
+
+
+
+
+	public void setIgnoreStyleAttributes(String ignoreStyleAttributes) {
+		if( ignoreStyleAttributes !=null)
+			this.ignoreStyleAttributes = true;
+		else this.ignoreStyleAttributes = false;
+	}
+
+
+
+
+	public void setIgnoreStyleInDiv(String ignoreStyleInDiv) {
+		if( ignoreStyleInDiv !=null)
+			this.ignoreStyleInDiv = true;
+		else this.ignoreStyleInDiv = false;
+	}
+
+
+
+
+	public void setIgnoreStyles(String ignoreStyles) {
+		if( ignoreStyles !=null)
+			this.ignoreStyles = true;
+		else this.ignoreStyles = false;
+	}
+
+
+
+
+	public void setIgnoreTableCellWidths(String ignoreTableCellWidths) {
+		if( ignoreTableCellWidths !=null)
+			this.ignoreTableCellWidths = true;
+		else this.ignoreTableCellWidths = false;
+	}
+
+
+
+
+	public void setIgnoreTextLinks(String ignoreTextLinks) {
+		if( ignoreTextLinks !=null)
+			this.ignoreTextLinks = true;
+		else this.ignoreTextLinks = false;
+	}
+
+
+
+
+	public void setLimitLineBreaks(String limitLineBreaks) {
+		if( limitLineBreaks !=null)
+			this.limitLineBreaks = true;
+		else this.limitLineBreaks = false;
+	}
+
+
+
+
+	public void setLinkTextRatio(String linkTextRatio) {
+		if(linkTextRatio !=null)
+		this.linkTextRatio = Double.parseDouble(linkTextRatio);
+	}
+
+
+
+
+	public void setMaxLineBreaks(String maxLineBreaks) {
+		if( maxLineBreaks !=null)
+			this.maxLineBreaks = Integer.parseInt(maxLineBreaks);
+
+	}
+
+
+
+
+	public void setMinimumTextLength(String minimumTextLength) {
+		if( minimumTextLength !=null)
+			this.minimumTextLength = Integer.parseInt(minimumTextLength);
+
+	}
+
+
+
+
+	public void setRemoveEmptyTables(String removeEmptyTables) {
+		if( removeEmptyTables !=null)
+			this.removeEmptyTables = true;
+		else this.removeEmptyTables = false;
+	}
+
+
+
+
+	public void setSubstanceButton(String substanceButton) {
+		if( substanceButton !=null)
+			this.substanceButton = true;
+		else this.substanceButton = false;
+	}
+
+
+
+
+	public void setSubstanceForm(String substanceForm) {
+		if( substanceForm !=null)
+			this.substanceForm = true;
+		else this.substanceForm = false;
+	}
+
+
+
+
+	public void setSubstanceIFrame(String substanceIFrame) {
+		if( substanceIFrame !=null)
+			this.substanceIFrame = true;
+		else this.substanceIFrame = false;
+	}
+
+
+
+
+	public void setSubstanceImage(String substanceImage) {
+		if( substanceImage !=null)
+			this.substanceImage = true;
+		else this.substanceImage = false;
+	}
+
+
+
+
+	public void setSubstanceInput(String substanceInput) {
+		if( substanceInput !=null)
+			this.substanceInput = true;
+		else this.substanceInput = false;
+	}
+
+
+
+
+	public void setSubstanceLinks(String substanceLinks) {
+		if( substanceLinks !=null)
+			this.substanceLinks = true;
+		else this.substanceLinks = false;
+	}
+
+
+
+
+	public void setSubstanceSelect(String substanceSelect) {
+		if( substanceSelect !=null)
+			this.substanceSelect = true;
+		else this.substanceSelect = false;
+	}
+
+
+
+
+	public void setSubstanceTextarea(String substanceTextarea) {
+		if( substanceTextarea !=null)
+			this.substanceTextarea = true;
+		else this.substanceTextarea = false;
+	}
+
+
+	public void setTextOutput(String textOutput){
+		if( textOutput !=null)
+			this.textOutput = true;
+		else this.textOutput = false;
+	}
+
+
+	/***********************************************************
+	 * GET methods
+	 *************************************************************/
+
+	public String getAppendLinks() {
+		return Boolean.toString(appendLinks);
+	}
+
+	public String getDisplayAltTags() {
+		return Boolean.toString(displayAltTags);
+	}
+
+	public String getDisplayImageLinkAlts() {
+		return Boolean.toString(displayImageLinkAlts);
+	}
+
+	public String getHtmlOutput() {
+		return Boolean.toString(htmlOutput);
+	}
+
+	public String getIgnoreAds() {
+		 return Boolean.toString(ignoreAds);
+	}
+
+	public String getIgnoreButton() {
+		 return Boolean.toString(ignoreButton);
+	}
+
+	public String getIgnoreEmbed() {
+		return Boolean.toString(ignoreEmbed);
+	}
+
+	public String getIgnoreExternalStylesheets() {
+		 return Boolean.toString(ignoreExternalStylesheets);
+	}
+
+	public String getIgnoreFlash() {
+		 return Boolean.toString(ignoreFlash);
+	}
+
+	public String getIgnoreForms() {
+		 return Boolean.toString(ignoreForms);
+	}
+
+	public String getIgnoreIframe() {
+		 return Boolean.toString(ignoreIframe);
+	}
+
+	public String getIgnoreImageLinks() {
+		 return Boolean.toString(ignoreImageLinks);
+	}
+
+	public String getIgnoreImages() {
+		 return Boolean.toString(ignoreImages);
+	}
+
+	public String getIgnoreInput() {
+		return Boolean.toString(ignoreInput);
+	}
+
+	public String getIgnoreLinkLists() {
+		return Boolean.toString(ignoreLinkLists);
+	}
+
+	public String getIgnoreLLImageLinks() {
+		return Boolean.toString(ignoreLLImageLinks);
+	}
+
+	public String getIgnoreLLTextLinks() {
+		return Boolean.toString(ignoreLLTextLinks);
+	}
+
+	public String getIgnoreMeta() {
+		return Boolean.toString(ignoreMeta);
+	}
+
+	public String getIgnoreNoscript() {
+		return Boolean.toString(ignoreNoscript);
+	}
+
+	public String getIgnoreOnlyTextAndLinks() {
+		return Boolean.toString(ignoreOnlyTextAndLinks);
+	}
+
+	public String getIgnoreScripts() {
+		return Boolean.toString(ignoreScripts);
+	}
+
+	public String getIgnoreSelect() {
+		return Boolean.toString(ignoreSelect);
+	}
+
+	public String getIgnoreStyleAttributes() {
+		return Boolean.toString(ignoreStyleAttributes);
+	}
+
+	public String getIgnoreStyleInDiv() {
+		return Boolean.toString(ignoreStyleInDiv);
+	}
+
+	public String getIgnoreStyles() {
+		return Boolean.toString(ignoreStyles);
+	}
+
+	public String getIgnoreTableCellWidths() {
+		return Boolean.toString(ignoreTableCellWidths);
+	}
+
+	public String getIgnoreTextLinks() {
+		return Boolean.toString(ignoreTextLinks);
+	}
+
+	public String getLimitLineBreaks() {
+		return Boolean.toString(limitLineBreaks);
+	}
+
+	public String getLinkTextRatio() {
+		return Double.toString(linkTextRatio);
+	}
+
+	public String getMaxLineBreaks() {
+		return Integer.toString(maxLineBreaks);
+	}
+
+	public String getMinimumTextLength() {
+		return Integer.toString(minimumTextLength);
+	}
+
+	public String getRemoveEmptyTables() {
+		return Boolean.toString(removeEmptyTables);
+	}
+
+	public String getSubstanceButton() {
+		return Boolean.toString(substanceButton);
+	}
+
+	public String getSubstanceForm() {
+		return Boolean.toString(substanceForm);
+	}
+
+	public String getSubstanceIFrame() {
+		return Boolean.toString(substanceIFrame);
+	}
+
+	public String getSubstanceImage() {
+		return Boolean.toString(substanceImage);
+	}
+
+	public String getSubstanceInput() {
+		return Boolean.toString(substanceInput);
+	}
+
+	public String getSubstanceLinks() {
+		return Boolean.toString(substanceLinks);
+	}
+
+	public String getSubstanceSelect() {
+		return Boolean.toString(substanceSelect);
+	}
+
+	public String getSubstanceTextarea() {
+		return Boolean.toString(substanceTextarea);
+	}
+
+	public String getTextOutput(){
+		return Boolean.toString(textOutput);
+	}
+
+	/**
+	 * Commits the settings so that the ContentExtractor reflects the user's specifications.
+	 */
+	public void commitSettings() {
+
+		mFilter = ContentExtractorSettings.getInstance();
+
+		mFilter.changeSetting(ContentExtractorConstants.ONLY_TEXT, Boolean.toString(textOutput));
+		mFilter.changeSetting(ContentExtractorConstants.IGNORE_ADS, Boolean.toString(ignoreAds));
+		mFilter.changeSetting(ContentExtractorConstants.IGNORE_BUTTON_TAGS, Boolean.toString(ignoreButton));
+		mFilter.changeSetting(ContentExtractorConstants.IGNORE_FORMS, Boolean.toString(ignoreForms));
+		mFilter.changeSetting(ContentExtractorConstants.IGNORE_IFRAME_TAGS, Boolean.toString(ignoreIframe));
+		mFilter.changeSetting(ContentExtractorConstants.IGNORE_IMAGE_LINKS, Boolean.toString(ignoreImageLinks));
+		if (ignoreImageLinks)
+			mFilter.changeSetting(ContentExtractorConstants.DISPLAY_IMAGE_LINK_ALTS, Boolean.toString(displayImageLinkAlts));
+		mFilter.changeSetting(ContentExtractorConstants.IGNORE_TEXT_LINKS, Boolean.toString(ignoreTextLinks));
+
+		if (ignoreImages) {
+			mFilter.changeSetting(ContentExtractorConstants.DISPLAY_IMAGE_ALTS, Boolean.toString(displayAltTags));
+			mFilter.changeSetting(ContentExtractorConstants.IGNORE_IMAGES, Boolean.toString(ignoreImages));
+		} else
+			mFilter.changeSetting(ContentExtractorConstants.IGNORE_IMAGES, Boolean.toString(ignoreImages));
+
+		mFilter.changeSetting(ContentExtractorConstants.IGNORE_INPUT_TAGS, Boolean.toString(ignoreInput));
+		mFilter.changeSetting(ContentExtractorConstants.IGNORE_LINK_CELLS, Boolean.toString(ignoreLinkLists));
+
+		if (ignoreLinkLists) {
+			mFilter.changeSetting(ContentExtractorConstants.LC_IGNORE_IMAGE_LINKS, Boolean.toString(ignoreLLImageLinks));
+			mFilter.changeSetting(ContentExtractorConstants.LC_IGNORE_TEXT_LINKS, Boolean.toString(ignoreLLTextLinks));
+			mFilter.changeSetting(ContentExtractorConstants.LINK_TEXT_REMOVAL_RATIO, Double.toString(linkTextRatio));
+			mFilter.changeSetting(ContentExtractorConstants.LC_ONLY_LINKS_AND_TEXT, Boolean.toString(ignoreOnlyTextAndLinks));
+		}
+
+		mFilter.changeSetting(ContentExtractorConstants.IGNORE_META, Boolean.toString(ignoreMeta));
+		mFilter.changeSetting(ContentExtractorConstants.IGNORE_SCRIPTS, Boolean.toString(ignoreScripts));
+
+		if (ignoreNoscript)
+			mFilter.changeSetting(ContentExtractorConstants.IGNORE_NOSCRIPT_TAGS, Boolean.toString(ignoreNoscript));
+
+		mFilter.changeSetting(ContentExtractorConstants.IGNORE_SELECT_TAGS, Boolean.toString(ignoreSelect));
+		mFilter.changeSetting(ContentExtractorConstants.IGNORE_EXTERNAL_STYLESHEETS, Boolean.toString(ignoreExternalStylesheets));
+		mFilter.changeSetting(ContentExtractorConstants.IGNORE_DIV_STYLES, Boolean.toString(ignoreStyleInDiv));
+		mFilter.changeSetting(ContentExtractorConstants.IGNORE_STYLE_ATTRIBUTES, Boolean.toString(ignoreStyleAttributes));
+		mFilter.changeSetting(ContentExtractorConstants.IGNORE_STYLES, Boolean.toString(ignoreStyles));
+		mFilter.changeSetting(ContentExtractorConstants.IGNORE_CELL_WIDTH, Boolean.toString(ignoreTableCellWidths));
+
+		if (removeEmptyTables) {
+			mFilter.changeSetting(ContentExtractorConstants.REMOVE_EMPTY_TABLES, Boolean.toString(removeEmptyTables));
+			mFilter.changeSetting(ContentExtractorConstants.SUBSTANCE_BUTTON, Boolean.toString(substanceButton));
+			mFilter.changeSetting(ContentExtractorConstants.SUBSTANCE_FORM, Boolean.toString(substanceForm));
+			mFilter.changeSetting(ContentExtractorConstants.SUBSTANCE_IFRAME, Boolean.toString(substanceIFrame));
+			mFilter.changeSetting(ContentExtractorConstants.SUBSTANCE_IMAGE, Boolean.toString(substanceImage));
+			mFilter.changeSetting(ContentExtractorConstants.SUBSTANCE_INPUT, Boolean.toString(substanceInput));
+			mFilter.changeSetting(ContentExtractorConstants.SUBSTANCE_LINKS, Boolean.toString(substanceLinks));
+			mFilter.changeSetting(ContentExtractorConstants.SUBSTANCE_SELECT, Boolean.toString(substanceSelect));
+			mFilter.changeSetting(ContentExtractorConstants.SUBSTANCE_TEXTAREA, Boolean.toString(substanceTextarea));
+			mFilter.changeSetting(ContentExtractorConstants.SUBSTANCE_MIN_TEXT_LENGTH, Integer.toString(minimumTextLength));
+		} //if
+		else
+			mFilter.changeSetting(ContentExtractorConstants.REMOVE_EMPTY_TABLES, Boolean.toString(removeEmptyTables));
+
+		mFilter.changeSetting(ContentExtractorConstants.IGNORE_EMBED_TAGS, Boolean.toString(ignoreEmbed));
+		mFilter.changeSetting(ContentExtractorConstants.IGNORE_FLASH, Boolean.toString(ignoreFlash));
+		mFilter.changeSetting(ContentExtractorConstants.ADD_LINKS_TO_BOTTOM, Boolean.toString(appendLinks));
+		mFilter.changeSetting(ContentExtractorConstants.LIMIT_LINEBREAKS, Boolean.toString(limitLineBreaks));
+		if (limitLineBreaks)
+			mFilter.changeSetting(ContentExtractorConstants.MAX_LINEBREAKS, Integer.toString(maxLineBreaks));
+
+
+
+		 mFilter.save("/eclipse/workspace/crunch3/config/content.ini");
+		 if(Crunch3.mainControl != null)
+		 Crunch3.mainControl.loadFile("/eclipse/workspace/crunch3/config/content.ini");
+		//return mFilter.getSetting(ContentExtractorConstants.LINK_TEXT_REMOVAL_RATIO);
+
+	}
+
+}
diff --git a/src/psl/crunch3/web/SettingsServlet.java b/src/psl/crunch3/web/SettingsServlet.java
new file mode 100644
index 0000000..062d892
--- /dev/null
+++ b/src/psl/crunch3/web/SettingsServlet.java
@@ -0,0 +1,116 @@
+package psl.crunch3.web;
+
+import javax.servlet.*;
+import javax.servlet.http.*;
+import java.io.*;
+import java.util.*;
+
+public class SettingsServlet extends HttpServlet {
+  private static final String CONTENT_TYPE = "text/html";
+  private static final String DOC_TYPE =
+      "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\"" +
+      " \"http://www.w3.org/TR/html4/strict.dtd\">";
+
+
+  //Initialize global variables
+  public void init() throws ServletException {
+  }
+
+
+
+
+
+  //Process the HTTP Get request
+  public void doGet(HttpServletRequest request, HttpServletResponse response)
+      throws ServletException, IOException {
+
+    HttpSession s = request.getSession(true);
+    SettingsBean b = (SettingsBean)s.getAttribute("information");
+    if (b==null){
+      b = new SettingsBean();
+      s.setAttribute("b", b);
+    }
+
+
+
+     b.setAppendLinks((request.getParameter("appendLinks")));
+     b.setDisplayAltTags((request.getParameter("displayAltTags")));
+     b.setDisplayImageLinkAlts((request.getParameter("displayImageLinkAlts")));
+     b.setHtmlOutput((request.getParameter("htmlOutput")));
+     b.setIgnoreAds((request.getParameter("ignoreAds")));
+     b.setIgnoreButton((request.getParameter("ignoreButton")));
+     b.setIgnoreEmbed((request.getParameter("ignoreEmbed")));
+     b.setIgnoreExternalStylesheets((request.getParameter("ignoreExternalStylesheets")));
+     b.setIgnoreFlash((request.getParameter("ignoreFlash")));
+     b.setIgnoreForms((request.getParameter("ignoreForms")));
+     b.setIgnoreIframe((request.getParameter("ignoreIframe")));
+     b.setIgnoreImageLinks((request.getParameter("ignoreImageLinks")));
+     b.setIgnoreImages((request.getParameter("ignoreImages")));
+     b.setIgnoreInput((request.getParameter("ignoreInput")));
+     b.setIgnoreLinkLists((request.getParameter("ignoreLinkLists")));
+     b.setIgnoreLLImageLinks((request.getParameter("ignoreLLImageLinks")));
+     b.setIgnoreLLTextLinks((request.getParameter("ignoreLLTextLinks")));
+     b.setIgnoreMeta((request.getParameter("ignoreMeta")));
+     b.setIgnoreNoscript((request.getParameter("ignoreNoscript")));
+     b.setIgnoreOnlyTextAndLinks((request.getParameter("ignoreOnlyTextAndLinks")));
+     b.setIgnoreScripts((request.getParameter("ignoreScripts")));
+     b.setIgnoreSelect((request.getParameter("ignoreSelect")));
+     b.setIgnoreStyleAttributes((request.getParameter("ignoreStyleAttributes")));
+     b.setIgnoreStyleInDiv((request.getParameter("ignoreStyleInDiv")));
+     b.setIgnoreStyles((request.getParameter("ignoreStyles")));
+     b.setIgnoreTableCellWidths((request.getParameter("ignoreTableCellWidths")));
+     b.setIgnoreTextLinks((request.getParameter("ignoreTextLinks")));
+     b.setLimitLineBreaks((request.getParameter("limitLineBreaks")));
+     b.setLinkTextRatio((request.getParameter("linkTextRatio")));
+     b.setMaxLineBreaks((request.getParameter("maxLineBreaks")));
+     b.setMinimumTextLength((request.getParameter("minimumTextLength")));
+     b.setRemoveEmptyTables((request.getParameter("removeEmptyTables")));
+     b.setSubstanceButton((request.getParameter("substanceButton")));
+     b.setSubstanceForm((request.getParameter("substanceForm")));
+     b.setSubstanceIFrame((request.getParameter("substanceIFrame")));
+     b.setSubstanceImage((request.getParameter("substanceImage")));
+     b.setSubstanceInput((request.getParameter("substanceInput")));
+     b.setSubstanceLinks((request.getParameter("substanceLinks")));
+     b.setSubstanceSelect((request.getParameter("substanceSelect")));
+     b.setSubstanceTextarea((request.getParameter("substanceTextarea")));
+     b.setIgnoreTextLinks((request.getParameter("ignoreTextLinks")));
+     b.setIgnoreForms((request.getParameter("ignoreForms")));
+     b.setIgnoreFlash((request.getParameter("ignoreFlash")));
+
+
+
+     b.commitSettings();
+
+
+    response.setContentType(CONTENT_TYPE);
+
+    PrintWriter out = response.getWriter();
+    out.println(DOC_TYPE);
+    out.println("<html>");
+    out.println("<head> <title>test test</title> </head>");
+    out.println("<body> <H2> " + "Changes Submitted" + "</H2> </body></html>");
+
+
+
+    /**  RequestDispatcher r = getServletContext().getRequestDispatcher(
+          "/Form.jsp");
+      r.forward(request, response);
+**/
+
+
+
+
+  }
+
+
+
+
+
+
+//Process the HTTP Post request
+  public void doPost(HttpServletRequest request, HttpServletResponse response)
+      throws ServletException, IOException {
+    doGet(request, response);
+  }
+
+}
\ No newline at end of file
diff --git a/src/psl/crunch3/web/interface_files/crunch.css b/src/psl/crunch3/web/interface_files/crunch.css
new file mode 100644
index 0000000..9132c34
--- /dev/null
+++ b/src/psl/crunch3/web/interface_files/crunch.css
@@ -0,0 +1,60 @@
+BODY {
+	BACKGROUND-COLOR: #84939a; TEXT-ALIGN: center
+}
+DIV#wrapper {
+	WIDTH: 740px; TEXT-ALIGN: left; align: center
+}
+DIV#main {
+	WIDTH: 740px; HEIGHT: 800px; BACKGROUND-COLOR: white
+}
+A:link {
+	FONT-WEIGHT: bold; COLOR: black; TEXT-DECORATION: none
+}
+A:visited {
+	FONT-WEIGHT: bold; COLOR: black; TEXT-DECORATION: none
+}
+A:hover {
+	COLOR: #fdc255
+}
+.box {
+	PADDING-RIGHT: 12px; PADDING-LEFT: 0px; BACKGROUND: url(borders.gif) #84939a repeat-y 100% 0px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px
+}
+.bi {
+	PADDING-RIGHT: 0px; PADDING-LEFT: 12px; BACKGROUND: url(borders.gif) #fff repeat-y 0px 0px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px
+}
+.bt {
+	BACKGROUND: url(box2.gif) no-repeat 100% 0px; MARGIN: 0px -12px; HEIGHT: 17px
+}
+.bt DIV {
+	BACKGROUND: url(box2.gif) no-repeat 0px 0px; WIDTH: 18px; HEIGHT: 17px
+}
+.bb {
+	BACKGROUND: url(box2.gif) no-repeat 100% 100%; MARGIN: 0px -12px; HEIGHT: 17px
+}
+.bb DIV {
+	BACKGROUND: url(box2.gif) no-repeat 0px 100%; WIDTH: 18px; HEIGHT: 17px
+}
+.box H1 {
+	PADDING-RIGHT: 10px; PADDING-LEFT: 10px; BACKGROUND: #fdc255; PADDING-BOTTOM: 0.3em; MARGIN: 0px; FONT: bold 1.2em/1 Arial, Helvetica, sans-serif; PADDING-TOP: 0.3em
+}
+.box P {
+	PADDING-RIGHT: 10px; PADDING-LEFT: 10px; BACKGROUND: #fff; PADDING-BOTTOM: 4px; MARGIN: 0px; PADDING-TOP: 4px
+}
+.box UL {
+	PADDING-RIGHT: 10px; PADDING-LEFT: 10px; BACKGROUND: #fff; PADDING-BOTTOM: 4px; MARGIN: 0px; PADDING-TOP: 4px
+}
+.box TABLE {
+	PADDING-RIGHT: 10px; PADDING-LEFT: 10px; BACKGROUND: #fff; PADDING-BOTTOM: 4px; MARGIN: 0px; PADDING-TOP: 4px
+}
+.box FORM {
+	PADDING-RIGHT: 10px; PADDING-LEFT: 10px; BACKGROUND: #fff; PADDING-BOTTOM: 4px; MARGIN: 0px; PADDING-TOP: 4px
+}
+.box LI {
+	PADDING-RIGHT: 20px; PADDING-LEFT: 20px; BACKGROUND: #fff; PADDING-BOTTOM: 20px; MARGIN: 0px 0px 0px 2em; PADDING-TOP: 20px
+}
+.box IMG {
+	BACKGROUND: #fff
+}
+TD.settd {
+	WIDTH: 50%; HEIGHT: 20px
+}
diff --git a/src/psl/crunch3/web/interface_files/menu_r1_c1.gif b/src/psl/crunch3/web/interface_files/menu_r1_c1.gif
new file mode 100644
index 0000000..71671f4
Binary files /dev/null and b/src/psl/crunch3/web/interface_files/menu_r1_c1.gif differ
diff --git a/src/psl/crunch3/web/interface_files/menu_r1_c2.gif b/src/psl/crunch3/web/interface_files/menu_r1_c2.gif
new file mode 100644
index 0000000..535716b
Binary files /dev/null and b/src/psl/crunch3/web/interface_files/menu_r1_c2.gif differ
diff --git a/src/psl/crunch3/web/interface_files/menu_r1_c3.gif b/src/psl/crunch3/web/interface_files/menu_r1_c3.gif
new file mode 100644
index 0000000..306beea
Binary files /dev/null and b/src/psl/crunch3/web/interface_files/menu_r1_c3.gif differ
diff --git a/src/psl/crunch3/web/interface_files/menu_r1_c4.gif b/src/psl/crunch3/web/interface_files/menu_r1_c4.gif
new file mode 100644
index 0000000..b379212
Binary files /dev/null and b/src/psl/crunch3/web/interface_files/menu_r1_c4.gif differ
diff --git a/src/psl/crunch3/web/interface_files/menu_r1_c5.gif b/src/psl/crunch3/web/interface_files/menu_r1_c5.gif
new file mode 100644
index 0000000..93e7af1
Binary files /dev/null and b/src/psl/crunch3/web/interface_files/menu_r1_c5.gif differ
diff --git a/src/psl/crunch3/web/interface_files/spacer.gif b/src/psl/crunch3/web/interface_files/spacer.gif
new file mode 100644
index 0000000..fc25609
Binary files /dev/null and b/src/psl/crunch3/web/interface_files/spacer.gif differ
diff --git a/src/psl/crunch3/web/interface_files/title.png b/src/psl/crunch3/web/interface_files/title.png
new file mode 100644
index 0000000..7d7723c
Binary files /dev/null and b/src/psl/crunch3/web/interface_files/title.png differ
diff --git a/src/psl/crunch3/web/test.jsp b/src/psl/crunch3/web/test.jsp
new file mode 100644
index 0000000..767ecd4
--- /dev/null
+++ b/src/psl/crunch3/web/test.jsp
@@ -0,0 +1,14 @@
+<html>
+
+<head> <title> A Web Page </title>
+
+</head>
+
+<body>
+
+<h1>using jsp</h1>
+
+</body>
+
+
+</html>
\ No newline at end of file
diff --git a/web/admin b/web/admin
deleted file mode 100644
index e58de22..0000000
--- a/web/admin
+++ /dev/null
@@ -1,117 +0,0 @@
-<%@page contentType="text/html" %>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title>Crunch - Register </title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link href="crunch.css" rel="stylesheet" type="text/css">
-<script language="JavaScript" type="text/JavaScript">
-<!--
-
-<!--
-function MM_preloadImages() { //v3.0
-  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
-    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
-    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
-}
-
-function MM_findObj(n, d) { //v4.01
-  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
-    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
-  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
-  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
-  if(!x && d.getElementById) x=d.getElementById(n); return x;
-}
-
-function MM_nbGroup(event, grpName) { //v6.0
-  var i,img,nbArr,args=MM_nbGroup.arguments;
-  if (event == "init" && args.length > 2) {
-    if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
-      img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
-      if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
-      nbArr[nbArr.length] = img;
-      for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
-        if (!img.MM_up) img.MM_up = img.src;
-        img.src = img.MM_dn = args[i+1];
-        nbArr[nbArr.length] = img;
-    } }
-  } else if (event == "over") {
-    document.MM_nbOver = nbArr = new Array();
-    for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
-      if (!img.MM_up) img.MM_up = img.src;
-      img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])? args[i+1] : img.MM_up);
-      nbArr[nbArr.length] = img;
-    }
-  } else if (event == "out" ) {
-    for (i=0; i < document.MM_nbOver.length; i++) {
-      img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
-  } else if (event == "down") {
-    nbArr = document[grpName];
-    if (nbArr)
-      for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
-    document[grpName] = nbArr = new Array();
-    for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
-      if (!img.MM_up) img.MM_up = img.src;
-      img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up;
-      nbArr[nbArr.length] = img;
-  } }
-}
-//-->
-</script>
-</head>
-
-<body onLoad="MM_preloadImages('images/menu_r1_c1_f3.gif','images/menu_r1_c1_f2.gif','images/menu_r1_c2_f3.gif','images/menu_r1_c2_f2.gif','images/menu_r1_c3_f3.gif','images/menu_r1_c3_f2.gif','images/menu_r1_c4_f3.gif','images/menu_r1_c4_f2.gif','images/menu_r1_c5_f3.gif','images/menu_r1_c5_f2.gif')">
-<div id="wrapper"> <br/>
-  <img src="title.png" width="740" height="124">
-  <table  align="center" border="0" cellpadding="0" cellspacing="0" width="740">
-    <!-- fwtable fwsrc="menu.png" fwbase="menu.gif" fwstyle="Dreamweaver" fwdocid = "742308039" fwnested="0" -->
-    <tr>
-      <td><img src="images/spacer.gif" width="148" height="1" border="0" alt=""></td>
-      <td><img src="images/spacer.gif" width="148" height="1" border="0" alt=""></td>
-      <td><img src="images/spacer.gif" width="148" height="1" border="0" alt=""></td>
-      <td><img src="images/spacer.gif" width="148" height="1" border="0" alt=""></td>
-      <td><img src="images/spacer.gif" width="148" height="1" border="0" alt=""></td>
-      <td><img src="images/spacer.gif" width="1" height="1" border="0" alt=""></td>
-    </tr>
-    <tr>
-      <td><a href="about.htm" target="_top" onClick="MM_nbGroup('down','navbar1','menu_r1_c1','images/menu_r1_c1_f3.gif',1);" onMouseOver="MM_nbGroup('over','menu_r1_c1','images/menu_r1_c1_f2.gif','images/menu_r1_c1_f3.gif',1);" onMouseOut="MM_nbGroup('out');"><img name="menu_r1_c1" src="images/menu_r1_c1.gif" width="148" height="30" border="0" alt=""></a></td>
-      <td><a href="people.htm" target="_top" onClick="MM_nbGroup('down','navbar1','menu_r1_c2','images/menu_r1_c2_f3.gif',1);" onMouseOver="MM_nbGroup('over','menu_r1_c2','images/menu_r1_c2_f2.gif','images/menu_r1_c2_f3.gif',1);" onMouseOut="MM_nbGroup('out');"><img name="menu_r1_c2" src="images/menu_r1_c2.gif" width="148" height="30" border="0" alt=""></a></td>
-      <td><a href="publications.htm" target="_top" onClick="MM_nbGroup('down','navbar1','menu_r1_c3','images/menu_r1_c3_f3.gif',1);" onMouseOver="MM_nbGroup('over','menu_r1_c3','images/menu_r1_c3_f2.gif','images/menu_r1_c3_f3.gif',1);" onMouseOut="MM_nbGroup('out');"><img name="menu_r1_c3" src="images/menu_r1_c3.gif" width="148" height="30" border="0" alt=""></a></td>
-      <td><a href="software.htm" target="_top" onClick="MM_nbGroup('down','navbar1','menu_r1_c4','images/menu_r1_c4_f3.gif',1);" onMouseOver="MM_nbGroup('over','menu_r1_c4','images/menu_r1_c4_f2.gif','images/menu_r1_c4_f3.gif',1);" onMouseOut="MM_nbGroup('out');"><img name="menu_r1_c4" src="images/menu_r1_c4.gif" width="148" height="30" border="0" alt=""></a></td>
-      <td><a href="register.htm" target="_top" onClick="MM_nbGroup('down','navbar1','menu_r1_c5','images/menu_r1_c5_f3.gif',1);" onMouseOver="MM_nbGroup('over','menu_r1_c5','images/menu_r1_c5_f2.gif','images/menu_r1_c5_f3.gif',1);" onMouseOut="MM_nbGroup('out');"><img name="menu_r1_c5" src="images/menu_r1_c5.gif" width="148" height="30" border="0" alt=""></a></td>
-      <td><img src="images/spacer.gif" width="1" height="30" border="0" alt=""></td>
-    </tr>
-  </table>
-  <div class="box" >
-  <div class="bi">
-		<div class="bt"><div></div></div>
-
-      <h1>Register</h1>
-
-      <p>&nbsp;</p>
-
-
-
-
-      <p>coming soon...</p>
-      <p>&nbsp;</p>
-      <p>&nbsp;</p>
-      <p>&nbsp;</p>
-      <p>&nbsp;</p>
-      <p align="center"><a href="index.html">Home</a> | <a href="about.htm">About</a>
-        | <a href="people.htm">People</a> | <a href="publications.htm">Publications</a>
-        | <a href="software.htm">Software</a> | <a href="register.htm">Register</a></p>
-		<div></div>
-		<div class="bb"><div></div></div></div>
-</div>
-  <div>
-    <div align="center">Copyright (c) 2005: The Trustees of Columbia University
-      in the City of New York. All Rights Reserved.</div>
-  </div>
-
-</div>
-
-
-</body>
-</html>