function mainbutton1(id,id2){
id.style.color='#ff7c03';
id.style.backgroundImage='url(/newpic/mainbutton2.gif)';
id2.style.display='block';
}

function mainbutton2(id,id2){
id.style.color='';
id.style.backgroundImage='';
id2.style.display='none';
}

function mainbutton1b(id){
id.style.color='#ff7c03';
id.style.backgroundImage='url(/newpic/mainbutton2.gif)';
}

function mainbutton2b(id){
id.style.color='';
id.style.backgroundImage='';
}

function submenu1(id){
id.style.color='#FFFFFF';
id.style.backgroundColor='#ff7c03'
}

function submenu2(id){
id.style.color='';
id.style.backgroundColor='';
}

function showtab1a(){
tab1a.style.color='#FFFFFF';
tab1b.style.color='';
tab1c.style.color='';
tab1a.style.fontWeight='bold';
tab1b.style.fontWeight='';
tab1c.style.fontWeight='';
tab1a.style.backgroundImage='url(/newpic/tab_b.gif)';
tab1b.style.backgroundImage='url(/newpic/tab_a.gif)';
tab1c.style.backgroundImage='url(/newpic/tab_a.gif)';
tab1a_c.style.display='block';
tab1b_c.style.display='none';
tab1c_c.style.display='none';
downarrow1.style.left='42px';
}

function showtab1b(){
tab1a.style.color='';
tab1b.style.color='#FFFFFF';
tab1c.style.color='';
tab1a.style.fontWeight='';
tab1b.style.fontWeight='bold';
tab1c.style.fontWeight='';
tab1a.style.backgroundImage='url(/newpic/tab_a.gif)';
tab1b.style.backgroundImage='url(/newpic/tab_b.gif)';
tab1c.style.backgroundImage='url(/newpic/tab_a.gif)';
tab1a_c.style.display='none';
tab1b_c.style.display='block';
tab1c_c.style.display='none';
downarrow1.style.left='137px';
}

function showtab1c(){
tab1a.style.color='';
tab1b.style.color='';
tab1c.style.color='#FFFFFF';
tab1a.style.fontWeight='';
tab1b.style.fontWeight='';
tab1c.style.fontWeight='bold';
tab1a.style.backgroundImage='url(/newpic/tab_a.gif)';
tab1b.style.backgroundImage='url(/newpic/tab_a.gif)';
tab1c.style.backgroundImage='url(/newpic/tab_b.gif)';
tab1a_c.style.display='none';
tab1b_c.style.display='none';
tab1c_c.style.display='block';
downarrow1.style.left='232px';
}

function showtab2a(){
tab2a.style.color='#FFFFFF';
tab2b.style.color='';
tab2c.style.color='';
tab2a.style.fontWeight='bold';
tab2b.style.fontWeight='';
tab2c.style.fontWeight='';
tab2a.style.backgroundImage='url(/newpic/tab_b.gif)';
tab2b.style.backgroundImage='url(/newpic/tab_a.gif)';
tab2c.style.backgroundImage='url(/newpic/tab_a.gif)';
tab2a_c.style.display='block';
tab2b_c.style.display='none';
tab2c_c.style.display='none';
downarrow2.style.left='42px';
}

function showtab2b(){
tab2a.style.color='';
tab2b.style.color='#FFFFFF';
tab2c.style.color='';
tab2a.style.fontWeight='';
tab2b.style.fontWeight='bold';
tab2c.style.fontWeight='';
tab2a.style.backgroundImage='url(/newpic/tab_a.gif)';
tab2b.style.backgroundImage='url(/newpic/tab_b.gif)';
tab2c.style.backgroundImage='url(/newpic/tab_a.gif)';
tab2a_c.style.display='none';
tab2b_c.style.display='block';
tab2c_c.style.display='none';
downarrow2.style.left='137px';
}

function showtab2c(){
tab2a.style.color='';
tab2b.style.color='';
tab2c.style.color='#FFFFFF';
tab2a.style.fontWeight='';
tab2b.style.fontWeight='';
tab2c.style.fontWeight='bold';
tab2a.style.backgroundImage='url(/newpic/tab_a.gif)';
tab2b.style.backgroundImage='url(/newpic/tab_a.gif)';
tab2c.style.backgroundImage='url(/newpic/tab_b.gif)';
tab2a_c.style.display='none';
tab2b_c.style.display='none';
tab2c_c.style.display='block';
downarrow2.style.left='232px';
}

function leftbutton1(id){
id.style.backgroundImage='url(/newpic/leftbutton2.gif)';
id.style.color='#FFFFFF';
id.style.textDecoration='underline';
id.style.fontWeight='bold';
id.style.borderBottom='1px solid #c16004';
}

function leftbutton2(id){
id.style.backgroundImage='';
id.style.color='';
id.style.textDecoration='';
id.style.fontWeight='';
id.style.borderBottom='1px solid #717272';
}

function changefontsize(id,size){
id.style.fontSize=size + 'px';
}
