$(document).ready(function(){var d=-1;var e="";$("a").click(function(){this.blur();});$("button").click(function(){this.blur();});setAutoCompleteOff('__VIEWSTATE');setAutoCompleteOff('__EVENTTARGET');setAutoCompleteOff('__EVENTARGUMENT');setAutoCompleteOff('__EVENTVALIDATION');(function($){$.fn.vAlign=function(){return this.each(function(i){var f=$(this).height();var g=$(this).parent().height();var h=(g-f)/2;$(this).css('margin-top',h);});};})(jQuery);});function setAutoCompleteOff(a){var j=document.getElementById(a);if(j){j.setAttribute('autocomplete','off');}}$(function(){$("#message").dialog({autoOpen:false,bgiframe:true,draggable:false,resizable:false,width:430,height:230,modal:true,buttons:{Ok:function(){$(this).dialog("close")}}});});function loadDialog(b){$("#Ajax").centerInClient();$("#Ajax").show();$.get(getSiteUrl()+"/"+b,function(c){c=c.replace(/<\/?link.*>/ig,"");c=c.replace(/<\/?html.*>/ig,"");c=c.replace(/<\/?body.*>/ig,"");c=c.replace(/<\/?head.*>/ig,"");c=c.replace(/<\/?!doctype.*>/ig,"");c=c.replace(/<title.*>.*<\/title>/ig,"");c=$.trim(c);$("#dialog").remove();$("#DialogLiteral").empty().html(c);$("#dialog").dialog('open');$("#Ajax").hide();});}
