//-------------------------------------------------------
// the default Ui Configuration
//-------------------------------------------------------

function setDefaultDMCStyles()
{
  DMC={};
  
  DMC.decoration="low";
  
  if (typeof request!="undefined")
  {
    var platform = request.agent.architecture;
    var agent    = request.agent.name;
  }
  else
  {
    var platform = navigator.platform;
    var agent    = navigator.appName;
  }
  platform = platform.toLowerCase();
  
  if (platform.indexOf('mac')!=-1 && agent.indexOf('Netscape')!=-1)
  {  //  Macintosh/Netscape 
    DMC.FontFace="Verdana,Arial,Helvetica";
    DMC.FontSize="";
    DMC.FontSizeAbs="70%";
  }
  else
  {
    if (platform.indexOf('win')!=-1) 
    {  // Windows
      DMC.FontFace="Verdana,Arial,Helvetica";
      DMC.FontSize="";
      DMC.FontSizeAbs="70%";
    }
    else
    {  // Unix, Macintosh/IE
      DMC.FontFace="Verdana,Arial,Helvetica";
      DMC.FontSize="";
      DMC.FontSizeAbs="70%";
    }
  }
  
  //item settings
  DMC.ItemColor="black";
  DMC.ItemBGColor="#DCE4EC";
  DMC.ItemBGColorLight="#E0E0E0";
  DMC.ItemSelColor="black";
  DMC.ItemSelBGColor="#FFFFFF";
  DMC.ItemDisColor="#A0A0A0";
  DMC.Margin="2";
  
  DMC.BorderColor1="white";
  DMC.BorderColor2="#808080";
  DMC.BorderColor3="black";
  
  //default icons
  DMC.CheckedIcon="/wavemaster.internal/v6.4/uistyle/icons/checked.gif";
  DMC.CheckedIconInv="/wavemaster.internal/v6.4/uistyle/icons/checkedi.gif";
  DMC.ChildTIcon="/wavemaster.internal/v6.4/uistyle/icons/empty.gif";
  DMC.ChildTIconInv="/wavemaster.internal/v6.4/uistyle/icons/empty.gif";
  DMC.ChildLIcon="/wavemaster.internal/v6.4/uistyle/icons/chil.gif";
  DMC.ChildLIconInv="/wavemaster.internal/v6.4/uistyle/icons/chili.gif";
  DMC.ChildIconWidth="1";
  DMC.CheckedIconWidth="7";
  DMC.IconWidth="9";
  
  //menuborder icons
  DMC.MenuLTImg="/wavemaster.internal/v6.4/uistyle/icons/e_left.gif";
  DMC.MenuTBG="/wavemaster.internal/v6.4/uistyle/icons/s_top.gif";
  DMC.MenuTImg="";
  DMC.MenuImgAlignT="LEFT";
  DMC.MenuRTImg="/wavemaster.internal/v6.4/uistyle/icons/e_right.gif";
  DMC.MenuLBG="/wavemaster.internal/v6.4/uistyle/icons/s_left.gif";
  DMC.MenuLImg="";
  DMC.MenuImgAlignL="TOP";
  DMC.MenuRBG="/wavemaster.internal/v6.4/uistyle/icons/s_right.gif";
  DMC.MenuRImg="";
  DMC.MenuImgAlignR="TOP";
  DMC.MenuLBImg="/wavemaster.internal/v6.4/uistyle/icons/e_lleft.gif";
  DMC.MenuBBG="/wavemaster.internal/v6.4/uistyle/icons/s_bottom.gif";
  DMC.MenuBImg="";
  DMC.MenuImgAlignB="LEFT";
  DMC.MenuRBImg="/wavemaster.internal/v6.4/uistyle/icons/e_lright.gif";
  DMC.Opener="/wavemaster.internal/v6.4/uistyle/icons/anop.gif";
  DMC.Handle="/wavemaster.internal/v6.4/uistyle/icons/anopiesmall.gif";
  DMC.Handlei="/wavemaster.internal/v6.4/uistyle/icons/anopiesmalli.gif";
  
  //image actions for full decoration
  DMC.LTIUrl="";
  DMC.TIUrl="";
  DMC.RTIUrl="";
  DMC.LIUrl="";
  DMC.RIUrl="";
  DMC.LBIUrl="";
  DMC.BIUrl="";
  DMC.RBIUrl="";
  
  //menu bg image
  DMC.MenuBGImg="";
  
  //itembg images
  DMC.ItemBGImg="";
  DMC.ItemSelBGImg="";
  
  DMC.MenuCaptionTopOff="9";
  
  //default general style
  DGC= {};
  
  //snapshot values
  DGC.snapshotImg ="/wavemaster.internal/v6.4/uistyle/hwblue2005/dialogimg/snapshotfallback.gif"; //fallback img, used if there's no mstyle snapshotURL entry
  DGC.snapshotWidth ="210";
  DGC.snapshotHeight ="63";
  
  
  //popup dialog style
  DDC= {};
  DDC.inborder=false;
  DDC.ignoreDlgCap=false;
  DDC.ignoreDlgDescr=true;
  DDC.ignoreDlgNecessary=true;
  DDC.logo="/wavemaster.internal/v6.4/uistyle/icons/hwlogo.gif";
  DDC.logoBGColor="#E6E6E6";
  DDC.capBGColor="#000099";
  DDC.capStyle="font-size:14pt;font-family:Arial, Geneva, Helvetica;color:white";
  DDC.descStyle="font-size:8pt;font-family:Arial, Geneva, Helvetica;color:white";
  //DDC.boxwidth="100%";
  DDC.BGColor="white";
  DDC.ItemBGColor="#EAEAEA";
  DDC.Color="black";
  DDC.FontFace="Arial, Geneva, Helvetica";
  DDC.Caption={FontSize:"14pt"};
  DDC.CaptionC={FontSize:"14pt",Color:"#003399"};
  DDC.Desc={FontSize:"8pt",Color:"#003399"};
  DDC.AttrValue={FontSize:"10pt",Color:"#003399"};
  DDC.Warning={FontSize:"10pt",Color:"#D00000"};
  DDC.AttrName={FontSize:"10pt"};
  DDC.ObjList={FontSize:"10pt",TextDecoration:"none"};
  DDC.ObjListC={FontSize:"10pt",Color:"#003399"};
  DDC.Metadata={FontSize:"10pt",Color:"#666666"};
  DDC.Titlebar={FontSize:"10pt",BGColor:"#D4D4D4"};
  DDC.Selection={FontSize:"10pt",Color:"#666666",BGColor:"#FFFFFF"};
  DDC.decoration="full";
  DDC.MenuLTImg="/wavemaster.internal/v6.4/uistyle/hwblue2005/dialogimg/topLeft.gif";
  DDC.MenuTBG="/wavemaster.internal/v6.4/uistyle/hwblue2005/dialogimg/top.gif";
  DDC.MenuTImg="";
  DDC.MenuRTImg="/wavemaster.internal/v6.4/uistyle/hwblue2005/dialogimg/topRight.gif";
  DDC.MenuLImg="";
  DDC.MenuLBG="/wavemaster.internal/v6.4/uistyle/hwblue2005/dialogimg/left.gif";
  DDC.MenuRImg="/wavemaster.internal/v6.4/uistyle/hwblue2005/dialogimg/right.gif";
  DDC.MenuRBG="/wavemaster.internal/v6.4/uistyle/hwblue2005/dialogimg/right.gif";
  DDC.MenuLBImg="/wavemaster.internal/v6.4/uistyle/hwblue2005/dialogimg/bottomLeft.gif";
  DDC.MenuRBImg="/wavemaster.internal/v6.4/uistyle/hwblue2005/dialogimg/bottomRight.gif";
  DDC.MenuBBG="/wavemaster.internal/v6.4/uistyle/hwblue2005/dialogimg/bottom.gif";
  DDC.MenuBGImg="";
  DDC.MenuBImg="";
  //top-images for tab
  DDC.MenuTBGTab="/wavemaster.internal/v6.4/uistyle/hwblue2005/dialogimg/tabTop.gif";
  DDC.MenuRTImgTab="/wavemaster.internal/v6.4/uistyle/hwblue2005/dialogimg/tabTopRight.gif";
  
  //buttons used in dialogs
  DDC.UpImg="/wavemaster.internal/v6.4/uistyle/hwblue2005/dialogimg/buttonUp.gif";
  DDC.InvUpImg="/wavemaster.internal/v6.4/uistyle/hwblue2005/dialogimg/buttonUp.gif";
  DDC.DownImg="/wavemaster.internal/v6.4/uistyle/hwblue2005/dialogimg/buttonDown.gif";
  DDC.InvDownImg="/wavemaster.internal/v6.4/uistyle/hwblue2005/dialogimg/buttonDown.gif";
  DDC.LeftImg="/wavemaster.internal/v6.4/uistyle/hwblue2005/dialogimg/buttonLeft.gif";
  DDC.InvLeftImg="/wavemaster.internal/v6.4/uistyle/hwblue2005/dialogimg/buttonLeft.gif";
  DDC.RightImg="/wavemaster.internal/v6.4/uistyle/hwblue2005/dialogimg/buttonRight.gif";
  DDC.InvRightImg="/wavemaster.internal/v6.4/uistyle/hwblue2005/dialogimg/buttonRight.gif";
  DDC.TopImg="/wavemaster.internal/v6.4/uistyle/hwblue2005/dialogimg/buttonTop.gif";
  DDC.InvTopImg="/wavemaster.internal/v6.4/uistyle/hwblue2005/dialogimg/buttonTop.gif";
  DDC.BottomImg="/wavemaster.internal/v6.4/uistyle/hwblue2005/dialogimg/buttonBottom.gif";
  DDC.InvBottomImg="/wavemaster.internal/v6.4/uistyle/hwblue2005/dialogimg/buttonBottom.gif";
  
  //default portal style
  DPC= {};
  //tab preview image
  DPC.columnratioBG="/wavemaster.internal/v6.4/uistyle/hwblue2005/dialogimg/columnratioBG.gif";
  DPC.columnratioTrackImg="/wavemaster.internal/v6.4/uistyle/hwblue2005/dialogimg/columnratioTrackImg.gif";
  DPC.columnratioTrackImg2="/wavemaster.internal/v6.4/uistyle/hwblue2005/dialogimg/columnratioTrackImg2.gif";
  DPC.columnratioTrackImg3="/wavemaster.internal/v6.4/uistyle/hwblue2005/dialogimg/columnratioTrackImg3.gif";
  
  // userblock style
  DUC = {};
  DUC.breadcrumbLeftImg = "/wavemaster.internal/v6.4/uistyle/hwblue2005/dialogimg/bc_left.gif";
  DUC.breadcrumbRightImg = "/wavemaster.internal/v6.4/uistyle/hwblue2005/dialogimg/bc_right.gif";
  DUC.breadcrumbImgWidth = 15;
  DUC.breadcrumbImgHeight = 7;
  DUC.breadcrumbSepImg = "/wavemaster.internal/v6.4/uistyle/hwblue2005/dialogimg/bc_sep.gif";
  DUC.breadcrumbSepImgWidth = 12;
  DUC.breadcrumbSepImgHeight = 7;
  
  //popup dialog style
  ADC= {};
  // old color was:
  // ADC.BGColor="#DEDEDE";
  ADC.BGColor="#EAEAEA";
  ADC.ItemBGColor="white";
  ADC.Color="black";
  ADC.FontFace="Arial, Geneva, Helvetica";
  ADC.Caption={FontSize:"14pt"};
  ADC.CaptionC={FontSize:"14pt",Color:"#003399"};
  ADC.Desc={FontSize:"8pt",Color:"#003399"};
  ADC.AttrValue={FontSize:"10pt",Color:"#003399"};
  ADC.AttrName={FontSize:"10pt"};
  ADC.ObjList={FontSize:"10pt",TextDecoration:"none"};
  ADC.ObjListC={FontSize:"10pt",Color:"#003399"};
  ADC.Metadata={FontSize:"10pt",Color:"#666666"};
  ADC.Titlebar={FontSize:"10pt",BGColor:"#D4D4D4"};
  ADC.Selection={FontSize:"10pt",Color:"#666666",BGColor:"#FFFFFF"};
  ADC.decoration="full";
  ADC.MenuLTImg="/wavemaster.internal/v6.4/uistyle/hwblue2005/adcimg/topLeft.gif";
  ADC.MenuTBG="/wavemaster.internal/v6.4/uistyle/hwblue2005/adcimg/top.gif";
  ADC.MenuTImg="";
  ADC.MenuRTImg="/wavemaster.internal/v6.4/uistyle/hwblue2005/adcimg/topRight.gif";
  ADC.MenuLImg="";
  ADC.MenuLBG="/wavemaster.internal/v6.4/uistyle/hwblue2005/adcimg/left.gif";
  ADC.MenuRImg="/wavemaster.internal/v6.4/uistyle/hwblue2005/adcimg/right.gif";
  ADC.MenuRBG="/wavemaster.internal/v6.4/uistyle/hwblue2005/adcimg/right.gif";
  ADC.MenuLBImg="/wavemaster.internal/v6.4/uistyle/hwblue2005/adcimg/bottomLeft.gif";
  ADC.MenuRBImg="/wavemaster.internal/v6.4/uistyle/hwblue2005/adcimg/bottomRight.gif";
  ADC.MenuBBG="/wavemaster.internal/v6.4/uistyle/hwblue2005/adcimg/bottom.gif";
  ADC.MenuLBBGImg="/wavemaster.internal/v6.4/uistyle/hwblue2005/adcimg/bottomLeftBG.gif";   // out border
  ADC.MenuRBBGImg="/wavemaster.internal/v6.4/uistyle/hwblue2005/adcimg/bottomRightBG.gif";
  ADC.MenuLTBGImg="/wavemaster.internal/v6.4/uistyle/hwblue2005/adcimg/topLeftBG.gif";
  ADC.MenuMTBGImg="/wavemaster.internal/v6.4/uistyle/hwblue2005/adcimg/topBG.gif";
  ADC.MenuRTBGImg="/wavemaster.internal/v6.4/uistyle/hwblue2005/adcimg/topRightBG.gif";
  ADC.MenuLBBGImg2="/wavemaster.internal/v6.4/uistyle/hwblue2005/adcimg/bottomLeftBG2.gif"; // in border
  ADC.MenuRBBGImg2="/wavemaster.internal/v6.4/uistyle/hwblue2005/adcimg/bottomRightBG2.gif";
  ADC.MenuLTBGImg2="/wavemaster.internal/v6.4/uistyle/hwblue2005/adcimg/topLeftBG2.gif";
  ADC.MenuMTBGImg2="/wavemaster.internal/v6.4/uistyle/hwblue2005/adcimg/topBG2.gif";
  ADC.MenuRTBGImg2="/wavemaster.internal/v6.4/uistyle/hwblue2005/adcimg/topRightBG2.gif";
  ADC.MenuBGImg="";
  ADC.MenuBImg="";
  ADC.capBGColor="#000099";
  ADC.capStyle="font-size:14pt; font-family:Arial, Geneva, Helvetica; color:#FFFFFF;";
  ADC.AttrNameBold="font-size:10pt; font-family:Arial, Geneva, Helvetica, sans-serif; color:black; font-weight: bold;";
  
  //help dialog style
  DHC= {}
  
  DHC.inborder=false;
  DHC.ignoreDlgCap=false;
  DHC.ignoreDlgDescr=true;
  DHC.ignoreDlgNecessary=true;
  DHC.logo="/wavemaster.internal/v6.4/uistyle/icons/hwlogo.gif";
  DHC.logoBGColor="#E6E6E6";
  DHC.capBGColor="#000099";
  DHC.capStyle="font-size:14pt;font-family:Arial, Geneva, Helvetica;color:white";
  DHC.descStyle="font-size:8pt;font-family:Arial, Geneva, Helvetica;color:white";
  //DHC.boxwidth="100%";
  DHC.BGColor="white";
  DHC.Color="black";
  DHC.FontFace="Arial, Geneva, Helvetica";
  DHC.Caption={FontSize:"14pt"};
  DHC.CaptionC={FontSize:"14pt",Color:"#003399"};
  DHC.Desc={FontSize:"8pt",Color:"#003399"};
  DHC.AttrValue={FontSize:"10pt",Color:"#003399"};
  DHC.AttrName={FontSize:"10pt",BGColor:"white"};
  DHC.ObjList={FontSize:"10pt",TextDecoration:"none"};
  DHC.ObjListC={FontSize:"10pt",Color:"#003399"};
  DHC.Metadata={FontSize:"10pt",Color:"#666666"};
  DHC.Titlebar={FontSize:"10pt",BGColor:"#D4D4D4"};
  DHC.Selection={FontSize:"10pt",Color:"#666666",BGColor:"#FFFFFF"};
  DHC.decoration="full";
  DHC.MenuLTImg="/wavemaster.internal/v6.4/uistyle/hwblue2005/helpdlgimg/topLeft.gif";
  DHC.MenuTBG="/wavemaster.internal/v6.4/uistyle/hwblue2005/helpdlgimg/top.gif";
  DHC.MenuTImg="";
  DHC.MenuRTImg="/wavemaster.internal/v6.4/uistyle/hwblue2005/helpdlgimg/topRight.gif";
  DHC.MenuLImg="";
  DHC.MenuLBG="/wavemaster.internal/v6.4/uistyle/hwblue2005/helpdlgimg/left.gif";
  DHC.MenuRImg="/wavemaster.internal/v6.4/uistyle/hwblue2005/helpdlgimg/right.gif";
  DHC.MenuRBG="/wavemaster.internal/v6.4/uistyle/hwblue2005/helpdlgimg/right.gif";
  DHC.MenuLBImg="/wavemaster.internal/v6.4/uistyle/hwblue2005/helpdlgimg/bottomLeft.gif";
  DHC.MenuRBImg="/wavemaster.internal/v6.4/uistyle/hwblue2005/helpdlgimg/bottomRight.gif";
  DHC.MenuBBG="/wavemaster.internal/v6.4/uistyle/hwblue2005/helpdlgimg/bottom.gif";
  DHC.MenuBGImg="";
  DHC.MenuBImg="";
  
  DSC={};
  DSC.DownImg="/wavemaster.internal/v6.4/uistyle/icons/seqdown1.gif";
  DSC.DownImgInv="/wavemaster.internal/v6.4/uistyle/icons/seqdown2.gif";
  DSC.DownImgDis="/wavemaster.internal/v6.4/uistyle/icons/seqdown3.gif";
  
  DSC.FirstImg="/wavemaster.internal/v6.4/uistyle/icons/seqfirst1.gif";
  DSC.FirstImgInv="/wavemaster.internal/v6.4/uistyle/icons/seqfirst2.gif";
  DSC.FirstImgDis="/wavemaster.internal/v6.4/uistyle/icons/seqfirst3.gif";
  
  DSC.PrevImg="/wavemaster.internal/v6.4/uistyle/icons/seqprev1.gif";
  DSC.PrevImgInv="/wavemaster.internal/v6.4/uistyle/icons/seqprev2.gif";
  DSC.PrevImgDis="/wavemaster.internal/v6.4/uistyle/icons/seqprev3.gif";
  
  DSC.NextImg="/wavemaster.internal/v6.4/uistyle/icons/seqnext1.gif";
  DSC.NextImgInv="/wavemaster.internal/v6.4/uistyle/icons/seqnext2.gif";
  DSC.NextImgDis="/wavemaster.internal/v6.4/uistyle/icons/seqnext3.gif";
  
  DSC.LastImg="/wavemaster.internal/v6.4/uistyle/icons/seqlast1.gif";
  DSC.LastImgInv="/wavemaster.internal/v6.4/uistyle/icons/seqlast2.gif";
  DSC.LastImgDis="/wavemaster.internal/v6.4/uistyle/icons/seqlast3.gif";
  
  DSC.UpImg="/wavemaster.internal/v6.4/uistyle/icons/sequp1.gif";
  DSC.UpImgInv="/wavemaster.internal/v6.4/uistyle/icons/sequp2.gif";
  DSC.UpImgDis="/wavemaster.internal/v6.4/uistyle/icons/sequp3.gif";
}

setDefaultDMCStyles();

