var MDH = new Array(); 
MDH[0] = "<b>United Egg Producers Invite Mom and Daughter Into the Hen House</b>";
MDH[1] = "<br>Come take a tour with Patti and Samantha Griffith as they push open the barn doors and separate fact from fiction as it relates to hen welfare and address some of the common misconceptions attached to egg carton labels.";
MDH[2] = "UEP_ConsumerTour";
MDH[3] = "<a href='#' onClick='updateText(VT[0], VT[1], VT[2], VT[3]); return false;'><img alt='Farm Tours' class='sugThumb' src='images/thumbnails/VT_1.jpg'></a><a href='#' onClick='updateText(WF[0], WF[1], WF[2], WF[3]); return false;'><img alt='Farmer Spotlight' class='sugThumb' src='images/thumbnails/WF_1.jpg'></a><a href='#' onClick='updateText(MCH[0], MCH[1], MCH[2], MCH[3]); return false;'><img alt='Meet Clint Hickman of the Southwest' class='sugThumb' src='images/thumbnails/MCH_1.jpg'></a>";

var FSF = new Array(); 
FSF[0] = "<b>Egg Industry Relies on Facts and Science</b>";
FSF[1] = "The egg industry has long relied on powerful information based on the facts and science.  Feedstuffs FoodLink speaks with Dr. Jeff Armstrong of Michigan State University about research set to look at the advantages and disadvantages of various laying hen housing systems at the commercial level.";
FSF[2] = "FeedStuffs_FoodLink";
FSF[3] = "<a href='#' onClick='updateText(VT[0], VT[1], VT[2], VT[3]); return false;'><img alt='Farm Tours' class='sugThumb' src='images/thumbnails/VT_1.jpg'></a><a href='#' onClick='updateText(WF[0], WF[1], WF[2], WF[3]); return false;'><img alt='Farmer Spotlight' class='sugThumb' src='images/thumbnails/WF_1.jpg'></a><a href='#' onClick='updateText(MCH[0], MCH[1], MCH[2], MCH[3]); return false;'><img alt='Meet Clint Hickman of the Southwest' class='sugThumb' src='images/thumbnails/MCH_1.jpg'></a>";

var MRW = new Array(); 
MRW[0] = "<b>Egg Farming is a Tough Job</b>";
MRW[1] = "Mike Rowe, who has gained notoriety on television as an authentic spokesperson for hard-working Americans from all walks of life, gives a glimpse inside an American egg farm and shows you how our farmers work hard every day to bring safe, fresh and affordable eggs to your table.";
MRW[2] = "mp4:Egg_Farming_is_a_Tough_Job_MikeRowe.f4v";
MRW[3] = "<a href='#' onClick='updateText(VT[0], VT[1], VT[2], VT[3]); return false;'><img alt='Farm Tours' class='sugThumb' src='images/thumbnails/VT_1.jpg'></a><a href='#' onClick='updateText(WF[0], WF[1], WF[2], WF[3]); return false;'><img alt='Farmer Spotlight' class='sugThumb' src='images/thumbnails/WF_1.jpg'></a><a href='#' onClick='updateText(MCH[0], MCH[1], MCH[2], MCH[3]); return false;'><img alt='Meet Clint Hickman of the Southwest' class='sugThumb' src='images/thumbnails/MCH_1.jpg'></a>";

var WF = new Array();  // THIS IS THE FORMER WILLAMETTE VIDEO LINK
WF[0] = "<b>Meet Greg Satrum of the Pacific Northwest</b>";
WF[1] = "For more than 75 years, Willamette Egg Farms farm has been providing nutritious, quality eggs to the Pacific Northwest. Take a tour with Greg and let him show you how your eggs get from farm to fridge.";
WF[2] = "WEFarms_UEPcertified";
WF[3] = "<a href='#' onClick='updateText(MBK[0], MBK[1], MBK[2], MBK[3]); return false;'><img alt='Meet Bob Krouse of the Midwest' class='sugThumb' src='images/thumbnails/MBK_1.jpg'></a><a href='#' onClick='updateText(MRW[0], MRW[1], MRW[2], MRW[3]); return false;'><img alt='Egg Farming is a Tough Job' class='sugThumb' src='images/thumbnails/MRW_1.jpg'></a><a href='#' onClick='updateText(VT[0], VT[1], VT[2], VT[3]); return false;'><img alt='Farm Tours' class='sugThumb' src='images/thumbnails/VT_1.jpg'></a>";

