//alert('dd ee');	
	myAr= new Array();

myAr["Alabama"]= new Array("Air  University","Alabama A&M  University","Alabama State University","Athens State University","Auburn University","Auburn University at Montgomery","Birmingham-Southern College","Concordia College-Selma","Faulkner University","Huntingdon College","Jacksonville State University","Judson College","Miles College","Oakwood College","Samford University","Southeastern Bible College","Southern Christian University","Spring Hill College","Stillman College","Talladega College","Troy University (main campus)","--Dothan campus","--Montgomery campus","Tuskegee University","United States Sports Academy","University of Alabama System","--Birmingham","--Huntsville","--Tuscaloosa (main campus)","University of Mobile","University of Montevallo","University of North Alabama","University of South Alabama","University of West Alabama");

myAr["Alaska"]=new Array("Alaska Bible College","Alaska Pacific University","Sheldon Jackson College","University of Alaska System","--Anchorage","--Fairbanks","--Southeast (Juneau)");

myAr["Arizona"]=new Array("American Indian College of the Assemblies of God","Arizona State University","Arizona State University Polytechnic Campus","Arizona State University West","DeVry University-Phoenix","Embry-Riddle Aeronautical University","Grand Canyon University","Northcentral University","Northern Arizona University","Prescott College","Southwestern College","Thunderbird, The Garvin School of International Management","University of Arizona","University of Phoenix","Western International University");


myAr["Arkansas"]=new Array("Arkansas Baptist College","Arkansas State University, Jonesboro","Arkansas Tech University","Central Baptist College","Harding University","Henderson State University","Hendrix College","John Brown University","Lyon College","Ouachita Baptist University","Philander Smith College","Southern Arkansas University","University of Arkansas System","--Fayetteville","--Fort Smith","--Little Rock","--Medical Sciences","--Monticello","--Pine Bluff","University of Central Arkansas","University of the Ozarks","Williams Baptist College");


myAr["California"]=new Array("Alliant International University","Antioch University-Los Angeles","Art Center College of Design","Azusa Pacific University","Bethany College","Bethesda Christian University","Biola University","California Baptist University","California College of the Arts","California Institute of the Arts","California Institute of Integral Studies","California Institute of Technology","California Lutheran University","California Pacific University","California State University System","--Bakersfield","--California Maritime Academy","--California Polytechnic State University, San Luis Obispo","--California State Polytechnic University, Pomona","--Channel Islands","--Chico","--Dominguez Hills","--East Bay","--Fresno","--Fullerton","--Long Beach","--Los Angeles","--Monterey Bay","--Northridge","--Sacramento","--San Bernardino","--San Marcos","--Stanislaus","--Humboldt State University","--San Diego State University","--San Francisco State University","--San Jose State University","--Sonoma State University","Chapman University","Charles R. Drew University of Medicine & Science","Church Divinity School of the Pacific","Claremont Consortium of Colleges","--Claremont Graduate University","--Claremont McKenna College","--Harvey Mudd College","--Keck Graduate Institute of Applied Life Sciences","--Pitzer College","--Pomona College","--Scripps College","Cogswell Polytechnical College","Concordia University-Irvine","Defense Language Institute","DeVry University-Long Beach","DeVry University-Pomona","Dominican School of Philosophy & Theology","Dominican University of California","Fielding Graduate Institute","Franciscan School of Theology","Fresno Pacific University","Fuller Theological Seminary","Golden Gate University","Graduate Theological Union","Holy Names University","Hope International University","Humphreys College","Institute of Transpersonal Psychology","Jesuit School of Theology at Berkeley","John F. Kennedy University","La Sierra University","Life Pacific College","Lincoln University","Loma Linda University","Loyola Marymount University","Marymount College","The Master's College","The Master's Seminary","Menlo College","Mills College","Monterey Institute of International Studies","Saint Mary's College of California","Mount St. Mary's College","National Hispanic University","National University","Naval Postgraduate School","New College of California","Notre Dame de Namur University","Occidental College","Otis College of Art & Design","Pacific Oaks College","Pacific Union College","Pacifica Graduate Institute","Pardee RAND Graduate School","Patten College","Pepperdine University","Platt College","Point Loma Nazarene University","Saint Mary's College of California","Samuel Merritt College","San Diego Christian College","Santa Clara University","Saybrook Graduate School & Research Center","Simpson University","Soka University of America","Southern California Institute of Architecture","Southwestern University School of Law","Stanford University","Thomas Aquinas College","University of California System","--Berkeley","--Davis","--Hastings College of the Law","--Irvine","--Los Angeles","--Merced","--Riverside","--San Diego","--San Francisc","--Santa Barbara","--Santa Cruz","University of Judaism","University of La Verne","University of Northern California","University of the Pacific","University of Redlands","University of San Diego","University of San Francisco","University of Southern California","Vanguard University of Southern California","Western State University College of Law","Western University of Health Sciences","Westminster Seminary California","Westmont College","Whittier College","William Howard Taft University","William Jessup University","Woodbury University");

myAr["Colorado"]=new Array("Adams State College","Colorado Christian University","Colorado College","Colorado School of Mines","Colorado State University","Colorado State University-Pueblo","Colorado Technical University","Fort Lewis College","Jones International University","Mesa State College","Metropolitan State College of Denver","Naropa Institute","National Technological University","Nazarene Bible College","Regis University","Rocky Mountain College of Art & Design","United States Air Force Academy","University of Colorado System","--Boulder","--Colorado Springs","--Denver","--Health Sciences Center","University of Denver","University of Northern Colorado","Western State College");

myAr["Connecticut"]=new Array("Albertus Magnus College","Central Connecticut State University","Charter Oak State College","Connecticut College","Eastern Connecticut State University","Fairfield University","Holy Apostles College & Seminary","Mitchell College","Post University","Quinnipiac College","Rensselaer at Hartford","Sacred Heart University","St. Joseph College","Southern Connecticut State University","Trinity College","United States Coast Guard Academy","University of Bridgeport","University of Connecticut","University of Hartford","University of New Haven","Wesleyan University","Western Connecticut State University","Yale University");

myAr["District of Columbia"]=new Array("American University","The Catholic University of America","Corcoran College of Art & Design","Gallaudet University","George Washington University","--Mount Vernon campus","--Virginia Campus","Georgetown University","Howard University","Joint Military Intelligence College","National Defense University","Southeastern University","Strayer University","Trinity University","University of the District of Columbia","Washington Theological Union","Wesley Theological Seminary");

myAr["Delaware"]=new Array("Delaware State University","Goldey-Beacom College","University of Delaware","Wesley College","Wilmington College");

myAr["Delaware"]=new Array("","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","");





myAr["Florida"]=new Array("The Baptist College of Florida","Barry University","Beacon College","Bethune-Cookman College","Carlos Albizu University-Miami","Chipola College","Clearwater Christian College","DeVry University-Orlando","Eckerd College","Edward Waters College","Embry-Riddle Aeronautical University","Flagler College","Florida Agricultural & Mechanical University","Florida Atlantic University","Florida Christian College","Florida College","Florida Gulf Coast University","Florida Hospital College of Health Sciences","Florida Institute of Technology","Florida International University","Florida Memorial University","Florida Metropolitan University","Florida Southern College","Florida State University","--Panama City campus","Hobe Sound Bible College","International College","Jacksonville University","Jones College","Keiser College","Lynn University","Miami International University of Art & Design","New College of Florida","Northwood University","Nova Southeastern University","Palm Beach Atlantic University","Ringling School of Art & Design","Rollins College","Saint John Vianney College Seminary","Saint Leo College","St. Petersburg College","St. Thomas University","South Florida Bible College & Theological Seminary","Southeastern University","Stetson University","Trinity College of Florida","Troy State University-Florida Region","University of Central Florida","University of Florida","University of Miami","University of North Florida","University of South Florida","University of Tampa","University of West Florida","Warner Southern College","Webber International University");

