<!-- Begin



var selectImage = "standard.gif";



var sErr;

var PersonalPlateCount=0;


var standardArray =  new Array("('Select Plate','',true,true)",

"('Amateur Radio', 'amateurradio/blue/6/0')",

"('Custom Vehicle', 'custom/blue/6/0')",

"('Historic Vehicle', 'historic/blue/6/0')",

"('Shuttle Bus', 'shuttle/blue/6/0')",

"('Standard', 'standard/blue/6/0')",

"('Street Rod', 'street/blue/6/0')",

"('Vanpool', 'vanpool/blue/6/0')");


var collegiateArray =  new Array("('Select Plate','',true,true)",

"('Baptist Bible College', 'mo-53/black/6/2')",

"('Central Methodist University', 'mo-17/black/6/2')",

"('Columbia College', 'mo-47/black/6/2')",

"('Culver-Stockton College', 'mo-29/black/6/2')",

"('Drury University', 'mo-28/black/6/2')",

"('Fontbonne University', 'fontbon/black/6/2')",

"('Lincoln University', 'mo-31/black/6/2')",

"('Lindenwood University', 'mo-32/black/6/2')",

"('Maryville University of St. Louis', 'mryvlstl/black/6/2')",

"('Missouri Southern State University', 'mo-27/black/6/2')",

"('Missouri State University', 'mo-23/black/6/2')",

"('Missouri University of Science and Technology', 'mo-21/black/6/2')",

"('Missouri Valley College', 'mo-51/black/6/2')",

"('Missouri Western State University', 'mo-33/black/6/2')",

"('Northwest Missouri State University', 'mo-26/black/6/2')",

"('Park University', 'parkuniv/black/6/2')",

"('Ranken Technical College ', 'ranken/black/6/2')",

"('Rockhurst University', 'mo-25/black/6/2')",

"('Saint Louis University', 'mo-22/black/6/2')",

"('Southeast Missouri State', 'mo-24/black/6/2')",

"('St. Louis College of Pharmacy', 'stlcolrx/black/6/3')",

"('Stephens College', 'stephenscollege/black/6/3')",

"('Truman State University', 'mo-16/black/6/2')",

"('University of Central Missouri', 'mo-30/black/6/2')",

"('University Of Missouri - Columbia (Mizzou)', 'mo-37/black/6/2')",

"('University Of Missouri - Kansas City', 'mo-20/black/6/2')",

"('University Of Missouri - St. Louis', 'mo-34/black/6/2')",

"('Washington University', 'mo-35/black/6/2')",

"('Webster University', 'mo-50/black/6/2')",

"('Westminster College', 'mo-19/black/6/2')",

"('William Jewell College', 'mo-36/black/6/2')",

"('William Woods University', 'wwu/black/6/2')");




var militaryArray =  new Array("('Select Plate','',true,true)",

"('Air Force', 'mo-41/blue/6/3')",

"('Air Medal', 'airmedal/black/6/3')",

"('Armed Forces Expeditionary Medal', 'armedforces/blue/6/2')",

"('Army', 'mo-43/blue/6/3')",

"('Bronze Star', 'brnzstar/blue/6/1')",

"('Bronze Star Valor', 'brnzstarv/blue/6/1')",

"('Civil Air Patrol', 'civilair/darkblue/6/3')",

"('Coast Guard', 'coast/blue/6/3')",

"('Combat Action', 'action/black/6/3')",

"('Combat Action Ribbon', 'combact/black/6/3')",

"('Combat Infantryman', 'combtinf/babyblue/6/3')",

"('Combat Medic', 'combmed/darkblue/6/3')",

"('Congressional Medal Of Honor', 'mo-18/blue/6/2')",

"('Disabled Veteran', 'mo-8/blue/6/2')",

"('Disabled Veteran (Alternate)', 'mo-7/blue/6/2')",

"('Distinguished Flying Cross', 'dflycrs/blue/6/1')",

"('Former P.O.W.', 'mo-10/blue/6/2')",

"('Gulf War Veteran', 'gulfwar/blue/6/2')",

"('Korean War Veteran', 'korean/blue/6/2')",

"('Legion of Merit', 'legion-of-merit/black/6/3')",

"('Marine', 'mo-44/blue/6/3')",

"('Marine Corps League', 'mo-4/blue/6/3')",

"('Merchant Marine', 'merchant/blue/6/3')",

"('National Guard', 'mo-3/blue/6/3')",

"('Navy', 'mo-42/blue/6/3')",

"('Operation Enduring Freedom', 'openduring/black/6/3')",

"('Operation Iraqi Freedom Veteran', 'iraqifreedom/black/6/3')",

"('Operation Noble Eagle', 'nobleeagle/black/6/3')",

"('Pearl Harbor Survivor', 'mo-39/blue/6/3')",

"('Purple Heart', 'mo-15/purple/6/2')",

"('Retired Air Force', 'MO-41RM/darkblue/6/3')",

"('Retired Army', 'MO-43RM/darkblue/6/3')",

"('Retired Marine', 'MO-44RM/darkblue/6/3')",

"('Retired Marine Corps League', 'MO-4RM/darkblue/6/3')",

//"('Retired Merchant Marine', 'merchantmarine/darkblue/6/3')",

"('Retired Military Coast Guard', 'rmcg/darkblue/6/3')",

"('Retired National Guard', 'MO-3RM/darkblue/6/3')",

"('Retired Navy', 'MO-42RM/darkblue/6/3')",

"('Silver Star', 'mo-13/blue/6/2')",

"('Some Gave All (Gold Star)', 'somegaveall/darkblue/6/3')",

"('United States Veteran', 'usvet/black/6/3')",

"('Veterans Of Foreign Wars (VFW)', 'vfw/blue/6/3')",

"('Vietnam Veteran', 'mo-11/blue/6/2')",

"('Wartime Disabled - DAV', 'dav/black/6/2')",

"('We Shall Not Forget', 'notforget/blue/6/2')",

"('World War II Veteran', 'wwiivet/blue/6/2')");