var VT = new Array(); 
VT[0] = "<b>Farm Tours</b>";
VT[1] = "";
VT[2] = "FarmTour";
VT[3] = "";

var MVF = new Array(); 
MVF[0] = "<b>Myth vs. Fact</b>";
MVF[1] = "Find out the real truth behind the antibiotic and hormone myth.";
MVF[2] = "Myth_vs_Fact_Antibiotics"
MVF[3] = "<a href='#' onClick='updateText(VT[0], VT[1], VT[2], VT[3]); return false;'><img alt='Farm Tours' class='sugThumb' src='images/thumbnails/VT_1.jpg'></a><a href='#' onClick='updateText(VT[0], VT[1], VT[2], VT[3]); return false;'><img alt='Farmer Spotlight' class='sugThumb' src='images/thumbnails/WF_1.jpg'></a><a href='#' onClick='updateText(VT[0], VT[1], VT[2], VT[3]); return false;'><img alt='Meet Clint Hickman of the Southwest' class='sugThumb' src='images/thumbnails/MCH_1.jpg'></a>";

var MM = new Array(); 
MM[0] = "<b>Manure Management</b>";
MM[1] = "Find out why manure management systems in modern cage housing play such a vital role in the well-being and health of our hens.";
MM[2] = "ManureManagement";
MM[3] = "<a href='#' onClick='updateText(VT[0], VT[1], VT[2], VT[3]); return false;'><img alt='Farm Tours' class='sugThumb' src='images/thumbnails/VT_1.jpg'></a><a href='#' onClick='updateText(VT[0], VT[1], VT[2], VT[3]); return false;'><img alt='Farmer Spotlight' class='sugThumb' src='images/thumbnails/WF_1.jpg'></a><a href='#' onClick='updateText(VT[0], VT[1], VT[2], VT[3]); return false;'><img alt='Meet Clint Hickman of the Southwest' class='sugThumb' src='images/thumbnails/MCH_1.jpg'></a>";

var CFH = new Array(); 
CFH[0] = "<b>Cage Free Housing</b>";
CFH[1] = "Take a glimpse inside a cage-free house to see what it's all about.";
CFH[2] = "Cage-FreeHousing_Williamette";
CFH[3] = "<a href='#' onClick='updateText(VT[0], VT[1], VT[2], VT[3]); return false;'><img alt='Farm Tours' class='sugThumb' src='images/thumbnails/VT_1.jpg'></a><a href='#' onClick='updateText(VT[0], VT[1], VT[2], VT[3]); return false;'><img alt='Farmer Spotlight' class='sugThumb' src='images/thumbnails/WF_1.jpg'></a><a href='#' onClick='updateText(VT[0], VT[1], VT[2], VT[3]); return false;'><img alt='Meet Clint Hickman of the Southwest' class='sugThumb' src='images/thumbnails/MCH_1.jpg'></a>";

var AUP = new Array(); 
AUP[0] = "<b>Science Behind the UEP Certified Program</b>";
AUP[1] = "More about the UP Certified program and its Scientific Advisory Committee.";
AUP[2] = "About_UEP_Certified_Program";
AUP[3] = "<a href='#' onClick='updateText(VT[0], VT[1], VT[2], VT[3]); return false;'><img alt='Farm Tours' class='sugThumb' src='images/thumbnails/VT_1.jpg'></a><a href='#' onClick='updateText(VT[0], VT[1], VT[2], VT[3]); return false;'><img alt='Farmer Spotlight' class='sugThumb' src='images/thumbnails/WF_1.jpg'></a><a href='#' onClick='updateText(VT[0], VT[1], VT[2], VT[3]); return false;'><img alt='Meet Clint Hickman of the Southwest' class='sugThumb' src='images/thumbnails/MCH_1.jpg'></a>";