myAr["Georgia"]=new Array("Agnes Scott College","American InterContinental University","Art Institute of Atlanta","Atlanta Christian College","Atlanta College of Art","Augusta State University","Bauder College","Berry College","Brenau University","Brewton-Parker College","Clark Atlanta University","Covenant College","Dalton State College","University of Devry-Georgia","Emmanuel College","Emory University","Institute of Paper Science & Technology","Interdenominational Theological Center","LaGrange College","Life University","Mercer University","Morehouse College","Morehouse School of Medicine","Oglethorpe University","Paine College","Piedmont College","Reinhardt College","Savannah College of Art & Design","Shorter College","South University","Spelman College","Thomas University","Toccoa Falls College","Truett-McConnell College","University System of Georgia","--Albany State University","--Armstrong Atlantic State University","--Augusta State University","--Clayton College & State University","--Columbus State University","--Fort Valley State University","--Georgia College & State University","--Georgia Institute of Technology","--Georgia Southern University","--Georgia Southwestern State University","--Georgia State University","--Kennesaw State University","--Macon State College","--Medical College of Georgia","--North Georgia College & State University","--Savannah State University","--Southern Polytechnic State University","--State University of West Georgia","--University of Georgia","--Valdosta State University","Wesleyan College");

myAr["Guam"]=new Array("University of Guam");

myAr["Hawaii"]=new Array("Brigham Young University-Hawaii","Chaminade University","Hawaii Pacific University","University of Hawaii System","--Hilo","--Manoa","--West Oahu");

myAr["Idaho"]=new Array("Albertson College of Idaho","Boise State University","Brigham Young University-Idaho","Idaho State University","Lewis-Clark State College","Northwest Nazarene College","University of Idaho");


myAr["Illinois"]=new Array("Adler School of Professional Psychology","American College of Education","Argosy University","Augustana College","Aurora University","Benedictine University","Blackburn College","Bradley University","The Chicago School of Professional Psychology","Chicago State University","Columbia College","Concordia University-River Forest","DePaul University","DeVry University","DeVry University-Chicago","DeVry University-DuPage","Dominican University","East-West University","Eastern Illinois University","Elmhurst College","Erikson Institute","Eureka College","Governors State University","Greenville College","Illinois College","Illinois Institute of Technology","Illinois State University","Illinois Wesleyan University","Judson College","Kendall College","Knox College","Lake Forest College","Lake Forest Graduate School of Management","Lakeview College of Nursing","Lewis University","Lincoln Christian College & Seminary","Loyola University Chicago","Lutheran School of Theology at Chicago","McKendree College","McMurray College","Midwestern University","Millikin University","Monmouth College","Moody Bible Institute","National University of Health Sciences","National-Louis University","North Central College","North Park University","Northeastern Illinois University","Northern Illinois University","Northwestern University","Olivet Nazarene University","Principia College","Quincy University","Robert Morris College","Rockford College","Roosevelt University","Rush University","Saint Anthony College of Nursing","St. Xavier University","School of the Art Institute of Chicago","Shimer College","Southern Illinois University System","--Carbondale","--Edwardsville","Spertus Institute of Jewish Studies","Trinity Christian College","Trinity International University","University of Chicago","University of Illinois System","--Chicago","--Springfield","--Urbana-Champaign","University of St. Francis","Western Illinois University","Wheaton College");

myAr["Indiana"]=new Array("Anderson University","Ball State University","Bethel College","Butler University","Calumet College of St. Joseph","Christian Theological Seminary","Concordia Theological Seminary-Fort Wayne","DePauw University","Earlham College","Franklin College","Goshen College","Grace College","Hanover College","Holy Cross College","Huntington University","Indiana Institute of Technology","Indiana State University","Indiana University System","--Indiana University-Bloomington","--Indiana University-East","--Indiana University-Kokomo","--Indiana University-Northwest","--Indiana University-South Bend","--Indiana University-Southeas","--Indiana University/Purdue University at Columbus","--Indiana University/Purdue University at Fort Wayne","--Indiana University/Purdue University at Indianapolis","Indiana Wesleyan University","Manchester College","Marian College","Martin University","Oakland City University","Purdue University System","--Purdue University","--Purdue University Calumet","--Purdue University North Central","--Indiana University/Purdue University at Columbus","--Indiana University/Purdue University at Fort Wayne","--Indiana University/Purdue University at Indianapolis","--School of Technology at Anderson/Muncie","--School of Technology at Columbus/Greensburg","--School of Technology at Indianapolis","--School of Technology at Kokomo","--School of Technology at New Albany","--School of Technology at Richmond","--College of Technology at South Bend/Elkhart","Rose-Hulman Institute of Technology","Saint Joseph's College","Saint Mary-of-the-Woods College","Saint Mary's College","Taylor University","Tri-State University","University of Evansville","University of Indianapolis","University of Notre Dame","University of Saint Francis","University of Southern Indiana","Valparaiso University","Wabash College");


myAr["Iowa"]=new Array("Allen College","Ashford University","Briar Cliff College","Buena Vista University","Central College","Clarke College","Coe College","Cornell College","Des Moines University-Osteopathic Medical Center","Divine Word College","Dordt College","Drake University","Emmaus Bible College","Faith Baptist Bible College & Theological Seminary","Graceland College","Grand View College","Grinnell College","Iowa State University","Iowa Wesleyan College","Kaplan University","Loras College","Luther College","Maharishi University of Management","Marycrest International University (closed summer 2002)","Morningside College","Mount Mercy College","Northwestern College of Iowa","St. Ambrose University","Simpson College","University of Dubuque","University of Iowa","University of Northern Iowa","Upper Iowa University","Vennard College","Waldorf College","Wartburg College","William Penn University");


myAr["Kansas"]=new Array("Baker University","Barclay College","Benedictine College","Bethany College","Bethel College","Central Christian College","Emporia State University","Fort Hays State University","Friends University","Haskell Indian Nations University","Hesston College","Kansas State University","Kansas Wesleyan University","Manhattan Christian College","McPherson College","Mid-America Nazarene College","Newman University","Ottawa University","Pittsburg State University","Southwestern College","Sterling College","Tabor College","University of Kansas","University of Kansas Medical Center","University of Saint Mary","Washburn University","Wichita State University");

myAr["Kentucky"]=new Array("Alice Lloyd College","Asbury College","Asbury Theological Seminary","Bellarmine College","Berea College","Brescia University","Campbellsville University","Centre College","Clear Creek Baptist Bible College","Cumberland College","Eastern Kentucky University","Georgetown College","Kentucky Christian University","Kentucky Mountain Bible College","Kentucky State University","Kentucky Wesleyan College","Lexington Theological Seminary","Lindsey Wilson College","Mid-Continent College","Midway College","Morehead State University","Murray State University","Northern Kentucky University","Pikeville College","St. Catharine College","Southern Baptist Theological Seminary","Spalding University","Sullivan University","Thomas More College","Transylvania University","Union College","University of Kentucky","University of Louisville","Western Kentucky University");


myAr["Louisiana"]=new Array("Centenary College of Louisiana","Dillard University","Grambling State University","Louisiana College","Louisiana State University System","--Alexandria","--Baton Rouge","--Health Sciences Center","--Shreveport","--University of New Orleans","Louisiana Tech University","Loyola University New Orleans","McNeese State University","Nicholls State University","New Orleans Baptist Theological Seminary","Northwestern State University of Louisiana","Our Lady of Holy Cross College","Our Lady of the Lake College","Southeastern Louisiana University","Southern University System","--Baton Rouge","--New Orleans","Tulane University","University of Louisiana System","--Monroe","--Lafayette","Xavier University of Louisiana");


