                function pop(url) {
                    var wleft;
                    var wtop;
                    wleft = (screen.width - 350) / 2;
                    wtop = (screen.height - 200) / 2;

                    window.open(url, 'dialog', 'resizable=no,menubar=no,status=no,toolbar=no,scrollbars=no,location=0, directories=0,dependant=yes,dialog=yes,modal=yes,unadorned=yes,left=' + wleft + ',top=' + wtop + ',height=200,width=350');
                    return true;
                }


          function highlight(input) {
                input.focus();
                input.select();
                return true;
            }

function addBookmark(title, url) {
	if (window.sidebar) { // Firefox
		window.sidebar.addPanel(title, url,"");
	} else if( document.all ) { //IE
		window.external.AddFavorite(url, title);
	} else {
		alert("Sorry, your browser doesn't support this!");
	}
}

     function FileStateChanged(uploader, file, httpStatus, isLast) {
         Flajaxian.fileStateChanged(uploader, file, httpStatus, isLast);

         if (isLast) {
                  __doPostBack('ctl00$ContentPlaceHolder2$lnkpost', '')
         }
     }

