
function casestudy(){
// create arrays of data
cs1 = new Array("Performance Analysis", "portfolio.html", "When Southern California Edison looked to streamline and improve their new hire training, they came to The Training Alliance for a detailed performance and curriculum analysis.")
cs2 = new Array("Instructor-led Course", "case-instructor.html", "Managing suppliers was a big issue for Sun Microsystems before The Training Alliance helped simplify the process.")
cs3 = new Array("Evaluation Study", "case-evaluation.html", "Apple Computer worked with The Training Alliance to evaluate a number sales tools, resulting in improved business systems.")
cs4 = new Array("Learning Facilitation", "case-facilitation.html", "Sun Microsystems counts on their Channel Partners... and counts on The Training Alliance to train them.")
cs5 = new Array("e-Learning Solution", "case-elearning.html", "When The San Jose Mercury News needed to orient new account reps to their business, The Training Alliance built a lasting online solution at a very competitive price.")
cs6 = new Array("Case-based Learning", "case-case-based.html", "The Training Alliance developed an innovative solution to train Genentech\'s new hire sales force.")
cs7 = new Array("Conference Support", "case-support.html", "How does Sun Microsystems support speakers at an industry-leading technical conference?")

// pick random number
var j = Math.ceil((Math.random()) * 7);
usethis = eval("cs" + j);

// usethis[0] contains Title
// usethis[1] contains href
// usethis[2] contains blurb

// write out the whole blurb:
document.write("<b>" + usethis[0] + "</b><br>" + usethis[2] + "<br><br><a  class='homeLink' href='" + usethis[1] + "'>Click here to learn more.</a>");
}



function solution1(){
so1 = new Array("Performance Analysis", "perf-analysis.html");
so2 = new Array("Instructor-led Courses", "instructor.html");
so3 = new Array("Evaluation Studies", "evaluation.html");

var j = Math.ceil((Math.random()) * 3);
usethis = eval("so" + j);

document.write("<a  class='homeLink' href='" + usethis[1] + "'>Solutions: " + usethis[0] +"</a>");
}



function solution2(){
sp1 = new Array("Learning Facilitation", "case-facilitation.html");
sp2 = new Array("e-Learning Solutions", "elearning.html");
sp3 = new Array("Case-based Learning", "case-based.html");
sp4 = new Array("Conference Support", "support.html");

var j = Math.ceil((Math.random()) * 4);
usethis = eval("sp" + j);

document.write("<a  class='homeLink' href='" + usethis[1] + "'>Solutions: " + usethis[0] +"</a>");
}



function process(){
pr1 = new Array("Analysis", "analysis.html");
pr2 = new Array("Design", "design.html");
pr3 = new Array("Development", "development.html");
pr4 = new Array("Implementation", "implementation.html");
pr5 = new Array("Evaluation", "evaluation.html");

var j = Math.ceil((Math.random()) * 5);
usethis = eval("pr" + j);

document.write("<a  class='homeLink' href='" + usethis[1] + "'>Our Process: " + usethis[0] +"</a>");
}