myAr["Maine"]=new Array("Bates College","Bowdoin College","Colby College","College of the Atlantic","Husson College","Maine College of Art","Maine Maritime Academy","St. Joseph's College","Thomas College","Unity College","University of Maine System","--Augusta","--Farmington","--Fort Kent","--Machias","--Orono","--Presque Isle","--School of Law","--University of Southern Maine","University of New England");


myAr["Massachusetts"]=new Array("American International College","Amherst College","Anna Maria College","Assumption College","Atlantic Union College","Babson College","Bay Path College","Becker College","Benjamin Franklin Institute of Technology","Bentley College","Berklee College of Music","Boston College","Boston Conservatory","Boston Graduate School of Psychoanalysis","Boston University","Brandeis University","Bridgewater State College","Cambridge College","Clark University","College of the Holy Cross","Curry College","Eastern Nazarene College","Elms College","Emerson College","Emmanuel College","Endicott College","Fitchburg State College","Framingham State College","Gordon College","Gordon-Conwell Theological Seminary","Hampshire College","Harvard University","Hult International Business School","Lasell College","Lesley College","Massachusetts College of Art","Massachusetts College of Liberal Arts","Massachuetts College of Pharmacy & Health Sciences","Massachusetts Institute of Technology","Massachusetts Maritime Academy","Massachusetts School of Professional Psychology","Merrimack College","Mount Holyoke College","Mount Ida College","New England College of Optometry","New England Conservatory of Music","Newbury College","Nichols College","North Adams State College","Northeastern University","Pine Manor College","Regis College","Salem State College","Simmons College","Simon's Rock College","Smith College","Springfield College","Stonehill College","Suffolk University","Tufts University","University of Massachusetts System","--Amherst","--Boston","--Dartmouth","--Lowell","--Medical School at Worcester","Wellesley College","Wentworth Institute of Technology","Western New England College","Westfield State College","Weston Jesuit School of Theology","Wheaton College","Wheelock College","Williams College","Worcester Polytechnic Institute","Worcester State College");

myAr["Michigan"]=new Array("Adrian College","Albion College","Alma College","Andrews University","Aquinas College","Baker College","Calvin College","Central Michigan University","Cleary College","College for Creative Studies","Concordia College-Ann Arbor","Cornerstone University","Cranbrook Academy of Art","Davenport University","Eastern Michigan University","Ferris State University","Finlandia University","Grace Bible College","Grand Valley State University","Hillsdale College","Hope College","Kalamazoo College","Kendall College of Art & Design","Kettering University","Kuyper College","Lake Superior State University","Lawrence Technological University","Madonna University","Marygrove College","Michigan State University","Michigan Technological University","Northern Michigan University","Northwood University","Oakland University","Olivet College","Rochester College","Saginaw Valley State University","Siena Heights University","Spring Arbor University","University of Detroit Mercy","University of Michigan System","--Ann Arbor","--Dearborn","--Flint","--Walsh College","--Wayne State University","--Western Michigan University");


myAr["Minnesota"]=new Array("Alfred Adler Institute","Augsburg College","Bethany Lutheran College","Bethel University & Seminary","Capella University","Carleton College","College of Saint Benedict","College of St. Catherine","College of St. Scholastica","College of Visual Arts","Concordia College-Moorhead","Concordia College-St. Paul","Crossroads College","Crown College","Gustavus Adolphus College","Hamline University","Luther Seminary","Macalester College","Martin Luther College","Minneapolis College of Art & Design","Minnesota State College & University System","--Bemidji State University","--Metropolitan State University","--Minnesota State University, Mankato","--Minnesota State University, Moorhead","--Southwest Minnesota State University","--St. Cloud State University","--Winona State University","North Central University","Northwestern College","Oak Hills Christian College","Pillsbury Baptist Bible College","Saint John's University","Saint Mary's University of Minnesota","Saint Olaf College","University of Minnesota System","--Crookston","--Duluth","--Morris","--Twin Cities","University of Saint Thomas","Walden University","William Mitchell College of Law");




myAr["Mississippi"]=new Array("Alcorn State University","Belhaven College","Blue Mountain College","Delta State University","Jackson State University","Magnolia Bible College","Millsaps College","Mississippi College","Mississippi State University","Mississippi University for Women","Mississippi Valley State University","Rust College","Tougaloo College","University of Mississippi","University of Mississippi Medical Center","University of Southern Mississippi","William Carey College");


myAr["Missouri"]=new Array("Avila College","Baptist Bible College","Calvary Bible College & Theological Seminary","Central Bible College","Central Christian College of the Bible","Central Methodist University","Central Missouri State University","Cleveland Chiropractic College","College of the Ozarks","Columbia College","Concordia Seminary-St. Louis","Culver-Stockton College","DeVry University-Kansas City","Drury University","Evangel University","Fontbonne College","Forest Institute of Professional Psychology","Greenleaf University","Hannibal-Lagrange College","Harris-Stowe State University","Kirksville College of Osteopathic Medicine","Lincoln University","Lindenwood University","Logan College of Chiropractic","Maryville University of St. Louis","Missouri Baptist College","Missouri Southern State University","Missouri State University","Missouri Valley College","Missouri Western State University","Northwest Missouri State University","Ozark Christian College","Park University","Rockhurst University","St. Louis College of Pharmacy","Saint Louis University","Southeast Missouri State University","Southwest Baptist University","Stephens College","Truman State University","University of Missouri System","--Columbia","--Kansas City","--Rolla","--St. Louis","Washington University in St. Louis","Webster University","Westminster College","William Jewell College","William Woods University");


myAr["Montana"]=new Array("Carroll College","Montana State University System","--Billings","--Bozeman","--Northern","Rocky Mountain College","Salish Kootenai College","University of Great Falls","University of Montana System","--Montana Tech","--University of Montana-Missoula","--University of Montana-Western");

myAr["Nebraska"]=new Array("Bellevue University","Chadron State College","Clarkson College","College of Saint Mary","Concordia University-Nebraska","Creighton University","Dana College","Doane College","Grace University","Hastings College","Midland Lutheran College","Nebraska Christian College","Nebraska Methodist College","Nebraska Wesleyan University","Peru State College","Union College","University of Nebraska System","--Kearney","--Lincoln","--Medical Center","--Omaha","Wayne State College","York College");

myAr["Nevada"]=new Array("Great Basin College","Sierra Nevada College","University of Nevada-Las Vegas","University of Nevada-Reno");

myAr["New Hampshire"]=new Array("Antioch New England","Chester College of New England","Colby-Sawyer College","Daniel Webster College","Dartmouth College","Franklin Pierce College","Franklin Pierce Law Center","Granite State College","Keene State College","New England College","Plymouth State College","Rivier College","Saint Anselm College","Southern New Hampshire University","The Thomas More College of Liberal Arts","University of New Hampshire","University of New Hampshire at Manchester");

myAr["New Jersey"]=new Array("Berkeley College","Bloomfield College","Caldwell College","Centenary College","The College of New Jersey","College of Saint Elizabeth","Drew University","Fairleigh Dickinson University","Felician College","Georgian Court College","Kean University","Monmouth University","Montclair State University","New Jersey City University","New Jersey Institute of Technology","Princeton University","Ramapo College","Richard Stockton College of New Jersey","Rider University","Rowan University","Rutgers University","--Camden","--New Brunswick/Piscataway","--Newark","Saint Peter's College","Seton Hall University","Stevens Institute of Technology","Thomas Edison State College","University of Medicine & Dentistry of New Jersey","William Paterson University");

myAr["New Mexico"]=new Array("College of Santa Fe","College of the Southwest","Eastern New Mexico University","Institute of American Indian Arts","New Mexico Institute of Mining & Technology","New Mexico Highlands University","New Mexico State University","St. John's College-Santa Fe","Southwestern College","University of New Mexico","Western New Mexico University");

