/*######################
  FRONT PAGE ROTATION
######################*/
function changeClass(x, y){
document.getElementById("rotation").setAttribute("class", x);
document.getElementById("rot_nav-right").setAttribute("class", y);

if (x=="rotation1") {
document.getElementById("link1").setAttribute("class", "linkSelected");
document.getElementById("link2").setAttribute("class", "");
document.getElementById("link3").setAttribute("class", "");
document.getElementById("link4").setAttribute("class", "");
document.getElementById("hire_us").style.visibility = "hidden";
document.getElementById("our_team_learn_more").style.visibility = "hidden";
} else if (x=="rotation2") {
document.getElementById("link1").setAttribute("class", "");
document.getElementById("link2").setAttribute("class", "linkSelected");
document.getElementById("link3").setAttribute("class", "");
document.getElementById("link4").setAttribute("class", "");
document.getElementById("hire_us").style.visibility = "hidden";
document.getElementById("our_team_learn_more").style.width = "70px";
document.getElementById("our_team_learn_more").style.visibility = "visible";
} else if (x=="rotation3") {
document.getElementById("link1").setAttribute("class", "");
document.getElementById("link2").setAttribute("class", "");
document.getElementById("link3").setAttribute("class", "linkSelected");
document.getElementById("link4").setAttribute("class", "");
document.getElementById("hire_us").style.visibility = "hidden";
document.getElementById("our_team_learn_more").style.width = "80px";
document.getElementById("our_team_learn_more").style.visibility = "visible";
} else {
document.getElementById("link1").setAttribute("class", "");
document.getElementById("link2").setAttribute("class", "");
document.getElementById("link3").setAttribute("class", "");
document.getElementById("link4").setAttribute("class", "linkSelected");
document.getElementById("hire_us").style.visibility = "visible";
document.getElementById("our_team_learn_more").style.visibility = "hidden";
}
}

/*##################
  HORIZONTAL NAV
##################*/
function rollOver2(x, y){
if (x == "nav-company") {
    document.getElementById(x).setAttribute("class", "horz_nav-company-x");
    document.getElementById("nav-home").setAttribute("class", "horz_nav-home");
    document.getElementById("nav-leadership").setAttribute("class", "horz_nav-leadership");
    document.getElementById("nav-solutions").setAttribute("class", "horz_nav-solutions");
    document.getElementById("nav-contactus").setAttribute("class", "horz_nav-contactus");
} else if (x == "nav-leadership") {
    document.getElementById(x).setAttribute("class", "horz_nav-leadership-x");
    document.getElementById("nav-home").setAttribute("class", "horz_nav-home");
    document.getElementById("nav-company").setAttribute("class", "horz_nav-company");
    document.getElementById("nav-solutions").setAttribute("class", "horz_nav-solutions");
    document.getElementById("nav-contactus").setAttribute("class", "horz_nav-contactus");
} else if (x == "nav-solutions") {
    document.getElementById(x).setAttribute("class", "horz_nav-solutions-x");
    document.getElementById("nav-home").setAttribute("class", "horz_nav-home");
    document.getElementById("nav-company").setAttribute("class", "horz_nav-company");
    document.getElementById("nav-leadership").setAttribute("class", "horz_nav-leadership");
    document.getElementById("nav-contactus").setAttribute("class", "horz_nav-contactus");
} else if (x == "nav-contactus") {
    document.getElementById(x).setAttribute("class", "horz_nav-contactus-x");
    document.getElementById("nav-home").setAttribute("class", "horz_nav-home");
    document.getElementById("nav-company").setAttribute("class", "horz_nav-company");
    document.getElementById("nav-leadership").setAttribute("class", "horz_nav-leadership");
    document.getElementById("nav-solutions").setAttribute("class", "horz_nav-solutions");
} else {
    document.getElementById(x).setAttribute("class", "horz_nav-home-x");
    document.getElementById("nav-company").setAttribute("class", "horz_nav-company");
    document.getElementById("nav-leadership").setAttribute("class", "horz_nav-leadership");
    document.getElementById("nav-solutions").setAttribute("class", "horz_nav-solutions");
    document.getElementById("nav-contactus").setAttribute("class", "horz_nav-contactus");
}
if (y == 'nav-company') {
    document.getElementById(y).setAttribute("class", "horz_nav-company-x");
} else if (y == 'nav-leadership') {
    document.getElementById(y).setAttribute("class", "horz_nav-leadership-x");
} else if (y == 'nav-solutions') {
    document.getElementById(y).setAttribute("class", "horz_nav-solutions-x");
} else if (y == 'nav-contactus') {
    document.getElementById(y).setAttribute("class", "horz_nav-contactus-x");
} else {
    document.getElementById(y).setAttribute("class", "horz_nav-home-x");
}
}