var CC = new Array(); 
CC[0] = "<b>Consumer Choice</b>";
CC[1] = "UEP supports the consumer's right to choose what type of eggs they purchase.";
CC[2] = "GH-ConsumerChoice";
CC[3] = "<a href='#' onClick='updateText(VT[0], VT[1], VT[2], VT[3]); return false;'><img alt='Farm Tours' class='sugThumb' src='images/thumbnails/VT_1.jpg'></a><a href='#' onClick='updateText(VT[0], VT[1], VT[2], VT[3]); return false;'><img alt='Farmer Spotlight' class='sugThumb' src='images/thumbnails/WF_1.jpg'></a><a href='#' onClick='updateText(VT[0], VT[1], VT[2], VT[3]); return false;'><img alt='Meet Clint Hickman of the Southwest' class='sugThumb' src='images/thumbnails/MCH_1.jpg'></a>";

var MBK = new Array(); 
MBK[0] = "<b>Meet Bob Krouse of the Midwest</b>";
MBK[1] = "A fifth-generation egg farmer, Bob and his family run Midwest Poultry Services farm in Mentone, Indiana.  Let Bob show you how your eggs make it from his farm to your table.";
MBK[2] = "MeetBobKrouse";
MBK[3] = "<a href='#' onClick='updateText(VT[0], VT[1], VT[2], VT[3]); return false;'><img alt='Farm Tours' class='sugThumb' src='images/thumbnails/VT_1.jpg'></a><a href='#' onClick='updateText(MRW[0], MRW[1], MRW[2], MRW[3]); return false;'><img alt='Egg Farming is a Tough Job' class='sugThumb' src='images/thumbnails/MRW_1.jpg'></a><a href='#' onClick='updateText(MAR[0], MAR[1], MAR[2], MAR[3]); return false;'><img alt='Willamette Egg Farm Tour' class='sugThumb' src='images/thumbnails/MAR_1.jpg'></a>";

var MCH = new Array(); 
MCH[0] = "<b>Meet Clint Hickman of the Southwest</b>";
MCH[1] = "A third-generation egg farmer, Clint runs Hickman's Family Farms in Arizona with his parents, two brothers and sister.  Find out which came first…the chicken or the egg.";
MCH[2] = "MeetClintHickman";
MCH[3] = "<a href='#' onClick='updateText(WF[0], WF[1], WF[2], WF[3]); return false;'><img alt='Farmer Spotlight' class='sugThumb' src='images/thumbnails/WF_1.jpg'></a><a href='#' onClick='updateText(MGF[0], MGF[1], MGF[2], MGF[3]); return false;'><img alt='Meet Gary Foster of Southern California' class='sugThumb' src='images/thumbnails/MGF_1.jpg'></a><a href='#' onClick='updateText(MRW[0], MRW[1], MRW[2], MRW[3]); return false;'><img alt='Egg Farming is a Tough Job' class='sugThumb' src='images/thumbnails/MRW_1.jpg'></a>";

var MAR = new Array();  // THIS IS THE FORMER MEET ARNIE REIBLI VIDEO, HENCE THE MAR TAG
MAR[0] = "<b>UEP Animal Welfare</b>";
MAR[1] = "Take a peek inside Pearl Valley Eggs and find out why UEP Certified farmers care about their hens and are committed to responsible farming.  In fact, most of them grew up on farms and are fortunate enough to continue the family business.";
MAR[2] = "UEP_CheckForTheCheck2011AnimalWelfare080311";
MAR[3] = "<a href='#' onClick='updateText(MGF[0], MGF[1], MGF[2], MGF[3]); return false;'><img alt='Meet Gary Foster of Southern California' class='sugThumb' src='images/thumbnails/MGF_1.jpg'></a><a href='#' onClick='updateText(MBK[0], MBK[1], MBK[2], MBK[3]); return false;'><img alt='Meet Bob Krouse of the Midwest' class='sugThumb' src='images/thumbnails/MBK_1.jpg'></a><a href='#' onClick='updateText(VT[0], VT[1], VT[2], VT[3]); return false;'><img alt='Farm Tours' class='sugThumb' src='images/thumbnails/VT_1.jpg'></a>";

