function eval_(object){if(document.getElementById)return document.getElementById(object); if(document.all)return eval('document.all.'+object); return false;}
function toggle(objid){f=1;try{o=new Enumerator(objid);}catch(e){f=0;}if(f){s=o.item().style.display=="none"?"":"none";do{o.item().style.display=s;o.moveNext();}while(!o.atEnd());}else{objid.style.display=objid.style.display=="none"?"":"none";}}
function mlit(target,action){target.style.background=action?"#F1F4F5":"#FFFFFF";}
function toggleOne(object){
	if(!(obj=eval_(object)))return false;
	if(!obj.style)return false;
	if(obj.style.display=="none")obj.style.display="";
	else obj.style.display="none";
}
function togglePlus(object){
	if(!(img=eval_(object+'_bullet')))return false;
	if(!(obj=eval_(object)))return false;
	if(!obj.style)return false;
	if(obj.style.display=="none"){
		obj.style.display="";
		img.src=iconsPath+"expand.gif";
	} else {
		obj.style.display="none";
		img.src=iconsPath+"collapse.gif";
	}
}


function go(obj) {
    var location = '/';
    if (obj.options[obj.selectedIndex].value != '' ) {
        location += obj.options[obj.selectedIndex].value + '/';
    }
    document.location = location;
}

function par(par_id){
    window.open("http://catalog.onliner.by/paramcomment/"+par_id+"/","","width=450,height=350,resizable,scrollbars");
}