/*############
  HOME NAV
############*/
function rollOver(x){
if (x == "nav-company") {
    document.getElementById(x).setAttribute("class", "rot_nav-m-company-x");
    document.getElementById("nav-leadership").setAttribute("class", "rot_nav-m-leadership");
    document.getElementById("nav-solutions").setAttribute("class", "rot_nav-m-solutions");
    document.getElementById("nav-contactus").setAttribute("class", "rot_nav-m-contactus");
} else if (x == "nav-leadership") {
    document.getElementById(x).setAttribute("class", "rot_nav-m-leadership-x");
    document.getElementById("nav-company").setAttribute("class", "rot_nav-m-company");
    document.getElementById("nav-solutions").setAttribute("class", "rot_nav-m-solutions");
    document.getElementById("nav-contactus").setAttribute("class", "rot_nav-m-contactus");
} else if (x == "nav-solutions") {
    document.getElementById(x).setAttribute("class", "rot_nav-m-solutions-x");
    document.getElementById("nav-company").setAttribute("class", "rot_nav-m-company");
    document.getElementById("nav-leadership").setAttribute("class", "rot_nav-m-leadership");
    document.getElementById("nav-contactus").setAttribute("class", "rot_nav-m-contactus");
} else if (x == "nav-contactus") {
    document.getElementById(x).setAttribute("class", "rot_nav-m-contactus-x");
    document.getElementById("nav-company").setAttribute("class", "rot_nav-m-company");
    document.getElementById("nav-leadership").setAttribute("class", "rot_nav-m-leadership");
    document.getElementById("nav-solutions").setAttribute("class", "rot_nav-m-solutions");
} else {
    document.getElementById(x).setAttribute("class", "rot_nav-m-home-x");
    document.getElementById("nav-company").setAttribute("class", "rot_nav-m-company");
    document.getElementById("nav-leadership").setAttribute("class", "rot_nav-m-leadership");
    document.getElementById("nav-solutions").setAttribute("class", "rot_nav-m-solutions");
    document.getElementById("nav-contactus").setAttribute("class", "rot_nav-m-contactus");
}
}

function linkHome(){
    window.location = "index.html";
}

function linkCompany(){
    window.location = "company.html";
}

function linkLeadership(){
    window.location = "leadership.html";
}

function linkSolutions(){
    window.location = "solutions.html";
}

function linkContactUs(){
    window.location = "contactus.html";
}

function linkChoose(){
    var w = document.getElementById("our_team_learn_more").style.width;
    if (w == '80px') {
        window.location = "solutions.html";
    } else {
        window.location = "leadership.html";
    }
}

/*#############
  WHAT'S NEW
#############*/
function dropDown1(){
var dd = document.getElementById("drop_down1");
var ddc = dd.getAttribute("class");
if (ddc == "drop_down_content") {
dd.setAttribute("class", "drop_down_content1");
dd.innerHTML = "-&nbsp;&nbsp;&nbsp;&nbsp;<a onclick='javascript:dropDown1()'>WHAT'S NEW</a><div class='drop_down_text'>SITP establishes Oracle Solutions Practice for Fortune 500, and State and Federal Governments<br/><br/></div>";
} else {
dd.setAttribute("class", "drop_down_content");
dd.innerHTML = "+&nbsp;&nbsp;&nbsp;<a onclick='javascript:dropDown1()'>WHAT'S NEW</a>";
}
}

/*########
  EVENTS
########*/
function dropDown2(){
var dd = document.getElementById("drop_down2");
var ddc = dd.getAttribute("class");
if (ddc == "drop_down_content") {
dd.setAttribute("class", "drop_down_content2");
dd.innerHTML = "-&nbsp;&nbsp;&nbsp;&nbsp;<a onclick='javascript:dropDown2()'>EVENTS</a><div class='drop_down_text'>There are no events scheduled at this time.</div>";
} else {
dd.setAttribute("class", "drop_down_content");
dd.innerHTML = "+&nbsp;&nbsp;&nbsp;<a onclick='javascript:dropDown2()'>EVENTS</a>";
}
}

