<!-- 
        
function navRollover(name, number)  {

  number = number + 1;
  
  codeStatement = "document." + name + ".src = '../../images/nav/" + name + "_" + number + ".jpg'";
  eval(codeStatement);

}

function changeLink(name)	{
  // initialize variables for setting name 'type' and the place in page where link resides
  
  link_type = new Array(3);
  // one place for the 'name' and the other for the 'number'
  
  link_type = name.split('_');
  // splitting name into two parts, variable type (image or link) and number
  
          
  
  var image_name = 'image_' + link_type[1];
  // variable to piece together link 'number' with 'image_'
        
   
  
  if (image_name == 'image_feature')	{
      codeStatement = "document." + image_name + ".src = '../../images/body/arrow_6.gif'";
      eval(codeStatement);
    }
  else	{
      if (link_type[1].indexOf("more") == 0)	{
          codeStatement = "document." + image_name + ".src = '../../images/body/arrow_6.gif'";
          eval(codeStatement);  
        }
      else { 
          codeStatement = "document." + image_name + ".src = '../../images/body/arrow_4.gif'";
          eval(codeStatement);  
        }
    }   
  
  if (link_type[2] == 'arrow' || link_type[2] == 'out')	{
      if (link_type[2] == 'arrow')	{
          if (link_type[1].indexOf("more") == 0)	{
              codeStatement = "document." + image_name + ".src = '../../images/body/arrow_2.gif'";
              eval(codeStatement);
            }
          else {
              codeStatement = "document." + image_name + ".src = '../../images/body/arrow_5.gif'";
              eval(codeStatement);
            }
        
        }
      else	{
          codeStatement = "document." + image_name + ".src = '../../images/body/dot.gif'";
          eval(codeStatement);  
        }
    }      
    // end of if statement
}
// end of function  
    