var organizationalArray =  new Array("('Select Plate','',true,true)",

"('Alpha Kappa Alpha', 'aka/black/6/3')",

"('Alpha Phi Alpha', 'aphia/black/6/3')",

"('American Heart Association (Winning Women)', 'winningwomen/black/6/3')",

"('American Legion', 'amlegn/black/6/3')",

"('Arkansas Alumni - Go Hogs!', 'arkalumni/black/6/3')",

"('Be An Organ Donor', 'organdonor/darkblue/6/3')",

"('Breast Cancer Awareness', 'bcancer/black/6/3')",

"('Cave State', 'cavestate/black/6/4')",

"('Childrens Trust Fund', 'mo-12/black/6/4')",

"('Choose Life', 'chooselife/black/6/3')",

"('Conservation (Bald Eagle)', 'chf-baldeagle/black/6/3')",

"('Conservation (Bluebird)', 'chf-bird/black/6/3')",

"('Conservation (Deer)', 'chf-deer/black/6/3')",

"('Coroners Office (MCMEA)', 'coroner/black/6/2')",

"('Delta Sigma Theta', 'deltasigtheta/black/6/2')",

"('Don\\'t Tread on Me', 'tread/blue/6/0')",

"('Ducks Unlimited', 'dckunlmt/blue/6/2')",

"('Eagle Scout', 'eaglesct/black/6/3')",

"('EMT', 'emt/black/6/2')",

"('Fight Terrorism', 'terrorism/darkblue/6/3')",

"('Firefighter','mo-40/black/6/2')",

"('Former Missouri Legislator','legislator/black/6/3')",

"('Fraternal Order Of Eagles', 'mo-38/darkblue/6/3')",

"('Fraternal Order Of Police', 'police/darkblue/6/3')",

"('Friends Of Arrow Rock', 'friendsofarrowrock/black/6/3')",

"('God Bless America', 'gba/darkblue/6/3')",

"('Grand Lodge Freemason', 'mo-5/darkblue/6/3')",

"('Hearing Impaired Kids Endowment', 'hearing/black/6/3')",

"('Helping Schools', 'mo-48/black/6/3')",

"('I\\'m Pet Friendly', 'petfriendly/black/6/3')",

"('Jefferson National Parks Association (Gateway To The West)', 'jefnatprks/darkblue/6/3')",

"('Kansas City Chiefs', 'kcchiefs/black/6/3')",

"('Kansas City Zoo', 'kczoo/black/6/3')",

"('Kappa Alpha Psi', 'KAPsi/black/6/3')",

"('Knights Of Columbus', 'mo-14/darkblue/6/3')",

"('Kingdom Of Calontir', 'calontir/black/6/3')",

"('Lions Club', 'lions/black/6/3')",

"('MASTERS', 'masters/black/6/3')",

"('Missouri 4-H', 'clover/blue/6/3')",

"('Missouri Association of Realtors', 'realtors/black/6/3')",

"('Missouri Botanical Garden', 'botgar/blue/6/3')",

"('Missouri Elks Association', 'elks/blue/6/3')",

"('Missouri Federation Of Square & Round Dance Clubs', 'squaredancers/blue/6/3')",

"('Missouri Jaycees', 'jaycplt/darkblue/6/3')",

"('Missouri Remembers POW*MIA', 'POWMIA/black/6/3')",

"('Missouri Task Force 1', 'motask/black/6/3')",

"('Missouri Travel Council', 'travel/black/6/3')",

"('MKN Teamsters', 'teamsters/black/6/3')",

"('MO-AG Agribusiness', 'moag/black/6/3')",

"('Omega Psi Phi', 'omegapsiphi/black/6/3')",

"('Order Of The Arrow', 'orderota/black/6/3')",

"('Order Of The Eastern Star', 'mo-6/darkblue/6/3')",

"('Paramedic', 'paramed/black/6/3')",

"('Prince Hall Grand Lodge Masons', 'mo-46/black/6/3')",

"('Rotary International', 'rotary/darkblue/6/3')",

"('Safari Club International', 'safari/black/6/3')",

"('Search and Rescue (SARCOM)', 'sarcom/black/6/3')",

"('Shriners', 'shrn/black/6/3')",

"('Sigma Gamma Rho', 'SigGamRho/darkblue/6/3')",

"('Special Olympics Missouri', 'specolympics/darkblue/6/3')",

"('St. Louis Blues', 'stblues/black/6/3')",

"('St. Louis Cardinals', 'stlcards/black/6/3')",

"('St. Louis Zoo', 'stlzoo/black/6/3')",

"('Tribe Mic-O-Say - Kansas City District', 'tribemickc/darkblue/6/3')",

"('Tribe Mic-O-Say - St. Joseph District', 'tribemic/darkblue/6/3')",

"('Wilson\\'s Creek National Battlefield', 'wilcreek/black/6/3')");



function split(plateValue)

	{

		if (plateValue == "") {

			plateValue = "standard/blue/6/0";

		}

		var a = plateValue.search("/");

		var plateFile = plateValue.substring(0, a);

		plateValue = plateValue.substring(a+1);

		var b = plateValue.search("/");

	    var plateColor = plateValue.substring(0, b);

	    plateValue = plateValue.substring(b+1);

	    var c = plateValue.search("/");

	    var plateMax = plateValue.substring(0,c);

	    var plateBlank = plateValue.substring(c+1);

	    CheckPersonalPlate(plateFile, plateColor, plateMax, plateBlank);

	}



function CheckPersonalPlate(plateFile, plateColor, plateMax, plateBlank)

	{

	sErr = "NO";

	var VP=(document.showplate_form.PersonalPlateAsOrdered.value);

	chkspace(VP);

	if ((PersonalPlateCount > plateMax))

		{

  		alert("Personalized plate is limited to fewer than " + plateMax + " characters.");

 		sErr="YES";

		}

  	if (sErr == "NO")

		{

		showImage(document.showplate_form.category.options[document.showplate_form.category.selectedIndex].text, plateFile, document.showplate_form.design.options[document.showplate_form.design.selectedIndex].text, document.showplate_form.PersonalPlateAsOrdered.value, plateColor, plateMax, plateBlank);

		}

	}



function chkspace(Field)

	{

	var pos;

	var String = Field.value;

	var StringLength=Field.length;

	PersonalPlateCount=0;

	for (pos=0 ; pos < StringLength ; pos++)

		{

		if ( validatecharacter(Field.charAt(pos) ) == false)

			{

			PersonalPlateCount++;

			}

		}

	}