/*#########################
  ARTICLES & WHITE PAPERS
#########################*/
function dropDown3(){
var dd = document.getElementById("drop_down3");
var ddc = dd.getAttribute("class");
if (ddc == "drop_down_content") {
dd.setAttribute("class", "drop_down_content3");
dd.innerHTML = "-&nbsp;&nbsp;&nbsp;&nbsp;<a onclick='javascript:dropDown3()'>ARTICLES & WHITE PAPERS</a><div class='drop_down_text2'><p class='drop_down_head'><a onclick='javascript:dd_strategic_consulting()' class='linkSelected'>&#8226;&nbsp;&nbsp;&nbsp;STRATEGIC CONSULTING</a></p><p class='drop_down_article'>The Business Value of Investing in Pre-Clinical Safety Data Warehousing:</p><p class='drop_down_read'><a href='http://www.b-eye-network.com/view/2062' target='_blank'>> READ</a></p><p class='drop_down_article'>Pharmaceutical Drug Discovery and Development: Serious Adverse Events:</p><p class='drop_down_read'><a href='http://www.b-eye-network.com/view/1770' target='_blank'>> READ</a></p><p class='drop_down_article'>Pharmaceutical Industry: Business Intelligence for Drug Discovery and Development:</p><p class='drop_down_read'><a href='http://www.b-eye-network.com/view/1180' target='_blank'>> READ</a></p><p class='drop_down_head'><a onclick='javascript:dd_business_intelligence()'>&#8226;&nbsp;&nbsp;&nbsp;BUSINESS INTELLIGENCE</a></p><p class='drop_down_head'><a onclick='javascript:dd_data_warehousing()'>&#8226;&nbsp;&nbsp;&nbsp;DATA WAREHOUSING</a></p><p class='drop_down_head'><a onclick='javascript:dd_data_management()'>&#8226;&nbsp;&nbsp;&nbsp;DATA MANAGEMENT</a></p></div>";
} else {
dd.setAttribute("class", "drop_down_content");
dd.innerHTML = "+&nbsp;&nbsp;&nbsp;<a onclick='javascript:dropDown3()'>ARTICLES & WHITE PAPERS</a>";
}
}

function dd_strategic_consulting(){
var dd = document.getElementById("drop_down3");
dd.innerHTML = "-&nbsp;&nbsp;&nbsp;&nbsp;<a onclick='javascript:dropDown3()'>ARTICLES & WHITE PAPERS</a><div class='drop_down_text2'><p class='drop_down_head'><a onclick='javascript:dd_strategic_consulting()' class='linkSelected'>&#8226;&nbsp;&nbsp;&nbsp;STRATEGIC CONSULTING</a></p><p class='drop_down_article'>The Business Value of Investing in Pre-Clinical Safety Data Warehousing:</p><p class='drop_down_read'><a href='http://www.b-eye-network.com/view/2062' target='_blank'>> READ</a></p><p class='drop_down_article'>Pharmaceutical Drug Discovery and Development: Serious Adverse Events:</p><p class='drop_down_read'><a href='http://www.b-eye-network.com/view/1770' target='_blank'>> READ</a></p><p class='drop_down_article'>Pharmaceutical Industry: Business Intelligence for Drug Discovery and Development:</p><p class='drop_down_read'><a href='http://www.b-eye-network.com/view/1180' target='_blank'>> READ</a></p><p class='drop_down_head'><a onclick='javascript:dd_business_intelligence()'>&#8226;&nbsp;&nbsp;&nbsp;BUSINESS INTELLIGENCE</a></p><p class='drop_down_head'><a onclick='javascript:dd_data_warehousing()'>&#8226;&nbsp;&nbsp;&nbsp;DATA WAREHOUSING</a></p><p class='drop_down_head'><a onclick='javascript:dd_data_management()'>&#8226;&nbsp;&nbsp;&nbsp;DATA MANAGEMENT</a></p></div>";
}