function swapImage(dir, type)	{
	switch(type)	{
		case "Organix" :
      gallery = new Array(6);
			// initialize gallery variable to store images.
			var limit = 6;
			// set number of images in gallery.
			
			for (var i = 0; i < limit; i++)	{
    		var j = i + 1;
    		
    		var filename = "../../images/feature/num_1/segment/photos/organix/photo_" + j + "_sm.jpg";
    		
    		gallery[i] = new Image();
    		gallery[i].src = filename;
    		
    	} // end of for loop.
    	// for loop preloads images into cache.
			break;
		case "FTGU" :
      gallery = new Array(15);
			// initialize gallery variable to store images.
			var limit = 15;
			// set number of images in gallery.
			
			for (var i = 0; i < limit; i++)	{
    		var j = i + 1;
    		
    		var filename = "../../images/feature/num_1/segment/photos/ftgu/photo_" + j + "_sm.jpg";
    		
    		gallery[i] = new Image();
    		gallery[i].src = filename;
    		
    	} // end of for loop.
    	// for loop preloads images into cache.
			break;
		case "DYWM" :
      gallery = new Array(7);
			// initialize gallery variable to store images.
			var limit = 7;
			// set number of images in gallery.
			
			for (var i = 0; i < limit; i++)	{
    		var j = i + 1;
    		
    		var filename = "../../images/feature/num_1/segment/photos/dywm/photo_" + j + "_sm.jpg";
    		
    		gallery[i] = new Image();
    		gallery[i].src = filename;
    		
    	} // end of for loop.
    	// for loop preloads images into cache.
			break;
		case "Illadelph" :
      gallery = new Array(8);
			// initialize gallery variable to store images.
			var limit = 8;
			// set number of images in gallery.
			
			for (var i = 0; i < limit; i++)	{
    		var j = i + 1;
    		
    		var filename = "../../images/feature/num_1/segment/photos/illadelph/photo_" + j + "_sm.jpg";
    		
    		gallery[i] = new Image();
    		gallery[i].src = filename;
    		
    	} // end of for loop.
    	// for loop preloads images into cache.
			break;
		case "TFA" :
      gallery = new Array(14);
			// initialize gallery variable to store images.
			var limit = 14;
			// set number of images in gallery.
			
			for (var i = 0; i < limit; i++)	{
    		var j = i + 1;
    		
    		var filename = "../../images/feature/num_1/segment/photos/tfa/photo_" + j + "_sm.jpg";
    		
    		gallery[i] = new Image();
    		gallery[i].src = filename;
    		
    	} // end of for loop.
    	// for loop preloads images into cache.
			break;
		case "PHREN" :
      gallery = new Array(26);
			// initialize gallery variable to store images.
			var limit = 26;
			// set number of images in gallery.
			
			for (var i = 0; i < limit; i++)	{
    		var j = i + 1;
    		
    		var filename = "../../images/feature/num_1/segment/photos/phren/photo_" + j + "_sm.jpg";
    		
    		gallery[i] = new Image();
    		gallery[i].src = filename;
    		
    	} // end of for loop.
    	// for loop preloads images into cache.
			break;
	
	}
	
	

	if (dir == "forward" && type == 'Organix')	{
		var sourcelength = document.photo.src.length;
		sourcelength = sourcelength - 8;
		
		var currentImage = document.photo.src.charAt(sourcelength);
		
		switch (currentImage)	{
			case "1"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/organix/photo_2_sm.jpg";
				break;
			case "2"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/organix/photo_3_sm.jpg";
				break;
			case "3"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/organix/photo_4_sm.jpg";
				break;
			case "4"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/organix/photo_5_sm.jpg";
				break;
			case "5"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/organix/photo_6_sm.jpg";
				break;
			case "6"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/organix/photo_7_sm.jpg";
				break;
			case "7"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/organix/photo_1_sm.jpg";
				break;
		} // end of switch statement
	} // end of if statement
	
	if (dir == 'forward' && type == 'FTGU')	{
	  var sourcelength = document.photo.src.length;
		sourcelength = sourcelength - 8;
		
		var currentImage = document.photo.src.charAt(sourcelength);
		
	  switch (currentImage)	{
			case "1"	:
			  if (document.photo.src.charAt((sourcelength - 1)) == "_")  {
				  document.photo.src = "../../images/feature/num_1/segment/photos/ftgu/photo_2_sm.jpg";
				}
				else {
				  document.photo.src = "../../images/feature/num_1/segment/photos/ftgu/photo_12_sm.jpg";
				}
				break;
			case "2"	:
			  if (document.photo.src.charAt((sourcelength - 1)) == "_")  {
				  document.photo.src = "../../images/feature/num_1/segment/photos/ftgu/photo_3_sm.jpg";
				}
				else {
				  document.photo.src = "../../images/feature/num_1/segment/photos/ftgu/photo_13_sm.jpg";
				}
				break;
		  case "3"	:
		  	if (document.photo.src.charAt((sourcelength - 1)) == "_")  {
				  document.photo.src = "../../images/feature/num_1/segment/photos/ftgu/photo_4_sm.jpg";
				}
				else {
				  document.photo.src = "../../images/feature/num_1/segment/photos/ftgu/photo_14_sm.jpg";
				}
				break;
			case "4"	:
				if (document.photo.src.charAt((sourcelength - 1)) == "_")  {
				  document.photo.src = "../../images/feature/num_1/segment/photos/ftgu/photo_5_sm.jpg";
				}
				else {
				  document.photo.src = "../../images/feature/num_1/segment/photos/ftgu/photo_15_sm.jpg";
				}
				break;
			case "5"	:
				if (document.photo.src.charAt((sourcelength - 1)) == "_")  {
				  document.photo.src = "../../images/feature/num_1/segment/photos/ftgu/photo_6_sm.jpg";
				}
				else {
				  document.photo.src = "../../images/feature/num_1/segment/photos/ftgu/photo_1_sm.jpg";
				}
				break;
			case "6"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/ftgu/photo_7_sm.jpg";
				break;
			case "7"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/ftgu/photo_8_sm.jpg";
				break;
			case "8"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/ftgu/photo_9_sm.jpg";
				break;
			case "9"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/ftgu/photo_10_sm.jpg";
				break;
			case "0"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/ftgu/photo_11_sm.jpg";
				break;
		  
		} // end of switch statement
	}
	
	if (dir == "forward" && type == 'DYWM')	{
		var sourcelength = document.photo.src.length;
		sourcelength = sourcelength - 8;
		
		var currentImage = document.photo.src.charAt(sourcelength);
		
		switch (currentImage)	{
			case "1"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/dywm/photo_2_sm.jpg";
				break;
			case "2"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/dywm/photo_3_sm.jpg";
				break;
			case "3"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/dywm/photo_4_sm.jpg";
				break;
			case "4"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/dywm/photo_5_sm.jpg";
				break;
			case "5"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/dywm/photo_6_sm.jpg";
				break;
			case "6"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/dywm/photo_7_sm.jpg";
				break;
			case "7"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/dywm/photo_1_sm.jpg";
				break;
		} // end of switch statement
	} // end of if statement
	
	if (dir == "forward" && type == 'Illadelph')	{
		var sourcelength = document.photo.src.length;
		sourcelength = sourcelength - 8;
		
		var currentImage = document.photo.src.charAt(sourcelength);
		
		switch (currentImage)	{
			case "1"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/illadelph/photo_2_sm.jpg";
				break;
			case "2"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/illadelph/photo_3_sm.jpg";
				break;
			case "3"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/illadelph/photo_4_sm.jpg";
				break;
			case "4"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/illadelph/photo_5_sm.jpg";
				break;
			case "5"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/illadelph/photo_6_sm.jpg";
				break;
			case "6"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/illadelph/photo_7_sm.jpg";
				break;
			case "7"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/illadelph/photo_8_sm.jpg";
				break;
			case "8"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/illadelph/photo_1_sm.jpg";
				break;
		} // end of switch statement
	} // end of if statement
	
	if (dir == "forward" && type == 'TFA')	{
		var sourcelength = document.photo.src.length;
		sourcelength = sourcelength - 8;
		
		var currentImage = document.photo.src.charAt(sourcelength);
		
		switch (currentImage)	{
			case "1"	:
			  if (document.photo.src.charAt((sourcelength - 1)) == "_")  {
				  document.photo.src = "../../images/feature/num_1/segment/photos/tfa/photo_2_sm.jpg";
				}
				else {
				  document.photo.src = "../../images/feature/num_1/segment/photos/tfa/photo_12_sm.jpg";
				}
				break;
			case "2"	:
			  if (document.photo.src.charAt((sourcelength - 1)) == "_")  {
				  document.photo.src = "../../images/feature/num_1/segment/photos/tfa/photo_3_sm.jpg";
				}
				else {
				  document.photo.src = "../../images/feature/num_1/segment/photos/tfa/photo_1_sm.jpg";
				}
				break;
		  case "3"	:
		  	document.photo.src = "../../images/feature/num_1/segment/photos/tfa/photo_4_sm.jpg";
				break;
			case "4"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/tfa/photo_5_sm.jpg";
				break;
			case "5"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/tfa/photo_6_sm.jpg";
				break;
			case "6"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/tfa/photo_7_sm.jpg";
				break;
			case "7"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/tfa/photo_8_sm.jpg";
				break;
			case "8"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/tfa/photo_9_sm.jpg";
				break;
		  case "9"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/tfa/photo_10_sm.jpg";
				break;
			case "0"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/tfa/photo_11_sm.jpg";
				break;
		} // end of switch statement
	} // end of if statement
	
	if (dir == "forward" && type == 'PHREN')	{
		var sourcelength = document.photo.src.length;
		sourcelength = sourcelength - 8;
		
		var currentImage = document.photo.src.charAt(sourcelength);
		
		switch (currentImage)	{
			case "1"	:
			  switch (document.photo.src.charAt(sourcelength - 1)) {
			    case "_"  :
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_2_sm.jpg";
				  break;
				  case "1"  :
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_12_sm.jpg";
				  break;
				  case "2"  :
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_22_sm.jpg";
				  break;
				}
				break;
			case "2"	:
			  switch (document.photo.src.charAt(sourcelength - 1)) {
			    case "_"  :
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_3_sm.jpg";
				  break;
				  case "1"  :
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_13_sm.jpg";
				  break;
				  case "2"  :
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_23_sm.jpg";
				  break;
				}
				break;
		  case "3"	:
		  	switch (document.photo.src.charAt(sourcelength - 1)) {
			    case "_"  :
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_4_sm.jpg";
				  break;
				  case "1"  :
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_14_sm.jpg";
				  break;
				  case "2"  :
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_24_sm.jpg";
				  break;
				}
				break;
			case "4"	:
				switch (document.photo.src.charAt(sourcelength - 1)) {
			    case "_"  :
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_5_sm.jpg";
				  break;
				  case "1"  :
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_15_sm.jpg";
				  break;
				  case "2"  :
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_25_sm.jpg";
				  break;
				}
				break;
			case "5"	:
				switch (document.photo.src.charAt(sourcelength - 1)) {
			    case "_"  :
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_6_sm.jpg";
				  break;
				  case "1"  :
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_16_sm.jpg";
				  break;
				  case "2"  :
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_26_sm.jpg";
				  break;
				}
				break;
			case "6"	:
				switch (document.photo.src.charAt(sourcelength - 1)) {
			    case "_"  :
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_7_sm.jpg";
				  break;
				  case "1"  :
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_17_sm.jpg";
				  break;
				  case "2"  :
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_27_sm.jpg";
				  break;
				}
				break;
			case "7"	:
				switch (document.photo.src.charAt(sourcelength - 1)) {
			    case "_"  :
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_8_sm.jpg";
				  break;
				  case "1"  :
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_18_sm.jpg";
				  break;
				  case "2"  :
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_1_sm.jpg";
				  break;
				}
				break;
			case "8"	:
				if (document.photo.src.charAt((sourcelength - 1)) == "_")  {
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_9_sm.jpg";
				}
				else {
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_19_sm.jpg";
				}
				break;
		  case "9"	:
				if (document.photo.src.charAt((sourcelength - 1)) == "_")  {
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_10_sm.jpg";
				}
				else {
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_20_sm.jpg";
				}
				break;
			case "0"	:
				if (document.photo.src.charAt((sourcelength - 1)) == "1")  {
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_11_sm.jpg";
				}
				else {
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_21_sm.jpg";
				}
				break;
		} // end of switch statement
	} // end of if statement
	
	if (dir == 'back' && type == 'Organix')	{
	  var sourcelength = document.photo.src.length;
		sourcelength = sourcelength - 8;
		
		var currentImage = document.photo.src.charAt(sourcelength);
		
	  switch (currentImage)	{
			case "1"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/organix/photo_7_sm.jpg";
				break;
			case "2"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/organix/photo_1_sm.jpg";
				break;
			case "3"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/organix/photo_2_sm.jpg";
				break;
			case "4"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/organix/photo_3_sm.jpg";
				break;
			case "5"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/organix/photo_4_sm.jpg";
				break;
			case "6"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/organix/photo_5_sm.jpg";
				break;
			case "7"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/organix/photo_6_sm.jpg";
				break;
		} // end of switch statement
	}
	
  if (dir == 'back' && type == 'FTGU')	{
	  var sourcelength = document.photo.src.length;
		sourcelength = sourcelength - 8;
		
		var currentImage = document.photo.src.charAt(sourcelength);
		
	  switch (currentImage)	{
			case "1"	:
				if (document.photo.src.charAt((sourcelength - 1)) == "_")  {
				  document.photo.src = "../../images/feature/num_1/segment/photos/ftgu/photo_15_sm.jpg";
				}
				else {
				  document.photo.src = "../../images/feature/num_1/segment/photos/ftgu/photo_10_sm.jpg";
				}
				break;
			case "2"	:
			  if (document.photo.src.charAt((sourcelength - 1)) == "_")  {
				  document.photo.src = "../../images/feature/num_1/segment/photos/ftgu/photo_1_sm.jpg";
				}
				else {
				  document.photo.src = "../../images/feature/num_1/segment/photos/ftgu/photo_11_sm.jpg";
				}
				break;
		  case "3"	:
				if (document.photo.src.charAt((sourcelength - 1)) == "_")  {
				  document.photo.src = "../../images/feature/num_1/segment/photos/ftgu/photo_2_sm.jpg";
				}
				else {
				  document.photo.src = "../../images/feature/num_1/segment/photos/ftgu/photo_12_sm.jpg";
				}
				break;
			case "4"	:
				if (document.photo.src.charAt((sourcelength - 1)) == "_")  {
				  document.photo.src = "../../images/feature/num_1/segment/photos/ftgu/photo_3_sm.jpg";
				}
				else {
				  document.photo.src = "../../images/feature/num_1/segment/photos/ftgu/photo_13_sm.jpg";
				}
				break;
			case "5"	:
				if (document.photo.src.charAt((sourcelength - 1)) == "_")  {
				  document.photo.src = "../../images/feature/num_1/segment/photos/ftgu/photo_4_sm.jpg";
				}
				else {
				  document.photo.src = "../../images/feature/num_1/segment/photos/ftgu/photo_14_sm.jpg";
				}
				break;
			case "6"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/ftgu/photo_5_sm.jpg";
				break;
			case "7"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/ftgu/photo_6_sm.jpg";
				break;
			case "8"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/ftgu/photo_7_sm.jpg";
				break;
			case "9"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/ftgu/photo_8_sm.jpg";
				break;
			case "0"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/ftgu/photo_9_sm.jpg";
				break;
		  
		} // end of switch statement
	}
	
	if (dir == 'back' && type == 'DYWM')	{
		var sourcelength = document.photo.src.length;
		sourcelength = sourcelength - 8;
		
		var currentImage = document.photo.src.charAt(sourcelength);
		
		switch (currentImage)	{
			case "1"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/dywm/photo_7_sm.jpg";
				break;
			case "2"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/dywm/photo_1_sm.jpg";
				break;
			case "3"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/dywm/photo_2_sm.jpg";
				break;
			case "4"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/dywm/photo_3_sm.jpg";
				break;
			case "5"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/dywm/photo_4_sm.jpg";
				break;
			case "6"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/dywm/photo_5_sm.jpg";
				break;
			case "7"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/dywm/photo_6_sm.jpg";
				break;
		} // end of switch statement
	}
	
	if (dir == 'back' && type == 'Illadelph')	{
	  var sourcelength = document.photo.src.length;
		sourcelength = sourcelength - 8;
		
		var currentImage = document.photo.src.charAt(sourcelength);
		
	  switch (currentImage)	{
			case "1"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/illadelph/photo_8_sm.jpg";
				break;
			case "2"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/illadelph/photo_1_sm.jpg";
				break;
			case "3"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/illadelph/photo_2_sm.jpg";
				break;
			case "4"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/illadelph/photo_3_sm.jpg";
				break;
			case "5"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/illadelph/photo_4_sm.jpg";
				break;
			case "6"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/illadelph/photo_5_sm.jpg";
				break;
			case "7"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/illadelph/photo_6_sm.jpg";
				break;
			case "8"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/illadelph/photo_7_sm.jpg";
				break;
		} // end of switch statement
	}
	
	if (dir == 'back' && type == 'TFA')	{
		var sourcelength = document.photo.src.length;
		sourcelength = sourcelength - 8;
		
		var currentImage = document.photo.src.charAt(sourcelength);
		
		switch (currentImage)	{
			case "1"	:
			  if (document.photo.src.charAt((sourcelength - 1)) == "_")  {
				  document.photo.src = "../../images/feature/num_1/segment/photos/tfa/photo_12_sm.jpg";
				}
				else {
				  document.photo.src = "../../images/feature/num_1/segment/photos/tfa/photo_10_sm.jpg";
				}
				break;
			case "2"	:
			  if (document.photo.src.charAt((sourcelength - 1)) == "_")  {
				  document.photo.src = "../../images/feature/num_1/segment/photos/tfa/photo_1_sm.jpg";
				}
				else {
				  document.photo.src = "../../images/feature/num_1/segment/photos/tfa/photo_11_sm.jpg";
				}
				break;
		  case "3"	:
		  	document.photo.src = "../../images/feature/num_1/segment/photos/tfa/photo_2_sm.jpg";
				break;
			case "4"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/tfa/photo_3_sm.jpg";
				break;
			case "5"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/tfa/photo_4_sm.jpg";
				break;
			case "6"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/tfa/photo_5_sm.jpg";
				break;
			case "7"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/tfa/photo_6_sm.jpg";
				break;
			case "8"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/tfa/photo_7_sm.jpg";
				break;
		  case "9"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/tfa/photo_8_sm.jpg";
				break;
			case "0"	:
				document.photo.src = "../../images/feature/num_1/segment/photos/tfa/photo_9_sm.jpg";
				break;
		} // end of switch statement
	} // end of if statement
	
	if (dir == "back" && type == 'PHREN')	{
		var sourcelength = document.photo.src.length;
		sourcelength = sourcelength - 8;
		
		var currentImage = document.photo.src.charAt(sourcelength);
		
		switch (currentImage)	{
			case "1"	:
			  switch (document.photo.src.charAt(sourcelength - 1)) {
			    case "_"  :
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_27_sm.jpg";
				  break;
				  case "1"  :
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_10_sm.jpg";
				  break;
				  case "2"  :
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_20_sm.jpg";
				  break;
				}
				break;
			case "2"	:
			  switch (document.photo.src.charAt(sourcelength - 1)) {
			    case "_"  :
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_1_sm.jpg";
				  break;
				  case "1"  :
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_11_sm.jpg";
				  break;
				  case "2"  :
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_21_sm.jpg";
				  break;
				}
				break;
		  case "3"	:
		  	switch (document.photo.src.charAt(sourcelength - 1)) {
			    case "_"  :
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_2_sm.jpg";
				  break;
				  case "1"  :
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_12_sm.jpg";
				  break;
				  case "2"  :
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_22_sm.jpg";
				  break;
				}
				break;
			case "4"	:
				switch (document.photo.src.charAt(sourcelength - 1)) {
			    case "_"  :
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_3_sm.jpg";
				  break;
				  case "1"  :
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_13_sm.jpg";
				  break;
				  case "2"  :
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_23_sm.jpg";
				  break;
				}
				break;
			case "5"	:
				switch (document.photo.src.charAt(sourcelength - 1)) {
			    case "_"  :
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_4_sm.jpg";
				  break;
				  case "1"  :
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_14_sm.jpg";
				  break;
				  case "2"  :
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_24_sm.jpg";
				  break;
				}
				break;
			case "6"	:
				switch (document.photo.src.charAt(sourcelength - 1)) {
			    case "_"  :
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_5_sm.jpg";
				  break;
				  case "1"  :
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_15_sm.jpg";
				  break;
				  case "2"  :
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_25_sm.jpg";
				  break;
				}
				break;
			case "7"	:
				switch (document.photo.src.charAt(sourcelength - 1)) {
			    case "_"  :
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_6_sm.jpg";
				  break;
				  case "1"  :
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_16_sm.jpg";
				  break;
				  case "2"  :
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_26_sm.jpg";
				  break;
				}
				break;
			case "8"	:
				if (document.photo.src.charAt((sourcelength - 1)) == "_")  {
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_7_sm.jpg";
				}
				else {
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_17_sm.jpg";
				}
				break;
		  case "9"	:
				if (document.photo.src.charAt((sourcelength - 1)) == "_")  {
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_8_sm.jpg";
				}
				else {
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_18_sm.jpg";
				}
				break;
			case "0"	:
				if (document.photo.src.charAt((sourcelength - 1)) == "1")  {
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_9_sm.jpg";
				}
				else {
				  document.photo.src = "../../images/feature/num_1/segment/photos/phren/photo_19_sm.jpg";
				}
				break;
		} // end of switch statement
	} // end of if statement
} // end of function

