function barbriAlert(messageString){var messageHtml='<div id="barbriAlert" style="cursor: default">'+'<h1>'+messageString+'</h1>'+'<input type="button" id="barbriAlertOkButton" value="OK" onClick="closeBarbriAlert();" /></div>';$.blockUI({message:messageHtml});}
function closeBarbriAlert(){$.unblockUI();}
function createMsgAlert(id,height,width,title,description){$("div[id=dialog]").each(function(){$("#"+this.id).remove();});var position=$("#"+id).position();var top=position.top-$(document).scrollTop();var left=position.left+20;var alertDiv=$("<div id='dialog' title='"+title+"'>"+description+"</div>");$('body').append(alertDiv);$("#dialog").dialog({position:[left,top],width:width,height:height});$("#dialog").dialog();}
function addLongTextHover(){$(".longtexthover").leviTip({sourceType:'attribute',source:'longtext',addClass:'levitipclass'});}
function getDateWithOutTimeZone(date){if(date!=null&&date!=undefined){var newdate=new Date();newdate.setTime(date.getTime()+newdate.getTimezoneOffset()*60*1000-(5*60*60*1000));return newdate;}
else
return date;}