var MGF = new Array(); 
MGF[0] = "<b>JS West Family Farms</b>";
MGF[1] = "JS West Family Farms started over a century ago and still remains a family-owned farm today. Come take a peek inside to see what it's like for a hen to live in an enriched colony cage.";
MGF[2] = "JSWestRECUT4-15-11";
MGF[3] = "<a href='#' onClick='updateText(MAR[0], MAR[1], MAR[2], MAR[3]); return false;'><img alt='Willamette Egg Farm Tour' class='sugThumb' src='images/thumbnails/MAR_1.jpg'></a><a href='#' onClick='updateText(WF[0], WF[1], WF[2], WF[3]); return false;'><img alt='Farmer Spotlight' class='sugThumb' src='images/thumbnails/WF_1.jpg'></a><a href='#' onClick='updateText(VT[0], VT[1], VT[2], VT[3]); return false;'><img alt='Farm Tours' class='sugThumb' src='images/thumbnails/VT_1.jpg'></a>";

var EP = new Array(); 
EP[0] = "<b>Egg Processing</b>";
EP[1] = "Learn more about how we keep our eggs fresh and safe throughout their journey to your table.";
EP[2] = "EggProcessing";
EP[3] = "<a href='#' onClick='updateText(VT[0], VT[1], VT[2], VT[3]); return false;'><img alt='Farm Tours' class='sugThumb' src='images/thumbnails/VT_1.jpg'></a><a href='#' onClick='updateText(VT[0], VT[1], VT[2], VT[3]); return false;'><img alt='Farmer Spotlight' class='sugThumb' src='images/thumbnails/WF_1.jpg'></a><a href='#' onClick='updateText(VT[0], VT[1], VT[2], VT[3]); return false;'><img alt='Meet Clint Hickman of the Southwest' class='sugThumb' src='images/thumbnails/MCH_1.jpg'></a>";

var MCO = new Array(); 
MCO[0] = "<b>Benefits of Modern Cage Housing</b>";
MCO[1] = "Visit one of our egg farms to learn more about the benefits of modern cage housing.";
MCO[2] = "ModernCageHousing_BobKrouse";
MCO[3] = "<a href='#' onClick='updateText(VT[0], VT[1], VT[2], VT[3]); return false;'><img alt='Farm Tours' class='sugThumb' src='images/thumbnails/VT_1.jpg'></a><a href='#' onClick='updateText(VT[0], VT[1], VT[2], VT[3]); return false;'><img alt='Farmer Spotlight' class='sugThumb' src='images/thumbnails/WF_1.jpg'></a><a href='#' onClick='updateText(VT[0], VT[1], VT[2], VT[3]); return false;'><img alt='Meet Clint Hickman of the Southwest' class='sugThumb' src='images/thumbnails/MCH_1.jpg'></a>";

var MOL = new Array(); 
MOL[0] = "<b>Molting</b>";
MOL[1] = "More about the molting program under the UEP Certified guidelines.";
MOL[2] = "Molting"
MOL[3] = "<a href='#' onClick='updateText(VT[0], VT[1], VT[2], VT[3]); return false;'><img alt='Farm Tours' class='sugThumb' src='images/thumbnails/VT_1.jpg'></a><a href='#' onClick='updateText(VT[0], VT[1], VT[2], VT[3]); return false;'><img alt='Farmer Spotlight' class='sugThumb' src='images/thumbnails/WF_1.jpg'></a><a href='#' onClick='updateText(VT[0], VT[1], VT[2], VT[3]); return false;'><img alt='Meet Clint Hickman of the Southwest' class='sugThumb' src='images/thumbnails/MCH_1.jpg'></a>";