myAr["New York"]=new Array("Adelphi University","Albany College of Pharmacy","Albany Medical College","Alfred University","Bank Street College of Education","Bard College","Barnard College","Boricua College","Canisius College","Cazenovia College","City University of New York System","--Baruch College","--Brooklyn College","--City College","--College of Staten Island","--Graduate School & University Center","--Hunter College","--John Jay College of Criminal Justice","--Lehman College","--Medger Evers College","--New York City College of Technology","--Queens College","--York College","Clarkson University","Colgate University","College of Mount St. Vincent","College of New Rochelle","College of Saint Rose","Columbia University","Concordia College-Bronxville","The Cooper Union for the Advancement of Science & Art","Cornell University","Culinary Institute of America","Daemen College","Davis College","Dominican College","Dowling College","D?Youville College","Elmira College","Excelsior College","Five Towns College","Fordham University","Hamilton College","Hartwick College","Hebrew Union College-Jewish Institute of Religion","Hilbert College","Hobart and William Smith Colleges","Hofstra University","Houghton College","Iona College","Ithaca College","The Jewish Theological Seminary of America","The Juilliard School","Keuka College","Le Moyne College","Laboratory Institute of Merchandising","Long Island University","--Arnold & Marie Schwartz College of Pharmacy & Health Sciences","--Brentwood Campus","--Brooklyn Campus","--C.W. Post Campus","--Rockland Graduate Campus","--Southampton Graduate Campus","--Westchester Graduate Campus","Manhattan College","Manhattan School of Music","Manhattanville College","Marist College","Marymount College","Marymount Manhattan College","Medaille College","Mercy College","Metropolitan College of New York","Molloy College","Monroe College","Mount Saint Mary College","Nazareth College","New School University","New York College of Podiatric Medicine","New York Institute of Technology","New York Medical College","New York University","Niagara University","Nyack College","Pace University","Parsons School of Design","Paul Smith's College","Polytechnic University of New York","Pratt Institute","Rensselaer Polytechnic Institute","Roberts Wesleyan College","Rochester Institute of Technology","The Rockefeller University","The Sage Colleges","St. Bonaventure University","Saint Francis College","St. John Fisher College","St. John's University","St. Joseph's College","St. Lawrence University","St. Thomas Aquinas College","Sarah Lawrence College","School of Visual Arts","Siena College","Skidmore College","State University of New York System","--Albany","--Binghamton","--Buffalo","--Stony Brook","--College at Brockport","--College at Buffalo (Buffalo State College)","--College at Cortland","--College at Fredonia","--College at Geneseo","--College at New Paltz","--College at Old Westbury","--College at Oneonta","--College at Oswego","--College at Plattsburgh","--College at Potsdam","--College at Purchase","--College of Agriculture & Technology at Cobleskill","--College of Agriculture & Technology at Morrisville (Morrisville State College)","--College of Environmental Science & Forestry","--College of Optometry","--College of Technology at Alfred (Alfred State University)","--College of Technology at Canton","--College of Technology at Delhi","--College of Technology at Farmingdale (Farmingdale State University)","--Downstate Medical Center","--Empire State College","--Fashion Institute of Technology","--Institute of Technology at Utica/Rome","--Maritime College at Ft. Schuyler","--Upstate Medical University","Syracuse University","Teachers College, Columbia University","Touro College","Unification Theological Seminary","Union College","Union Theological Seminary","United States Merchant Marine Academy","United States Military Academy","University of Rochester","Utica College of Syracuse University","Vassar College","Vaughn College of Aeronautics","Wagner College","Webb Institute","Wells College","Yeshiva University");

myAr["North Carolina"]=new Array("Appalachian State University","Barton College","Belmont Abbey College","Bennett College","Brevard College","Campbell University","Catawba College","Chowan College","Davidson College","Duke University","East Carolina University","Elizabeth City State University","Elon University","Fayetteville State University","Gardner-Webb University","Greensboro College","Guilford College","High Point University","Johnson C. Smith University","Lees-McRae College","Lenoir-Rhyne College","Livingstone College","Louisburg College","Mars Hill College","Meredith College","Methodist College","Montreat College","Mount Olive College","North Carolina Central University","North Carolina A&T State University","North Carolina School of the Arts","North Carolina State University","North Carolina Wesleyan College","Peace College","Pfeiffer University","Piedmont Baptist College","Queens University of Charlotte","Roanoke Bible College","St. Andrews Presbyterian College","St. Augustine's College","Salem College","Shaw University","University of North Carolina System","--Asheville","--Chapel Hill","--Charlotte","--Greensboro","--Pembroke","--Wilmington","Wake Forest University","Warren Wilson College","Western Carolina University","Wingate University","Winston-Salem State University");

myAr["North Dakota"]=new Array("Dickinson State University","Jamestown College","Mayville State University","Minot State University","North Dakota State University","Trinity Bible College","University of Mary","University of North Dakota","Valley City State University");

myAr["Ohio"]=new Array("Air Force Institute of Technology","Antioch College","Art Academy of Cincinnati","Ashland University","Baldwin-Wallace College","Bowling Green State University","Bluffton University","Capital University","Case Western Reserve University","Cedarville University","Central State University","Cincinnati Christian University","Circleville Bible College","Cleveland Institute of Art","Cleveland Institute of Music","Cleveland State University","College of Mount St. Joseph","The College of Wooster","Columbus College of Art & Design","David N. Myers University","Defiance College","Denison University","Franciscan University of Steubenville","Franklin University","Heidelberg College","Hiram College","John Carroll University","Kent State University","Kenyon College","Lake Erie College","Laura & Alvin Siegal College of Judaic Studies","Lourdes College","Malone College","Marietta College","Medical College of Ohio","Miami University of Ohio","Mount Union College","Mount Vernon Nazarene University","Muskingum College","Northeastern Ohio Universities College of Medicine","Notre Dame College","Oberlin College","Ohio Dominican University","Ohio Northern University","Ohio State University System","--Columbus","--Lima","--Mansfield","--Marion","Ohio University","Ohio Wesleyan University","Otterbein College","Shawnee State University","Tiffin University","Union Institute & University","University of Akron","University of Cincinnati","University of Dayton","The University of Findlay","University of Northwestern Ohio","University of Rio Grande","University of Toledo","Urbana University","Ursuline College","Walsh University","Wilberforce University","Wilmington College","Wittenberg University","Wright State University","Xavier University","Youngstown State University");

myAr["Oklahoma"]=new Array("Bacone College","Cameron University","East Central University","Langston University","Mid-America Christian University","Northeastern State University","--Broken Arrow campus","--Muskogee campus","Northwestern Oklahoma State University","Oklahoma Baptist University","Oklahoma Christian University of Science & Arts","Oklahoma City University","Oklahoma Panhandle State University","Oklahoma State University System","--Center for Health Sciences","--Stillwater","--Tulsa","Oklahoma Wesleyan University","Oral Roberts University","Phillips University (closed July 1998)","Rogers State University","St. Gregory's University","Southeastern Oklahoma State University","Southern Nazarene University","Southwestern Oklahoma State University","University of Central Oklahoma","University of Oklahoma","University of Oklahoma Health Sciences Center","University of Science & Arts of Oklahoma","University of Tulsa");

myAr["Oregon"]=new Array("Art Institute of Portland","Concordia University-Portland","Corban College","Eastern Oregon University","Eugene Bible College","George Fox University","Lewis & Clark College","Linfield College","Marylhurst University","Mount Angel Seminary","Multnomah Bible College & Seminary","National College of Naturopathic Medicine","Northwest Christian College","Oregon Graduate Institute of Science & Technology","Oregon Health Sciences University","Oregon Institute of Technology","Oregon State University","Pacific Northwest College of Art","Pacific University","Portland State University","Reed College","Southern Oregon University","University of Oregon","University of Portland","Warner Pacific College","Western Oregon University","Western States Chiropractic College","Willamette University");