function dd_business_intelligence(){
var dd = document.getElementById("drop_down3");
dd.innerHTML = "-&nbsp;&nbsp;&nbsp;&nbsp;<a onclick='javascript:dropDown3()'>ARTICLES & WHITE PAPERS</a><div class='drop_down_text2'><p class='drop_down_head'><a onclick='javascript:dd_strategic_consulting()'>&#8226;&nbsp;&nbsp;&nbsp;STRATEGIC CONSULTING</a></p><p class='drop_down_head'><a onclick='javascript:dd_business_intelligence()' class='linkSelected'>&#8226;&nbsp;&nbsp;&nbsp;BUSINESS INTELLIGENCE</a></p><p class='drop_down_article'>Quality Assurance Framework Lowers Total Cost of Ownership:</p><p class='drop_down_read'><a href='http://www.b-eye-network.com/view/2953' target='_blank'>> READ</a></p><p class='drop_down_article'>Business Intelligence Improves Pharmaceutical Drug Discovery and Development:</p><p class='drop_down_read'><a href='http://www.b-eye-network.com/view/1521' target='_blank'>> READ</a></p><p class='drop_down_article'>Best Practices for Business Intelligence Tool Selection:</p><p class='drop_down_read'><a href='http://www.b-eye-network.com/view/2578' target='_blank'>> READ</a></p><p class='drop_down_head'><a onclick='javascript:dd_data_warehousing()'>&#8226;&nbsp;&nbsp;&nbsp;DATA WAREHOUSING</a></p><p class='drop_down_head'><a onclick='javascript:dd_data_management()'>&#8226;&nbsp;&nbsp;&nbsp;DATA MANAGEMENT</a></p></div>";
}

function dd_data_warehousing(){
var dd = document.getElementById("drop_down3");
dd.innerHTML = "-&nbsp;&nbsp;&nbsp;&nbsp;<a onclick='javascript:dropDown3()'>ARTICLES & WHITE PAPERS</a><div class='drop_down_text2'><p class='drop_down_head'><a onclick='javascript:dd_strategic_consulting()'>&#8226;&nbsp;&nbsp;&nbsp;STRATEGIC CONSULTING</a></p><p class='drop_down_head'><a onclick='javascript:dd_business_intelligence()'>&#8226;&nbsp;&nbsp;&nbsp;BUSINESS INTELLIGENCE</a></p><p class='drop_down_head'><a onclick='javascript:dd_data_warehousing()' class='linkSelected'>&#8226;&nbsp;&nbsp;&nbsp;DATA WAREHOUSING</a></p><p class='drop_down_article'>Spending Trends Demonstrate Value of Business Intelligence and Data Warehousing:</p><p class='drop_down_read'><a href='http://www.b-eye-network.com/view/2242' target='_blank'>> READ</a></p><p class='drop_down_article'>Data Warehouse Project Management:</p><p class='drop_down_read'><a href='http://www.information-management.com/issues/20050501/1026059-1.html' target='_blank'>> READ</a></p><p class='drop_down_head'><a onclick='javascript:dd_data_management()'>&#8226;&nbsp;&nbsp;&nbsp;DATA MANAGEMENT</a></p></div>";
}

function dd_data_management(){
var dd = document.getElementById("drop_down3");
dd.innerHTML = "-&nbsp;&nbsp;&nbsp;&nbsp;<a onclick='javascript:dropDown3()'>ARTICLES & WHITE PAPERS</a><div class='drop_down_text2'><p class='drop_down_head'><a onclick='javascript:dd_strategic_consulting()'>&#8226;&nbsp;&nbsp;&nbsp;STRATEGIC CONSULTING</a></p><p class='drop_down_head'><a onclick='javascript:dd_business_intelligence()'>&#8226;&nbsp;&nbsp;&nbsp;BUSINESS INTELLIGENCE</a></p><p class='drop_down_head'><a onclick='javascript:dd_data_warehousing()'>&#8226;&nbsp;&nbsp;&nbsp;DATA WAREHOUSING</a></p><p class='drop_down_head'><a onclick='javascript:dd_data_management()' class='linkSelected'>&#8226;&nbsp;&nbsp;&nbsp;DATA MANAGEMENT</a></p><p class='drop_down_article'>Getting Quality Data Now:</p><p class='drop_down_read'><a href='http://intelligent-enterprise.informationweek.com/showArticle.jhtml?articleID=170703523' target='_blank'>> READ</a></p><p class='drop_down_article'>Five Steps to Data Quality in Enterprise Mergers:</p><p class='drop_down_read'><a href='http://esj.com/articles/2005/02/08/five-steps-to-data-quality-in-enterprise-mergers.aspx' target='_blank'>> READ</a></p></div>";
}