var UEP = new Array(); 
UEP[0] = "<b>Advantages of the UEP Certified program</b>";
UEP[1] = "Listen to how our egg farmers and their hens benefit from the UEP Certified program.";
UEP[2] = "Advantages_of_the_UEP_Certified_Program";
UEP[3] = "<a href='#' onClick='updateText(VT[0], VT[1], VT[2], VT[3]); return false;'><img alt='Farm Tours' class='sugThumb' src='images/thumbnails/VT_1.jpg'></a><a href='#' onClick='updateText(VT[0], VT[1], VT[2], VT[3]); return false;'><img alt='Farmer Spotlight' class='sugThumb' src='images/thumbnails/WF_1.jpg'></a><a href='#' onClick='updateText(VT[0], VT[1], VT[2], VT[3]); return false;'><img alt='Meet Clint Hickman of the Southwest' class='sugThumb' src='images/thumbnails/MCH_1.jpg'></a>";

var CTC = new Array(); 
CTC[0] = "<b>Egg Farmers Are Highly Committed to Sustainability</b>";
CTC[1] = "An egg farmer and member of the United Egg Producers Certified program explains how conventional cage systems, used by most U.S. egg farmers, have lower environmental impact than eggs produced in many other systems.";
CTC[2] = "Sustainability";
CTC[3] = "<a href='#' onClick='updateText(VT[0], VT[1], VT[2], VT[3]); return false;'><img alt='Farm Tours' class='sugThumb' src='images/thumbnails/VT_1.jpg'></a><a href='#' onClick='updateText(VT[0], VT[1], VT[2], VT[3]); return false;'><img alt='Farmer Spotlight' class='sugThumb' src='images/thumbnails/WF_1.jpg'></a><a href='#' onClick='updateText(VT[0], VT[1], VT[2], VT[3]); return false;'><img alt='Meet Clint Hickman of the Southwest' class='sugThumb' src='images/thumbnails/MCH_1.jpg'></a>";

var CFS = new Array(); 
CFS[0] = "<b>Egg Farmers Provide Food Safety Assurance to Consumers</b>";
CFS[1] = "UEP Certified farmer Sally Krouse explains how and why the majority of eggs in the US are produced in conventional cage systems.";
CFS[2] = "UEP_checkForTheCheck2011FoodSafety060911";
CFS[3] = "<a href='#' onClick='updateText(VT[0], VT[1], VT[2], VT[3]); return false;'><img alt='Farm Tours' class='sugThumb' src='images/thumbnails/VT_1.jpg'></a><a href='#' onClick='updateText(WF[0], WF[1], WF[2], WF[3]); return false;'><img alt='Farmer Spotlight' class='sugThumb' src='images/thumbnails/WF_1.jpg'></a><a href='#' onClick='updateText(MCH[0], MCH[1], MCH[2], MCH[3]); return false;'><img alt='Meet Clint Hickman of the Southwest' class='sugThumb' src='images/thumbnails/MCH_1.jpg'></a>";


function updateText(itemT, itemS, itemV, itemU) {
	$("#titleText").html(itemT);
	$("#subText").html(itemS);
	$("#suggestionText").html(itemU);
	$f().play({url:itemV, provider:'rtmp'});
	scroll(0,0);
}

function startLoad () {
var qparts = new Array();        
var url = window.location.href;
qparts = url.split("?");
$f("video", "flowplayer.commercial-3.1.5.swf", {   
   key: '#@2a2229c3c62169e3f03',     
   clip: { base_url: 'rtmp://78698yz9xw.rtmphost.com/USAEF2010', url: '', bufferLength: 6, scaling: 'fit', provider: 'rtmp'},   
   canvas: { backgroundImage: 'url(images/videoSplash.jpg)' },
   plugins: { rtmp: { url: 'flowplayer.rtmp-3.1.3.swf', netConnectionUrl: 'rtmp://78698yz9xw.rtmphost.com/USAEF2010'},
              controls: { bufferColor: '#caca56', progressColor: '#006738', buttonColor: '#006738', buttonOverColor: '#caca56', tooltipColor: '#006738',  timeColor: '#caca56', height: 30, width: 400, width: '98%', autoHide: 'always', bottom: 5, left: '50%', borderRadius: 15}}
});
             
if (qparts[1] == null) {
    qparts[1] = "EP";
};
var finder = "a#" + qparts[1];
$(finder).click();
};