myAr["Pennsylvania"]=new Array("Albright College","Allegheny College","Alvernia College","American College","Arcadia University","Baptist Bible College","Bloomsburg University of Pennsylvania","Bryn Athyn College of the New Church","Bryn Mawr College","Bucknell University","Cabrini College","California University of Pennsylvania","Carlow College","Carnegie Mellon University","Cedar Crest College","Chatham College","Chestnut Hill College","Cheyney University","Clarion University of Pennsylvania","College Misericordia","Curtis Institute of Music","Delaware Valley College","DeSales University","Dickinson College","Drexel University","Duquesne University","East Stroudsburg University of Pennsylvania","Eastern College","Edinboro University of Pennsylvania","Elizabethtown College","Franklin & Marshall College","Gannon University","Geneva College","Gettysburg College","Gratz College","Grove City College","Gwynedd Mercy College","Haverford College in Pennsylvania","Holy Family University","Immaculata College","Indiana University of Pennsylvania","Juniata College","Keystone College","Kings College","Kutztown University of Pennsylvania","La Roche College","Lafayette College","Lancaster Bible College","LaSalle University","Lebanon Valley College","Lehigh University","Lincoln University","Lock Haven University of Pennsylvania","Lycoming College","Mansfield University of Pennsylvania","Marywood University","Mercyhurst College","Messiah College","Millersville University of Pennsylvania","Moore College of Art & Design","Moravian College","Mount Aloysius College","Muhlenberg College","Neumann College","Peirce College","Pennsylvania College of Optometry","Pennsylvania State University System","--Abington","--Altoona","--Beaver","--Behrend College, Erie","--Berks","--College of Medicine","--Commonwealth College","--Delaware County","--Dickinson School of Law","--DuBois","--Fayette","--Great Valley","--Harrisburg","--Hazleton","--Lehigh Valley","--McKeesport","--New Kensington","--Mont Alto","--Pennsylvania College of Technology","--Schuylkill","--Shenango","--University Park (main campus)","--Wilkes-Barre","--Worthington Scranton","--York","Philadelphia Biblical University","Philadelphia University","Point Park University","Robert Morris College","Rosemont College","Saint Francis University","Saint Joseph's University","Saint Vincent College","Seton Hill College","Shippensburg University of Pennsylvania","Slippery Rock University of Pennsylvania","Susquehanna University","Swarthmore College","Temple University","Thiel College","Thomas Jefferson University","United States Army War College","University of Pennsylvania","University of Pittsburgh","Bradford","Greensburg","Johnstown","University of Scranton","University of the Arts","University of the Sciences in Philadelphia","Ursinus College","Valley Forge Christian College","Villanova University","Washington & Jefferson College","Waynesburg College","West Chester University of Pennsylvania","Westminster College","Westminster Theological Seminary","Widener University","Wilkes University","Wilson College","York College of Pennsylvania");

myAr["Puerto Rico"]=new Array("American University of Puerto Rico","Antillean Adventist University","Caribbean University","Carlos Albizu University-San Juan","Centro de Estudios Avanzados de Puerto Rico y el Caribe","Conservatorio de Musica de Puerto Rico","Escuela de Artes Plasticas de Puerto Rico","Polytechnic University of Puerto Rico","Ponce School of Medicine","Pontificia Universidad Catolica de Puerto Rico","Seminario Evangelico de Puerto Rico","Sistema Universitario Ana G. Mendez","--Universidad del Este","--Universidad Metropolitana","--Universidad del Turabo","Universidad Central de Bayamon","Universidad Central del Caribe","Universidad del Sagrado Corazon","Universidad Interamericana de Puerto Rico","--Aguadilla Campus","--Arecibo Campus","--Barranquitas Campus","--Bayamon Campus","--Fajardo Campus","--Guayama Campus","--Metropolitan Campus","--Ponce Campus","--San German Campus","--School of Law","--School of Optometry","University of Puerto Rico System","--Aguadilla","--Arecibo","--Bayamon","--Carolina","--Cayey","--Ciencias Medicas","--Humacao","--Mayaguez","--Ponce","--Rio Piedras","--Utuado");

myAr["Rhode Island"]=new Array("Brown University","Bryant College","Johnson & Wales University","Naval War College","New England Institute of Technology","Providence College","Rhode Island College","Rhode Island School of Design","Roger Williams University","Salve Regina University","University of Rhode Island");

myAr["South Carolina"]=new Array("Allen University","Anderson College","Benedict College","Bob Jones University","Charleston Southern University","The Citadel","Claflin University","Clemson University","Coastal Carolina University","Coker College","College of Charleston","Columbia College","Columbia International University","Converse College","Erskine College","Francis Marion University","Furman University","Johnson & Wales University-Charleston","Lander University","Limestone College","Medical University of South Carolina","Morris College","Newberry College","North Greenville University","Presbyterian College","Sherman College of Straight Chiropractic","South Carolina State University","Southern Wesleyan University","University of South Carolina System","--Aiken","--Beaufort","--Columbia","--Lancaster","--Sumter","--Union","--Upstate","Voorhees College","Winthrop University","Wofford College");

myAr["South Dakota"]=new Array("Augustana College","Black Hills State University","Dakota State University","Dakota Wesleyan University","Mount Marty College","National American University","Northern State University","Oglala Lakota College","Presentation College","Sinte Gleska University","South Dakota School of Mines & Technology","South Dakota State University","University of Sioux Falls","University of South Dakota");

myAr["Tennessee"]=new Array("Aquinas College","Austin Peay State University","Baptist Memorial College of Health Sciences","Belmont University","Bethel College","Bryan College","Carson-Newman College","Christian Brothers University","Church of God Theological Seminary","Crichton College","Cumberland University","East Tennessee State University","Fisk University","Freed-Hardeman University","Johnson Bible College","King College","Knoxville College","Lambuth University","Lane College","Lee University","LeMoyne-Owen College","Lincoln Memorial University","Lipscomb University","Martin Methodist College","Maryville College","Meharry Medical College","Memphis College of Art","Middle Tennessee State University","Milligan College","Rhodes College","South College","Southern Adventist University","Southern College","Southern College of Optometry","Tennessee State University","Tennessee Technological University","Tennessee Temple University","Tennessee Wesleyan College","Trevecca Nazarene University","Tusculum College","Union University","University of Memphis","University of Tennessee System","--Chattanooga","--Knoxville","--Martin","--Memphis","University of the South","Vanderbilt University");

myAr["Texas"]=new Array("Abilene Christian University","Ambassador University (closed spring 1997)","Amberton University","Arlington Baptist College","Art Institute of Dallas","Art Institute of Houston","Austin College","Austin Graduate School of Theology","Austin Presbyterian Theological Seminary","Baptist Missionary Association Theological Seminary","Baylor College of Medicine","Baylor University","College of Saint Thomas More","Concordia University-Austin","Criswell College","Dallas Baptist University","Dallas Christian College","Dallas Theological Seminary","DeVry University-Dallas","East Texas Baptist University","Episcopal Theological Seminary of the Southwest","Hardin-Simmons University","Houston Baptist University","Howard Payne University","Huston-Tillotson University","Jarvis Christian College","LeTourneau University","Lubbock Christian University","McMurry University","Midwestern State University","Northwood University","Oblate School of Theology","Our Lady of the Lake University","Parker College of Chiropractic","Paul Quinn College","Rice University","St. Edward's University","St. Mary's University of San Antonio","Schreiner University","Southern Methodist University","South Texas College of Law","Southwestern Adventist University","Southwestern Assemblies of God University","Southwestern Baptist Theological Seminary","Southwestern Christian College","Southwestern University","Stephen F. Austin State University","Texas A&M University System","--Baylor College of Dentistry","--College Station","--Commerce","--Corpus Christi","--Galveston","--Health Science Center","--Kingsville","--Prairie View A&M University","--Tarleton State University","--Texarkana","--Texas A&M International University (Laredo)","--West Texas A&M University","Texas Chiropractic College","Texas Christian University","Texas College","Texas Lutheran University","Texas Southern University","Texas State University System","--Angelo State University","--Lamar University","--Sam Houston State University","--Sul Ross State University","--Texas State University-San Marcos","Texas Tech University","--Health Sciences Center","Texas Wesleyan University","Texas Woman's University","Trinity University","University of Dallas","University of Houston System","--main campus","--Clear Lake","--Downtown","--Victoria","University of Mary Hardin-Baylor","University of North Texas","--Health Science Center at Ft. Worth","University of Saint Thomas","University of Texas System","--Arlington","--Austin","--Brownsville","--Dallas","--El Paso","--Pan American","--Permian Basin","--San Antonio","--Tyler","--Health Science Center at Houston","--Health Science Center at San Antonio","--Health Center at Tyler","--M.D. Anderson Cancer Center","--Medical Branch at Galveston","--Southwestern Medical Center at Dallas","University of the Incarnate Word","Wayland Baptist University","Wiley College");

