function Go(url)
{	href=url;
	document.frm_go.action=href;
	document.frm_go.target='';
	document.frm_go.submit();
}


function popup(url,w,h){
	var popup=window.open(url,"popup","status=no,toolbar=no,location=no,menue=no,scrollbars=no,width=" + w + ",height=" + h);
}


var ta="mainnavibox_active";
var tna="mainnavibox";
var pa="mainnavibox_active_p";

function ll(did){
    var tdid = "menu" + did;
    if(document.getElementById(tdid).className!=pa){
        document.getElementById(tdid).className=tna;
    }
}
function hl(did){
    var tdid = "menu" + did;
    if(document.getElementById(tdid).className!=pa){
        document.getElementById(tdid).className=ta;
    }
}

function lowlight(did){
    if(document.getElementById(did).className!="mpact"){
        document.getElementById(did).className="mpass";
    }
}

function highlight(did,nubsisize){
    if(document.getElementById(did).className!="mpact"){
	nclass="mact" + nubsisize;
	//alert(nclass);
	document.getElementById(did).className=nclass;
    }
}

function lowlightW(did){
    if(document.getElementById(did).className!="mpactwhite"){
        document.getElementById(did).className="";
    }
}

function highlightW(did,nubsisize){
    if(document.getElementById(did).className!="mpactwhite"){
	nclass="mactwhite";;
	document.getElementById(did).className=nclass;
    }
}

function GoParameter(url, parameter){	href=url;
 	document.frm_go.action=href;
	document.frm_go.target='';
	document.frm_go.pageparameter.value=parameter;
	document.frm_go.submit();		
}

function set(o){
	document.search.offset.value=o;
	document.search.submit();
}

function news_index(){
	document.search.q.value="";
	document.search.submit();
}

function warn(msg){
	window.alert(msg);
}
