function CommEnlargeImage(obj){$("#Dialog").remove();$("body").append("<div id='Dialog' title='"+$(obj).attr("title")+"' style='height:0;width:0;overflow:hidden;'><img src='"+$(obj).attr("osrc")+"'></div>");$("#Dialog img").load(function(){openDialog();});return false;}
function openDialog(){h=$("#Dialog img").height()+70;if(h>600)
{$("#Dialog img").height("600px");}
w=$("#Dialog img").width()+30;$('#Dialog').dialog({modal:true,width:w,draggable:true,resizable:false})}
jQuery(function(){$('a.ajax').click(function(){var url=this.href;var dialog=$('<div style="display:hidden"></div>').appendTo('body');dialog.load(url,{},function(responseText,textStatus,XMLHttpRequest){dialog.dialog();});return false;});jQuery("div.btn_enlarge").click(function(){$("a[id$='linkEnlarge']").click();});$("#sub_menu .arrow").click(function(){if($(this).hasClass('arrow_up')){$(this).removeClass('arrow_up').addClass('arrow_down');$("ul",$(this).parent()).slideUp('fast');}else{$(this).removeClass('arrow_down').addClass('arrow_up');$("ul",$(this).parent()).slideDown('fast');}});});function hitenter()
{$("input[name$='Button1']").click();}
function finish()
{alert("finished");}
