var t;

function showObject() {
hideObject_2();
if (t) window.clearInterval(t);
document.getElementById('div1').className = 'go';
}

function hideObject(){
	//alert('kakaka');
	t= window.setInterval('hideObject_()',500);
}

function hideObject_() {
document.getElementById('div1').className = 'pop';
}


function js_toggleview(szwhut) {

     whut = document.getElementById(szwhut);

     if (!whut.style.display || whut.style.display == "none") whut.style.display = "block"
     else {
        whut.style.display = "none";
//        whut.style.height = "3px";
    }
    
    return (whut.style.display=="none" ? false : true);

}
// for second menu 
var t;

function showObject2() {
hideObject_();
if (t) window.clearInterval(t);
document.getElementById('div2').className = 'go';

}

function hideObject2(){
	//alert('kakaka');
	t= window.setInterval('hideObject_2()',500);
}

function hideObject_2() {
document.getElementById('div2').className = 'pop';
}

