function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
  
  var images=new Array();
	images[0]=new Image;
	images[0].src='/DESIGN/OAS/img/model_menu_t.png';
	images[1]=new Image;
	images[1].src='/DESIGN/OAS/img/model_menu_b.png';
	images[2]=new Image;
	images[2].src='/DESIGN/OAS/img/gray.png';


    function ActiveMark(obj){
		obj.src=obj.src.substring(0,obj.src.length-5)+'1.gif';
    }
    function DisableMark(obj){
		obj.src=obj.src.substring(0,obj.src.length-5)+'0.gif';
    }
	
    function ActiveTable(obj,id,picname){
		document.getElementById('pic_l_'+id).src = '/DESIGN/OAS/img/pic_l.gif';
		document.getElementById('pic_r_'+id).src = '/DESIGN/OAS/img/pic_r.gif';
		document.getElementById('pic_model_'+id).style.backgroundColor = '#e2e2e2';
/*		obj.style.backgroundColor='#e2e2e2';*/
		document.getElementById('url_'+id).style.color = '#5b5959';
		document.getElementById('pic_'+id).src	=picname;
    }

    function DisableTable(obj,id,picname){
		document.getElementById('pic_l_'+id).src = '/DESIGN/OAS/img/0.gif';
		document.getElementById('pic_r_'+id).src = '/DESIGN/OAS/img/0.gif';
		document.getElementById('pic_model_'+id).style.backgroundColor = '#ffffff';
/*		obj.style.backgroundColor='#ffffff';*/
		document.getElementById('url_'+id).style.color = '';
		document.getElementById('pic_'+id).src=picname;
    }
    
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

