function myVoid(){ 
 // if (!$.browser.mozilla) {
 //   $("div.ui-corner-all").corner("3px");
 //	$("li.ui-corner-all").corner("3px");
 //	$("a.ui-corner-all").corner("3px");
 // }
 
 var zIndexNumber = 1000;
 $('.not2').each(function () {
   $(this).css('zIndex', zIndexNumber);
   zIndexNumber -= 10;
 }); 
 
 $(".hover").live('mouseover', function(){
   $(this).addClass('ui-state-hover');
 });
  
 $(".hover").live('mouseout', function(){
   $(this).removeClass('ui-state-hover');
 });
  
 $("input:submit, .button").button(); 
 
 $(".resizableTextarea").resizable({
   maxWidth: 560,
   minWidth: 560,
   minHeight: 50,
   handles: "se"
 });

}

function dialog_error(ok) {
		$("#dialog").dialog({
			bgiframe: true,
			modal: true,
			close: function() { window.location.href=ok; },
			overlay: {
				backgroundColor: '#000',
				opacity: 0.5
			},
			buttons: {
			  OK: function() { window.location.href=ok;  }
			},
			width: 500
		});
}

function dialog_msg(ok) {
		$("#dialog").dialog({
			bgiframe: true,
			modal: true,
			close: function() { window.location.href=ok; },
			overlay: {
				backgroundColor: '#000',
				opacity: 0.5
			},
			buttons: {
				OK: function() { window.location.href=ok; }
			},	
			width: 500
		});
}
