<!-- 


var news_select=0;

var active_news=1;

function chnews() {
document.getElementById('mainnews0').style.display = 'none';
document.getElementById('mainnews1').style.display = 'none';
document.getElementById('mainnews2').style.display = 'none';
document.getElementById('mainnews3').style.display = 'none';
document.getElementById('mainnews'+active_news).style.display = 'block';
if (news_select==0) active_news++;
if (active_news==4) active_news=0;
setTimeout("chnews()",5000);
}


function show_news(div_id) {
document.getElementById('mainnews0').style.display = 'none';
document.getElementById('mainnews1').style.display = 'none';
document.getElementById('mainnews2').style.display = 'none';
document.getElementById('mainnews3').style.display = 'none';
document.getElementById('mainnews'+div_id).style.display = 'block';
active_news=div_id;
news_select=1;
}

var active_menu='';

function show_div(div_id,top_id) {
document.getElementById('the_div_0').style.display = 'none';
document.getElementById('the_div_1').style.display = 'none';
document.getElementById('the_div_2').style.display = 'none';
document.getElementById('the_div_3').style.display = 'none';
document.getElementById('the_div_4').style.display = 'none';
document.getElementById('the_div_5').style.display = 'none';
document.getElementById('the_div_6').style.display = 'none';

document.getElementById('the_top_1').style.background = 'url(interface/top-menu1-ground.jpg)';
document.getElementById('the_top_2').style.background = 'url(interface/top-menu1-ground.jpg)';
document.getElementById('the_top_3').style.background = 'url(interface/top-menu1-ground.jpg)';
document.getElementById('the_top_4').style.background = 'url(interface/top-menu1-ground.jpg)';		
document.getElementById('the_top_5').style.background = 'url(interface/top-menu1-ground.jpg)';
document.getElementById('the_top_6').style.background = 'url(interface/top-menu1-ground.jpg)';		
document.getElementById('the_top_7').style.background = 'url(interface/top-menu1-ground.jpg)';
document.getElementById('the_top_8').style.background = 'url(interface/top-menu1-ground.jpg)';		
document.getElementById('the_top_9').style.background = 'url(interface/top-menu1-ground.jpg)';
document.getElementById('the_top_10').style.background = 'url(interface/top-menu1-ground.jpg)';		
document.getElementById('the_top_11').style.background = 'url(interface/top-menu1-ground.jpg)';		
document.getElementById(top_id).style.background = 'url(interface/top-menu1-ground-mouseover.jpg)';
document.getElementById(div_id).style.display = 'block'; active_menu=top_id;}

function change_menu(div_id,top_id) {
document.getElementById('the_div_0').style.display = 'none';
document.getElementById('the_div_1').style.display = 'none';
document.getElementById('the_div_2').style.display = 'none';
document.getElementById('the_div_3').style.display = 'none';
document.getElementById('the_div_4').style.display = 'none';
document.getElementById('the_div_5').style.display = 'none';
document.getElementById('the_div_6').style.display = 'none';

document.getElementById('the_top_1').style.background = 'url(interface/top-menu1-ground.jpg)';
document.getElementById('the_top_2').style.background = 'url(interface/top-menu1-ground.jpg)';
document.getElementById('the_top_3').style.background = 'url(interface/top-menu1-ground.jpg)';
document.getElementById('the_top_4').style.background = 'url(interface/top-menu1-ground.jpg)';		
document.getElementById('the_top_5').style.background = 'url(interface/top-menu1-ground.jpg)';
document.getElementById('the_top_6').style.background = 'url(interface/top-menu1-ground.jpg)';		
document.getElementById('the_top_7').style.background = 'url(interface/top-menu1-ground.jpg)';
document.getElementById('the_top_8').style.background = 'url(interface/top-menu1-ground.jpg)';		
document.getElementById('the_top_9').style.background = 'url(interface/top-menu1-ground.jpg)';
document.getElementById('the_top_10').style.background = 'url(interface/top-menu1-ground.jpg)';		
document.getElementById('the_top_11').style.background = 'url(interface/top-menu1-ground.jpg)';		
document.getElementById(top_id).style.background = 'url(interface/top-menu1-ground-mouseover.jpg)';
document.getElementById(div_id).style.display = 'block'; active_menu=top_id;}