function validatecharacter(character)

	{

	character = character.toLowerCase();

	if ((character == ' ') || (character == "-") || (character == "'"))

		{

		return true;

		}

	else if (( character == "a") || ( character == "b") || ( character == "c") || ( character == "d") || ( character == "e") || ( character == "f")  || ( character == "g") || ( character == "g") || ( character == "h")  || ( character == "i") || ( character == "j") || ( character == "k") || ( character == "l") || ( character == "m") || ( character == "n")  || ( character == "o")  || ( character == "p") || ( character == "q") || ( character == "r") || ( character == "s") || ( character == "t")  || ( character == "u")  || ( character == "v") || ( character == "w") || ( character == "x") || ( character == "y") || ( character == "z") || ( character == "0") || ( character == "1") || ( character == "2") || ( character == "3") || ( character == "4") || ( character == "5") || ( character == "6") || ( character == "7") || ( character == "8") || ( character == "9"))

		{

		return false;

		}

	else

		{

		alert("You typed an invalid character: " + character);

			sErr="YES";

		}

	}



function getDesigns(inForm, selected) {

	var selectedArray = eval(selected + "Array");

	while (selectedArray.length < inForm.design.options.length) {

		inForm.design.options[(inForm.design.options.length - 1)] = null;

	}

	for (var i=0; i < selectedArray.length; i++) {

		eval("inForm.design.options[i]=" + "new Option" + selectedArray[i]);
		
	}

	if (inForm.category.options[0].value == '') {

		inForm.category.options[0]= null;

		/*if ( navigator.appName == 'Netscape') {

			if (parseInt(navigator.appVersion) < 4) {

				window.history.go(0);

			} else {

				if (navigator.platform == 'Win32' || navigator.platform == 'Win16') {

				window.history.go(0);

            			}
         		} 

		} */

   }

}



