			function ocsIcPopupMainWindow(DhX,BN)
			{
				var DhY=BN=="true"||BN==true?"&accessible=true":"";
				ic.DhZ(DhX+"/"+ic.Dha+"/application/login.jsp?standalone=AppMain.jsp"+DhY,"ocsic",true);
			}
			
			function ocsIcPopupComposeWindow(DhX,BN)
			{
				var DhY=BN=="true"||BN==true?"&accessible=true":"";var BDK=new Date();
				ic.DhZ(DhX+"/"+ic.Dha+"/application/login.jsp?standalone=ComposeEmail.html"+DhY,"ocsic"+BDK.getMilliseconds(),false,600,480);
			}
			function ocsIcPopupViewWindow(DhX,uid,BN)
			{
				var DhY=BN=="true"||BN==true?"&accessible=true":"";
				var Na="popupMessage_"+uid;Na=Na.replace(/\W/gi,"");
				ic.DhZ(DhX+"/"+ic.Dha+"/application/login.jsp?standalone=ViewEmail.html&messageUID="+encodeURIComponent(uid)+DhY,Na,false,600,480);
			}
			function ocsIcPopupViewContact(DhX,filter,BN)
			{
				var DhY=BN=="true"||BN==true?"&accessible=true":"";
				var Na="popupFindPeople_"+filter;Na=Na.replace(/\W/gi,"");
				ic.DhZ(DhX+"/"+ic.Dha+"/application/login.jsp?standalone=PeopleCheckNames.html&filter="+encodeURIComponent(filter)+DhY,Na,false,420,335);
			}
			function ocsIcPopupAPI(DhX,params,BN)
			{
				var BDK=new Date();
				var SW="ocsic_api_"+BDK.getMilliseconds();
				var BDX=DhX+"/"+ic.Dha+"/application/login.jsp";
				BDX+="?standalone=ComposeEmail.html";
				if(BN=="true"||BN==true)
				{
					BDX+="&accessible=true";
				}
				if(params)
				{
					Dhb="NEW";
					if(params.api_Type&&params.api_Type.length>0)
					{
						params.api_Type=params.api_Type.toUpperCase();
						if(params.api_Type=="REPLY"||params.api_Type=="REPLY_ALL"||params.api_Type=="FORWARD")
						{
							Dhb=params.api_Type;
						}
					}
					BDX+="&api_Type="+Dhb;
					if(params.api_UIDArray&&params.api_UIDArray.length>0)
					{
						for(var Em=0;Em<params.api_UIDArray.length;Em++)
						{
							BDX+="&api_UID="+encodeURIComponent(params.api_UIDArray[Em]);
						}
					}
					if(params.api_To)
					{
						BDX+="&api_To="+encodeURIComponent(params.api_To);
					}
					if(params.api_Cc)
					{
						BDX+="&api_Cc="+encodeURIComponent(params.api_Cc);
					}
					if(params.api_Bcc)
					{
						BDX+="&api_Bcc="+encodeURIComponent(params.api_Bcc);
					}
					if(params.api_Subject)
					{
						BDX+="&api_Subject="+encodeURIComponent(params.api_Subject);
					}
					if(params.api_Body||params.api_BodyPrepend||params.api_BodyAppend)
					{
						var Dhc="TEXT";
						if(params.api_Format&&params.api_Format.length>0)
						{
							params.api_Format=params.api_Format.toUpperCase();
							if(params.api_Format=="HTML"||params.api_Format=="HTML_SOURCE")
							{
								Dhc=params.api_Format;
							}
						}
						BDX+="&api_Format="+Dhc;
					}
					if(params.api_Body)
					{
						BDX+="&api_Body="+encodeURIComponent(params.api_Body);
					}
					if(params.api_BodyPrepend)
					{
						BDX+="&api_BodyPrepend="+encodeURIComponent(params.api_BodyPrepend);
					}
					if(params.api_BodyAppend)
					{
						BDX+="&api_BodyAppend="+encodeURIComponent(params.api_BodyAppend);
					}
					if(params.api_AttachmentArray&&params.api_AttachmentArray.length>0)
					{
						for(var Em=0;Em<params.api_AttachmentArray.length;Em++)
						{
							var Crd=params.api_AttachmentArray[Em];
							if(Crd&&Crd.api_AttachmentUrl&&Crd.api_AttachmentUrl.length>0)
							{
								BDX+="&api_AttachmentUrl="+encodeURIComponent(Crd.api_AttachmentUrl)+"&api_AttachmentName="+(Crd.api_AttachmentName?encodeURIComponent(Crd.api_AttachmentName):"");
							}
						}
					}
				}
				return ic.DhZ(BDX,SW,false,600,480);
			}
			
			var ic={};
			ic.Dha="10.1.2.2.0";
			ic.Dhd="Oracle Web Access requires pop-up windows to operate. Please disable all pop-up blockers before continuing. (Note that pressing the Ctrl key temporarily disables most pop-up blockers)";
			ic.DhZ=function(BDX,name,Dhe,width,height)
			{
				if(Dhe==null||Dhe!=false)Dhe=true;if(width==null){width=Math.floor(screen.availWidth*0.8);
				width=Math.max(640,Math.min(1024,width));
			}
			if(height==null)
			{
				height=Math.floor(screen.availHeight*0.8);
				height=Math.max(480,Math.min(768,height));
			}
			var Dhf=Math.max(0,Math.round((screen.availWidth-width)/2));
			var Dhg=Math.max(0,Math.round((screen.availHeight-height)/2));
			var Cc=window.open(BDX,name,"width="+width+",height="+height+(Dhe?",left="+Dhf+",top="+Dhg:"")+",resizable=yes,status=yes");
			try
			{
				if(Cc==null)
				{
					alert(ic.Dhd);
				}
				else
				{
					Cc.focus();return Cc;
				}
			}
			catch(ET)
			{
				alert(ic.Dhd);
			}
			return null;
		};