myAr["The Virgin Islands"]=new Array("University of the Virgin Islands");

myAr["Utah"]=new Array("Brigham Young University","College of Eastern Utah","Dixie State College","Southern Utah University","University of Utah","Utah State University","Utah Valley State College","Weber State University","Western Governors University","Westminster College");

myAr["Vermont"]=new Array("Bennington College","Burlington College","Castleton State University","Champlain College","College of St. Joseph","Goddard College","Green Mountain College","Johnson State College","Lyndon State College","Marlboro College","Middlebury College","Norwich University","Saint Michael's College","School for International Training","Southern Vermont College","Sterling College","University of Vermont","Vermont Law School","Vermont Technical College");

myAr["Virginia"]=new Array("Averett College","Bluefield College","Bridgewater College","Christendom College","Christopher Newport University","College of William and Mary","DeVry University-Crystal City","Eastern Mennonite University","Eastern Virginia Medical School","ECPI College of Technology","Emory & Henry College","Ferrum College","George Mason University","George Washington University-Virginia Campus","Hampden-Sydney College","Hampton University","Hollins University","Institute for the Psychological Sciences","Institute of Textile Technology","James Madison University","Jefferson College of Health Sciences","Liberty University","Longwood University","Lynchburg College","Marine Corps University","Mary Baldwin College","Marymount University","Norfolk State University","Old Dominion University","Radford University","Randolph-Macon College","Randolph-Macon Woman's College","Regent University","Roanoke College","Saint Paul's College","Shenandoah University","Sweet Briar College","United States Marine Corps University","University of Mary Washington","University of Richmond","University of Virginia","University of Virginia's College at Wise","Virginia Commonwealth University","Virginia Intermont College","Virginia Military Institute","Virginia Polytechnic Institute and State University","Virginia State University","Virginia Union University","Virginia Wesleyan College","Washington Bible College/Capital Bible Seminary","Washington & Lee University");

myAr["Washington"]=new Array("Antioch University-Seattle","Art Institute of Seattle","Bastyr University","Central Washington University","City University","Eastern Washington University","Evergreen State College","Gonzaga University","Henry Cogswell College","Heritage University","Northwest University","Pacific Lutheran University","St. Martin's College","Seattle Pacific University","Seattle University","Trinity Lutheran College","University of Puget Sound","University of Washington","--Bothell campus","--Tacoma campus","Walla Walla College","Washington State University","--Spokane campus","--Tri-Cities campus","--Vancouver campus","Western Washington University","Whitman College","Whitworth College");

myAr["West Virginia"]=new Array("Alderson-Broaddus College","Bethany College","Bluefield State College","Concord University","Davis & Elkins College","Fairmont State College","Glenville State College","Marshall University","Mountain State University","Ohio Valley College","Salem International University","Shepherd University","University of Charleston","West Liberty State College","West Virginia State University","West Virginia University","West Virginia University Institute of Technology","West Virginia University at Parkersburg","West Virginia Wesleyan College","Wheeling Jesuit University");

myAr["Wisconsin"]=new Array("Alverno College","Beloit College","Cardinal Stritch College","Carroll College","Carthage College","Concordia University-Wisconsin","Edgewood College","Lakeland College","Lawrence University","Maranatha Baptist Bible College","Marian College of Fond du Lac","Marquette University","Medical College of Wisconsin","Milwaukee School of Engineering","Mount Mary College","Northland College","Ripon College","St. Norbert College","Silver Lake College","University of Wisconsin System","--Eau Claire","--Green Bay","--LaCrosse","--Madison","--Milwaukee","--Oshkosh","--Parkside","--Platteville","--River Falls","--Stevens Point","--Stout","--Superior","--Whitewater","Viterbo University","Wisconsin Lutheran College","Wisconsin School of Professional Psychology");

myAr["Wyoming"]=new Array("University of Wyoming");

function checkreside(sval,uval,unval)
{


	if (document.form2.State.selectedIndex==54)	
	{	
	
	if (document.getElementById('dState')!=null)
	document.getElementById('dState').innerHTML='<table cellspacing="2" cellpadding="0" border="0"><tr><td nowrap width=220><span class=txt7><span class=required> * </span><b>Please specify </span></b><b>:</b></td><td class=block nowrap valign=top><input class="pole2" type=text size=25 name="oState" value="'+sval+'"></td></tr><tr><td colspan=3 class=block></td></tr><tr><td nowrap width=220><span class=txt7><span class=required> * </span><b>Please specify Alma Mater</span></b><b>:</b></td><td class=block nowrap valign=top><input class="pole2" type=text size=25 name="ouniversity" value="'+uval+'"></td></tr><tr><td colspan=3 class=block></td></tr></table>';
	document.form2.university.disabled=true;
	document.form2.aState.disabled=true;
	}
	else
	{ 
		if (document.getElementById('dState')!=null)
		document.getElementById('dState').innerHTML='';
		document.form2.university.disabled=false;
		document.form2.aState.disabled=false;
		//var si=document.form2.State.selectedIndex;
		//var sname=document.form2.State[si].text;
		
		
		//for (var i= document.form2.university.length; i>=0; i--) 
		//{
  			//document.write(myAr[sname][i] + "<br>");
  		//	document.form2.university.options[i]=null;
  		//}
		
		//for (var i= 0; i<myAr[sname].length; i++) 
		//{
  			//document.write(myAr[sname][i] + "<br>");
  			//mystr = new String (myAr[sname][i]);
  			
  			//if (mystr.substring(0,2)=='--')
  			//{
  			//	mystr=mystr.substring(2,mystr.length);
  			//	for (var k= i; k>=0; k--) 
  			//	{
  			//		mystr1 = new String (myAr[sname][k]);
  			//		if (mystr1.substring(0,2)!='--')  					
  			//		{
  			//			vval=mystr1+" - "+mystr;
  			//			break;
  			//		}
  					
  			//	}
  			//}
  			//else vval=mystr;
  			
  			//document.form2.university.options[i] = new Option (myAr[sname][i],vval);
  		//}
  		//alert(unval);
  		//for (var i = 0; i < document.form2.university.length; i++) 
		//{	
			
		//	if (document.form2.university[i].value==unval)
		//	document.form2.university.selectedIndex=i; 	
		//}  		
		
	}
}



