
        function opacity(id, opacStart, opacEnd, millisec) 
        { 
            //speed for each frame 
            var speed = Math.round(millisec / 100); 
            var timer = 0; 

            //determine the direction for the blending, if start and end are the same nothing happens 
            if(opacStart > opacEnd) { 
                for(i = opacStart; i >= opacEnd; i--) { 
                    setTimeout("changeOpac(" + i + ",'" + id + "')",(timer * speed)); 
                    timer++; 
                } 
            } else if(opacStart < opacEnd) { 
                for(i = opacStart; i <= opacEnd; i++) 
                    { 
                    setTimeout("changeOpac(" + i + ",'" + id + "')",(timer * speed)); 
                    timer++; 
                } 
            } 
        } 

        function HideIntro(imageid) 
        {
		    document.getElementById('blenddiv').style.backgroundImage="";
		    document.getElementById('blenddiv').style.zIndex=1;
		    document.getElementById('blenddiv').style.height = "0px"
		    document.getElementById('blenddiv').style.width = "0px"
		    document.getElementById(imageid).src = 'images/eJams.gif';
        }

        function changeOpacStuff(opacity, imageid)
        {
            var speed = Math.round(2000 / 100); 
            var timer = 0; 
            if (opacity == 100 )     {
            // fade out  image 
		        //for (i = 100; i >= 0; i--)		 { 
		        //	 setTimeout("changeOpac(" + i + ",'" + imageid + "')",(timer * speed)); 
		        //	timer++; 
		        //} 
		        //if (i <=0 ) {
		        changeOpac(0,imageid);
			        HideIntro(imageid);
		        //}
            }
            else
            {
    	        changeOpac( opacity ,imageid); 
            }
        }

        //change the opacity for different browsers 
        function changeOpac(opacity, id) 
        { 
            var object = document.getElementById(id).style; 
            object.opacity = (opacity / 100); 
            object.MozOpacity = (opacity / 100); 
            object.KhtmlOpacity = (opacity / 100); 
            object.filter = "alpha(opacity=" + opacity + ")"; 
        } 

        function blendimage(divid, imageid, imagefile, millisec) 
        { 
            var speed = Math.round(millisec / 100); 
            var timer = 0; 
                
            //set the current image as background 
            
            document.getElementById(divid).style.backgroundImage = "url(" + document.getElementById(imageid).src + ")"; 
                
            //make image transparent 
            changeOpac(0, imageid); 
                
            //make new image 
            document.getElementById(imageid).src = imagefile; 

            //fade in image 
            for(i = 0; i <= 100; i++) 
            { 
                setTimeout("changeOpacStuff(" + i + ",'" + imageid + "')",(timer * speed)); 
                timer++; 
            } 
		} 


        function shiftOpacity(id, millisec) 
        { 
            //if an element is invisible, make it visible, else make it ivisible 
            if(document.getElementById(id).style.opacity == 0) 
            { 
                opacity(id, 0, 100, millisec); 
            } 
            else 
            { 
                opacity(id, 100, 0, millisec); 
            } 
        } 

            function setinfo(sections)
            {
            var det='' ;           
            var x = getAbsoluteLeft(sections) +75; // 75 + document.getElementById(sections).offsetLeft;
            var y = getAbsoluteTop(sections); //350 + document.getElementById(sections).offsetTop ;

            switch (sections)
            {
	            case 'userid':
		            det = '<font face="Arial" size="-1"><B>e-JAMS ID:</B> Enter e-JAMS ID or your registered email addresss.</font>';
		            break;
	            case 'password':
		            det = '<font face="Arial" size="-1"><B>Password:</B> Enter your password.  If you have forgotten your password enter your e-JAMS ID or your registered email addresss and click on Forgot password link.  Your password will be emailed to your registered email addresss.</font>';
		            break;
	            case 'confirmpassword':
		            det = '<font face="Arial" size="-1"><B>Confirm Password:</B> Enter confirm password same as password.</font>';
		            break;
	            case 'search':
		            det = '<B>Free Search</B> This <B><I>free</I></B> service allows you to search the New York Supreme Court dockets for case information (i.e., motions, appearances, and conferences) and to view a narrative description of the case. This free index or party name search is limited to one county and one year at a time. It is also subject to pop-up commercials. Advanced cross-county and cross-year searching is only available to paid subscribers.';
	            break;
	            case 'demo':
		            det = 'As eLaw services expand daily, let us spend a few minutes of your time to demonstrate why over 100,000 users have changed the way they run their offices by using eLaw.  Please e-mail <FONT FACE="Arial"><A href="mailto:dominick@elaw.com">dominick@elaw.com</A></FONT> or call 800 444-4041 ext. 170 to schedule an appointment.'
	            break;
	            case 'docket':
		            det = '<B>eDocket</B>';
		            det = det + ' As a paid subscriber to eDocket, users have unlimited and advanced searching abilities with broader court coverage and no restrictions. You can conduct cross-county and cross-year name, index and docket searches.(Currently available for New York State Courts only)';
		            break;
	            case 'watch':
		            det = "<DIV id=samplealert></DIV><B>eWatch </B> eLaw will monitor your cases for you ";
		            det = det + " and will automatically instantly alert you when anything changes";
		            det = det + " in your case via email or fax.  eWatch alerts include court appearances,";
		            det = det + " calendar matters, judge changes, filings, motions and decisions."; 
		            det = det + ' To see a sample alert <A  HREF="#BLOCK" onclick="setinfo(' +"'samplealert'" + ')"><B>Click Here</B></A>.';
		            det = det + " Various cost-effective pricing plans are available"; 
		            det = det + " to suit your needs. eCalendar will automatically capture any future appearance dates"; 
		            det = det + " for the cases being monitored on eWatch and will display them in your"; 
		            det = det + " own customized eCalendar which is viewable 24 hours a day, 7 days per week";
		            det = det + " from any computer with an internet connection." 
		            break;
	            case 'copy':
		            det = '<B>eCopy </B>Place document retrieval orders for the court documents you require 24 hours a day, 7 days a week, and monitor your orders in your eLaw account, no more slips or phone calls.' ;
		            break;
	            case 'casemanagement':
		            det = "Many eLaw subscribers choose to fully integrate eLaw information directly into their case management applications. We currently work closely with LexPI<sup>®</sup>, TimeMatters<sup>®</sup> and TrialWorks<sup>®</sup> and have streamlined with other in-house custom applications. Integration means that all of your case information will automatically synchronize with the court database, through eLaw. Based on your firm’s needs, case information can be imported into your case management software including docket details, case events and calendar information. This eliminates duplication of staff efforts as case information becomes automatically populated into your internal systems. Our representatives welcome the opportunity to consult with you on your specific requirements.";
		            break;
	            case 'outlook':
		            det = 'eWatch subscribers may wish to synchronize their eCalendar future appearances schedule directly into their Microsoft Outlook<sup>®</sup> Calendars. For any case being monitored on eWatch, events are created for any future appearances and will be synchronized directly into Outlook.';
		            //det = 'Automatically synchronize your court notices with your Microsoft Outlook<sup>®</sup> Calendar. Your court appearances are entered electronically to your Outlook calendar.';
		            det = det + '<A onclick="' + "javascript: window.open('http://www.e-law.com/outlooksync/info.asp','cost','height=500,width=700,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no,resizable=yes');" + '" href="#HelpBlock">';
		            det = det + "<BR><B> Click Here </B></A>to find out more and enable Outlook<sup>®</sup> Synchronization";
		            break;
	            case 'calendar':
		            det = '<B>eCalendar</B> A premium service that is available to all eWatch subscribers.';
		            det = det + ' For all cases that you are monitoring on eWatch, the eCalendar captures all of your future appearance';
		            det = det + ' and conference dates and automatically displays them in your own custom online calendar.';
		            det = det + ' Users are able to view their appearances real-time 24 hours a day, 7 days a week.';
		            det = det + ' The calendar is fully linkable into the case details and motions screens, so that users';
		            det = det + ' will have direct access to all the details of that particular case.';
		            det = det + ' Users may also generate a printable report for any date range using Adobe Reader.';
		            break;
	            case 'samplealert':
		            det = '<TABLE><TR><TD align=left colSpan=2><B>Sample e-mail Alert</B></FONT> </TD></TR>';
		            det = det + '<TR><TD align=left colSpan=2><TABLE borderColor=coral cellSpacing=2 cellPadding=10 width="90%" align=center border=1>';
		            det = det + '<TBODY><TR><TD align=left><FONT face=arial size=-1>Subject: eLaw: JOHN DOE v. STARWOOD HOTELS & RESORTS (FN 2140157) eWatch Alert<BR><BR>This eWatch alert is provided ';
		            det = det + "to you as a registered member of eLaw.com. The following development has occurred in <BR><BR>Court System: State of New Jersey, Superior Court - LAW DIVISION<BR>County: HUNTERDON <BR>Docket: HNT - L - 380 - 2004<BR>Status: ACTIVE<BR>Name: JOHN DOE v. STARWOOD HOTELS & RESORTS ";
		            det = det + "<BR><BR>_______________________________________<BR><BR>By MOTION, originally made returnable on Friday, May 12, 2006, STARWOOD HOTELS & RESORTS moved this court seeking the following relief MOTION FOR SUMMARY JUDGMENT. This motion is currently pending before the Court and is assigned to Judge Peter A Buchsbaum . The following additional comments are noted on the court's records: ON DF'S BEHALF, DISMSSNG PF CMPLT W/PREJ. ";
		            det = det + "<BR><BR>*** Appearance Scheduled*** <BR> On MAY 12, 2006 at 9:00:00 AM a Motion Hearing is scheduled on this motion before Judge Peter A Buchsbaum in Court Room  2. The appearance is marked as PENDING.";
		            det = det + "<BR><BR>_______________________________________<BR><BR>By MOTION, originally made returnable on Friday, March 31, 2006, STARWOOD HOTELS & RESORTS moved this court seeking the following relief MOTION FOR MISC MOTION. This motion was DENIED by ORDR MISC of Judge Peter A Buchsbaum and filed on Friday, March 31, 2006. The following additional comments are noted on the court's records: CMPL PF TO PRVD TAX RTNS, O/O.";
		            det = det + "<BR><BR>The most recent Appearance on this motion on Friday, March 31, 2006, before Judge Peter A Buchsbaum , in court room  2 at 09 00 AM, at which time the appearance was marked COMPLETED by the court clerk. ";
		            det = det + "<BR><BR>_______________________________________<BR><BR>By MOTION, originally made returnable on Friday, April 01, 2005, STARWOOD HOTELS & RESORTS moved this court seeking the following relief MOTION FOR DISMISSAL. This motion has been withdrawn. The following additional comments are noted on the court's records: DSMSS PF CPLT W/O PRJ 4 FAILRE 2 PRVD RSPNS 2 DF DISC R. EQ, O/O , WD PER RON. ";
		            det = det + "<BR><BR>*** Appearance Canceled *** <BR> The most recent Appearance on this motion on Friday, April 01, 2005, before Judge Peter A Buchsbaum , in court room  2 at 09 00 AM, at which time the appearance was marked CANCEL by the court clerk.";		
		            det = det + "<BR><BR>*** Appearance Scheduled*** <BR> On APRIL 10, 2006 at 9:00:00 AM a Trial was scheduled before Judge Peter A Buchsbaum in Court Room  2. The appearance is marked as CONF & AD.";
		            det = det + "<BR><BR>*** Appearance Scheduled*** <BR> On JANUARY 19, 2006 at 9:00:00 AM a Personal Injury Arbitration was scheduled in Court Room  CDR. The appearance is marked as DENOVO.";
		            det = det + "<BR><BR>*** Appearance Scheduled*** <BR> On APRIL 1, 2005 at 9:00:00 AM a Motion Hearing was scheduled on this motion before Judge Peter A Buchsbaum in Court Room  2. The appearance is marked as CANCELED";
		            det = det + "<BR><BR>*** Case Changes *** <BR> The Court Clerk reports that the Case is now ACTIVE.";
		            det = det + "<BR><BR>*** Case Changes *** <BR> The Clerk's Case Comment on the Docket have been amended as follows: TREATMENT JULY TRIAL DATE TO BE SET.";
		            det = det + "<BR><BR>*** Documents  *** <BR> A ORDR MISC, was filed on MARCH 31, 2006 by STARWOOD HOTELS & RESORTS. Judge :Peter A Buchsbaum Result :DENIED.";
		            det = det + "<BR><BR>*** Documents  *** <BR> A CAS MANG ORD, was filed on APRIL 10, 2006 by COURT INITIATED.  Judge :Peter A Buchsbaum Result :GRANTED.";
		            det = det + "<BR><BR>*** Documents  *** <BR> A COMP JRY DEMAND, was filed on AUGUST 18, 2004 by JOHN DOE.";
		            det = det + "<BR><BR>*** Documents  *** <BR> A ANS CROSS&JRYD, was filed on NOVEMBER 19, 2004 by STARWOOD HOTELS & RESORTS.";
		            det = det + "<BR><BR>The attorneys on this case are: <BR>CLAIMANT - (JOHN DOE) ATTORNEYS &amp; ATTORNEYS, P.C.<BR>RESPONDENT - (STARWOOD HOTELS & RESORTS) THE GREAT LAW FIRM.";
		            det = det + ' <BR></FONT></TD></TR></TBODY></TABLE><CENTER><FONT face="Arial, Helvetica" size=-2>Copyright © 2000-2006 E-LAW, LLC. All rights reserved. <BR><FONT size=1>All trademarks and registered trademarks ';
		            det = det + 'are the property of their respective owners </FONT><BR><FONT size=1>and are used for identification or reference purpose only with no intent to infringe on copyrights.</FONT><BR></FONT></CENTER>'	;
		            break;
	            case 'serve':
		            det = '<B>eServe:</B> Leverage your existing technology with eServe and electronically exchange documents in a safe, secure, easy to use and economical fashion. You can serve / send any type of document including a scanned image or a fax. eServe converts all documents into Adobe PDF format. eServe may be used to serve other attorneys as well as participating courts and to transmit documents with your clients.  Eliminate the guesswork and unsecured use of e-mail and the cost of labor, postage, materials and time delay of regular mail.';
		            break;
	            case 'webservice':
		            //det = 'eLaw now links all of its information with several large law firms and insurance companies through their custom case management programs to achieve integration with the courts. In other words, cases are automatically updated WITHIN THEIR CASE MANAGEMENT APPLICATION (docket entries, calendar entries, etc..). If your firm uses a custom application, please contact us to determine how to best integrate your custom application directly to the courts through eLaw.';
		            det = "eLaw's experienced development team has worked with firms and corporations who have custom case management applications to achieve integration with the court's databases, through eLaw. Our developers will customize a program that will synchronize with your application so that case docket and calendar entries may be automatically linked into your in-house program. If your firm uses a custom application, our representatives welcome the opportunity to consult with you on your specific requirements.";
		            break;
		        // Subbs Sep-09-2009 - Start - Add a note with "More..." functionality
		        case 'DomainMoreHelpText':
					// KxT:10-31-2009:Modified Subbs Changes-Replaced existing "More" message for Domain with  appropriate message

					// KxT:11-11-2009:1. Changed Message-to suit current reqts
					//				  2. Positioned popup to appear just below "More" link in the current Domain screen.
					det = "When you click on an item in the Inbox, the individual initiating the action receives an acknowledgment of your receipt of the item.  Clicking on the item also adds the item to the Case File.  Failure to click on an item will result in the item being considered as Served per the Terms of Use but the item will not appear in the Case File.";

					x += 157;
					y += 30;
					break;
				case 'DirectoryMoreHelpText':
					// KxT:11-11-2009:1. Changed Message-to suit current reqts
					//				  2. Positioned popup to appear just below "More" link in the current Directory screen.
					det = "When you click on an item in the Inbox, the individual initiating the action receives an acknowledgment of your receipt of the item.  Clicking on the item also adds the item to the Case File.  Failure to click on an item will result in the item being considered as Served per the Terms of Use but the item will not appear in the Case File.";

					x += 157;
					y += 30;
					break;
	            case 'FolderMoreHelpText':
					// KxT:10-31-2009:Modified Subbs Changes-Replaced existing "More" message for Folder with appropriate message
					
					// KxT:11-11-2009:1. Changed Message-to suit current reqts
					//				  2. Positioned popup to appear just below "More" link in the current Folder screen.
					det = "To add documents to be served click on Add Documents to this case file.<br><br>" +

						"To add or update the Case File Description or Client Matter or to Archive a case file click on Edit this Case File";

					x += 272;
					y += 30;
					break;
	            case 'PackageMoreHelpText':
					det = "To add documents to be served click on Add a Document to this Package.<br><br>" +

						"To add additional members to the servicelist click on Add a Recipient to this Package.<BR><BR>" +

"To move a package from this Case File to another, click on Move this Package to Another Case.<BR><BR>" +

"To change the package name or description click on Edit this Package.<BR><BR>" +

"If you served this package and would like to get a confimation, click on Generate certificate of service for this package." ;
					
					// KxT:11-11-2009:Positioned popup to appear just below "More" link in the current Package screen.
					x += 288;
					y += 30;
					break;
	            }
				// Subbs Sep-09-2009 - End
					
		        // KxT:10-31-2009:Modified Subbs Changes-alert message to appear like the help popup in JAMS Login page.
				det = '<table width=82% border=0 height=100% cellspacing=0 cellpadding=0>' +
					'<TR>' +
						'<TD style="font-size: 12px; font-weight: normal; color: #000000; font-family: arial;">' +
							'<div id="divHelpfulTips" style="position:relative;z-index:1">' +
								'<div style="border-width: 1px; border-style: solid; border-color: #999999; width: 244px; background-color: #FFFFFF;">' +
									'<div style="padding: 0 6px 6px 0; line-height: 16px; float: right;" onclick="closediv();">' +
										'<a id="aHelpfulTips" href="javascript:void(0);"><img src="images/TipClose.gif" border="0" /></a>' +
									'</div>' +
									'<h2 style="margin: 0; padding: 4px 6px 0 17px; background-color: #CCCCCC;font-size: 12px;"><strong>Helpful Tips</strong></h2>' +
									'<div style="border-width: 5px; border-style: solid; border-color: #CCCCCC;">' +
										'<div style="padding: 10px 5px 0 12px; font-size: 11px;">' +
											det +
										'</div>' +
										'<div style="width: 230px;">' +
											'<div style="padding: 0 6px 6px 0; line-height: 16px; float: right;" onclick="closediv();">' +
												'<a HREF="#BLOCK">Close</a>' +
											'</div>' +
											'<div>&nbsp;</div>' +
										'</div>' +
									'</div>' +
								'</div>' +
							'</div>' +
						'</TD>' +
					'</tr>' +
				'</table>';
				

	            document.getElementById("moreabout").style.left =  x + "px" ;
	            document.getElementById("moreabout").style.top   = y + "px";

	            document.getElementById("moreabout").innerHTML= det; 
            }

			//
			// Subbs Sep-09-2009 - Start - Add a note with "More..." functionality
			// Individual functions are written since Infragistics group header bar will not escape " and will print it as &quot; while rendering the html to client browser.
			function setinfoDomainMoreHelpText()
			{
		        // KxT:10-31-2009:Modified Subbs Changes-show formatted help alert for Domain like the help popup in JAMS Login page with text updated by Rajesh.
				setinfo('DomainMoreHelpText');
			}

			function setinfoDirectoryMoreHelpText()
			{
				setinfo('DirectoryMoreHelpText');
			}
			function setinfoFolderMoreHelpText()
			{
		        // KxT:10-31-2009:Modified Subbs Changes-show formatted help alert for Folder like the help popup in JAMS Login page with text updated by Rajesh.
				setinfo('FolderMoreHelpText');
			}
			function setinfoPackageMoreHelpText()
			{
				setinfo('PackageMoreHelpText');
			}
			// Subbs Sep-09-2009 - End
			//
            function getAbsoluteLeft(objectId)
            {
	            // Get an object left position from the upper left viewport corner
	            // Tested with relative and nested objects
	            o = document.getElementById(objectId)
	            oLeft = o.offsetLeft            // Get left position from the parent object
	            while(o.offsetParent!=null) 
	            {   // Parse the parent hierarchy up to the document element
		            oParent = o.offsetParent    // Get parent object reference
		            oLeft += oParent.offsetLeft // Add parent left position
		            o = oParent
	            }
	            // Return left postion
	            return oLeft
            }

            function getAbsoluteTop(objectId) 
            {
	            // Get an object top position from the upper left viewport corner
	            // Tested with relative and nested objects
	            o = document.getElementById(objectId)
	            oTop = o.offsetTop            // Get top position from the parent object
	            while(o.offsetParent!=null) 
	            { // Parse the parent hierarchy up to the document element
		            oParent = o.offsetParent  // Get parent object reference
		            oTop += oParent.offsetTop // Add parent top position
		            o = oParent
	            }
	            // Return top position
	            return oTop
            }

            function closediv()
            {
	            document.getElementById("moreabout").innerHTML= ''; 
            }
            
            // Subbs - Jan-23-2010 - Start - Display alert message for nonIE users.
            function browserAlert()
			{
				var browser=navigator.appName;
				//var b_version=navigator.appVersion;
				//var version=parseFloat(b_version);
				var alertMessage="Best used in Internet Explorer.  There are known compatibility issues with other browsers.\n\n  If you are using another browser, please exit the application and use Internet Explorer.";

				if ((browser!="Microsoft Internet Explorer"))
				{
					//alert(alertMessage);
					return showLayer(this, 'divBrowserAlert')
				}
			}
			
			function showLayer(positionReference, id) 
			{
				var globDHTMLLayer; 
				var node = document.getElementById(id); 
				globDHTMLLayer = node; node.style.display = "block"; 
				return true;
			} 
			// Subbs - Jan-23-2010 - End
			
			//GxB -  28-Nov-2010 - Start
			function userAnnouncementMessage()
			{
				return showLayer(this, 'divBrowserAlertAllBrowser')
			}
			// GxB - Jan-28-2010 - End