function menu_on(top_id) {
if (active_menu!="the_top_1") document.getElementById('the_top_1').style.background = 'url(interface/top-menu1-ground.jpg)';
if (active_menu!="the_top_2") document.getElementById('the_top_2').style.background = 'url(interface/top-menu1-ground.jpg)';
if (active_menu!="the_top_3") document.getElementById('the_top_3').style.background = 'url(interface/top-menu1-ground.jpg)';
if (active_menu!="the_top_4") document.getElementById('the_top_4').style.background = 'url(interface/top-menu1-ground.jpg)';		
if (active_menu!="the_top_5") document.getElementById('the_top_5').style.background = 'url(interface/top-menu1-ground.jpg)';
if (active_menu!="the_top_6") document.getElementById('the_top_6').style.background = 'url(interface/top-menu1-ground.jpg)';		
if (active_menu!="the_top_7") document.getElementById('the_top_7').style.background = 'url(interface/top-menu1-ground.jpg)';
if (active_menu!="the_top_8") document.getElementById('the_top_8').style.background = 'url(interface/top-menu1-ground.jpg)';		
if (active_menu!="the_top_9") document.getElementById('the_top_9').style.background = 'url(interface/top-menu1-ground.jpg)';
if (active_menu!="the_top_10") document.getElementById('the_top_10').style.background = 'url(interface/top-menu1-ground.jpg)';		
if (active_menu!="the_top_11") document.getElementById('the_top_11').style.background = 'url(interface/top-menu1-ground.jpg)';		
document.getElementById(top_id).style.background = 'url(interface/top-menu1-ground-mouseover.jpg)';}

function menu_off(top_id) {
if (active_menu!="the_top_1") document.getElementById('the_top_1').style.background = 'url(interface/top-menu1-ground.jpg)';
if (active_menu!="the_top_2") document.getElementById('the_top_2').style.background = 'url(interface/top-menu1-ground.jpg)';
if (active_menu!="the_top_3") document.getElementById('the_top_3').style.background = 'url(interface/top-menu1-ground.jpg)';
if (active_menu!="the_top_4") document.getElementById('the_top_4').style.background = 'url(interface/top-menu1-ground.jpg)';		
if (active_menu!="the_top_5") document.getElementById('the_top_5').style.background = 'url(interface/top-menu1-ground.jpg)';
if (active_menu!="the_top_6") document.getElementById('the_top_6').style.background = 'url(interface/top-menu1-ground.jpg)';		
if (active_menu!="the_top_7") document.getElementById('the_top_7').style.background = 'url(interface/top-menu1-ground.jpg)';
if (active_menu!="the_top_8") document.getElementById('the_top_8').style.background = 'url(interface/top-menu1-ground.jpg)';		
if (active_menu!="the_top_9") document.getElementById('the_top_9').style.background = 'url(interface/top-menu1-ground.jpg)';
if (active_menu!="the_top_10") document.getElementById('the_top_10').style.background = 'url(interface/top-menu1-ground.jpg)';		
if (active_menu!="the_top_11") document.getElementById('the_top_11').style.background = 'url(interface/top-menu1-ground.jpg)';		
}




function getCookie(name) {
var prefix = name + "="
var cookieStartIndex = document.cookie.indexOf(prefix)
if (cookieStartIndex == -1)
        return null
var cookieEndIndex = document.cookie.indexOf(";", cookieStartIndex + prefix.length)
if (cookieEndIndex == -1)
        cookieEndIndex = document.cookie.length
return unescape(document.cookie.substring(cookieStartIndex + prefix.length, cookieEndIndex))
}

function show_desc(desc_id){
if(document.getElementById(desc_id).style.display != ''){
document.getElementById(desc_id).style.display = '';} else {
document.getElementById(desc_id).style.display = 'none';}}


-->