// JavaScript Document
/*function zipcode()
{
	var zip = document.getElementById('pc');
	var tbox = document.title;
switch (tbox)
{
  case "Alaska Most Popular Online Criminal Justice Degree Colleges<?php include("../include/title.php"); ?>" : 
     zip.value='22530'
     break;
  case "daisy" : 
     alert(flower + " costs $1.25");
     break;
  case "orchild" : 
     alert(flower + " costs $1.50");
     break;
  default : 
     alert("There is no such flower in our shop");
     break;
}
}*/

function zipcode()
{	

	var mpath = window.location.pathname;
	var zip = document.getElementById('pc')

/*Alabama*/	
	if (mpath=="/al/index.php")
	  {
	  	zip.value="36310"
	  }
	  
/*Alaska*/	
	else if (mpath=='/ak/index.php')
	  {
	  	zip.value="99501"
	  }
	  
/*Arkanas*/	
	else if (mpath=='/ar/index.php')
	  {
	  	zip.value="72201"
	  }
	  
/*Arizona*/	
	else if (mpath=='/az/index.php')
	  {
	  	zip.value="85001"
	  }
	  
/*California*/	
	else if (mpath=='/ca/index.php')
	  {
	  	zip.value="90001"
	  }
	  
/*Colorado*/	
	else if (mpath=='/co/index.php')
	  {
	  	zip.value="80201"
	  }
	  
/*Connecticut*/	
	else if (mpath=='/ct/index.php')
	  {
	  	zip.value="06601"
	  }
	  
/*delaware*/	
	else if (mpath=='/de/index.php')
	  {
	  	zip.value="19801"
	  }
	  
/*District of Columbia*/	
	else if (mpath=='/dc/index.php')
	  {
	  	zip.value="20005"
	  }
	  
/*Florida*/
	else if (mpath=='/fl/index.php')
	  {
	  	zip.value="32099"
	  }
	  
/*Georgia*/
	else if (mpath=='/ga/index.php')
	  {
	  	zip.value="30301"
	  }
	  
/*Hawaii*/
	else if (mpath=='/hi/index.php')
	  {
	  	zip.value="96801"
	  }
	  
/*Idaho*/
	else if (mpath=='/id/index.php')
	  {
	  	zip.value="83701"
	  }
	  
/*Illinois*/
	else if (mpath=='/il/index.php')
	  {
	  	zip.value="60290"
	  }
	  
/*Indiana*/
	else if (mpath=='/in/index.php')
	  {
	  	zip.value="46201"
	  }
	  
/*Iowa*/
	else if (mpath=='/ia/index.php')
	  {
	  	zip.value="50265"
	  }
	  
/*Kansas*/
	else if (mpath=='/ks/index.php')
	  {
	  	zip.value="66101"
	  }
	  
/*Kentucky*/
	else if (mpath=='/ky/index.php')
	  {
	  	zip.value="40502"
	  }
	  
/*Louisiana*/
	else if (mpath=='/la/index.php')
	  {
	  	zip.value="70112"
	  }
	  
/*Maine*/
	else if (mpath=='/me/index.php')
	  {
	  	zip.value="04101"
	  }
	  
/*Maryland*/
	else if (mpath=='/md/index.php')
	  {
	  	zip.value="21201"
	  }
	  
/*Massachussets*/
	else if (mpath=='/ma/index.php')
	  {
	  	zip.value="02108"
	  }
	  
/*Michigan*/
	else if (mpath=='/mi/index.php')
	  {
	  	zip.value="48201"
	  }
	  
/*Minnesota*/
	else if (mpath=='/mn/index.php')
	  {
	  	zip.value="55401"
	  }
	  
/*Mississipi*/
	else if (mpath=='/ms/index.php')
	  {
	  	zip.value="39201"
	  }
	  
/*Missouri*/
	else if (mpath=='/mo/index.php')
	  {
	  	zip.value="64101"
	  }
	  
/*Montana*/
	else if (mpath=='/mt/index.php')
	  {
	  	zip.value="59101"
	  }
	  
/*Nebraska*/
	else if (mpath=='/ne/index.php')
	  {
	  	zip.value="68101"
	  }
	  
/*Nevada*/
	else if (mpath=='/nv/index.php')
	  {
	  	zip.value="89044"
	  }
	  
/*New Hampshire*/
	else if (mpath=='/nh/index.php')
	  {
	  	zip.value="03101"
	  }
	  
/*New Jersey*/
	else if (mpath=='/nj/index.php')
	  {
	  	zip.value="08608"
	  }
	  
/*New Mexico*/
	else if (mpath=='/nm/index.php')
	  {
	  	zip.value="87101"
	  }
	  
/*New York*/
	else if (mpath=='/ny/index.php')
	  {
	  	zip.value="11004"
	  }
	  
/*New Carolina*/
	else if (mpath=='/nc/index.php')
	  {
	  	zip.value="28201"
	  }
	  
/*New Dakota*/
	else if (mpath=='/nd/index.php')
	  {
	  	zip.value="58102"
	  }
	  
/*Ohio*/
	else if (mpath=='/oh/index.php')
	  {
	  	zip.value="43085"
	  }
	  
/*Oklahoma*/
	else if (mpath=='/ok/index.php')
	  {
	  	zip.value="73120"
	  }
	  
/*Oregon*/
	else if (mpath=='/or/index.php')
	  {
	  	zip.value="97086"
	  }
	  
/*Pennsylvania*/
	else if (mpath=='/pa/index.php')
	  {
	  	zip.value="19019"
	  }
	  
/*Rhode Island*/
	else if (mpath=='/ri/index.php')
	  {
	  	zip.value="02901"
	  }
	  
/*South Carolina*/
	else if (mpath=='/sc/index.php')
	  {
	  	zip.value="29201"
	  }
	  
/*South Dakota*/
	else if (mpath=='/sd/index.php')
	  {
	  	zip.value="57100"
	  }
	  
/*Tennessee*/
	else if (mpath=='/tn/index.php')
	  {
	  	zip.value="37501"
	  }
	  
/*Texas*/
	else if (mpath=='/tx/index.php')
	  {
	  	zip.value="77001"
	  }
	  
/*Utah*/
	else if (mpath=='/ut/index.php')
	  {
	  	zip.value="84101"
	  }
	  
/*Vermount*/
	else if (mpath=='/vt/index.php')
	  {
	  	zip.value="05401"
	  }
	  
/*Virginia*/
	else if (mpath=='/va/index.php')
	  {
	  	zip.value="23450"
	  }
	  
/*Washington*/
	else if (mpath=='/wa/index.php')
	  {
	  	zip.value="98101"
	  }
	  
/*West Virginia*/
	else if (mpath=='/wv/index.php')
	  {
	  	zip.value="25301"
	  }
	  
/*Wisconsin*/
	else if (mpath=='/wi/index.php')
	  {
	  	zip.value="53201"
	  }
	  
/*Wyoming*/
	else if (mpath=='/wy/index.php')
	  {
	  	zip.value="82001"
	  }
	  
	else
	  {
	  	zip.value="Your Zip Code: (Optional)"
	  }
}
/*	window.location.hostname="http://localhost";
	var muri = window.location.hostname;*/

/*switch(n)
{
case 1:
  var zip = document.getElementById('pc')
	if (document.title = 'Alaska Most Popular Online Criminal Justice Degree Colleges<?php include("../include/title.php"); ?>')	;
		{
			zip.value = '22503';
		}
  break;
case 2:
  execute code block 2
  break;
default:
  code to be executed if n is different from case 1 and 2
}*/


/*function zipcode()
	{
		var path = window.location.pathname;
		var txtbox = document.getElementByID('pc');
		switch (n)
			{
				case 0:
				if (path = '/al/index.php');
					{
						txtbox.value = '22503';
					}
				break;
				
				default:
					document.getElementByID('pc');
				break;
			}
	}*/
