function doSel(obj)
{
     for (i = 1; i < obj.length; i++)
        if (obj[i].selected == true)
           eval(obj[i].value);
}
      jQuery.fn.fadeToggle = function(speed, easing, callback) {
       return this.animate({opacity: 'toggle', height: 'toggle'}, speed, easing, callback);
};


var newwindow;
function popaction(url)
{
   newwindow=window.open(url,'name','height=400,width=200');
   if (window.focus) {newwindow.focus()}
}

function vnd_editorpopup(url,name,windowWidth,windowHeight){
	       myleft=(screen.width)?(screen.width-windowWidth)/2:100;
	      mytop=(screen.height)?(screen.height-windowHeight)/2:100;
	      properties = "width="+windowWidth+",height="+windowHeight+",scrollbars=yes, top="+mytop+",left="+myleft;
	      window.open(url,name,properties)
      }