function checkreside1()
{

	
	if (document.form2.State.selectedIndex==55)		
	document.form2.university.disabled=true;
	else if (document.form2.State.selectedIndex==0)
	{
		for (var i= document.form2.university.length; i>=0; i--) 
		{
  			//document.write(myAr[sname][i] + "<br>");
  			document.form2.university.options[i]=null;
  		}
		document.form2.university.options[0] = new Option ("Any","Any");
	}
	else
	{
		document.form2.university.disabled=false;
		var si=document.form2.State.selectedIndex;
		var sname=document.form2.State[si].text;
		
		for (var i= document.form2.university.length; i>=0; i--) 
		{
  			//document.write(myAr[sname][i] + "<br>");
  			document.form2.university.options[i]=null;
  		}
		
		
		document.form2.university.options[0] = new Option ("Any","Any");
		
		for (var i= 0; i<myAr[sname].length; i++) 
		{
  			//document.write(myAr[sname][i] + "<br>");
  			mystr = new String (myAr[sname][i]);
  			
  			if (mystr.substring(0,2)=='--')
  			{
  				mystr=mystr.substring(2,mystr.length);
  				for (var k= i; k>=0; k--) 
  				{
  					mystr1 = new String (myAr[sname][k]);
  					if (mystr1.substring(0,2)!='--')  					
  					{
  						vval=mystr1+" - "+mystr;
  						break;
  					}
  					
  				}
  			}
  			else vval=mystr;
  			ki=i+1;
  			document.form2.university.options[ki] = new Option (myAr[sname][i],vval);
  		}
  		
  		
	}

}	


function checkreside2(unval)
{	
	
		var si=document.form2.aState.selectedIndex;
		var sname=document.form2.aState[si].text;
		
		for (var i= document.form2.university.length; i>=0; i--) 
		{
  			//document.write(myAr[sname][i] + "<br>");
  			document.form2.university.options[i]=null;
  		}
		
		
		document.form2.university.options[0] = new Option ("Any","Any");
		
		for (var i= 0; i<myAr[sname].length; i++) 
		{
  			//document.write(myAr[sname][i] + "<br>");
  			mystr = new String (myAr[sname][i]);
  			
  			if (mystr.substring(0,2)=='--')
  			{
  				mystr=mystr.substring(2,mystr.length);
  				for (var k= i; k>=0; k--) 
  				{
  					mystr1 = new String (myAr[sname][k]);
  					if (mystr1.substring(0,2)!='--')  					
  					{
  						vval=mystr1+" - "+mystr;
  						break;
  					}
  					
  				}
  			}
  			else vval=mystr;  			
  			document.form2.university.options[i] = new Option (myAr[sname][i],vval);
  			
  			
  		}
  		
  		
  		for (var i = 0; i < document.form2.university.length; i++) 
			{				
				if (document.form2.university[i].value==unval)
				document.form2.university.selectedIndex=i; 	
			}  		

}	



function checkresidesearch(unval)
{	
	
		var si=document.form2.aState.selectedIndex;
		var sname=document.form2.aState[si].text;
		
		
		if (si==0)
		{
			for (var i= document.form2.university.length; i>=0; i--) 
			{
  			//document.write(myAr[sname][i] + "<br>");
  			document.form2.university.options[i]=null;
  			}
  			document.form2.university.options[0] = new Option ("Any","Any");
  		}	
		
		else
		{
		
		
		for (var i= 0; i<myAr[sname].length; i++) 
		{
  			//document.write(myAr[sname][i] + "<br>");
  			mystr = new String (myAr[sname][i]);
  			
  			if (mystr.substring(0,2)=='--')
  			{
  				mystr=mystr.substring(2,mystr.length);
  				for (var k= i; k>=0; k--) 
  				{
  					mystr1 = new String (myAr[sname][k]);
  					if (mystr1.substring(0,2)!='--')  					
  					{
  						vval=mystr1+" - "+mystr;
  						break;
  					}
  					
  				}
  			}
  			else vval=mystr;  			
  			document.form2.university.options[i] = new Option (myAr[sname][i],vval);
  			
  			
  		}
  		
  		
  		
	}		

}	




function poptastic(url){

var newwindow;
newwindow=window.open(url,'name','height=400,width=200,left=20,top=20,toolbar=no,menubar=no,directories=no,location=no,scrollbars=no,status=no,resizable=yes,fullscreen=no');
if (window.focus) {newwindow.focus()}
}

function prof_del(val)
{
 
 	f=confirm("Are you sure that you want to delete this profession?\nThis will lead to deletion of all the articles and articles sections associated with this profession");
 	if (f==true) 	
 	{
 		document.deleteprofform.deleteID.value=val; 		
 		document.deleteprofform.submit();
 		
 	} 	
 
}


function artcat_del(val)
{
 
 	f=confirm("Are you sure that you want to delete this category?\nThis will lead to deletion of all the articles associated with this category");
 	if (f==true) 	
 	{
 		document.deleteartcatform.deleteID.value=val; 		
 		document.deleteartcatform.submit();
 		
 	} 	
 
}




function confirmanswer()
{
 if (document.answerform.answer.value=='')
 	alert ('Please enter your answer');
 else
 {
 	f=confirm("Are you sure that you want to send this answer?");
 	if (f==true) 	
 		document.answerform.submit();
 }	
 
}

function poptastic(url){

var newwindow;
newwindow=window.open(url,'name','height=400,width=200,left=20,top=20,toolbar=no,menubar=no,directories=no,location=no,scrollbars=no,status=no,resizable=yes,fullscreen=no');
if (window.focus) {newwindow.focus()}
}

 
function checkothervalue(the_form,selectname)
{

if (document.forms[the_form].elements[selectname]!=null)
{
var perlen=document.forms[the_form].elements[selectname].length;
var perval=document.forms[the_form].elements[selectname].selectedIndex;
var tper="d"+selectname;

if (document.all[tper]!=null)
{

if (perval==perlen-1)
document.all[tper].style.visibility="visible";
else document.all[tper].style.visibility="hidden";
}

}

} 
 
function setCheckboxes(the_form, do_check)
{
    var elts      = document.forms[the_form].elements;
    var elts_cnt  = elts.length;
	
    for (var i = 0; i < elts_cnt; i++) {
        elts[i].checked = do_check;
    } // end for

    return true;
} // end of the 'setCheckboxes()' function


var win = "width=400,height=500,left=100,top=100,copyhistory=no,directories=no,menubar=no,location=no,resizable=no,scrollbars=yes";
function get_gallery(id_prof)
{
   window.open("photo_gallery.html?memID="+id_prof,'html','top=100,left=120, width=700, height=600, menubar=0,scrollbars=1,status=0,resizable=1',win);
}


function checksetother(the_form,checkname)
{	

var tper="d"+checkname;


if (document.forms[the_form].elements[checkname].checked==true)
document.all[tper].style.visibility="visible";
else document.all[tper].style.visibility="hidden";
	

}


function launchIM ()
{
	var win = "width=600,height=450,left=100,top=100,copyhistory=no,directories=no,menubar=no,location=no,resizable=no,scrollbars=no";
	window.open("imchat/",'html',win);
	return false;
}

function launchTellFriend ()
{
    var win = "width=300,height=300,left=100,top=100,copyhistory=no,directories=no,menubar=no,location=no,resizable=no,scrollbars=yes";
    window.open("tellfriend.php",'html',win);
    return false;
}

function launchTellFriendProfile ( sID )
{
    var win = "width=300,height=300,left=100,top=100,copyhistory=no,directories=no,menubar=no,location=no,resizable=no,scrollbars=yes";
    window.open("tellfriend.php?ID="+sID,'html',win);
    return false;
}

function ShowShowHide ( show_name, show_name2, hide_name )
{
    if (hide_name) hide_name.style.display = 'none';
    if (show_name) show_name.style.display = 'inline';
    if (show_name2) show_name2.style.display = 'inline';
}

function ShowHideHide ( show_name, hide_name, hide_name2 )
{
    if (hide_name) hide_name.style.display = 'none';
    if (hide_name2) hide_name2.style.display = 'none';
    if (show_name) show_name.style.display = 'inline';
}



