  function href_direct(targ,selObj,restore){
    eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
    if (restore) selObj.selectedIndex=0;
  }
  
  function show_inline(element) {
    var pu_background = "pu_background" + element;
    element = "deeplinks" + element;
    $(element).appear({ duration: 0.5 });
    $(pu_background).appear({ duration: 1 , from: 0 , to: 0.7 });
         if($(element) != null) {
              if(typeof window.innerHeight != 'undefined') {
                   var temp = Math.round((window.innerHeight - $(element).getHeight())/2)-111;
                   if(temp < 0) {
                     $(element).style.top = 0 +'px';
                   } else {
                     $(element).style.top = temp +'px';
                   }
                   $(element).style.left = 
                        Math.round(document.viewport.getScrollOffsets().left + 
                        ((window.innerWidth - $(element).getWidth()))/2)+'px';
               } else {
                 var temp = Math.round(0 + (($$('body')[0].clientHeight - $(element).getHeight()))/2)-111;
                 if(temp < 0) {
                   $(element).style.top = 0 +'px';
                 } else {
                   $(element).style.top = temp +'px';
                 }
                 $(element).style.left = 
                      Math.round(document.body.scrollLeft + 
                      (($$('body')[0].clientWidth - $(element).getWidth()))/2)+'px';
            }
      }
  return false;
  }
  
  function hide_inline(element) {
    var pu_background = "pu_background" + element;
    element = "deeplinks" + element;
    $(element).fade({ duration: 0.5 });
    $(pu_background).fade({ duration: 1 , from: 0.7 , to: 0 });
    return false;
  }