/*#############
  LEADERSHIP
#############*/
function hover(x, y){
if (x == "n_tf") {
    document.getElementById(x).setAttribute("class", "leadership_name-x");
    document.getElementById(y).setAttribute("class", "leadership_title-x");
    document.getElementById("n_cc").setAttribute("class", "leadership_name");
    document.getElementById("t_cc").setAttribute("class", "leadership_title");
    document.getElementById("n_jt").setAttribute("class", "leadership_name");
    document.getElementById("t_jt").setAttribute("class", "leadership_title");
    document.getElementById("n_cb").setAttribute("class", "leadership_name");
    document.getElementById("t_cb").setAttribute("class", "leadership_title");
} else if (x == "n_cc") {
    document.getElementById(x).setAttribute("class", "leadership_name-x");
    document.getElementById(y).setAttribute("class", "leadership_title-x");
    document.getElementById("n_tf").setAttribute("class", "leadership_name");
    document.getElementById("t_tf").setAttribute("class", "leadership_title");
    document.getElementById("n_jt").setAttribute("class", "leadership_name");
    document.getElementById("t_jt").setAttribute("class", "leadership_title");
    document.getElementById("n_cb").setAttribute("class", "leadership_name");
    document.getElementById("t_cb").setAttribute("class", "leadership_title");
} else if (x == "n_jt") {
    document.getElementById(x).setAttribute("class", "leadership_name-x");
    document.getElementById(y).setAttribute("class", "leadership_title-x");
    document.getElementById("n_tf").setAttribute("class", "leadership_name");
    document.getElementById("t_tf").setAttribute("class", "leadership_title");
    document.getElementById("n_cc").setAttribute("class", "leadership_name");
    document.getElementById("t_cc").setAttribute("class", "leadership_title");
    document.getElementById("n_cb").setAttribute("class", "leadership_name");
    document.getElementById("t_cb").setAttribute("class", "leadership_title");
} else {
    document.getElementById(x).setAttribute("class", "leadership_name-x");
    document.getElementById(y).setAttribute("class", "leadership_title-x");
    document.getElementById("n_tf").setAttribute("class", "leadership_name");
    document.getElementById("t_tf").setAttribute("class", "leadership_title");
    document.getElementById("n_cc").setAttribute("class", "leadership_name");
    document.getElementById("t_cc").setAttribute("class", "leadership_title");
    document.getElementById("n_jt").setAttribute("class", "leadership_name");
    document.getElementById("t_jt").setAttribute("class", "leadership_title");
}
}

function hoverOff(x){
if (x != 'tf') {
    document.getElementById("n_tf").setAttribute("class", "leadership_name");
    document.getElementById("t_tf").setAttribute("class", "leadership_title");
    document.getElementById("n_tf").innerHTML = "&nbsp;&nbsp;&nbsp;&nbsp;TIM FUREY";
}
if (x != 'cc') {
    document.getElementById("n_cc").setAttribute("class", "leadership_name");
    document.getElementById("t_cc").setAttribute("class", "leadership_title");
    document.getElementById("n_cc").innerHTML = "&nbsp;&nbsp;&nbsp;&nbsp;CRAIG CORDASCO";
}
if (x != 'ed') {
    document.getElementById("n_jt").setAttribute("class", "leadership_name");
    document.getElementById("t_jt").setAttribute("class", "leadership_title");
    document.getElementById("n_jt").innerHTML = "&nbsp;&nbsp;&nbsp;&nbsp;JEFF TANTLEFF";
}
if (x != 'cb') {
    document.getElementById("n_cb").setAttribute("class", "leadership_name");
    document.getElementById("t_cb").setAttribute("class", "leadership_title");
    document.getElementById("n_cb").innerHTML = "&nbsp;&nbsp;&nbsp;&nbsp;CRAIG BRADY";
}
}

function linkTF(){
    window.location = "leadership_tf.html";
}

function linkCC(){
    window.location = "leadership_cc.html";
}

function linkED(){
    window.location = "leadership_jt.html";
}

function linkCB(){
    window.location = "leadership_cb.html";
}