function showImage(categoryName, plateFile, plateName, phrase, plateColor, plateMax, plateBlank) {

	var selectImage = "images/" + plateFile + ".gif";

	if (plateName.substring(0,3) ==  "<--") {

		plateName = "Standard";

	}



	message2 = "";

	for (i = 0; i < plateBlank; i++) {

		message2 += '<img src="letters/blank.gif">';

	}



	if (plateFile != "mo-18") {

		for (pos=0 ; pos < phrase.length ; pos++) {

			if (phrase.charAt(pos) != " ") {

				message2 += '<img src = "letters/' + plateColor + phrase.charAt(pos).toLowerCase() + '.gif" hspace = 1>';

			} else if (phrase.charAt(pos) == " ") {

			message2 += '<img src = "letters/blank.gif">';

			}

		}

	}

	if (categoryName == "Collegiate") {

	 	message = "<p>You must submit an Emblem Use Authorization Statement from "+ plateName+ " as proof of the required minimum donation.</p>";

	 	price = "<p>Specialty Plate Fee: $15</p>";
		

	//} else if (plateName == "Disabled Person") {

		//message = "<p>A signed statement, DOR-1776, from a licensed physician must be submitted with your application.</p>";

		//price = "<p>Specialty Plate Fee: $15</p>"; 
        
        } else if (plateName == "Street Rod") {

	 	message = "<p>Your notarized signature will be required, constituting a sworn statement that the registered vehicle was manufactured in 1948 or before and has been modified for safe road use including but not limited to modification of the drive train, suspension, brake system, and safety or comfort apparatus and which is not owned solely as a collector's item and which is not nor intended to be used solely for exhibition and educational purposes.  This registration is non-transferable.  If the vehicle is disposed of, plates must be returned to the Department of Revenue for cancellation.</p>";

	 	price = "<p>Specialty Plate Fee: $15</p>";

	} else if (plateName == "Fight Terrorism") {
					
		message = "<p>You must make an annual $25 contribution to the antiterrorism fund and obtain a receipt from the <a href=\"http:\/\/www.dps.mo.gov/HomelandSecurity/LicensePlateInfo.htm\">Missouri Office of Homeland Security<\/a> or an Emblem Use Authorization statement from the Missouri Department of Revenue.</p>";
					
	 	price = "<p>Specialty Plate Fee: $15</p>";
	
	} else if (plateName == "Fraternal Order Of Police") {
				
		message = "<p>You must be a member of the Missouri Fraternal Order of Police and submit an Emblem Use Authorization Statement from the Missouri Fraternal Order of Police.</p>";
				
	 	price = "<p>Specialty Plate Fee: $15</p>";
	
	} else if (plateName == "Tribe Mic-O-Say - St. Joseph District") {
					
		message = "<p>You must be a member of the Tribe of Mic-O-Say - St. Joseph District and submit an Emblem Use Authorization Statement from the Tribe of Mic-O-Say - St. Joseph District.</p>";
					
	 	price = "<p>Specialty Plate Fee: $15</p>";
	
	} else if (plateName == "Kingdom Of Calontir") {
				
		message = "<p>You must submit an Emblem Use Authorization Statement from the Kingdom of Calontir as proof of a donation.</p>";
				
	 	price = "<p>Specialty Plate Fee: $15</p>";
	
	} else if (plateName == "Missouri Task Force 1") {
				
		message = "<p>You must submit proof of your status as a member of Missouri Task Force 1.  Limited to one set.</p>";
				
	 	price = "<p>Specialty Plate Fee: $15</p>";
	
	} else if (plateName == "Rotary International") {
				
		message = "<p>You must be a member of the Rotary International and submit an Emblem Use Authorization Statement from Rotary International as proof of a donation.</p>";
				
	 	price = "<p>Specialty Plate Fee: $15</p>";
		
	} else if (plateName == "MKN Teamsters") {
				
		message = "<p>You must be a member of the Missouri-Kansas-Nebraska Conference of Teamsters and submit an Emblem Use Authorization Statement from Missouri-Kansas-Nebraska Conference of Teamsters.</p>";
			
		price = "<p>Specialty Plate Fee: $15</p>";
		
	} else if (plateName == "Missouri Travel Council") {
				
		message = "<p>You must submit an Emblem Use Authorization Statement from the Missouri Travel Council as proof of a donation.</p>";
				
	 	price = "<p>Specialty Plate Fee: $15</p>";
		
	} else if (plateName == "Gulf War Veteran") {
				
		message = "<p> The applicant must submit a copy of ONE of the six documents listed below, which must be properly completed, signed, and list the Southwest Asia Service medal as one of the citations/decorations the applicant received:</p><ol><li>Enlisted Record and Report of Separation (Form WD AGO 53-55);</li><li>General Orders;</li><li>Certificate of Release or Discharge From Active Duty (Form DD214);</li><li>Correction To Form DD214 (Form DD215);</li><li>Official Discharge Orders from the United States Armed Forces; or </li><li>Report of Separation and Record of Service (Form NGB 22)</li></ol>";
				
	 	price = "<p>Specialty Plate Fee: $15</p>";
	
	} else if ((plateName == "Air Medal") || (plateName == "Bronze Star") || (plateName == "Distinguished Flying Cross") || (plateName == "Bronze Star Valor")) {

	        message = "<p> The applicant must submit a copy of ONE of the six documents listed below, which must be properly completed, signed, and list the " + plateName + " medal as one of the citations/decorations the applicant received:</p><ol><li>Enlisted Record and Report of Separation (Form WD AGO 53-55);</li><li>General Orders;</li><li>Certificate of Release or Discharge From Active Duty (Form DD214);</li><li>Correction To Form DD214 (Form DD215);</li><li>Official Discharge Orders from the United States Armed Forces; or </li><li>Report of Separation and Record of Service (Form NGB 22)</li></ol>";

	 	price = "<p>Specialty Plate Fee: $15</p>"; 

	} else if ((plateName == "Operation Enduring Freedom") || (plateName == "Operation Noble Eagle") || (plateName == "Operation Iraqi Freedom Veteran")) {
	
		message = "<p> The applicant must submit a copy of ONE of the six documents listed below, which must be properly completed, signed, and list the citations or decorations he or she received for serving in the designated war or conflict:</p><ol><li>Enlisted Record and Report of Separation (Form WD AGO 53-55);</li><li>General Orders;</li><li>Certificate of Release or Discharge From Active Duty (Form DD214);</li><li>Correction To Form DD214 (Form DD215);</li><li>Official Discharge Orders from the United States Armed Forces; or </li><li>Report of Separation and Record of Service (Form NGB 22)</li></ol>";
	
	 	price = "<p>Specialty Plate Fee: $15</p>";
	
	} else if ((plateName.substring(0, 32) == "Armed Forces Expeditionary Medal") || (plateName == "Armed Forces") || (plateName == "Legion of Merit")) {

	        message = "<p>The applicant must submit a copy of ONE of the seven documents listed below, which must be properly completed, signed, and list the " + plateName + " medal as one of the citations or decorations the applicant received:</p><ol><li>Enlisted Record and Report of Separation (Form WD AGO 53-55);</li><li>General Orders;</li><li>Certificate of Release or Discharge From Active Duty (Form DD214);</li><li>Correction To Form DD214 (Form DD215);</li><li>Official Discharge Orders from the United States Armed Forces;</li><li>Report of Separation and Record of Service (Form NGB 22); Or</li><li>Current military ID card.</li></ol>";

	 	price = "<p>Specialty Plate Fee: $15<p>";
	
	
	} else if ((plateName.substring(0, 18) == "Combat Infantryman") || (plateName == "Silver Star")) {

	        message = "<p>The applicant must submit a copy of ONE of the six documents listed below, which must be properly completed, signed, and list the " + plateName + " medal as one of the citations or decorations the applicant received:</p><ol><li>Enlisted Record and Report of Separation (Form WD AGO 53-55);</li><li>General Orders;</li><li>Certificate of Release or Discharge From Active Duty (Form DD214);</li><li>Correction To Form DD214 (Form DD215);</li><li>Official Discharge Orders from the United States Armed Forces; or </li><li>Report of Separation and Record of Service (Form NGB 22)</li></ol>";

	 	price = "<p>Specialty Plate Fee: $15<p>";

	
	} else if (plateName.substring(0, 12) == "Purple Heart") {

	        message = "<p>The applicant must submit a copy of ONE of the six documents listed below, which must be properly completed, signed, and list the " + plateName + " medal as one of the citations or decorations the applicant received:</p><ol><li>Enlisted Record and Report of Separation (Form WD AGO 53-55);</li><li>General Orders;</li><li>Certificate of Release or Discharge From Active Duty (Form DD214);</li><li>Correction To Form DD214 (Form DD215);</li><li>Official Discharge Orders from the United States Armed Forces; or </li><li>Report of Separation and Record of Service (Form NGB 22)</li></ol>";

	 	price = "<p>Specialty Plate Fee: No specialty plate fee for first set. $15 specialty plate fee for second or subsequent set.<p>";

	} else if (plateName == "Civil Air Patrol") {
					
		message = "<p>The applicant must submit an Emblem Use Authorization Statement from the Civil Air Patrol as proof of a donation.</p>";
					
 	 	price = "<p>Specialty Plate Fee: $15</p>";
	
	} else if (plateName == "Combat Action") {
					
		message = "<p>The applicant must submit a copy of ONE of the six documents listed below, which must be properly completed, signed, and list the Combat Action Badge as one of the citations or decorations the applicant received:</p> <ol><li>Enlisted Record and Report of Separation (Form WD AGO 53-55);</li><li>General Orders;</li><li>Certificate of Release or Discharge From Active Duty (Form DD214);</li><li>Correction To Form DD214 (Form DD215);</li><li>Official Discharge Orders from the United States Armed Forces; or </li><li>Report of Separation and Record of Service (Form NGB 22)</li></ol>";
					
	 	price = "<p>Specialty Plate Fee: $15<p>";

	} else if (plateName == "Combat Action Ribbon") {
					
		message = "<p>The applicant must submit a copy of ONE of the six documents listed below, which must be properly completed, signed, and list the Combat Action Ribbon as one of the citations or decorations the applicant received:</p> <ol><li>Enlisted Record and Report of Separation (Form WD AGO 53-55);</li><li>General Orders;</li><li>Certificate of Release or Discharge From Active Duty (Form DD214);</li><li>Correction To Form DD214 (Form DD215);</li><li>Official Discharge Orders from the United States Armed Forces; or </li><li>Report of Separation and Record of Service (Form NGB 22)</li></ol>";
					
	 	price = "<p>Specialty Plate Fee: $15<p>";
	
	}   	else if (plateName == "Combat Medic") {
				
		message = "<p>The applicant must submit a copy of ONE of the six documents listed below, which must be properly completed, signed, and list the Combat Medic badge as one of the citations or decorations the applicant received:</p><ol><li>Enlisted Record and Report of Separation (Form WD AGO 53-55);</li><li>General Orders;</li><li>Certificate of Release or Discharge From Active Duty (Form DD214);</li><li>Correction To Form DD214 (Form DD215);</li><li>Official Discharge Orders from the United States Armed Forces; or</li><li>Report of Separation and Record of Service (Form NGB 22)</li></ol>";
				
	 	price = "<p>Specialty Plate Fee: $15<p>";
	
	} else if (plateName.substring(0, 13) == "Congressional") {

		message = "<p>The applicant must be a resident of Missouri and must submit a letter from the United States Veterans Administration verifying the applicant was awarded the Congressional Medal of Honor</p>";

		price = "<p>Specialty Plate Fee: No Fee</p>";

	} else if (plateName == "Retired Air Force") {
		
		message = "<p>The applicant must submit a copy of his or her military ID card or a notorized statement signed by his or her commanding officer verifying that he or she retired from a branch of the United States Armed Forces or reserves.</p>";
		
		price = "<p>Specialty Plate Fee: No Fee</p>";
		
	} else if (plateName == "Retired Army") {
			
		message = "<p>The applicant must submit a copy of his or her military ID card or a notorized statement signed by his or her commanding officer verifying that he or she retired from a branch of the United States Armed Forces or reserves.</p>";
			
		price = "<p>Specialty Plate Fee: No Fee</p>";
			
	} else if (plateName == "Retired Marine") {
			
		message = "<p>The applicant must submit a copy of his or her military ID card or a notorized statement signed by his or her commanding officer verifying that he or she retired from a branch of the United States Armed Forces or reserves.</p>";
		
		price = "<p>Specialty Plate Fee: No Fee</p>";
		
	} else if (plateName == "Retired Marine Corps League") {
				
		message = "<p>The applicant must submit a copy of his or her military ID card or a notorized statement signed by his or her commanding officer verifying that he or she retired from a branch of the United States Armed Forces or reserves.</p>";
			
		price = "<p>Specialty Plate Fee: No Fee</p>";
		
	//} else if (plateName == "Retired Merchant Marine") {

 	 	//message = "<p>You must submit a copy of your military ID card or a statement signed by your commanding officer verifying that you retired from a branch of the United States Armed Forces or reserves.</p>";

		//price = "<p>Specialty Plate Fee: No Fee</p>";
		
	} else if (plateName == "Retired Military Coast Guard") {

 	 	message = "<p>The applicant must submit a copy of his or her military ID card or a statement signed by his or her commanding officer verifying that the applicant retired from a branch of the United States Armed Forces or reserves.</p>";

		price = "<p>Specialty Plate Fee: No Fee</p>";
		
	} else if (plateName == "Retired Navy") {
				
		message = "<p>The applicant must submit a copy of his or her military ID card or a notorized statement signed by his or her commanding officer verifying that he or she retired from a branch of the United States Armed Forces or reserves.</p>";
			
		price = "<p>Specialty Plate Fee: No Fee</p>";
		
	} else if (plateName == "Retired National Guard") {
				
		message = "<p>The applicant must submit a copy of his or her military ID card or a notorized statement signed by his or her commanding officer verifying that he or she retired from a branch of the United States Armed Forces or reserves.</p>";
			
		price = "<p>Specialty Plate Fee: No Fee</p>";
	
	} else if (plateName == "St. Louis College of Pharmacy") {
			
		message = "<p>You must submit an Emblem Use Authorization Statement from the St. Louis College of Pharmacy as proof of a donation.</p>";
			
	 	price = "<p>Specialty Plate Fee: $15</p>";
	
	} else if ((plateName == "Marine Corps League")) {

 	 	message = "<p>The applicant must submit a Marine Corps League membership card verifying he or she is currently a member in good standing of the Marine Corps League.</p>";

		price = "<p>Specialty Plate Fee: $15</p>";

	} else if ((plateName.substring(0,4) == "Army") || (plateName.substring(0,9) == "Air Force") || (plateName.substring(0,11) == "Coast Guard") || (plateName.substring(0,6) == "Marine") || (plateName.substring(0,8) == "Merchant") || (plateName.substring(0,14) == "National Guard") || (plateName.substring(0,4) == "Navy")) {

 	 	message = "<p>The applicant must submit a copy of his or her military ID card or a notarized statement signed by his or her commanding officer verifying that he or she has served and was honorably discharged or currently serves, and is a member in good standing of a branch of the United States Armed Forces or reserves.</p>";

		price = "<p>Specialty Plate Fee: $15</p>";

	} else if (plateName.substring(0, 13) == "Former P.O.W.") {

 	 	message = "<p>The applicant must submit proof of eligibility in the form of a former POW membership card, or statement from the United States Veterans Administration or the Department of Defense stating he or she is a former prisoner of war.</p>";

		price = "<p>Specialty Plate Fee: No Fee</p>";

	} else if (plateName.substring(0, 16) == "Disabled Veteran") {

 	 	message = "<p>The applicant must submit proof of service connected disability in the form of a statement from the United States Veterans Administration no more than six months old.  A permanently disabled applicant does not have to submit an annual disabled statement, if he or she submits a physician's statement that indicates he or she is 100% disabled.  <p>If requesting the wheelchair accessibility symbol, the applicant must also submit a signed <a href='/forms/1776.pdf'>Physician's Statement for Disabled Person's Placard form (DOR-1776)</a>.</p><p>Limited to one set.</p>";

 	 	price = "<p>Specialty Plate Fee: No Fee</p>";
		
	} else if (plateName.substring(0, 5) == "Pearl") {

 	 	message = "<p>The applicant must submit ONE of the following:</p><ol><li>A copy of his or her discharge papers issued by the United Sates Armed Forces verifying that he or she served in the United States Military Service on December 7, 1941, and was stationed on the Hawaiian Island of Oahu or other related military installation during the enemy attack;</li><li>Verification from the United States ARMED FORCES that he or she is a PEARL HARBOR SURVIVOR; or</li><li>A copy of the identification card issued by the Pearl Harbor Association, Inc. verifying that he or she is a Pearl Harbor Survivor.</li></ol>";

 	 	price = "<p>Specialty Plate Fee: $15</p>";

	} else if (plateName.substring(0, 7) == "Retired") {

		message = "<p>The applicant must submit proof of retired status from that particular branch of the United States Armed Forces.</p>";

		price = "<p>Specialty Plate Fee: $15</p>";

		} else if (plateName == "Veterans Of Foreign Wars (VFW)") {

		message = "<p>The applicant must submit an Emblem Use Authorization Statement from the Veterans of Foreign Wars (VFW) as proof of donation.</p>";

		price = "<p>Specialty Plate Fee: $15</p>";

	} else if (plateName.substring(0, 6) == "Korean") {

		message = "<p>The applicant must submit proof that he or she served in the Korean War in the form of a copy of the applicant's DD214 form, or Official Discharge Orders from the Armed Service stating he or she is an honorably discharged veteran of the Korean War.</p>";

		price = "<p>Specialty Plate Fee: $15</p>";
		
	} else if (plateName == "United States Veteran") {
	
		message = "<p>The applicant must submit a copy of the applicant's DD214 stating he or she was honorably discharged from the United States Armed Services.</p>";
	
		price = "<p>License Plate Fee: $15</p>";

	} else if (plateName.substring(0,7) == "Vietnam") {
	
		message = "<p>The applicant must submit proof that he or she was awarded the Vietnam service medal and served in the Vietnam conflict in the form of a copy of the applicant's DD214 form, a notarized statement signed by the applicant's commanding officer verifying the applicant is currently serving in the Armed Forces and is a Vietnam conflict Veteran; or Official Discharge Orders from the Armed Service stating he or she is an honorably discharged veteran of the Vietnam conflict.</p>";
	
		price = "<p>Specialty Plate Fee: $15</p>";
		
	} else if (plateName.substring(0,5) == "World") {
	
		message = "<p>The applicant must submit proof that he or she served in World War II in the form of a copy of the applicant's DD214 form, or Official Discharge Orders from the Armed Service stating he or she is an honorably discharged veteran of World War II.</p>";
	
		price = "<p>Specialty Plate Fee: $15</p>";
	
	} else if (plateName == "Alpha Kappa Alpha") {
		
		message = "<p>You must be a member of Alpha Kappa Alpha and submit an Emblem Use Authorization Statement from Alpha Kappa Alpha.</p>";
	
		price = "<p>Specialty Plate Fee: $15</p>"; 
	
	} else if (plateName == "Alpha Phi Alpha") {
			
		message = "<p>You must be a member of Alpha Phi Alpha and submit an Emblem Use Authorization Statement from Alpha Phi Alpha.</p>";
		
		price = "<p>Specialty Plate Fee: $15</p>";
	
	} else if (plateName == "Kappa Alpha Psi") {
			
		message = "<p>You must be a member of Kappa Alpha Psi and submit an Emblem Use Authorization Statement from Kappa Alpha Psi.</p>";
		
		price = "<p>Specialty Plate Fee: $15</p>";
		
	} else if (plateName == "Cave State") {
			
		message = "<p>You must submit an Emblem Use Authorization Statement from the Missouri Caves and Karst Conservancy as proof of a donation.</p>";
		
		price = "<p>Specialty Plate Fee: $15</p>";
	
	} else if (plateName == "Childrens Trust Fund") {
			
		message = "<p>You must submit an Emblem Use Authorization Statement from the Children's Trust Fund or you may submit the $25 donation with your application to the Missouri Department of Revenue.</p>";
		
		price = "<p>Specialty Plate Fee: $15</p>";
		
	} else if (plateName == "Choose Life") {
			
		message = "<p>You must submit an Emblem Use Authorization Statement from Choose Life of Missouri as proof of a donation.</p>";
		
		price = "<p>Specialty Plate Fee: $15</p>";
		
	} else if ((plateName == "American Legion") || (plateName == "Missouri Botanical Garden") || (plateName == "Fraternal Order Of Eagles") || (plateName == "Friends Of Arrow Rock") || (plateName == "Knights Of Columbus") || (plateName == "Missouri Elks Association") || (plateName == "Missouri Federation Of Square & Round Dance Clubs") || (plateName == "St. Louis Blues") || (plateName == "St. Louis Zoo")) {
	
	 	message = "<p>You must submit an Emblem Use Authorization Statement from the " + plateName + " as proof of a donation.</p>";

		price = "<p>Specialty Plate Fee: $15</p>"; 
		
	} else if (plateName == "Jefferson National Parks Association (Gateway To The West)") {
				
			message = "<p>You must submit an original Emblem Use Authorization Statement from the Jefferson National Parks Association for proof of donation.</p>";
			
		price = "<p>Specialty Plate Fee: $15</p>";
	
	} else if (plateName == "MO-AG Agribusiness") {
	
		message = "<p>You must submit an Emblem Use Authorization Statement from the MO-AG Businesses as proof of a donation.</p>";

		price = "<p>Specialty Plate Fee: $15</p>"; 
		
	} else if ((plateName == "Lions Club")) {
	
	 	message = "<p>You must submit an Emblem Use Authorization Statement from the Lion's Club as proof of a donation.</p>";

		price = "<p>Specialty Plate Fee: $15</p>"; 		
		
	} else if (plateName == "Don't Tread on Me") {
	
	 	message = "<p>Any person may apply.</p>";

		price = "<p>Specialty Plate Fee: $15 (personalized) or $0 (stock)</p>"; 

	} else if (plateName == "Ducks Unlimited") {
	
	 	message = "<p>You must submit an Emblem Use Authorization Statement from Ducks Unlimited as proof of a donation.</p>";

		price = "<p>Specialty Plate Fee: $15</p>"; 
		
	} else if (plateName == "Eagle Scout") {
			
		message = "<p>You must be a Eagle Scout or a parent of an Eagle Scout and submit an Emblem Use Authorization Statement from the Boy Scouts of America Council.</p>";
		
		price = "<p>Specialty Plate Fee: $15</p>";
	
	} else if (plateName == "EMT") {
	
	 	message = "<p>You must submit an Emblem Use Authorization Statement from the Emergency Medical Services Association as proof of a donation. Limited to one set.</p>";

		price = "<p>Specialty Plate Fee: $15</p>"; 		
			
	} else if ((plateName == "Conservation (Bald Eagle)") || (plateName == "Conservation (Bluebird)") || (plateName == "Conservation (Deer)")) {

	 	message = "<p>You must submit an Emblem Use Authorization Statement from the Missouri Conservation Heritage Foundation as proof of a donation.</p>";

		price = "<p>Specialty Plate Fee: $15</p>"; 
		
	} else if (plateName == "Coroners Office (MCMEA)") {
	
	 	message = "<p>You must submit proof of your status as a coroner or medical examiner, and an Emblem Use Authorization Statement from the Missouri Coroners' and Medical Examiner's Association as proof of a donation.  Limited to one set.</p>";

		price = "<p>Specialty Plate Fee: $15</p>"; 

	} else if (plateName == "God Bless America") {
			
		message = "<p>You must make a one-time $10 donation to the WWII Memorial Fund through the Missouri Department of Revenue.</p>";
		
		price = "<p>Specialty Plate Fee: $15</p>";
	
	} else if ((plateName == "St. Louis Cardinals")) {
	
	 	message = "<p>You must submit an Emblem Use Authorization Statement from the St. Louis Cardinals as proof of a donation.</p>";

		price = "<p>Specialty Plate Fee: $15</p>"; 
	
	} else if (plateName == "Safari Club International") {
			
	 	message = "<p>You must submit an Emblem Use Authorization Statement from the Safari Club International as proof of a donation.</p>";

		price = "<p>Specialty Plate Fee: $15</p>"; 

	} else if (plateName == "Breast Cancer Awareness") {
	
		message = "<p>You must submit an Emblem Use Authorization Statement from the Friends Of the Missouri Women's Council as proof of a donation.</p>";

		price = "<p>Specialty Plate Fee: $15</p>"; 
	
	} else if (plateName == "Order Of The Arrow") {
				
		message = "<p>You must submit an Emblem Use Authorization Statement from the Boy Scouts of America as proof of donation.</p>";
			
		price = "<p>Specialty Plate Fee: $15</p>";
	
	} else if (plateName == "Order Of The Eastern Star") {

 	 	message = "<p>You must submit an Emblem Use Authorization Statement from the Grand Chapter of the Missouri Order of the Eastern Star as proof of a donation.</p>";

 	 	price = "<p>Specialty Plate Fee: $15</p>";

	} else if (plateName == "Firefighter") {

 	 	message = "<p>Your notarized signature on <a href='/forms/768.pdf'>General Affidavit (form DOR-768)</a>, constitutes a sworn statement that you are a director of a fire protection district, or are compensated, partially compensated, or a volunteer member of any fire department, fire protection district, or voluntary fire protection association in Missouri.  You further affirm that if you resign, are removed, or otherwise terminate association with the fire department, you will return your special license plates to the Missouri Department of Revenue within fifteen (15) days.</p>";

 	 	price = "<p>Specialty Plate Fee: $15</p>";
 	 	
        } else if (plateName == "Former Missouri Legislator") {

 	 	message = "<p>Applicant must be a former member of the Missouri Legislature.</p>";

 	 	price = "<p>Specialty Plate Fee: $15</p>";
	
	} else if (plateName == "Helping Schools") {

 	 	message = "<p>You must submit an Emblem Use Authorization Statement from a participating school or designated nonprofit organization.</p>";

 	 	price = "<p>Specialty Plate Fee: $15</p>";

	} else if (plateName == "Hearing Impaired Kids Endowment") {
			
		message = "<p>You must submit an Emblem Use Authorization Statement from the Hearing Impaired Kids Endowment Fund, Inc. as proof of a donation.</p>";
			
	 	price = "<p>Specialty Plate Fee: $15</p>";
	
	} else if (plateName.substring(0,11) == "Prince Hall" || plateName.substring(0,11) == "Grand Lodge") {

 	 	message = "<p>You must submit an Emblem Use Authorization Statement from the Grand Lodge Ancient, Free and Accepted Masons of the state of Missouri as proof of a donation.</p>";

 	 	price = "<p>Specialty Plate Fee: $15</p>";

	} else if (plateName == "Missouri Jaycees") {

 	 	message = "<p>You must submit proof of membership in the form of a membership identification card.</p>";

		price = "<p>Specialty Plate Fee: $15</p>";

	} else if (plateName == "Missouri 4-H") {

 	 	message = "<p>You must submit proof of membership in the Missouri 4-H, or proof that you are a parent of a member in the Missouri 4-H.</p>";

		price = "<p>Specialty Plate Fee: $15</p>";
		
	} else if (plateName == "Omega Psi Phi")  {

 	 	message = "<p>You must submit an Emblem Use Authorization Statement from the Omega Psi Phi Fraternity as proof of a donation.</p>";

		price = "<p>Specialty Plate Fee: $15</p>";
		
	} else if (plateName == "Delta Sigma Theta") {

 	 	message = "<p>You must submit an Emblem Use Authorization Statement from the Delta Sigma Theta Sorority as proof of a donation.</p>";

		price = "<p>Specialty Plate Fee: $15</p>";
			
	} else if (plateName == "Paramedic") {

 	 	message = "<p>You must submit an Emblem Use Authorization Statement from the Missouri Medical Services Association as proof of a donation.</p>";

		price = "<p>Specialty Plate Fee: $15</p>";
					
	} else if (plateName == "Missouri Remembers POW*MIA") {

 	 	message = "<p>Any person who wishes to pay tribute to those persons who were prisoners of war or those now listed as missing in action may apply.</p>";

		price = "<p>Specialty Plate Fee: $15</p>";	
	
	} else if ((plateName == "Shriners")) {

 	 	message = "<p>You must submit an Emblem Use Authorization Statement from a Shrine Temple as proof of a donation.</p>";

		price = "<p>Specialty Plate Fee: $15</p>";
			
	} else if (plateName == "Sigma Gamma Rho") {
	
	 	message = "<p>You must be a member of Sigma Gamma Rho and submit an Emblem Use Authorization Statement from Sigma Gamma Rho.</p>";
	
		price = "<p>Specialty Plate Fee: $15</p>";
	
	} else if (plateName == "Wilson's Creek National Battlefield") {

 	 	message = "<p>You must submit an Emblem Use Authorization Statement from the Wilson's Creek National Battlefield Foundation as proof of a donation.</p>";

		price = "<p>Specialty Plate Fee: $15</p>";
		
	} else if (plateName == "Amateur Radio") {

 	 	message = "<p>You must submit a copy of your Federal Communications License and an Amateur Radio Statement <a href='/forms/838.pdf'>(DOR-838)</a> swearing you hold an unrevoked and unexpired amateur radio license.</p>";

		price = "<p>Specialty Plate Fee: $15</p>";	
		
	} else if (plateName == "Be An Organ Donor") {

 	 	message = "<p>You must submit an Emblem Use Authorization Statement from the Organ Donor Program Fund or you may submit the $25 donation with your application to the Missouri Department of Revenue.</p>";

		price = "<p>Specialty Plate Fee: $15</p>";		
		
	} else if (plateName == "American Heart Association (Winning Women)") {

 	 	message = "<p>You must submit an Emblem Use Authorization Statement from the American Heart Association (Winning Women) as proof of a donation.</p>";

		price = "<p>Specialty Plate Fee: $15</p>";
		
	} else if (plateName == "Kansas City Zoo") {

 	 	message = "<p>You must submit an Emblem Use Authorization Statement from the Kansas City Zoo as proof of a donation.</p>";

		price = "<p>Specialty Plate Fee: $15</p>";
		
	} else if (plateName == "MASTERS") {

 	 	message = "<p>This plate is only available to members of The MASTERS. You must submit an Emblem Use Authorization Statement from the Missouri Association of State Troopers Emergency Relief Society (MASTERS) as proof of a donation.</p>";

		price = "<p>Specialty Plate Fee: $15</p>";
		
	} else if (plateName == "Search and Rescue (SARCOM)") {

 	 	message = "<p>You must submit an Emblem Use Authorization Statement from the Search and Rescue Council of Missouri (SARCOM) as proof of a donation.</p>";

		price = "<p>Specialty Plate Fee: $15</p>";
		
	} else if (plateName == "Tribe Mic-O-Say - Kansas City District") {

 	 	message = "<p>You must submit an Emblem Use Authorization Statement from Tribe of Mic-O-Say - Kansas City District as proof of a donation.</p>";

		price = "<p>Specialty Plate Fee: $15</p>";
		
	} else if (plateName == "Custom Vehicle") {

 	 	message = "<p>Your signature on the <a href='/forms/768.pdf'>General Affidavit (form DOR-768)</a> constitutes a sworn statement that the vehicle is being used for occasional transportation, exhibitions, club activities, parades, tours, and similar uses and will not be used for general daily transportation.  A custom vehicle is a motor vehicle that is at least twenty-five years old,  and of a model year after 1948 or was manufactured to resemble a vehicle twenty-five years old or older and of a model year after 1948.  You must submit a DOR-768 and a legible copy of your title or registration receipt with this application.  Custom vehicle plates can only be transferred to another custom vehicle.</p>";

		price = "<p>Specialty Plate Fee: $15</p>";
		
	} else if (plateName == "Wartime Disabled - DAV") {

 	 	message = "<p>The applicant must submit a copy of each of the following documents:</p><ol><li>Photo identification;</li><li>Valid membership card issued by the Disabled American Veterans.</li></ol><p>If requesting the wheelchair accessibility symbol, the applicant must also submit a signed <a href='/forms/1776.pdf'>Physician's Statement for Disabled Person's Placard form (DOR-1776)</a>.</p>";

		price = "<p>Specialty Plate Fee: $15</p>";
		
		
	} else if (plateName == "Special Olympics Missouri") {

 	 	message = "<p>You must submit an Emblem Use Authorization Statement from Special Olympics Missouri as proof of a donation.</p>";

		price = "<p>Specialty Plate Fee: $15</p>";
		
	
	} else if (plateName == "Some Gave All (Gold Star)") {

 	 	message = "<p>This plate is limited to applicants whose family member(s) died in the line of duty while serving in the US armed forces.  The applicant must submit an Emblem Use Authorization Statement as proof of the required minimum donation to the Veterans of Foreign Wars (VFW).</p>";

		price = "<p>Specialty Plate Fee: $15</p>";
		
	} else if (plateName == "Stephens College") {

 	 	message = "<p>You must submit an Emblem Use Authorization Statement from Stephens College as proof of a donation.</p>";

		price = "<p>Specialty Plate Fee: $15</p>";
		
	} else if (plateName == "I'm Pet Friendly") {

 	 	message = "<p>You must submit an Emblem Use Authorization Statement from Missouri State Humane Association as proof of a donation.</p>";

		price = "<p>Specialty Plate Fee: $15</p>";
		
	} else if ((plateName == "Kansas City Chiefs")) {
	
	 	message = "<p>You must submit an Emblem Use Authorization Statement from the Kansas City Chiefs as proof of a donation.</p>";

		price = "<p>Specialty Plate Fee: $15</p>"; 
	
	} else if (plateName == "We Shall Not Forget") {

 	 	message = "<p>This plate is limited to applicants who have an immediate family member (including immediate stepfamily) who was a resident of Missouri and was killed in the line of duty in the US military.</p><p>The personalized configuration shall include the initials of that veteran followed by a three-letter description of the applicant's relation to that veteran, provided such configuration is not currently in use.</p>";

		price = "<p>Specialty Plate Fee: $15</p>";
		
	} else if (plateName == "Missouri Association of Realtors") {

 	 	message = "<p>You must submit an Emblem Use Authorization Statement from the Missouri Association of Realtors as proof of a donation.</p>";

		price = "<p>Specialty Plate Fee: $15</p>";
		
	} else if (plateName == "Arkansas Alumni - Go Hogs!") {

 	 	message = "<p>You must submit an Emblem Use Authorization Statement from the Arkansas Alumni Association, Inc. as proof of a donation.</p>";

		price = "<p>Specialty Plate Fee: $15</p>";
		
	} else if (plateName == "Ranken Technical College") {

 	 	message = "<p>You must submit an Emblem Use Authorization Statement from the Ranken Technical College as proof of a donation.</p>";

		price = "<p>Specialty Plate Fee: $15</p>";
		
			
	} else {

	    message = "";

	    price = "<p>Specialty Plate Fee: $15</p>";

	}



	//var disabled = plateName.search("Disabled");



	//if (disabled > 0) {

	 	//message = message + "<p>A signed statement of disability, DOR-1776, from a licensed physician must be submitted with your application.</p>";

	//}
	

	var note = "<p><b>Note: You must renew your personalized license plates within 60 days of expiration to ensure the personalized plates are held in your name.</b></p>";

	
	if (message == "") { message = "<p></p>"; }
			
		var plate = document.getElementById("plate");

		plate.innerHTML = "<div id=\"plate\" style=\"background: url(" + selectImage + ")\"><p>" + message2 + "</p></div>";
		
		var description = document.getElementById("descriptionText");		

		description.innerHTML = "<h3>" + plateName + " Plate</h3>" + message + price + note;		
	}

function reloadNow() {

document.location = document.location;

}


