<%@  page pageEncoding="utf-8" contentType="text/html;charset=utf-8" import="com.novell.webaccess.common.JSPConduit, com.novell.emframe.dev.eMFrameUtils" %>
<%   JSPConduit c = JSPConduit.getJSPConduit(request);

  /* **************************************************************************
%name: WizDefinitions_inc.jsp %
%version: 6 %
%date_modified: Tue May 13 18:20:35 2003 %
Copyright (c) 2001, 2002 Novell, Inc. All Rights Reserved.
THIS WORK IS AN UNPUBLISHED WORK AND CONTAINS CONFIDENTIAL PROPRIETARY
AND TRADE SECRET INFORMATION OF NOVELL, INC. ACCESS TO THIS WORK IS
RESTRICTED TO (I) NOVELL, INC. EMPLOYEES WHO HAVE A NEED TO KNOW HOW
TO PERFORM TASKS WITHIN THE SCOPE OF THEIR ASSIGNMENTS AND (II)
ENTITIES OTHER THAN NOVELL, INC. WHO HAVE ENTERED INTO APPROPRIATE
LICENSE AGREEMENTS. NO PART OF THIS WORK MAY BE USED, PRACTICED,
PERFORMED COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED, ABRIDGED,
CONDENSED, EXPANDED, COLLECTED, COMPILED, LINKED, RECAST, TRANSFORMED
OR ADAPTED WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE
OR EXPLOITATION OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE
PERPETRATOR TO CRIMINAL AND CIVIL LIABILITY.
***************************************************************************  */

  /* Bring in the resources that we"ll need.  */%>
<jsp:include page="CfgWizIncludes_inc.jsp" flush="true" />

<%/* Set flags regarding which browser we"re running under.  We"ll use  */
  /* the Microsoft IE 5 settings as the initial default.                */
   c.set("Wiz.BrowserIsIE", "true");
   c.set("Wiz.BrowserIsIE4", "false");
   c.set("Wiz.BrowserIsIE5", "true");
   c.set("Wiz.BrowserIsNetscape", "false");
   c.set("Wiz.BrowserIsNetscape4", "false");
   c.set("Wiz.BrowserIsNetscape6", "false");
   c.set("Wiz.DivTag", "DIV");



  /* Are we running on Microsoft IE?  */
   if (("MSIE".equals(c.var("Browser.name")))) {
	  /* Yes!  Are we running under Microsoft IE 4?  */
	   if (("4".equals(c.var("Browser.mjrVer")))) {
		  /* Yes!  Set things up appropriately.  */
		   c.set("Wiz.BrowserIsIE4", "true");
		   c.set("Wiz.BrowserIsIE5", "false");
	   }


  /* No, we aren"t running on Microsoft IE!  Are we running on a  */
  /* recognized version of Netscape?                              */
   } else if ((("NSN".equals(c.var("Browser.name"))) || ("MOZILLA".equals(c.var("Browser.name"))))) {
	  /* Yes!  Set things up appropriately.  */
	   c.set("Wiz.BrowserIsIE", "false");
	   c.set("Wiz.BrowserIsIE4", "false");
	   c.set("Wiz.BrowserIsIE5", "false");
	   c.set("Wiz.BrowserIsNetscape", "true");


	  /* Are we running under Netscape 4?  */
	   if (("4".equals(c.var("Browser.mjrVer")))) {
		  /* Yes!  Set things up appropriately.  */
		   c.set("Wiz.BrowserIsNetscape4", "true");
	   	   c.set("Wiz.DivTag", "LAYER");

	  /* No, we aren"t running under Netscape 4!  Are we running under  */
	  /* Netscape 6?  (Yes, the check for 5 is correct!)                */
	   } else if ( ("5".equals(c.var("Browser.mjrVer")))  || c.gt(c.var("Browser.mjrVer"),"5")) {
		  /* Yes!  Set things up appropriately.  */
		   c.set("Wiz.BrowserIsNetscape6", "true");
	   }


   } else {
	  /* We don"t recognize which browser that we"re running under.  */
	   c.set("Wiz.BrowserIsIE", "false");
	   c.set("Wiz.BrowserIsIE5", "false");
   }


  /* ------------------- To debug the Browser settings ----------------
	<SCRIPT>
		alert( "IE:  "        + "{VAR Wiz.BrowserIsIE}"        );
		alert( "IE4: "        + "{VAR Wiz.BrowserIsIE4}"       );
		alert( "IE5: "        + "{VAR Wiz.BrowserIsIE5}"       );
		alert( "Netscape:  "  + "{VAR Wiz.BrowserIsNetscape}"  );
		alert( "Netscape4:  " + "{VAR Wiz.BrowserIsNetscape4}" );
		alert( "Netscape6:  " + "{VAR Wiz.BrowserIsNetscape6}" );
	</SCRIPT>
   ------------------------------------------------------------------  */


  /* The following Wiz.*URL"s are used as the URLs in the various  */
  /* frames.                                                   */

  /* The following URL is a generic action URL for all templates.  */
   c.set("Wiz.ActionURL", c.plus(c.plus(c.plus(c.plus(c.plus("webacc?taskId=", c.var("taskId")), "&User.context="), c.var("User.context")), "&Wiz.PanelIDFromAction="), c.var("Wiz.PanelID")));

  /* The following URL is generic for all banner frames.  */
   c.set("Wiz.BannerURL", c.plus(c.plus("webacc?User.context=", c.var("User.context")), "&taskId=CfgWiz.RPC&merge=fw.WizBanner"));

  /* The following URL is generic for all content frames.  */
   c.set("Wiz.ContentURL.Base", c.plus(c.plus(c.plus("webacc?User.context=", c.var("User.context")), "&taskId="), c.var("taskId")));

  /* The following URL loads an empty panel into the content frame  */
  /* while things initialize.                                       */
   c.set("Wiz.EmptyURL", c.plus(c.plus(c.plus(c.plus("webacc?User.context=", c.var("User.context")), "&taskId="), c.var("taskId")), "&merge=fw.WizEmpty"));

  /* The following URL is generic for all navigation frames.  */
   c.set("Wiz.NavURL", c.plus(c.plus("webacc?User.context=", c.var("User.context")), "&taskId=CfgWiz.RPC&merge=fw.WizNavigation&Wiz.Wizard=true"));

  /* The following URL is generic for all content frames.  */
   if ( c.def("Wiz.MergeFile")) {
   } else {    c.set("Wiz.MergeFile", "fw.WizCreateObjInfo");
   }
   c.set("Wiz.ContentURL", c.plus(c.plus(c.var("Wiz.ContentURL.Base"), "&merge="), c.var("Wiz.MergeFile")));


   c.set("Wiz.ActivityStyles.Action", "ActionPanel");
   c.set("Wiz.ActivityStyles.Activity.Size", c.var("null"));
   c.set("Wiz.ActivityStyles.Activity.Base", "ActivityPanel_");
   c.set("Wiz.ActivityStyles.Activity.Index", c.var("null"));
   c.set("Wiz.ActivityStyles.Activity.Status", c.var("null"));
   c.set("Wiz.ActivityStyles.Activity.String", c.var("null"));



						     /* * * * * * *  */
                             /* End of File  */
                             /* * * * * * *  */%>
