$(document).ready( function(){
    //this is specifically for the newsletter form
    $("#name").focus( function(){
        $(this).val('');
    });
    $("#name").blur( function(){
        if($(this).val() == ""){
            $(this).val('Name');
        }
    });
    $("#email").focus( function(){
        $(this).val('');
    });
    $("#email").blur( function(){
        if($(this).val() == ""){
            $(this).val('Email');
        }
    });
    
    $("#newsletter_form").submit(function(){
        if($("#name").val() == "Name" || $("#name").val() == "" || $("#email").val() == "Email" || $("#email").val() == "" || $("#title").val() == ""){
            alert('All the required fields have not been filled in.');
        }else{
            $.post('/includes/mailer.php',$("#newsletter_form").serialize(),function(data){
                if(data == 'success'){
                    alert('You have been added to the newsletter list');
                     $("#name").val('Name');
                     $("#email").val('Email');
                }else{
                    alert(data);
                }
            });
        }
        return false;
    });
    
    
    //decide what page we're on and then change the rotating facts
    var $url = window.location.pathname;
    $url = $url.split('/');
    $str = $url[1];

    if($str.length > 0){
        if($url[3]){
            //this will probably need to be changed to url[2]
            var $str2 = $url[4];
        }else{
            var $str2 = "";
        }
        if(!$str2){
            var HOME_DIR = '';
        }else if($str2.search('.php') > 0){
            var HOME_DIR = '../';
        }else{
            var HOME_DIR = '../../';
        }
    }else{
        var HOME_DIR = '';
    }   
    
     $(".blogContent").html('<div style="padding-left:20px; padding-top:50px; color: 549EC5;"><img style="padding-left:60px;" src="/pix/ajax-loader.gif" /><br />Retrieving Latest Blog Content</div>');
        $.post('/includes/getblog.php',function(data){
            $(".blogContent").empty().append(data);
            $(".blogContent").cycle({ 
                fx:     'scrollHorz', 
                speed:  'fast', 
                timeout: 12000, 
                next:   '#nextButton', 
                prev:   '#backButton',
                height: 'auto' 
            });   
        });
    
    $path = $url[$url.length-1];
    switch($path){
        case 'college-programs.php':
            //for the rotating facts at the bottom right of certain pages    
            var $collegePrograms = [
                    "<font class=\"ABC\">A</font> What do you hope to <b>achieve</b>? Think about your dreams, aspirations and goals and choose the postsecondary school that will help you achieve them.",
                    "<font class=\"ABC\">A</font> What are the <b>admission</b> requirements? Make sure you have completed any high school prerequisites and admissions tests.",
                    "<font class=\"ABC\">A</font> How is the school <b>accredited</b>? Federal financial aid will only be available to students attending schools that are recognized by the Secretary of Education.  To check the status of a potential school, you can call the student Financial Aid Information center at 1-800-4FED-AID.<br />",
                    "<font class=\"ABC\">B</font> What are the <b>benefits</b> of each college, university, or trade school that you are interested in?<br />Explore how each school will benefit you on your path to reaching your goals.",
                    "<font class=\"ABC\">C</font> How long does it take to earn a <b>certificate</b> or degree? Find this out before enrolling in any program.  Make sure you know if the timeframe means full-time or part-time attendance.",
                    "<font class=\"ABC\">D</font> What is the <b>dropout</b> rate?  A high dropout rate may indicate student dissatisfaction.  Ask about refund policies if you drop out or drop a class.",
                    "<font class=\"ABC\">D</font> What is the loan <b>default</b> rate? A high default rate suggests that either students are not completing their training or are unable to find jobs when they graduate.",
                    "<font class=\"ABC\">E</font> What kinds of <b>educational</b> programs are offered? Ask about their best-known or specialty programs, types of certifications or degrees available.",
                    "<font class=\"ABC\">E</font> Carefully <b>evaluate</b> the postsecondary school(s) you plan to attend and the programs in which you intend to enroll.",
                    "<font class=\"ABC\">F</font> What <b>facilities</b> are available at the school? Consider the quality of the classrooms, libraries, and computer centers.  If you plan to live on campus, visit the dorms to see living conditions and meal arrangements.",
                    "<font class=\"ABC\">F</font> Consider <b>financial</b> assistance and scholarships. Look in UtahFutures to find a list of potential funding options that meet your needs.",
                    "<font class=\"ABC\">G</font> What <b>graduate</b> follow-up information is available? Get job placement rates for graduates by program.  Find out about career and placement services that available to students. If you&#8217;re looking to transfer from a 2-year college or a 4-year school, ask how this can be accomplished.",
                    "<font class=\"ABC\">G</font> What do recent <b>graduates</b> have to say about their experience at the school? Schools should give you the opportunity to talk to recent graduates &#8211; or perhaps current students &#8211; who can share their opinions about classes, teachers, facilities, and about the skills they have acquired.",
                    "<font class=\"ABC\">H</font> Have you done your <b>homework</b>? Before enrolling in a school, do your homework.  You may be spending several years of your life and thousands of dollars on obtaining the education you seek.  So, make sure you choose the best place for you.",
                    "<font class=\"ABC\">I</font> Have you gathered as much <b>information</b> as you can about each school in order to make an informed decision? A lot of information can be obtained and questions answered by visiting the Web site of the schools you are interested in.",
                    "<font class=\"ABC\">J</font> The average college graduate changes <b>jobs</b> once every three years and changes career fields two or three times in their lifetime, according to the U.S. Department of Labor. As you pursue your postsecondary education it is important to keep flexible and develop a broad set of skills and areas of knowledge that can be transferred from one field of work to another.",
                    "<font class=\"ABC\">K</font> What <b>key skills</b> do you want to develop? Depending on what your interests are, different schools will have a variety of programs available that will give you the critical skills you will need in your career.  Choose the school that will develop the key skills to further your study and career.",
                    "<font class=\"ABC\">L</font> What is the <b>length</b> of time the institution has been in operation? <br />What is the <b>location</b> of the college, university, or trade school?  Is the school located in a rural community, a small town or a city? The location of the school is an important consideration when it comes to housing, transportation and access to off-campus activities.",
                    "<font class=\"ABC\">M</font> Do you have a specific <b>major</b> in mind? Choosing a college, university, or trade school program is best done through research, connecting with people and matching interests and abilities to course selection.",
                    "<font class=\"ABC\">N</font> What are your <b>needs</b>? Think about what you want and need out of a postsecondary education.  Make a list and match each one to the school you may be interested in.",
                    "<font class=\"ABC\">O</font> Do you want to attend school in-state or <b>out-of-state</b>? Do the colleges, universities, or trade schools within your state offer the degree, activities and other criteria you are looking for?",
                    "<font class=\"ABC\">P</font> Do you want to attend a <b>public</b> or <b>private</b> school? Public schools generally have less restrictive admission requirements and cost less than private schools.  Private schools generally have smaller classes.",
                    "<font class=\"ABC\">Q</font> Ask a lot of <b>questions</b>! Many questions can be answered by accessing UtahFutures.  You can pick up admissions information, find out what programs are offered, link directly to schools&#8217; Web sites and more.",
                    "<font class=\"ABC\">R</font> Have you done your <b>research</b>? The more research you do and the more questions you ask, the easier your choice of a postsecondary school will be.",
                    "<font class=\"ABC\">S</font> Do you prefer a small or a very large <b>school</b>? At large universities, you may be in classes that range from 25 to 500 students.  At small colleges, classes usually range from five to 100 people.",
                    "<font class=\"ABC\">S</font> Do you want to <b>study</b> full-time/part-time/by distance learning, at home or away from home?  There are many options that should help you define the ideal situation for you.",
                    "<font class=\"ABC\">T</font> Have you taken the necessary college assessment <b>tests</b>. The PSAT, SAT, and ACT are basic aptitude tests that measure levels in mathematics and English-related skills.  Find out which tests you need to take and read books on how to best maximize your score.  The higher your score the better your college options will be.",
                    "<font class=\"ABC\">T</font> Postsecondary education is a big investment of <b>time</b> and money. Make sure that you get the best return on this investment by making informed decisions.",
                    "<font class=\"ABC\">U</font> As an <b>undergraduate</b>, what do you want from a college, university, or trade school? Not all colleges, universities, or trade schools offer every field of study, so choosing an area of study will help narrow down your school options.",
                    "<font class=\"ABC\">V</font> If possible, <b>visit</b> the campus of the school(s) you are interested in. Obtain as much written information as you can about the school, including catalogs, guidebooks, pamphlets and admission forms.  Inquire about teacher qualifications, classes, tutoring, labs, counseling, job placement, recruiting events and other student services.",
                    "<font class=\"ABC\">W</font> Check out this <b>web site</b> for valuable information about career information.<br /><a href=\"http://www.utahfuture.org\">www.UtahFutures.org</a>",
                    "<font class=\"ABC\">X</font> Get e<b>xtra</b> credit. Each school has its own policy on what transfer credit it will accept.  If you want to know whether credits will transfer from one school to another, always check with the school that will receive the credits.",
                    "<font class=\"ABC\">Y</font> How many <b>years</b> will it take to receive your degree? Depending on if you are attending a college, university, or trade school, the length of time it will take to complete your education and receive your degree will vary.",
                    "<font class=\"ABC\">Z</font> From agriculture to <b>zoology</b>, does the school offer a program in the area of study you are interested in? Look at the schools web site, read their catalog, and talk to a school counselor."
                    ];
                set_facts($collegePrograms); 
                $("#factsContainer").css('height','275px');
            $("#factsTextBG").css('height','245px'); 
            break;
        case 'why-CTE.php':
            var $mythsAndFacts = ['<font class=\"ABC\">Myth</font><br />Most high school seniors go on to college and earn bachelor&#8217;s degrees.',
            '<font class=\"ABC\">Fact</font><br />A total of just 34 percent of Utah&#8217;s population, age 25+ have any kind of college degree.',
            '<font class=\"ABC\">Myth</font><br />In the future, most jobs will require a four-year degree.',
            '<font class=\"ABC\">Fact</font><br />While most jobs require some post-secondary training (about 65.8 percent), only 20.8 percent of all jobs in Utah require at least a bachelor&#8217;s degree.',
            '<font class=\"ABC\">Myth</font><br />Most high-wage jobs in the future will be in technical fields that require a college degree.',
            '<font class=\"ABC\">Fact</font><br />The largest and fastest growing segment of the emerging technical workforces is jobs not requiring a four-year college degree.',
            '<font class=\"ABC\">Myth</font><br />With the sluggish economy, few jobs will be created in Utah.',
            '<font class=\"ABC\">Fact</font><br />Utah\'s economy is beginning to turn around. The new hospital in Riverton recently created 700 new jobs and the St. Regis Deer Crest Resort located at Deer Valley recently created 300 new jobs. Utah&#8217;s economy is expected to improve significantly throughout 2010.',
            '<font class=\"ABC\">Myth</font><br />The annual employment growth rate in Utah is stagnant.',
            '<font class=\"ABC\">Fact</font><br /><font style=\" font-size: 11px\">In Utah, many industries continue to hire and many occupations continue to be in demand. For example, the occupation of registered nurse is projected to have the highest number of job openings between 2006 and 2016. In fact, 5 of the 8 fastest growing occupations in Utah 2006-2016 are in the health care industry. <b>The rate of growth</b> of occupations in Utah will likely be highest in healthcare, computer/mathematical, and community/social services.</font>'];
            set_facts($mythsAndFacts);
            $("#factsContainer").css('height','260px');
            $("#factsTextBG").css('height','230px');
            $("#footercontainer").css('margin-top','50px');
            break;
        case 'what-is-CTE-pathway.php':
            var $ctePathway = ['Over 8,000 high school seniors have completed a specific CTE Pathway.',
            'CTE in the high schools closes the workforce gap by giving students a jump-start in obtaining essential life skills and certified occupational skills.',
            'CTE enables students to acquire the skills necessary for entry into good paying careers with high potential for rapid financial growth, increased levels of responsibility, and a high degree of personal satisfaction.',
            'There are many high-tech jobs in Utah that students can perform as a result of taking CTE courses while in high school.',
            'Studies reveal a strong correlation between education / technical skill levels and continue employment/lifelong earnings.',
            'Eighteen of the 20 fastest growing occupations within the next decade will require CTE.',
            'CTE graduates find employment 2.2 times faster than graduates from general education programs.',
            'CTE graduates are worth higher wages because they are more productive than other workers.',
            'CTE employees require less formal on-the-job training than those without CTE.',
            'CTE reduces the workforce gap by providing long-term job education and skills training for students, enabling them to reach their full potential.'];
            set_facts($ctePathway);
            break;
        case 'where-Is-CTE-offered.php':
            var $whereCTE = ['Utah has more than 1,000 schools in school districts, and 72 charter schools.',
            'Over half a million students attend Utah public schools.',
            'This year, over 140,900 students (grades 9-12) were enrolled in CTE programs.',
            'The Utah System of Higher Education reported an increase of 8.3 percent (12,632 students) in student enrollment in Utah\'s colleges &#8211; the largest ever &#8211; for the fall 2009 semester.',
            'Utah has the lowest default rates on student loans in the country.',
            'Utah&#8217;s System of Higher Education employs close to 30,000 staff in locations all across the state.',
            'In 2008, state-administered grants and scholarships were awarded to 24,000 students to help support them as they pursued post-secondary education.',
            'Over 60,000 students take college classes online.',
            'Female participation in post-secondary education is 46 percent vs. the national average of 58 percent of total enrollment.',
            'Just 16 percent of Hispanic young adults are enrolled in college, compared with 45 percent of white young adults &#8211; the largest minority gap in the nation.',
            '<b>Judy Chamberlain</b> of Manti was named the 2008 Valedictorian at Snow College, AND ALSO&#8212;served as the student Vice President for Leadership, maintained a perfect 4.0 GPA, competed with the DEX Club at national events, and won the Outstanding Communicators Competition for public speaking.',
            '<font style=\"font-size: 11px;\">When <b>Justin Bechaver</b> attended College of Eastern Utah in 2000, he found that he enjoyed the Criminal Justice Program. His interest encouraged him to apply to the Utah Crime Scene Academy hosted by College of Eastern Utah where he discovered that he had a real passion for crime scene investigation and forensic science. He completed a summer internship with the Utah Bureau of Forensic Services in 2005. Justin now coordinates the State&#8217;s Crime Scene Response Team.</font> ',
            '<b>Chad Nelson</b>, a student in film production at Salt Lake Community College, won second-place for his video Public Service Announcement in a National Geographic Channel competition. Nelson&#8217;s winning PSA focused on the theme of preservation, and his efforts netted him a $1,000 cash award and a trip to Washington D.C. ',
            '<font style=\"font-size: 11px;\"><b>Wendy Cronin</b> found herself in a dead-end job with no hope of realizing her potential, and so she headed back to school. &#8220;So many times I wanted to quit, but my instructors in the Business Technology Program were so committed to my success, they inspired me to keep going.&#8221; Upon completion at Bridgerland Applied Technology College, Wendy was hired at JC Auto, where she is especially proud of her work on their Web site, which contains a state-of-the-art online tracking system for their customers.</font>'];
            set_facts($whereCTE);
            $("#factsContainer").css('height','250px');
            $("#factsTextBG").css('height','230px');
            $("#footercontainer").css('margin-top','50px');
            break;
        case 'agriculture.php':
            $array = ['<b>Agricultural Systems Technology</b><br />The Global Positioning System (GPS) is a key technology utilized in precision agriculture. Precision farming reduces both chemical use and costs while increasing yields.',
            '<b>Agricultural Systems Technology</b><br />Students enrolled in high school agricultural courses are looking to join a $3.5-4.0 billion Utah industry.',
            '<b>Horticulture Science</b> <br />24 million workers (17 percent of the American workforce) are employed in the agricultural industry.',
            '<b>Natural Resource Science</b> <br /> There are 600 bison that roam on Antelope Island State Park, the largest island in Great Salt Lake; the island herd is the second oldest privately held herd in the United States. Today, the bison on the island are among the most sought-after bison in the country.',
            '<b>Production/Processing Animal Science</b> <br /><font style=\"font-size:12px\">Farming is more than food!  Products you use every day come from plant and animal by-products produced by farmers and ranchers, such as pharmaceuticals, latex gloves, heart valves, baseball bats, uniforms, paper, shampoo, fingernail polish, tires, antifreeze, detergents, film, crayons, chalk, and the list goes on and on and on!</font>',
            '<b>Production/Processing Animal Science</b><br />Agriculture is a vital industry to Utah&#8217;s economy. There are 16,500 farms in the state, totaling approximately 11.1 million acres, where Utah agriculturists produce crops and livestock worth nearly $1 billion annually.',
            '<b>Production/Processing Plant & Soil Science</b><br />About 17 percent of all U.S. agricultural products are exported yearly, including: 99 million tons of grains and feed, 2.4 million tons of poultry meats, and 2 million tons of fresh vegetables.','<b>Production/Processing Science & Management</b><br />Farmers and ranchers provide food and habitat for 75 percent of the nation&#8217;s wildlife. One-fourth of the world&#8217;s beef and one-fifth of the world&#8217;s grain, milk and eggs are produced in the United States.',
			'<b>Agriculture Facts</b><br />President Abraham Lincoln established the U.S. Department of Agriculture in 1862.',
			'<b>Agriculture Facts</b><br />Agriculture is a vital industry to Utah’s economy. With more than 16,500 farms in the state, totaling over 11 million acres.',
			'<b>Agriculture Facts</b><br />Utah agriculturists produce crops and livestock worth over $1.5 billion annually.',
			'<b>Agriculture Facts</b><br />Students enrolled in high school agricultural courses are looking to join a $1.5-billion industry in Utah and a $300-billion industry nationwide.',
			'<b>Agriculture Facts</b><br />Agriculture in Utah – By the Numbers<br/>662 - Average-sized farm in acres<br/>16,500 - Number of farms<br/>65,000 - Jobs created by agriculture<br/>11 million - Acres in farmland<br/>$2.4 billion - Annual payroll from agriculture<br/>$15 billion - Economic value of agriculture production and processing sectors',
			'<b>Agriculture Facts</b><br />1.5 percent of all workers in the U.S are employed in agriculture and related industries',
			'<b>Agricultural Systems Technology</b><br />More than 800 filling stations make biodiesel available to the public and 1,700 petroleum distributors carry it nationwide.',
			'<b>Agricultural Systems Technology</b><br />About 90 percent of U.S. biodiesel is produced from soybean oil.',
			'<b>Agricultural Systems Technology</b><br />In 2008, 16 percent of soybean oil produced in the U.S. was used for biodiesel production.',
			'<b>Agricultural Systems Technology</b><br />In 2008, one in every four rows of corn went into ethanol production.',
			'<b>Horticulture Science and Management</b><br />Eighty-two million American households spend approximately $35.1 billion at lawn and garden retail outlet annually.',
			'<b>Horticulture Science and Management</b><br />U.S. consumers spend $44.7 billion annually on professional landscape, lawn and tree care services.',
			'<b>Horticulture Science and Management</b><br />California, Florida, Texas, Oregon, North Carolina, Michigan, and Ohio produce about two-thirds of the annual U.S. nursery crop.',
			'<b>Horticulture Science and Management</b><br />Grower cash receipts from nursery and green house sales to retail and distribution businesses grew to $17.2 billion in 2007, up from $15.4 billion in 2003.',
			'<b>Natural Resources Science and Management</b><br />Utah State Parks was named among the top three state park systems in the nation for excellence in partnerships, planning, management, preservation, and technological information.',
			'<b>Natural Resources Science and Management</b><br />Last year, nearly 5 million people visited Utah’s 43 state parks and museums.',
			'<b>Natural Resources Science and Management</b><br />In 2007, Utah saw its greatest oil production in more than a decade with more than 19.5 million barrels of oil produced.',
			'<b>Natural Resources Science and Management</b><br />Utah has a wealth of natural resources, which includes five national parks, seven national monuments, seven national forests, two national recreation areas, 45 state parks, and millions of acres of Bureaus of Land Management (BLM) administered deserts and range land.',
			'<b>Natural Resources Science and Management</b><br />Utah utilizes grazing allotments on public (BLM) land to support its range cattle industry.',
			'<b>Natural Resources Science and Management</b><br />Women make up 22.2 percent of the people working in farming, fishing, and forestry occupations. ',
			'<b>Production/Processing Animal Science</b><br />98 percent of American Farms are family-owned and –operated farms.',
			'<b>Production/Processing Animal Science</b><br />71 percent of the state’s cash receipts come from the combined total of all livestock and livestock products, including sheep and wool, cattle, milk, eggs, hogs, and other products.',
			'<b>Production/Processing Animal Science</b><br />33 percent of Utah’s cash receipts come from meat sales (beef, hog, and sheep)',
			'<b>Production/Processing Animal Science</b><br />Large animal veterinarians have proven both valuable and rare for Utah agriculture.',
			'<b>Production/Processing Animal Science</b><br />Farms are found in every one of Utah’s 29 counties.',
			'<b>Production/Processing Animal Science</b><br />Nationally, Utah ranks second in mink, sixth in sheep, and fifteenth in trout production.',
			'<b>Production/Processing Animal Science</b><br />Utah ranks 37th in the nation for total cash receipts, totaling $1,339,679.',
			'<b>Production/Processing Animal Science</b><br />14 percent of principal farm operators are women.',
			'<b>Production/Processing Animal Science</b><br />Today, each U.S. farmer produces food and fiber for 155 people in the United States and abroad.',
			'<b>Production/Processing Plant and Soil Science</b><br />About 24 percent of all U.S. agricultural products are exported yearly, including 114 million tons of grains and feed, 4 million tons of poultry meats, and 2 million tons of fresh vegetables.',
			'<b>Production/Processing Plant and Soil Science</b><br />In 2008, $115.5 billion worth of American agricultural products were exported around the globe.',
			'<b>Production/Processing Plant and Soil Science</b><br />Canada, Mexico, Japan, China, and Europe accounted for more than 50 percent of all U.S. agricultural exports.',
			'<b>Production/Processing Science and Management</b><br />Farmers and ranchers receive only 19 cents of every retail dollar spent on food that is eaten at home or away from home. In 1980, framers received 31 cents out of every retail dollar spent on food in America.',
			'<b>Production/Processing Science and Management</b><br />Off-farm costs (marketing expenses associated with processing, wholesaling, distributing, and retailing of food products) account for 81 cents of every retail dollar spent on food.',
			'<b>Production/Processing Science and Management</b><br />In 2008, farm level production expenses were 14.2 percent higher than in 2007 and 38.5 percent higher than in 2004.'];
            set_facts($array);
            $("#factsContainer").css('height','250px');
            $("#factsTextBG").css('height','220px');
            $("#footercontainer").css('margin-top','50px');
            $("#factsTextBG").find('p').css('text-align','left');
            break;
        case 'agriculture-systems-technology.php':
            $array = ['<b>Agricultural Systems Technology</b><br />The Global Positioning System (GPS) is a key technology utilized in precision agriculture. Precision farming reduces both chemical use and costs while increasing yields.',
            '<b>Agricultural Systems Technology</b><br />Students enrolled in high school agricultural courses are looking to join a $3.5-4.0 billion Utah industry.'];
            set_facts($array);
            break;
        case 'horticulture-science.php':
            $array = ['<b>Horticulture Science</b> <br />24 million workers (17 percent of the American workforce) are employed in the agricultural industry.'];
            set_facts($array);
            break;
        case 'natural-resource.php':
            $array = ['<b>Natural Resources Science & Management</b> <br /> There are 600 bison that roam on Antelope Island State Park, the largest island in Great Salt Lake; the island herd is the second oldest privately held herd in the United States. Today, the bison on the island are among the most sought-after bison in the country.'];
            set_facts($array);
            $("#factsContainer").css('height','240px');
            $("#factsTextBG").css('height','210px');
            $("#factsTextBG").find('p').css('text-align','left');
            break;
        case 'animal-science.php':
            $array = ['<b>Production/Processing Animal Science</b> <br /><font style=\"font-size:12px\">Farming is more than food!  Products you use every day come from plant and animal by-products produced by farmers and ranchers, such as pharmaceuticals, latex gloves, heart valves, baseball bats, uniforms, paper, shampoo, fingernail polish, tires, antifreeze, detergents, film, crayons, chalk, and the list goes on and on and on!</font>',
            '<b>Production/Processing Animal Science</b><br />Agriculture is a vital industry to Utah&#8217;s economy. There are 16,500 farms in the state, totaling approximately 11.1 million acres, where Utah agriculturists produce crops and livestock worth nearly $1 billion annually.'];
            set_facts($array);
            $("#factsContainer").css('height','250px');
            $("#factsTextBG").css('height','220px');
            $("#factsTextBG").find('p').css('text-align','left');
            break;
        case 'plant-soil-science.php':
            $array = [ '<b>Production/Processing Plant & Soil Science</b><br />About 17 percent of all U.S. agricultural products are exported yearly, including: 99 million tons of grains and feed, 2.4 million tons of poultry meats, and 2 million tons of fresh vegetables.'];
            $("#factsContainer").css('height','220px');
            $("#factsTextBG").css('height','190px');
            set_facts($array);
            break;
        case 'production-processing-science.php':
            var $array = ['<b>Production/Processing Science & Management</b><br />Farmers and ranchers provide food and habitat for 75 percent of the nation&#8217;s wildlife. One-fourth of the world&#8217;s beef and one-fifth of the world&#8217;s grain, milk and eggs are produced in the United States.'];
            set_facts($array);
            $("#factsContainer").css('height','220px');
            $("#factsTextBG").css('height','190px');
            break;
        case 'business.php':
            var $array = ['<b>Accounting & Finance:</b><br />In Utah, a certified public accountant (CPA) must have a master&#8217;s degree in accounting and receive a state license.  This license must be renewed every two years.',
            '<b>Business Administration Support:</b><br />In the early days of mechanical typewriters, proficient typists could type so fast that the keys frequently jammed against each other. The familiar but illogical QWERTY keyboard was then developed in an effort to space often-used keys apart to prevent jamming.',
            '<b>Business Entrepreneurship:</b><br />In the U.S., there are over 27 million small businesses, employing more than 40 million people.',
            '<b>Business Management:</b><br />If you aspire to earn an MBA, consider a path that includes some humanities, a bit of economics, and some patience.',
            '<b>Business Technology Support:</b><br />The World Wide Web has changed the way we communicate and consume information. Millions of Web pages already exist, with more in the works. However, most people don&#8217;t possess the technical know-how to launch an eye-catching Web site. For those individuals with Web page design skills, job opportunities should be plentiful.'];
            set_facts($array);
             $("#factsContainer").css('height','250px');
            $("#factsTextBG").css('height','220px');
            $("#footercontainer").css('margin-top','50px');
            break;
        case 'accounting-finance.php':
            var $array = ['<b>Accounting & Finance:</b><br />In Utah, a certified public accountant (CPA) must have a master&#8217;s degree in accounting and receive a state license.  This license must be renewed every two years.'];
            set_facts($array);
            break;
        case 'administrative-support.php':
            var $array = ['<b>Business Administration Support:</b><br />In the early days of mechanical typewriters, proficient typists could type so fast that the keys frequently jammed against each other. The familiar but illogical QWERTY keyboard was then developed in an effort to space often-used keys apart to prevent jamming.'];
            set_facts($array);
            $("#factsContainer").css('height','220px');
            $("#factsTextBG").css('height','190px');
            break;
        case 'entrepreneurship.php':
            var $array = ['<b>Business Entrepreneurship:</b><br />In the U.S., there are over 27 million small businesses, employing more than 40 million people.'];
            set_facts($array);
            break;
        case 'business-management.php':
            var $array = ['<b>Business Management:</b><br />If you aspire to earn an MBA, consider a path that includes some humanities, a bit of economics, and some patience.'];
            set_facts($array);
            break;
        case 'technology-support.php':
            var $array = ['<b>Business Technology Support:</b><br />The World Wide Web has changed the way we communicate and consume information. Millions of Web pages already exist, with more in the works. However, most people don&#8217;t possess the technical know-how to launch an eye-catching Web site. For those individuals with Web page design skills, job opportunities should be plentiful.'];
            set_facts($array);
            $("#factsContainer").css('height','250px');
            $("#factsTextBG").css('height','220px');
            break;
        case 'family-consumer-science.php':
            var $array = ['<b>Child Development</b><br />Nationwide, families pay an average of 14 percent of their annual income on child care. Approximately 35 percent of all child care workers are self-employed.',
            '<b>Consumer Economics Services</b><br />Financial issues are the most common source of problems within families and couple relationships.',
            '<b>Family & Human Services</b><br />Studies have shown that a harmonious marriage relationship promotes competence and maturity in the couple&#8217;s children. Other studies have demonstrated that marital conflict may result in cognitive delay, school difficulties, and antisocial or withdrawn behavior.',
            '<b>Fashion Design, Manufacturing & Merchandising</b><br />60 percent of the 2,000 women in the world who buy haute couture clothes are American. Haute couture is the business of designing and selling custom-made high-fashion clothing. Each article of clothing requires an average of three fittings and dress prices can range from $26,000 to $100,000.',
            '<b>Fashion Design, Manufacturing & Merchandising</b><br />Two-thirds of salaried fashion designers are employed in either New York or California.',
            '<b>Food Science, Dietetics & Nutrition</b><br />Researchers don\'t know why, but people living in mountain states eat 30 percent more cookies than other people',
            '<b>Food Services & Culinary Arts</b><br />Only 20.6 percent of people employed as chefs and head cooks are women.',
            '<b>Hospitality Services</b><br />Checklists, timelines, and fact sheets are tools an event planner uses every day. Each one is vital to the organization, planning and management of an event.',
            '<b>Hospitality Services</b><br />Spending by travelers and visitors account for a median of 20 to 40 percent of sales at table service restaurants and 15 percent of quick service sales.',
            '<b>Hospitality Services</b><br />In some states a travel/tour guide must be licensed.',
            '<b>Interior Design:</b><br />Currently, there are approximately 65,000 people in the interior design profession.'];
            set_facts($array);
            $("#factsContainer").css('height','270px');
            $("#factsTextBG").css('height','240px');
            $("#footercontainer").css('margin-top','50px');
            break;
        case 'child-development.php':
            var $array = ['<b>Child Development</b><br />Nationwide, families pay an average of 14 percent of their annual income on child care. Approximately 35 percent of all child care workers are self-employed.'];
            set_facts($array);
            break;
        case 'consumer-economics.php':
            var $array = ['<b>Consumer Economics Services</b><br />Financial issues are the most common source of problems within families and couple relationships.'];
            set_facts($array);
            break;
        case 'human-services.php':
            var $array = ['<b>Family & Human Services</b><br />Studies have shown that a harmonious marriage relationship promotes competence and maturity in the couple&#8217;s children. Other studies have demonstrated that marital conflict may result in cognitive delay, school difficulties, and antisocial or withdrawn behavior.'];
            set_facts($array);
            $("#factsContainer").css('height','220px');
            $("#factsTextBG").css('height','190px')
            break;
        case 'fashion-manufacturing-merchandising.php':
            var $array = ['<b>Fashion Design, Manufacturing & Merchandising</b><br />60 percent of the 2,000 women in the world who buy haute couture clothes are American. Haute couture is the business of designing and selling custom-made high-fashion clothing. Each article of clothing requires an average of three fittings and dress prices can range from $26,000 to $100,000.',
            '<b>Fashion Design, Manufacturing & Merchandising</b><br />Two-thirds of salaried fashion designers are employed in either New York or California.'];
            set_facts($array);
            $("#factsContainer").css('height','270px');
            $("#factsTextBG").css('height','240px');
            break;
        case 'food-dietetics-nutrition.php':
            var $array = [ '<b>Food Science, Dietetics & Nutrition</b><br />Researchers don\'t know why, but people living in mountain states eat 30 percent more cookies than other people'];
            set_facts($array);
            break;
        case 'food-service-culinary-arts.php':
            var $array = ['<b>Food Services & Culinary Arts</b><br />Only 20.6 percent of people employed as chefs and head cooks are women.'];
            set_facts($array);
            break;
        case 'hospitality-services.php':
            var $array = ['<b>Hospitality Services</b><br />Checklists, timelines, and fact sheets are tools an event planner uses every day. Each one is vital to the organization, planning and management of an event.',
            '<b>Hospitality Services</b><br />Spending by travelers and visitors account for a median of 20 to 40 percent of sales at table service restaurants and 15 percent of quick service sales.',
            '<b>Hospitality Services</b><br />In some states a travel/tour guide must be licensed.'];
            set_facts($array);
            break;
        case 'interior-design.php':
            var $array = ['<b>Interior Design:</b><br />Currently, there are approximately 65,000 people in the interior design profession.'];
            set_facts($array);
            break;
        case "health-science.php":
            var $array = ['<b>Biotechnology</b><br /><font style=\"font-size:12px;\">Biotechnology is predicted to be one of the most important applied sciences of the 21st century. The field of biotechnology can trace its true birth back to the dawn of civilization, when early man discovered the ability to ferment grains to make alcoholic beverages, and learned of the usefulness of cross-pollinating crops in order to create new hybrid strains &#8211; the earliest form of genetic engineering.</font>',
            '<b>Medical Office Administrative Assistant</b><br />As insurance policies become more intricate, and as government sets more guidelines and creates new laws surrounding the profession, there is an increased need for administrative help within hospitals, clinics, and other medical offices.',
           '<b>Dental</b><br />Research shows that chronic gum disease leads to the release of inflammatory substances and bacteria into the blood stream that leads to heart disease.',
            '<b>Emergency Medical Technician (EMT)</b><br />Emergency medical technicians and paramedics must have formal training and certification. In order to maintain certification, EMTs and paramedics are required to recertify, typically every 2 years.',
            '<b>Medical Assistant</b><br />Approximately 62 percent of all medical assistants work in a physician&#8217;s office.',
            '<b>Nursing</b><br />In the U.S., registered nurses held approximately 2.5 million jobs in 2006, making registered nursing the largest health care occupation. About 3 out of 5 RN jobs are in hospitals, in inpatient and outpatient departments.',
            '<b>Pharmacy</b><br />Pharmaceutical makers are accustomed to a research-to-market cycle of as long as 10 years in order to discover, develop and commercially launch a new drug. According to a study by the Tufts Center for the Study of Drug Development, the cost of developing a new drug and getting it to market averages $802 million.',
            '<b>Surgical Technician</b><br />Surgical technicians are commonly referred to as &#8220;scrubs.&#8221; More than three-fourths of scrubs work in a hospital-setting, with the exception of private scrubs who are employed directly by surgeons for special teams &#8212; like transplant work.',
            '<b>Therapeutic Rehabilitation/Exercise</b><br />Physical Therapy is ranked among the top 10 fields, and is expected to remain a top field well into the 21st century.',
            '<b>Therapeutic Rehabilitation/Exercise</b><br />In Utah, an athletic trainer, physical therapist, physician, and physician assistant must all be licensed.'];
            set_facts($array);
            $("#factsContainer").css('height','250px');
            $("#factsTextBG").css('height','220px');
            $("#footercontainer").css('margin-top','50px');
            $("#factsTextBG").find('p').css('text-align','left');
            break;
        case 'biotechnology.php':
            var $array = ['<b>Biotechnology</b><br /><font style=\"font-size:12px;\">Biotechnology is predicted to be one of the most important applied sciences of the 21st century. The field of biotechnology can trace its true birth back to the dawn of civilization, when early man discovered the ability to ferment grains to make alcoholic beverages, and learned of the usefulness of cross-pollinating crops in order to create new hybrid strains &#8211; the earliest form of genetic engineering.</font>'];
            set_facts($array);
            $("#factsContainer").css('height','250px');
            $("#factsTextBG").css('height','220px');
            break;
        case 'medical-office-administrative-assistant.php':
            var $array = ['<b>Medical Office Administrative Assistant</b><br />As insurance policies become more intricate, and as government sets more guidelines and creates new laws surrounding the profession, there is an increased need for administrative help within hospitals, clinics, and other medical offices.'];
            set_facts($array);
            $("#factsContainer").css('height','250px');
            $("#factsTextBG").css('height','220px');
            $("#factsTextBG").find('p').css('text-align','left');
            break;
        case 'dental.php':
            var $array = [ '<b>Dental</b><br />Research shows that chronic gum disease leads to the release of inflammatory substances and bacteria into the blood stream that leads to heart disease.'];
            set_facts($array);
            break;
        case 'emergency-medical-technician.php':
            var $array = [ '<b>Emergency Medical Technician (EMT)</b><br />Emergency medical technicians and paramedics must have formal training and certification. In order to maintain certification, EMTs and paramedics are required to recertify, typically every 2 years.'];
            set_facts($array);
            $("#factsContainer").css('height','220px');
            $("#factsTextBG").css('height','190px');
            break;
        case 'medical-assistant.php':
            var $array = ['<b>Medical Assistant</b><br />Approximately 62 percent of all medical assistants work in a physician&#8217;s office.'];
            set_facts($array);
            break;
        case 'nursing.php':
            var $array = ['<b>Nursing</b><br />In the U.S., registered nurses held approximately 2.5 million jobs in 2006, making registered nursing the largest health care occupation. About 3 out of 5 RN jobs are in hospitals, in inpatient and outpatient departments.'];
            set_facts($array);
            $("#factsContainer").css('height','190px');
            break;
        case 'pharmacy.php':
            var $array = ['<b>Pharmacy</b><br />Pharmaceutical makers are accustomed to a research-to-market cycle of as long as 10 years in order to discover, develop and commercially launch a new drug. According to a study by the Tufts Center for the Study of Drug Development, the cost of developing a new drug and getting it to market averages $802 million.'];
            set_facts($array);
            $("#factsContainer").css('height','230px');
            $("#factsTextBG").css('height','200px');
            break;
        case 'surgical-technician.php':
            var $array = ['<b>Surgical Technician</b><br />Surgical technicians are commonly referred to as &#8220;scrubs.&#8221; More than three-fourths of scrubs work in a hospital-setting, with the exception of private scrubs who are employed directly by surgeons for special teams &#8212; like transplant work.'];
            set_facts($array);
            $("#factsContainer").css('height','190px');
            break;
        case 'therapeutic-rehabilitation.php':
            var $array = ['<b>Therapeutic Rehabilitation/Exercise</b><br />Physical Therapy is ranked among the top 10 fields, and is expected to remain a top field well into the 21st century.',
            '<b>Therapeutic Rehabilitation/Exercise</b><br />In Utah, an athletic trainer, physical therapist, physician, and physician assistant must all be licensed.'];
            set_facts($array);
            break;
        case 'information-technology.php':
            var $array = ['<b>Database Development & Administration</b><br />Information Technology workers are needed in nearly every industry. The demand for technically skilled workers is growing in almost every industry, not just in those considered high-tech.',
            '<b>Technical Support</b><br />Technical Support positions are in high demand both in IT and non-IT companies. Non-IT companies represent 79 percent of employment for IT workers.',
            '<b>Digital Media (Multimedia)</b><br />Multimedia programs combine art and technology to present text, images and sound in digital form.',
            '<b>Web Development & Administration</b><br />The prime reason the Google home page is so bare is due to the fact that the founders didn&#8217;t know HTML and just wanted a quick interface.',
            '<b>Web Development & Administration</b><br />The American Institute of Graphic Arts reports that nine out of 10 artists have a college degree, most with a major in graphic design.',
            '<b>Network Systems</b><br />Over 63 percent of American homes have broadband Internet connections.',
            '<b>Network Systems</b><br />The term &#8220;computer bug&#8221; was coined in the 1940s, when an insect got into a relay in a primitive electromechanical computer, causing computer malfunctions.',
            '<b>Programming & Software Development:</b><br />A 3D graphics programmer must have a firm grasp of advanced mathematical concepts.'];
            set_facts($array);
            $("#factsContainer").css('height','210px');
            $("#factsTextBG").css('height','190px');
            $("#footercontainer").css('margin-top','30px');
            $("#factsTextBG").find('p').css('text-align','left');
            break;
        case 'database.php':
            var $array = ['<b>Database Development & Administration</b><br />Information Technology workers are needed in nearly every industry. The demand for technically skilled workers is growing in almost every industry, not just in those considered high-tech.'];
            set_facts($array);
            break;
        case 'technical-support.php':
            var $array = ['<b>Technical Support</b><br />Technical Support positions are in high demand both in IT and non-IT companies. Non-IT companies represent 79 percent of employment for IT workers.'];
            set_facts($array);
            break;
        case 'multimedia.php':
            var $array = ['<b>Digital Media (Multimedia)</b><br />Multimedia programs combine art and technology to present text, images and sound in digital form.'];
            set_facts($array);
            break;
        case 'web-development.php':
            var $array = ['<b>Web Development & Administration</b><br />The prime reason the Google home page is so bare is due to the fact that the founders didn&#8217;t know HTML and just wanted a quick interface.',
            '<b>Web Development & Administration</b><br />The American Institute of Graphic Arts reports that nine out of 10 artists have a college degree, most with a major in graphic design.'];
            set_facts($array);
            break;
        case 'network-systems.php':
            var $array = ['<b>Network Systems</b><br />Over 63 percent of American homes have broadband Internet connections.',
            '<b>Network Systems</b><br />The term &#8220;computer bug&#8221; was coined in the 1940s, when an insect got into a relay in a primitive electromechanical computer, causing computer malfunctions.'];
            set_facts($array);
            break;
        case 'programming-software.php':
            var $array = ['<b>Programming & Software Development:</b><br />A 3D graphics programmer must have a firm grasp of advanced mathematical concepts.'];
            set_facts($array);
            break;
        case "marketing.php":
            var $array = ['<b>Marketing Entrepreneurship</b><br />Over 70 percent of the new jobs in America are created by small businesses, and 90 percent of the businesses are sole proprietorships.',
            '<b>Marketing Management</b><br />According to marketing industry studies, a person\'s "brand loyalty" may begin as early as age two.',
            '<b>Sales & Service Marketing</b><br />One in five American workers is employed in the retailing industry in full-time, part-time, and seasonal positions.',
            '<b>Travel & Tourism</b><br />According to the U.S. Commerce Department, in the United States, International travel is one of the largest exports, exceeding agricultural goods and motor vehicles.'];
            set_facts($array);
            break;
        case 'marketing-entrepreneurship.php':
            var $array = ['<b>Marketing Entrepreneurship</b><br />Over 70 percent of the new jobs in America are created by small businesses, and 90 percent of the businesses are sole proprietorships.'];
            set_facts($array);
            break;
        case 'marketing-management.php':
            var $array = ['<b>Marketing Management</b><br />According to marketing industry studies, a person\'s "brand loyalty" may begin as early as age two.'];
            set_facts($array);
            break;
        case 'sales.php':
            var $array = [ '<b>Sales & Service Marketing</b><br />One in five American workers is employed in the retailing industry in full-time, part-time, and seasonal positions.'];
            set_facts($array);
            break;
        case 'travel-tourism.php':
            var $array = ['<b>Travel & Tourism</b><br />According to the U.S. Commerce Department, in the United States, International travel is one of the largest exports, exceeding agricultural goods and motor vehicles.'];
            set_facts($array);
            break;
        case 'skilled-technical-sciences.php':
            var $array = ['<b>Carpentry</b><br />Carpentry is the largest occupation of the constructions trades. Over 32 percent of all carpenters are self-employed.',
            '<b>Carpentry</b><br />This is a nontraditional occupation for women. In 2007, 1.9 percent of the people employed in this occupation were women.',
            '<b>Electrician</b><br />Compact fluorescent light bulbs use 75 percent less energy and last 10 times as long a regular incandescent.',
            '<b>Electrician</b><br />This is a nontraditional occupation for women. In 2007, 1.7 percent of the people employed in this occupation were women.',
            '<b>HVAC</b><br />Energy-efficient homes can reduce home energy needs by 20 to 30 percent, saving Americans thousands of dollars in their utility bills.',
            '<b>HVAC</b><br />This is a nontraditional occupation for women. In 2007, less than 1 percent of the people employed in this occupation were women.',
            '<b>Plumbing</b><br />Wooden pipes were common until the early 1800s when a change was then made to iron.',
            '<b>Plumbing</b><br />This is a nontraditional occupation for women. In 2007, 1.5 percent of the people employed in this occupation were women.',
            '<b>Radio Broadcasting Technician</b><br />Throughout the U.S., there are over 14,000 radio stations&#8212;including commercial and non-commercial stations.',
            '<b>Radio Broadcasting Technician</b><br />Radio and telecommunications equipment installers and repairers is a nontraditional occupation for women. Over 14 percent of the people employed in this occupation are women.',
            '<b>Television Broadcasting Technician</b><br />Annual gross television-broadcasting revenues in the U.S. are conservatively estimated at about $20 billion.',
            '<b>Television Broadcasting Technician</b><br />Nearly 25 percent of all American households watch TV online. Two-thirds of online TV viewers access programs through streaming video, while 41 percent choose free downloads.',
            '<b>Automotive Collision Repair</b><br />Over 97 percent of all cars taken out of service are recycled, making them the most recycled product in the world.',
            '<b>Automotive Collision Repair</b><br />This is a nontraditional occupation for women. In 2007, just 1.6 percent of the people employed in this occupation were women.',
            '<b>Automotive Collision Repair</b><br />Over 97 percent of all cars taken out of service are recycled, making them the most recycled product in the world.',
            '<b>Automotive Collision Repair</b><br />This is a nontraditional occupation for women. In 2007, just 1.6 percent of the people employed in this occupation were women.',
            '<b>Automotive Service Technician</b><br />The automotive industry is rapidly growing and &#8220;the work of automotive service technicians and mechanics has evolved from simply mechanical to high technology.',
            '<b>Automotive Service Technician</b><br />This is a nontraditional occupation for women. In 2007, 1.6 percent of the people employed in this occupation were women.',
            '<b>Electronics</b><br />A typical American household owns 23 electronic products, spending over $1,200 per year on such devices.',
            '<b>Electronics</b><br />This is a nontraditional occupation for women. In 2007, 8.6 percent of the people employed in this occupation were women.',
            '<b>Cabinetmaking/Millwork</b><br />Those individuals who work in the cabinetmaking/millwork occupation are highly skilled and require extensive on-the-job training. Mathematics, especially geometry, is an essential skill and computer skills are increasingly important.',
            '<b>Cabinetmaking/Millwork</b><br />This is a nontraditional occupation for women. In 2007, 6.5 percent of the people employed in this occupation were women.',
            '<b>Drafting/CAD</b><br />The blueprints for the Eiffel Tower covered more than 14,000 square feet of drafting paper.',
            '<b>Drafting/CAD</b><br />In today&#8217;s technologically advanced business world, drafters must have excellent drawing and graphic skills along with a high level of computer skills.',
            '<b>Drafting/CAD</b><br />In Utah, architects and landscape architects must be licensed.',
            '<b>Drafting/CAD</b><br />This is a nontraditional occupation for women. In 2007, only about one-fifth of the people employed in this occupation were women.',
            '<b>Graphics/Printing</b><br />The United States and Canada are the world&#8217;s largest producers of paper and paper products. Per year, the average American uses more than 700 pounds of paper.',
            '<b>Graphics/Printing</b><br />A printing machine operator is a nontraditional occupation for women. In 2007, 17.2 percent of the people employed in this occupation were women.',
            '<b>Machine Tool</b><br />No two countries were more responsible for the Industrial Revolution than America and England. In England, machines served to make talented artisans better. In America, machines served to make entrepreneurs more productive.',
            '<b>Machine Tool</b><br />This is a nontraditional occupation for women. In 2007, 13.2 percent of the people employed in this occupation were women.',
            '<b>Welding</b><br />During the Middle Ages, the art of blacksmithing was developed and many times of iron were produced which were welded by hammering. It was not until the 19th century that welding as we know it today was invented.',
            '<b>Welding</b><br />This is a nontraditional occupation for women. In 2007, 5.6 percent of the people employed in this occupation were women.',
            '<b>Cosmetology</b><br />Human hair is being used to clean up oil spills. Hair has a natural ability to absorb oils. Researchers have begun to use scrap hair from barbershops and beauty salons to keep our water clean.',
            '<b>Esthetician/Nail Technician:</b><br />Having nails manicured is an ancient activity. There is evidence that, even 4,000 years ago, it was known to our predecessors.',
            '<b>Firefighting</b><br />There are over 1 million firefighters in the United States. In Utah, approximately 85 percent of firefighters are volunteers and approximately 14 percent are career firefighters.',
            '<b>Firefighting</b><br />This is a nontraditional occupation for women. In 2007, 5.3 percent of the people employed in this occupation were women.',
            '<b>Law Enforcement</b><br />There are approximately 800,000 sworn law enforcement officers now serving in the United States.',
            '<b>Law Enforcement</b><br />Approximately 13.7 percent of all police and sheriff patrol officers are women.',
            '<b>Commercial Art</b><br />Vincent Van Gogh painted four still-life canvases devoted entirely to the potato.',
            '<b>Commercial Photography</b><br />The word "photography" comes from the Greek words for light and writing.',
            '<b>Commercial Photography</b><br />Daguerreotype was the first successful photographic process. This process took 10 to 20 minutes to properly expose to available light. Therefore, people were required to sit still for that period of time to have their pictures taken',
            '<b>Heavy Duty Diesel</b><br />In 2006, the Environmental Protection Agency (EPA) imposed stricter emissions standards for diesel trucks. This regulation is designed to reduce emissions by 90 percent.',
            '<b>Heavy Duty Diesel</b><br />This is a nontraditional occupation for women. In 2007, 5.3 percent of the people employed in this occupation were women.'];
            set_facts($array);
            $("#factsContainer").css('height','190px');
            break;
        case 'carpentry.php':
            var $array = ['<b>Carpentry</b><br />Carpentry is the largest occupation of the constructions trades. Over 32 percent of all carpenters are self-employed.',
            '<b>Carpentry</b><br />This is a nontraditional occupation for women. In 2007, 1.9 percent of the people employed in this occupation were women.'];
            set_facts($array);
            $("#factsContainer").css('height','190px');
            break;
        case 'electrician.php':
            var $array = ['<b>Electrician</b><br />Compact fluorescent light bulbs use 75 percent less energy and last 10 times as long a regular incandescent.',
            '<b>Electrician</b><br />This is a nontraditional occupation for women. In 2007, 1.7 percent of the people employed in this occupation were women.'];
            set_facts($array);
            $("#factsContainer").css('height','190px');
            break;
        case 'HVAC.php':
            var $array = [ '<b>HVAC</b><br />Energy-efficient homes can reduce home energy needs by 20 to 30 percent, saving Americans thousands of dollars in their utility bills.',
            '<b>HVAC</b><br />This is a nontraditional occupation for women. In 2007, less than 1 percent of the people employed in this occupation were women.'];
            set_facts($array);
            $("#factsContainer").css('height','190px');
            break;
        case 'plumbing.php':
            var $array = ['<b>Plumbing</b><br />Wooden pipes were common until the early 1800s when a change was then made to iron.',
            '<b>Plumbing</b><br />This is a nontraditional occupation for women. In 2007, 1.5 percent of the people employed in this occupation were women.'];
            set_facts($array);
            $("#factsContainer").css('height','190px');
            break;
        case 'radio-broadcast-technician.php':
            var $array = ['<b>Radio Broadcasting Technician</b><br />Throughout the U.S., there are over 14,000 radio stations&#8212;including commercial and non-commercial stations.',
            '<b>Radio Broadcasting Technician</b><br />Radio and telecommunications equipment installers and repairers is a nontraditional occupation for women. Over 14 percent of the people employed in this occupation are women.'];
            set_facts($array);
            $("#factsContainer").css('height','190px');
            break;
        case 'television-broadcasting-technician.php':
            var $array = [ '<b>Television Broadcasting Technician</b><br />Annual gross television-broadcasting revenues in the U.S. are conservatively estimated at about $20 billion.',
            '<b>Television Broadcasting Technician</b><br />Nearly 25 percent of all American households watch TV online. Two-thirds of online TV viewers access programs through streaming video, while 41 percent choose free downloads.'];
            set_facts($array);
            $("#factsContainer").css('height','190px');
            break;
        case 'automotive-collision-repair.php':
            var $array = ['<b>Automotive Collision Repair</b><br />Over 97 percent of all cars taken out of service are recycled, making them the most recycled product in the world.',
            '<b>Automotive Collision Repair</b><br />This is a nontraditional occupation for women. In 2007, just 1.6 percent of the people employed in this occupation were women.'];
            set_facts($array);
            $("#factsContainer").css('height','190px');
            break;
        case 'automotive-service-technician.php':
            var $array = ['<b>Automotive Service Technician</b><br />The automotive industry is rapidly growing and &#8220;the work of automotive service technicians and mechanics has evolved from simply mechanical to high technology.',
            '<b>Automotive Service Technician</b><br />This is a nontraditional occupation for women. In 2007, 1.6 percent of the people employed in this occupation were women.'];
            set_facts($array);
            $("#factsContainer").css('height','190px');
            break;
        case 'electronics.php':
            var $array = ['<b>Electronics</b><br />A typical American household owns 23 electronic products, spending over $1,200 per year on such devices.',
            '<b>Electronics</b><br />This is a nontraditional occupation for women. In 2007, 8.6 percent of the people employed in this occupation were women.'];
            set_facts($array);
            $("#factsContainer").css('height','190px');
            break;
        case 'cabinetmaking-millwork.php':
            var $array = ['<b>Cabinetmaking/Millwork</b><br />Those individuals who work in the cabinetmaking/millwork occupation are highly skilled and require extensive on-the-job training. Mathematics, especially geometry, is an essential skill and computer skills are increasingly important.',
            '<b>Cabinetmaking/Millwork</b><br />This is a nontraditional occupation for women. In 2007, 6.5 percent of the people employed in this occupation were women.'];
            set_facts($array);
            $("#factsContainer").css('height','190px');
            break;
        case 'design-technology.php':
            var $array = [ '<b>Drafting/CAD</b><br />The blueprints for the Eiffel Tower covered more than 14,000 square feet of drafting paper.',
            '<b>Design Technology</b><br />In today&#8217;s technologically advanced business world, drafters must have excellent drawing and graphic skills along with a high level of computer skills.',
            '<b>Design Technology</b><br />In Utah, architects and landscape architects must be licensed.',
            '<b>Design Technology</b><br />This is a nontraditional occupation for women. In 2007, only about one-fifth of the people employed in this occupation were women.'];
            set_facts($array);
            $("#factsContainer").css('height','190px');
            break;
        case 'graphics-printing.php':
            var $array = ['<b>Graphics/Printing</b><br />The United States and Canada are the world&#8217;s largest producers of paper and paper products. Per year, the average American uses more than 700 pounds of paper.',
            '<b>Graphics/Printing</b><br />A printing machine operator is a nontraditional occupation for women. In 2007, 17.2 percent of the people employed in this occupation were women.'];
            set_facts($array);
            $("#factsContainer").css('height','190px');
            break;
        case 'machine-tool.php':
            var $array = ['<b>Machine Tool</b><br />No two countries were more responsible for the Industrial Revolution than America and England. In England, machines served to make talented artisans better. In America, machines served to make entrepreneurs more productive.',
            '<b>Machine Tool</b><br />This is a nontraditional occupation for women. In 2007, 13.2 percent of the people employed in this occupation were women.'];
            set_facts($array);
            $("#factsContainer").css('height','190px');
            break;
        case 'welding.php':
            var $array = ['<b>Welding</b><br />During the Middle Ages, the art of blacksmithing was developed and many times of iron were produced which were welded by hammering. It was not until the 19th century that welding as we know it today was invented.',
            '<b>Welding</b><br />This is a nontraditional occupation for women. In 2007, 5.6 percent of the people employed in this occupation were women.'];
            set_facts($array);
            $("#factsContainer").css('height','190px');
            break;
        case 'cosmetology-barbering.php':
            var $array = ['<b>Cosmetology</b><br />Human hair is being used to clean up oil spills. Hair has a natural ability to absorb oils. Researchers have begun to use scrap hair from barbershops and beauty salons to keep our water clean.'];
            set_facts($array);
            $("#factsContainer").css('height','190px');
            break;
        case 'esthetician-nail-technician.php':
            var $array = ['<b>Esthetician/Nail Technician:</b><br />Having nails manicured is an ancient activity. There is evidence that, even 4,000 years ago, it was known to our predecessors.'];
            set_facts($array);
            $("#factsContainer").css('height','190px');
            break;
        case 'firefighting.php':
            var $array = ['<b>Firefighting</b><br />There are over 1 million firefighters in the United States. In Utah, approximately 85 percent of firefighters are volunteers and approximately 14 percent are career firefighters.',
            '<b>Firefighting</b><br />This is a nontraditional occupation for women. In 2007, 5.3 percent of the people employed in this occupation were women.'];
            set_facts($array);
            $("#factsContainer").css('height','190px');
            break;
        case 'law-enforcement.php':
            var $array = ['<b>Law Enforcement</b><br />There are approximately 800,000 sworn law enforcement officers now serving in the United States.',
            '<b>Law Enforcement</b><br />Approximately 13.7 percent of all police and sheriff patrol officers are women.'];
            set_facts($array);
            $("#factsContainer").css('height','190px');
            break;
        case 'commercial-art.php':
            var $array = ['<b>Commercial Art</b><br />Vincent Van Gogh painted four still-life canvases devoted entirely to the potato.'];
            set_facts($array);
            break;
        case 'photography.php':
            var $array = ['<b>Commercial Photography</b><br />The word "photography" comes from the Greek words for light and writing.',
            '<b>Commercial Photography</b><br />Daguerreotype was the first successful photographic process. This process took 10 to 20 minutes to properly expose to available light. Therefore, people were required to sit still for that period of time to have their pictures taken'];
            set_facts($array);
            $("#factsContainer").css('height','190px');
            break;
        case 'diesel.php':
            var $array = [    '<b>Heavy Duty Diesel</b><br />In 2006, the Environmental Protection Agency (EPA) imposed stricter emissions standards for diesel trucks. This regulation is designed to reduce emissions by 90 percent.',
            '<b>Heavy Duty Diesel</b><br />This is a nontraditional occupation for women. In 2007, 5.3 percent of the people employed in this occupation were women.'];
            set_facts($array);
            $("#factsContainer").css('height','190px');
            break;
        case 'technology-engineering.php':
        case 'ut-pre-engineering.php':
        case 'national-pre-engineering.php':
            var $tech = ['<b>Pre-Engineering</b><br />The construction of the Panama Canal, a great engineering and construction feat, required the removal of 211 million cubic yards of earth. A typical pickup bed holds about 3 cubic yards.',
            '<b>Project Lead the Way (PLTW)</b><br />PLTW was first developed in the 1980s by Richard Blais who was then chairman of the Technology Department of an upstate New York school district. PLTW is now offered in over 45 states and the District of Columbia.'];
            set_facts($tech);
            $("#factsContainer").css('height','190px'); 
            break;
        case 'educators.php':
            var $array = ['According to a recent article in the Utah Business magazine, Twitter has more active users older than 45 than it has in the 18- to 44-year old category.',
            '94 percent of Utah&#8217;s legislators visited local classrooms over the past year.',
            'In Utah, there are 21.2 school children per 100 people, compared to the national average of 17.4.',
            'Utah is still first in the nation for lots of children and last in the nation on per pupil spending for education.',
            'We want students to be prepared for life after high school&#8212;college and career.',
            'Utah high schools offer great programs to prepare students for training in technical areas or for direct entry into the workforce.',
            'Utah&#8217;s public colleges and universities offer more than 1,000 CTE courses, serving more than 70,000 students.',
            'Post-secondary education means a one-year certificate, a two-year associate or technical degree, or a four-year bachelor&#8217;s degree.',
            'A teacher affects eternity; he can never tell where his influence stops. &#8211; Henry Brooks Adams',
            'The core mission of public education is to ensure literacy, to provide high quality instruction, to engage students in a rigorous and relevant curriculum, and to assess student learning to inform instruction. We think of these as promises that citizens should expect schools to keep. &#8211; Dr. Larry K. Shumway'];
            set_facts($array);
            break;
        case 'career-information.php':
            var $array = ['Each man has his own vocation; his talent is his call. There is one direction in which all space is open to him. &#8212; Ralph Waldo Emerson',
            'Happiness lies in the joy of achievement and the thrill of creative effort. &#8212; Franklin Roosevelt',
            'Inches make champions. &#8212; Vince Lombardi',
            'They always say time changes things, but you actually have to change them yourself&#8212; Andy Warhol',
            'What is it that you like doing? If you don&#8217;t like it, get out of it, because you&#8217;ll be lousy at it. You don&#8217;t have to stay with a job for the rest of your life, because if you don&#8217;t like it you&#8217;ll never be successful in it. &#8212; Lee Iacocca',
            'If we did all the things we are capable of doing, we would astound ourselves. &#8212; Thomas A. Edison',
            'Dare to live the life you have dreamed for yourself. Go forward and make your dreams come true. &#8212; Ralph Waldo Emerson',
            'Conformity is the jailer of freedom and the enemy of growth. &#8212; John F. Kennedy',
            'Give me a stock clerk with a goal and I\'ll give you a man who will make history. Give me a man with no goals and I\'ll give you a stock clerk. &#8212; J. C. Penny',
            'We have this desire to be master of our own stuff; it elicits that kind of spiritedness and also a spirit of inquiries. Taking things apart to get at the bottom of things. &#8212; Michael Crawford'];
            set_facts($array);
            break;
        case 'high-school-programs.php':
            var $array = ['11.    What you want to be when you grow up? Start figuring it out, because you&#8217;re pretty much there. Get help at www.UtahFutures.org.',
            '10.    If you think FAFSA stands for Free Adventures For Students Across America, think again! Completing the Free Application for Federal Student Aid is your first step to getting money to attend college.', 
            '9.    How to write a r&#233;sum&#233; and how many different formats you will need. Yes, you&#8217;ll need more than one.',
            '8.    Interviewing skills. Yes, you can develop the skills needed to express yourself in an interview!',
            '7.    Texting, cell phone, and iPod etiquette: turn them all off when you&#8217;re in an interview!',
            '6.    Gross pay vs. net pay: have you heard of FICA? No, it isn&#8217;t a texting acronym, but rather one of several payroll deductions that reduce your take home pay.',
            '5.    How to work well with others and be a team player. The secret of on-the-job success? Show up, do the work, and get along with others. Celebrate the successes of others; it will reflect right back on you.',
            '4.    Learning doesn&#8217;t stop after high school. Learning is lifelong!',
            '3.    While most jobs require some post-secondary training (about 65 percent), only about 20 percent of all jobs in Utah require a bachelor&#8217;s degree or higher.',
            '2.    The difference between poverty and prosperity is education. Education pays!',
            '1.    Stay in school, study, plan and prepare for life after high school. The rewards are huge!'];
            set_facts($array);
            break;
        case 'supporting-programs.php':
            var $array = ['Comprehensive Counseling and Guidance serves all students.',
            'Over 70,000 concurrent enrollment credit hours have been earned by CTE students.',
            'Work-Based Learning experiences will help you see how skills learned in the classroom are applied in the work place.', 
            'CTE Intro is considered by students to be the most fun required course ever! ',
            'Over 86,000 Skill Certificates have been awarded to students.',
            'CTE Intro is hands-on and activity-centered. It gives you the chance to learn about yourself, about and the world of work, and gives you a head start on your SEOP.',
            'Over 138,000 students participate in internships, job shadows, field studies, and career fairs annually.',
            'Comprehensive Counseling and Guidance helps to ensure that you graduate with the career decision making and management skills that are needed to succeed.',
            'CTE offers 130 skill certificate tests and connects with industry in many areas such as automotive, computer programming, and fire science.',
            'Over 137,000 students (grades 9-12) participate in CTE courses annually.'
];
            set_facts($array);
            break;
        case 'parents.php':
        case 'FAQs.php':
            var $array = ['Utah ranks eighth highest in the nation in the percentage of high school graduates.',
            'Utah high schools graduate 88 percent of their students, compared to the national average of 74.7 percent.',
            'Students who earn CTE credits tend to remain in school. In fact, CTE students are three times less likely to drop out of school.',
            'Students who participate in Work-Based Learning activities such as internships, job shadowing, field studies, and career fairs are 30 percent less likely to drop out of high school.',
            'A combination of 60 percent academic courses and 40 percent CTE is the most effective dropout prevention.',
            'The more CTE courses students take, the less likely they are to suffer periods of unemployment.',
            'CTE graduates find employment 2.2 times faster than graduates from general education programs.',
            'High school students who graduate with a CTE concentration are 2.5 times more likely to be employed while pursuing post-secondary education',
            'Eighteen of the 20 fastest growing occupations within the next decade will require Career and Technical Education.'];
            set_facts($array);
            break;
        //case '':
//            var $array = [];
//            set_facts($array);
//            break;
        case 'student-profiles.php':
            var $array = ['"CTE classes taught me life skills which will help me significantly in my future career."<br />Alexis Sanders, West High School',
            '"I thought CTE was pretty cool. I got to experience new things."<br />Ana Inthavong, Hunter High School',
            '"I liked CTE and thought it was valuable because it teaches you real life skills."<br />Emily Hall, Murray High School',
            '"All of the CTE classes that I’ve taken have prepared me for adult life and college by teaching me the skills that I need to become a health care professional."<br />Jeremy Anderson, Cyprus High School',
            '"The welding and agricultural classes I took in high school gave me the needed skills to be successful in my career and in all aspects of life."<br />Erica McPherson, Delta High School',
            '"After taking a business management class I discovered what I wanted to study in college and what career I wanted to pursue."<br />Dave Moshe Wright, Riverton High School',
            '"The Family and Consumer Sciences classes taught me important life skills and things I would need to know to be a parent and a responsible adult."<br />Brianna Schow, Copper Hills High School',
            '"I’ve always wanted to be a nurse. Through the anatomy and physiology classes I took in high school I learned a lot about the human body."<br />Raychel Long, Spanish Fork High School',
            '"Information Technology taught me the highly structured and analytical ideas behind program language. I can now see problems from a rigorous analytical point of view."<br />Erick Chen, West High School',
            '"Through CTE I learned how to market creatively and how quality and customer service are very important to having a good business."<br />Natalie Tucker, Alta High School',
            '"The cabinetmaking classes I took in CTE taught me to be hardworking and to finish what I start. Through CTE I learned important life skills as well as integrity in the shop and classroom."<br />John Hoang, Taylorsville High School',
            '"CTE classes gave me the advantage of knowledge and experience for my future career in engineering."<br />Alex Schmall, Provo High School',
            '"As a freshman, my teacher encouraged me to set goals which helped me to establish a direction for my life."<br />Tiffany Clegg, North Summit High School',
            '"CTE helped guide me in choosing the right career path for me."<br />Vu Doan, Granite High School',
            '"CTE classes are the most interesting classes and I’m serious about having a great career when I’m older. CTE helped me out a lot."<br />Bianca Lozano, West High School',
            '"The experiences I had in my high school economics class have been a great asset in my work and a springboard as I have continued my education."<br />Steven Carlile, Wasatch High School',
            '"Through CTE classes I received the college credit to achieve an associate degree in high school through concurrent enrolment."<br />Berlin Schlegel, Murray High School',
            '"My decision to pursue a career in medicine was because of my broad introduction to the health care field in high school and because of the support I received in the health sciences curriculum."<br />Joel Arvizo, Ogden High School',
            '"CTE helped me focus in my interest areas and decide which fields I was most interested in."<br />Joanna Zheng, West High School',
            '"The multimedia classes I took in high school are what influenced me to pursue a degree in the area of information technology."<br />Katherine Philipp, Uintah High School',
            '"Taking one CTE class led me to take the test to become a Certified NetWare Administrator. Having gained my certification, I have an advantage as I have a marketable skill which will help me pay my way through college."<br />Rebecca Lofley, Emery High School',
            '"CTE classes taught me skills I will use for the rest of my life."<br />Kailey Adams, Clearfield High School',
            '"CTE classes help you learn about the real world."<br />JaNae Dixon, Viewmont High School',
            '"CTE classes are real. They give you valuable experiences, are fun, challenging, and interesting."<br />Matthew Moore, Brighton High School'];
            set_facts($array);
            $("#factsHead").css('background-image','url(../pix/testimonials/testimonialsTitle_03.png)');
            break;
        default:
            $("#factsHead").remove();
            $("#factsContainer").remove();
            $("#rudolph").remove();
            
        
    }
   
    function set_facts($array){
        for(var $i=0; $i<$array.length; $i++){
                $("#factsTextBG").append("<p class=\"factsActive\" >"+$array[$i]+"</p>");            
            }   
    }
    


    $("#factsTextBG").cycle({
    fx:     'scrollHorz', 
    speed:  'fast', 
    timeout: 12000, 
    next:   '#factsNext', 
    height: 'auto'
    });
    
});
