
function montre(id) {
var d = document.getElementById(id);
	for (var i = 1; i<=5; i++) {
		if (document.getElementById('smenu'+i)) {document.getElementById('smenu'+i).className='nomark';}
	}
if (d) {d.className='mark';
        document.getElementById('searchback').className='searchhmark';
        if  (d == document.getElementById('smenu1')){
        document.getElementById('search_form').action='http://images.google.com/images';
        }
        if  (d == document.getElementById('smenu2')){
        document.getElementById('search_form').action='http://video.google.com/videosearch';
        }
        if  (d == document.getElementById('smenu3')){
        document.getElementById('search_form').action='http://maps.google.com/maps';
        }
        if  (d == document.getElementById('smenu4')){
        document.getElementById('search_form').action='http://www.torrentz.com/search';
        }
        if  (d == document.getElementById('smenu5')){
        document.getElementById('search_form').action='http://www.google.com/search';
        }
      }
}

function bookmarksite(title, url){
if (document.all)
window.external.AddFavorite(url, title);
else if (window.sidebar)
window.sidebar.addPanel(title, url, "")
}

window.onload=montre2;
function montre2(id) {
var d = document.getElementById(id);
	for (var i = 1; i<=5; i++) {
		if (document.getElementById('smenut'+i)) {document.getElementById('smenut'+i).style.display='none';}
	}
if (d) {d.style.display='block';}
}
