pic1= new Image(3,39); 
pic1.src="./image/gradient-index-hover.jpg"; 

pic2= new Image(3,39); 
pic2.src="./image/gradient-index.jpg"; 

pic2= new Image(384,39); 
pic2.src="./image/gradient-index-sel.jpg"; 



var row_color_buffer;
var sel_id = 1;


function changeRowIndex(menu_id, tableRow, highLight) {


row_color_buffer = tableRow.className;

if (highLight) {
tableRow.className="index_hover";
} else {
tableRow.className="index";
}

if(menu_id = sel_id){
repaintMenu(menu_id);
}



}



function selectIndexMenu(menu_id){

document.getElementById("menu" + sel_id).className = "index";
document.getElementById("menu" + menu_id).className = "index_sel";
sel_id = menu_id;

repaintMenu();

insertMenuSlogan();

}


////////////////////////////////////

function repaintMenu(menu_id){

if(menu_id==sel_id){
document.getElementById("menu" + menu_id).className = "index_sel";
}


/*
for(i=1;i<=6;i++){

if(i==sel_id){class_name = "index_sel";}
else{class_name = "index";}

document.getElementById("menu" + i).className = class_name;
}




insertMenuSlogan();
*/
}


//////////////////////////


function insertMenuSlogan(){

if(sel_id==1){
slogan_str = "<TABLE BORDER=0 WIDTH='100%' CELLPADDING=0 CELLSPACING=0><TR><TD COLSPAN=1 HEIGHT='5'><A class=hint_header16>BizMerge provides a </A><A class=hint_header_blue16><B>public</B></A><A class=hint_header16> and </A><A class=hint_header_blue16><B>private</B></A><A class=hint_header16> channel for you to:</TD></TR><TR><TD COLSPAN=3  HEIGHT='15'></TD></TR><TR><TD  VALIGN='TOP'><A class=bullet_header><B>Communicate</B></A><BR><A class=normal_largeB>Post listings, news, events, and business needs to people in your network and other members.</TD></TR><TR><TD COLSPAN=3  HEIGHT='15'></TD></TR><TR><TD  VALIGN='TOP'><A class=bullet_header><B>Network</B></A><BR><A class=normal_largeB>Strengthen and leverage the relationships with people you already know, make new connections, find business partners and resources.</TD></TR><TR><TD COLSPAN=3  HEIGHT='15'></TD></TR><TR><TD  VALIGN='TOP'><A class=bullet_header><B>Increase Your Visibility</B></A><BR><A class=normal_largeB>Increase visibility for your listings, company, and services to a targeted business audience.</TD></TR><TR><TD COLSPAN=3  HEIGHT='15'></TD></TR><TR><TD  VALIGN='TOP'><A class=bullet_header><B>Find Opportunties</B></A><BR><A class=normal_largeB>Find business opportunities inside and outside of your business network.</TD></TR></TABLE>";
}
else if(sel_id==2){
slogan_str = "<A class=slogan_menu>Increase exposure for your services and expand your business network.</A>";
}
else if(sel_id==3){
slogan_str = "<A class=slogan_menu>Find qualified investors, strategic partners, and people to help start or run your business.</A>";
}
else if(sel_id==4){
slogan_str = "<A class=slogan_menu>Increase exposure for your services and expand your business network.</A>";
}
else if(sel_id==5){
slogan_str = "<A class=slogan_menu>Expose a business for sale to a wider audience of potential buyers or just to those in your network.</A>";
}
else if(sel_id==6){
slogan_str = "<A class=slogan_menu>Find and screen investment opportunities in established businesses, startups and franchises based on specific criteria matches.</A>";
}



insert_str = "<TABLE BORDER=0 WIDTH='100%' HEIGHT=204 CELLPADDING=0 CELLSPACING=0><TR><TD WIDTH='100%'>" + slogan_str + "</TD></TR></TABLE>";


document.getElementById("insert_menu_slogan").innerHTML = "";
document.getElementById("insert_menu_slogan").innerHTML = insert_str;



}

function toggleJoinOn(){

var $background_hover = "./image/join-now-on.gif";


document.getElementById("join_button").src = $background_hover;



}

function toggleJoinOff(){

$background_off_str = "./image/join-now.gif";



document.getElementById("join_button").src = $background_off_str;


}