function imageLarge(type)	{
	var sourcelength = document.photo.src.length;
	sourcelength = sourcelength - 8;
	
	var currentImage = document.photo.src.charAt(sourcelength);
	
	switch(type)	{
		case "Organix" :
     	switch(currentImage)	{
				case "1" :
					window.open("../../images/feature/num_1/segment/photos/organix/photo_1_lg.jpg", "photo_1", "width=400, height=650");
					break;	
				case "2" :
					window.open("../../images/feature/num_1/segment/photos/organix/photo_2_lg.jpg", "photo_2", "width=385, height=530");
					break;
				case "3" :
					window.open("../../images/feature/num_1/segment/photos/organix/photo_3_lg.jpg", "photo_3", "width=350, height=360");
					break;
				case "4" :
					window.open("../../images/feature/num_1/segment/photos/organix/photo_4_lg.jpg", "photo_4", "width=307, height=408");
					break;
				case "5" :
					window.open("../../images/feature/num_1/segment/photos/organix/photo_5_lg.jpg", "photo_5", "width=540, height=395");
					break;
				case "6" :
					window.open("../../images/feature/num_1/segment/photos/organix/photo_6_lg.jpg", "photo_6", "width=500, height=328");
					break;
				case "7" :
					window.open("../../images/feature/num_1/segment/photos/organix/photo_7_lg.jpg", "photo_75", "width=500, height=370");
					break;
		}
	  break;
	  case "FTGU" :
     	switch(currentImage)	{
  			case "1" :
  				if (document.photo.src.charAt((sourcelength - 1)) == "_")  {
				    window.open("../../images/feature/num_1/segment/photos/ftgu/photo_1_lg.jpg", "photo_1", "width=575, height=192");
				  }
  				else {
  				  window.open("../../images/feature/num_1/segment/photos/ftgu/photo_11_lg.jpg", "photo_11", "width=645, height=455");
  				}
  				break;	
  			case "2" :
  				if (document.photo.src.charAt((sourcelength - 1)) == "_")  {
				    window.open("../../images/feature/num_1/segment/photos/ftgu/photo_2_lg.jpg", "photo_2", "width=646, height=419");
				  }
  				else {
  				  window.open("../../images/feature/num_1/segment/photos/ftgu/photo_12_lg.jpg", "photo_12", "width=647, height=471");
  				}
  				break;
  			case "3" :
  				if (document.photo.src.charAt((sourcelength - 1)) == "_")  {
				    window.open("../../images/feature/num_1/segment/photos/ftgu/photo_3_lg.jpg", "photo_3", "width=644, height=420");
				  }
  				else {
  				  window.open("../../images/feature/num_1/segment/photos/ftgu/photo_13_lg.jpg", "photo_13", "width=645, height=470");
  				}
  				break;	
  			case "4" :
  				if (document.photo.src.charAt((sourcelength - 1)) == "_")  {
				    window.open("../../images/feature/num_1/segment/photos/ftgu/photo_4_lg.jpg", "photo_4", "width=434, height=480");
				  }
  				else {
  				  window.open("../../images/feature/num_1/segment/photos/ftgu/photo_14_lg.jpg", "photo_14", "width=645, height=462");
  				}
  				break;
  			case "5" :
  				if (document.photo.src.charAt((sourcelength - 1)) == "_")  {
				    window.open("../../images/feature/num_1/segment/photos/ftgu/photo_5_lg.jpg", "photo_5", "width=434, height=480");
				  }
  				else {
  				  window.open("../../images/feature/num_1/segment/photos/ftgu/photo_15_lg.jpg", "photo_15", "width=648, height=463");
  				}
  				break;	
  			case "6" :
  			  window.open("../../images/feature/num_1/segment/photos/ftgu/photo_6_lg.jpg", "photo_6", "width=633, height=461");
  				break;
  			case "7" :
  				window.open("../../images/feature/num_1/segment/photos/ftgu/photo_7_lg.jpg", "photo_7", "width=643, height=464");
  				break;	
  			case "8" :
  				window.open("../../images/feature/num_1/segment/photos/ftgu/photo_8_lg.jpg", "photo_8", "width=643, height=464");
  				break;
  			case "9" :
  				window.open("../../images/feature/num_1/segment/photos/ftgu/photo_9_lg.jpg", "photo_9", "width=643, height=464");
  				break;	
  			case "0" :
  				window.open("../../images/feature/num_1/segment/photos/ftgu/photo_10_lg.jpg", "photo_10", "width=642, height=471");
  				break;
  			
  	}
		break;
    case "DYWM" :
     	switch(currentImage)	{
				case "1" :
					window.open("../../images/feature/num_1/segment/photos/dywm/photo_1_lg.jpg", "photo_1", "width=160, height=158");
					break;	
				case "2" :
					window.open("../../images/feature/num_1/segment/photos/dywm/photo_2_lg.jpg", "photo_2", "width=269, height=350");
					break;
				case "3" :
					window.open("../../images/feature/num_1/segment/photos/dywm/photo_3_lg.jpg", "photo_3", "width=160, height=158");
					break;
				case "4" :
					window.open("../../images/feature/num_1/segment/photos/dywm/photo_4_lg.jpg", "photo_4", "width=540, height=432");
					break;
				case "5" :
					window.open("../../images/feature/num_1/segment/photos/dywm/photo_5_lg.jpg", "photo_5", "width=540, height=345");
					break;
				case "6" :
					window.open("../../images/feature/num_1/segment/photos/dywm/photo_6_lg.jpg", "photo_6", "width=400, height=255");
					break;
				case "7" :
					window.open("../../images/feature/num_1/segment/photos/dywm/photo_7_lg.jpg", "photo_7", "width=349, height=408");
					break;
		}
		break;
		case "Illadelph" :
     	switch(currentImage)	{
				case "1" :
					window.open("../../images/feature/num_1/segment/photos/illadelph/photo_1_lg.jpg", "photo_1", "width=320, height=240");
					break;	
				case "2" :
					window.open("../../images/feature/num_1/segment/photos/illadelph/photo_2_lg.jpg", "photo_2", "width=349, height=259");
					break;
				case "3" :
					window.open("../../images/feature/num_1/segment/photos/illadelph/photo_3_lg.jpg", "photo_3", "width=320, height=240");
					break;
				case "4" :
					window.open("../../images/feature/num_1/segment/photos/illadelph/photo_4_lg.jpg", "photo_4", "width=318, height=229");
					break;
				case "5" :
					window.open("../../images/feature/num_1/segment/photos/illadelph/photo_5_lg.jpg", "photo_5", "width=468, height=381");
					break;
				case "6" :
					window.open("../../images/feature/num_1/segment/photos/illadelph/photo_6_lg.jpg", "photo_6", "width=468, height=473");
					break;
				case "7" :
					window.open("../../images/feature/num_1/segment/photos/illadelph/photo_7_lg.jpg", "photo_7", "width=341, height=294");
					break;
				case "8" :
					window.open("../../images/feature/num_1/segment/photos/illadelph/photo_8_lg.jpg", "photo_8", "width=230, height=175");
					break;
		}
		break; 
		case "TFA" :
     	switch(currentImage)	{
				case "1" :
  				if (document.photo.src.charAt((sourcelength - 1)) == "_")  {
				    window.open("../../images/feature/num_1/segment/photos/tfa/photo_1_lg.jpg", "photo_1", "width=624, height=465");
				  }
  				else {
  				  window.open("../../images/feature/num_1/segment/photos/tfa/photo_11_lg.jpg", "photo_11", "width=282, height=425");
  				}
  				break;	
  			case "2" :
  				if (document.photo.src.charAt((sourcelength - 1)) == "_")  {
				    window.open("../../images/feature/num_1/segment/photos/tfa/photo_2_lg.jpg", "photo_2", "width=319, height=640");
				  }
  				else {
  				  window.open("../../images/feature/num_1/segment/photos/tfa/photo_12_lg.jpg", "photo_12", "width=240, height=534");
  				}
  				break;
  			case "3" :
  				window.open("../../images/feature/num_1/segment/photos/tfa/photo_3_lg.jpg", "photo_3", "width=640, height=415");
  				break;	
  			case "4" :
  				window.open("../../images/feature/num_1/segment/photos/tfa/photo_4_lg.jpg", "photo_4", "width=320, height=480");
  				break;
				case "5" :
					window.open("../../images/feature/num_1/segment/photos/tfa/photo_5_lg.jpg", "photo_5", "width=640, height=433");
					break;
				case "6" :
					window.open("../../images/feature/num_1/segment/photos/tfa/photo_6_lg.jpg", "photo_6", "width=500, height=424");
					break;
				case "7" :
					window.open("../../images/feature/num_1/segment/photos/tfa/photo_7_lg.jpg", "photo_7", "width=300, height=480");
					break;
				case "8" :
					window.open("../../images/feature/num_1/segment/photos/tfa/photo_8_lg.jpg", "photo_8", "width=640, height=417");
					break;
				case "9" :
					window.open("../../images/feature/num_1/segment/photos/tfa/photo_9_lg.jpg", "photo_9", "width=600, height=414");
					break;
				case "0" :
					window.open("../../images/feature/num_1/segment/photos/tfa/photo_10_lg.jpg", "photo_10", "width=640, height=415");
					break;
		} // end of switch statement
	  break;
	  case "PHREN" :
     	switch(currentImage)	{
				case "1" :
  				switch (document.photo.src.charAt(sourcelength - 1)) {
  			    case "_"  :
  				  window.open("../../images/feature/num_1/segment/photos/phren/photo_1_lg.jpg", "photo_1", "width=300,height=460");
  				  break;
  				  case "1"  :
  				  window.open("../../images/feature/num_1/segment/photos/phren/photo_11_lg.jpg", "photo_11", "width=640,height=480");
  				  break;
  				  case "2"  :
  				  window.open("../../images/feature/num_1/segment/photos/phren/photo_21_lg.jpg", "photo_21", "width=345,height=220");
  				  break;
				  }
  				break;	
  			case "2" :
  				switch (document.photo.src.charAt(sourcelength - 1)) {
  			    case "_"  :
  				  window.open("../../images/feature/num_1/segment/photos/phren/photo_2_lg.jpg", "photo_2", "width=482,height=300");
  				  break;
  				  case "1"  :
  				  window.open("../../images/feature/num_1/segment/photos/phren/photo_12_lg.jpg", "photo_12", "width=640,height=480");
  				  break;
  				  case "2"  :
  				  window.open("../../images/feature/num_1/segment/photos/phren/photo_22_lg.jpg", "photo_22", "width=345,height=220");
  				  break;
				  }
  				break;
  			case "3" :
  				switch (document.photo.src.charAt(sourcelength - 1)) {
  			    case "_"  :
  				  window.open("../../images/feature/num_1/segment/photos/phren/photo_3_lg.jpg", "photo_3", "width=429,height=290");
  				  break;
  				  case "1"  :
  				  window.open("../../images/feature/num_1/segment/photos/phren/photo_13_lg.jpg", "photo_13", "width=540,height=360");
  				  break;
  				  case "2"  :
  				  window.open("../../images/feature/num_1/segment/photos/phren/photo_23_lg.jpg", "photo_23", "width=319,height=465");
  				  break;
				  }
  				break;	
  			case "4" :
  				switch (document.photo.src.charAt(sourcelength - 1)) {
  			    case "_"  :
  				  window.open("../../images/feature/num_1/segment/photos/phren/photo_4_lg.jpg", "photo_4", "width=430,height=287");
  				  break;
  				  case "1"  :
  				  window.open("../../images/feature/num_1/segment/photos/phren/photo_14_lg.jpg", "photo_14", "width=540,height=360");
  				  break;
  				  case "2"  :
  				  window.open("../../images/feature/num_1/segment/photos/phren/photo_24_lg.jpg", "photo_24", "width=350,height=263");
  				  break;
				  }
  				break;
				case "5" :
					switch (document.photo.src.charAt(sourcelength - 1)) {
  			    case "_"  :
  				  window.open("../../images/feature/num_1/segment/photos/phren/photo_5_lg.jpg", "photo_5", "width=378,height=537");
  				  break;
  				  case "1"  :
  				  window.open("../../images/feature/num_1/segment/photos/phren/photo_15_lg.jpg", "photo_15", "width=354,height=480");
  				  break;
  				  case "2"  :
  				  window.open("../../images/feature/num_1/segment/photos/phren/photo_25_lg.jpg", "photo_25", "width=640,height=480");
  				  break;
				  }
					break;
				case "6" :
					switch (document.photo.src.charAt(sourcelength - 1)) {
  			    case "_"  :
  				  window.open("../../images/feature/num_1/segment/photos/phren/photo_6_lg.jpg", "photo_6", "width=450,height=557");
  				  break;
  				  case "1"  :
  				  window.open("../../images/feature/num_1/segment/photos/phren/photo_16_lg.jpg", "photo_16", "width=540,height=360");
  				  break;
  				  case "2"  :
  				  window.open("../../images/feature/num_1/segment/photos/phren/photo_26_lg.jpg", "photo_26", "width=640,height=480");
  				  break;
				  }
					break;
				case "7" :
					switch (document.photo.src.charAt(sourcelength - 1)) {
  			    case "_"  :
  				  window.open("../../images/feature/num_1/segment/photos/phren/photo_7_lg.jpg", "photo_7", "width=629,height=479");
  				  break;
  				  case "1"  :
  				  window.open("../../images/feature/num_1/segment/photos/phren/photo_17_lg.jpg", "photo_17", "width=640,height=480");
  				  break;
  				  case "2"  :
  				  window.open("../../images/feature/num_1/segment/photos/phren/photo_27_lg.jpg", "photo_27", "width=350,height=280");
  				  break;
				  }
					break;
				case "8" :
					if (document.photo.src.charAt((sourcelength - 1)) == "_")  {
				    window.open("../../images/feature/num_1/segment/photos/phren/photo_8_lg.jpg", "photo_8", "width=356,height=480");
				  }
  				else {
  				  window.open("../../images/feature/num_1/segment/photos/phren/photo_18_lg.jpg", "photo_18", "width=358,height=480");
  				}
					break;
				case "9" :
					if (document.photo.src.charAt((sourcelength - 1)) == "_")  {
				    window.open("../../images/feature/num_1/segment/photos/phren/photo_9_lg.jpg", "photo_9", "width=640,height=480");
				  }
  				else {
  				  window.open("../../images/feature/num_1/segment/photos/phren/photo_19_lg.jpg", "photo_19", "width=640,height=480");
  				}
  				break;
				case "0" :
					if (document.photo.src.charAt((sourcelength - 1)) == "1")  {
				    window.open("../../images/feature/num_1/segment/photos/phren/photo_10_lg.jpg", "photo_10", "width=640,height=480");
				  }
  				else {
  				  window.open("../../images/feature/num_1/segment/photos/phren/photo_20_lg.jpg", "photo_20", "width=361,height=478");
  				}
  				break;
			}
			break; 
	} // end of switch statement
} // end of function
			
		
// -->