function setStates1(inc){
var array1 = 54;
var states = new Array(array1);
states[0] = "Alabama";
states[1] = "Alaska";
states[2] = "Arizona";
states[3] = "Arkansas";
states[4] = "California";
states[5] = "Colorado";
states[6] = "Connecticut";
states[7] = "D.C.";
states[8] = "Delaware";
states[9] = "Florida";
states[10] = "Georgia";
states[11] = "Guam";
states[12] = "Hawaii";
states[13] = "Idaho";
states[14] = "Illinois";
states[15] = "Indiana";
states[16] = "Iowa";
states[17] = "Kansas";
states[18] = "Kentucky";
states[19] = "Louisiana";
states[20] = "Maine";
states[21] = "Maryland";
states[22] = "Massachusetts";
states[23] = "Michigan";
states[24] = "Minnesota";
states[25] = "Mississippi";
states[26] = "Missouri";
states[27] = "Montana";
states[28] = "Nebraska";
states[29] = "Nevada";
states[30] = "New Hampshire";
states[31] = "New Jersey";
states[32] = "New Mexico";
states[33] = "New York";
states[34] = "North Carolina";
states[35] = "North Dakota";
states[36] = "Ohio";
states[37] = "Oklahoma";
states[38] = "Oregon";
states[39] = "Pennsylvania";
states[40] = "Puerto Rico";
states[41] = "Rhode Island";
states[42] = "South Carolina";
states[43] = "South Dakota";
states[44] = "Tennessee";
states[45] = "Texas";
states[46] = "The Virgin Islands";
states[47] = "Utah";
states[48] = "Vermont";
states[49] = "Virginia";
states[50] = "Washington";
states[51] = "West Virginia";
states[52] = "Wisconsin";
states[53] = "Wyoming";
var a=0;
if (inc==1)
{


 document.form3.Relationship.options[a] = new Option ("Any", "any");
 a=a+1;
 for(var i=0;i<array1;i++) {
  document.form3.Relationship.options[a] = new Option (states[i], states[i]);
  a=a+1;
 }
 
 }
 
 if (inc==2)
{


 document.form2.Relationship.options[a] = new Option ("Any", "any");
 a=a+1;
 for(var i=0;i<array1;i++) {
  document.form2.Relationship.options[a] = new Option (states[i], states[i]);
  a=a+1;
 }
 
 }
 
 
}



function setCounties1(){
var array1 = 94;
var county = new Array(array1);
county[0] = "Aberdeenshire";
county[1] = "Angus";
county[2] = "Anglesey";
county[3] = "Argyllshire";
county[4] = "Avon";
county[5] = "Ayrshire";
county[6] = "Banffshire";
county[7] = "Bedfordshire";
county[8] = "Berkshire";
county[9] = "Berwickshire";
county[10] = "Breconshire";
county[11] = "Buckinghamshire";
county[12] = "Buteshire";
county[13] = "Caernarvonshire";
county[14] = "Caithness";
county[15] = "Cambridgeshire";
county[16] = "Cardiganshire";
county[17] = "Carmarthenshire";
county[18] = "Cheshire";
county[19] = "Clackmannanshire";
county[20] = "Clwyd";
county[21] = "Cornwall";
county[22] = "Cumbria";
county[23] = "Denbighshire";
county[24] = "Derbyshire";
county[25] = "Devon";
county[26] = "Dorset";
county[27] = "Dumfries";
county[28] = "Dunbarton";
county[29] = "Durham";
county[30] = "Dyfed";
county[31] = "East Lothian";
county[32] = "Essex";
county[33] = "Fifeshire";
county[34] = "Flintshire";
county[35] = "Glamorgan";
county[36] = "Gloucestershire";
county[37] = "Greater Manchester";
county[38] = "Gwent";
county[39] = "Gwynedd";
county[40] = "Hampshire";
county[41] = "Hereford & Worcester";
county[42] = "Hertfordshire";
county[43] = "Humberside";
county[44] = "Inverness-shire";
county[45] = "Isle of Wight";
county[46] = "Kent";
county[47] = "Kincardine";
county[48] = "Kinross";
county[49] = "Kirkcudbrightshire";
county[50] = "Lanarkshire";
county[51] = "Lancashire";
county[52] = "Leicestershire";
county[53] = "Lincolnshire";
county[54] = "London";
county[55] = "Merionethshire";
county[56] = "Merseyside";
county[57] = "Midlothian";
county[58] = "Monmouthshire";
county[59] = "Montgomeryshire";
county[60] = "Morayshire";
county[61] = "Nairn";
county[62] = "Norfolk";
county[63] = "North Yorkshire & Teesside";
county[64] = "Northamptonshire";
county[65] = "Northern Ireland";
county[66] = "Northumbria";
county[67] = "Nottinghamshire";
county[68] = "Orkney Islands";
county[69] = "Oxfordshire";
county[70] = "Peeblesshire";
county[71] = "Pembrokeshire";
county[72] = "Perthshire";
county[73] = "Powys";
county[74] = "Radnorshire";
county[75] = "Renfrewshire";
county[76] = "Ross and Cromarty";
county[77] = "Roxburghshire";
county[78] = "Selkirkshire";
county[79] = "Shetland Islands";
county[80] = "Shropshire";
county[81] = "Somerset";
county[82] = "South & West Yorkshire";
county[83] = "Staffordshire";
county[84] = "Stirlingshire";
county[85] = "Suffolk";
county[86] = "Surrey";
county[87] = "Sussex";
county[88] = "Sutherlandshire";
county[89] = "Warwickshire";
county[90] = "West Lothian";
county[91] = "West Midlands";
county[92] = "Wigtownshire";
county[93] = "Wiltshire";
var a=0;
 document.form3.Relationship.options[a] = new Option ("Any", "any");
 a=a+1;
 for(var i=0;i<array1;i++) {
  document.form3.Relationship.options[a] = new Option (county[i], county[i]);
  a=a+1;
 }
}

function checkstate()
{


if (document.form3.Relationship.selectedIndex==4)
document.form3.college.disabled=false;
if (document.form3.Relationship.selectedIndex!=4)
document.form3.college.disabled=true;



}


function checkstatequick()
{


if (document.form2.Relationship.selectedIndex==4)
document.form2.college.disabled=false;
if (document.form2.Relationship.selectedIndex!=4)
document.form2.college.disabled=true;



}

function setRegion1(){
var array1 = 12;
var region = new Array(array1);
region[0]="Central England";
region[1]="North England";
region[2]="North East England";
region[3]="East England";
region[4]="South East England";
region[5]="South England";
region[6]="South West England";
region[7]="West England";
region[8]="North West England";
region[9]="Scotland";
region[10]="Wales";
region[11]="Northern Ireland";


var a=0;
// document.form3.RealName.options[a] = new Option ("Any", "any");
 a=a+1;
 for(var i=0;i<array1;i++) {
//  document.form3.RealName.options[a] = new Option (region[i], region[i]);
  a=a+1;
 }
}


function checkSex(){
var sIndex = document.form3.Sex.selectedIndex;
var sexval = document.form3.Sex.options[sIndex].value;
if (sexval == "male")
 {
 	document.form3.LookingFor.value="female";
 }
 if (sexval == "female")
 {
 	document.form3.LookingFor.value="male";
 }
}
function checkCountry1(){
 document.form3.Relationship.options.length=0;
// document.form3.RealName.options.length=0;
 var cIndex = document.form3.Country.selectedIndex;
 var country = document.form3.Country.value;
 if(country=="163")
{
 setCounties1();
// setRegion1();
}
 else {
  if(country=="164") 
  {
   setStates1(1); 
  }
  else 
  {
 
document.form3.Relationship.options[0] = new Option ("Any", "any");
  }
//   document.form3.RealName.options[0]=new Option ("Any","any"); 
 }
}


function checkCountry2(){
 document.form2.Relationship.options.length=0;
// document.form3.RealName.options.length=0;
// var cIndex = document.form2.country.selectedIndex;
 var country = document.form2.country.value;
 if(country=="16344")
{
// setCounties1();
// setRegion1();
}
 else {
  if(country=="164") 
  {
   setStates1(2); 
  }
  else 
  {
 
document.form2.Relationship.options[0] = new Option ("Any", "any");
  }
//   document.form2.RealName.options[0]=new Option ("Any","any"); 
 }
}

