function MM_jumpMenu(targ,selObj,restore)
 {
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
 }
 
function openpopup(popurl,popupw,popuph)
 {
  var winpops=window.open(popurl,"","width=500,height=500")
 }


function check_adsc_typ()
 {
  if(document.adsc_new.adsc_typ.value == "default")
   {
    document.adsc_new.adsc_value.disabled = true;
   }
  else
   {
	document.adsc_new.adsc_value.disabled = false;  
   }
 }
 
function shop_popup(shop_link) 
{ 
 var breite=500; 
 var hoehe=400; 
 var positionX=10; 
 var positionY=10; 
 var url=shop_link; 
 pop=window.open('','','toolbar=1,location=1,directories=1,status=1,menubar=0,scrollbars=1,resizable=1,fullscreen=0,width='+breite+',height='+hoehe+',top=0,left=0'); 
 pop.resizeTo(breite,hoehe); 
 pop.moveTo(positionX,positionY); 
 pop.location=url; 
 }
 
function cad_anfrage(shop_link) 
{ 
 var breite=600; 
 var hoehe=600; 
 var positionX=250; 
 var positionY=250; 
 var url=shop_link; 
 pop=window.open('','','toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=0,resizable=0,fullscreen=0,width='+breite+',height='+hoehe+',top=0,left=0'); 
 pop.resizeTo(breite,hoehe); 
 pop.moveTo(positionX,positionY); 
 pop.location=url; 
 }
