
function c_show(m,e,xp,yp)
 {
 var _5=xp;

 if(xp==487)
 {
 xp=(screen.width-800)/2+290;
 }
 if(xp==403)
 {
 xp=(screen.width-800)/2+372;
 }
 if(xp==408)
 {
 xp=(screen.width-800)/2+377;
 }
 if(xp==810)
 {
 xp=(screen.width-800)/2+779;
 }
 if(xp==816)
 {
 xp=(screen.width-800)/2+785;
 }
 version=0;
 if(navigator.appVersion.indexOf("MSIE")!=-1)
 {
 temp=navigator.appVersion.split("MSIE");
 version=parseFloat(temp[1]);
 }
 var _6=0;
 if(window.innerWidth)
 {
 _6=window.innerWidth;
 }
 else
 {
 if(document.documentElement&&document.documentElement.clientWidth)
 {  _6=document.documentElement.clientWidth;
 }
 else
 {
 if(document.body)
 {
 _6=document.body.clientWidth;
 }
 }
 }
 if(_6<800&&_5==487)
 {
  if(_6>800)
  {
  xp=(_6-800)/2+301;
  }
  else
  {
   xp=301;
  }
 }
 else
 {
 if(_5==487)
 {
 if(version>=6)
 {
 xp=(_6-800)/2+301;
 }
 else
 {
 xp=(_6-800)/2+291;
 }
 }
 }
 if(_6<800&&_5==408)
 {
 if(_6>800)
 {
 xp=(_6-800)/2+306;
 }
 else
 {
 xp=306;
 }
 }
 else
 {
 if(_5==408)
 {
 if(version>=6)
 {
 xp=(_6-800)/2+306;
 }
 else
 {
    xp=(_6-800)/2+296;
  }
  }
  }
  if(_6<800&&_5==810)
  {
  if(_6>800)
  {
  xp=(_6-800)/2+708;
  }
  else
  {
  xp=708;
  }
  }
  else
  {
  if(_5==810)
  {
  if(version>=6)
  {
  xp=(_6-800)/2+708;
  }
  else
  {
  xp=(_6-800)/2+698;
  }
  }
  }
  if(_6<800&&_5==816)
  {
  if(_6>800)
  {
  xp=(_6-800)/2+714;
  }
  else
  {
   xp=714;
  }
  }
  else
  {
  if(_5==816)
  {
  if(version>=6)
  {
  xp=(_6-800)/2+714;
  }
  else
  {
  xp=(_6-800)/2+704;
  }
  }
  }
  if(typeof c_dl=="undefined"||!c_dl)
  {
  return;
  }
  u=c_gO(m);
  if(!u||u.IN!=2)
  {
    return;
    }
    if(!u.PP)
    {
    alert("ERROR\n\nSmartMenus 6 Popup Menus Add-on:\n\nYou are calling the \""+m+"\" menu, which is not set as a popup menu in the config file.\nThe c_show() function can only be used to show menus that have \"Position\" set to 'popup'.");
    return;
    }
    c_mV();
    if(u.style.display=="block")
    {
     return;
    }
     c_hD();
     c_S[1]=u;
     var S,w,h,x,y,mouseX,mouseY,t,targetX,targetY,targetW,targetH,menuW,menuH,C,c; S=u.style;
    if(!u.FM)
     {
      S.visibility="hidden";
      u.FM=1;
      }
      S.display="block";
    w=u.offsetWidth;
    h=u.offsetHeight;c=c_gW();
    mouseX=e.pageX||e.clientX+c.x-(c_rL()?c_dE.offsetWidth-c.w:0);
    mouseY=e.pageY||e.clientY+c.y;t=e.target||e.srcElement;
    while(t.nodeType!=1)  {  t=t.parentNode;
    }
    C=c_cA(t);
    targetX=C.x;
    targetY=C.y;
    targetW=t.offsetWidth;
    targetH=t.offsetHeight;
    menuW=u.offsetWidth;
     menuH=u.offsetHeight;
     x=!arguments[2]?mouseX:eval(arguments[2]);
     y=!arguments[3]?mouseY:eval(arguments[3]);
    if(c_r&&x<c.x)  { x=c.x; }
    else
     {
     if(x+w>c.x+c.w)
     {
       x=c.x+c.w-w;
    }
    }
    if(h<c.h&&y+h>c.y+c.h)
    {
    y=c.y+c.h-h;
    }
    else
    {
    if(h>=c.h||y<c.y)
    {
    y=c.y;
    }
    }
    S.right="auto";
    S.left=xp+"px";
    S.top=yp+ "px";
    if(c_F[0])
    {
    c_iF(u,w,h,xp,yp);
    }
    if(c_F[1])
    {
     c_hS();
     }
     c_sH(u);
     }
    function c_hide()
    {
    if(typeof c_dl=="undefined"||!c_dl)
    {
    return;
    }
    c_mU();
     }
    function c_oF()
    {
    c_mV();
    c_c=this;
    if(!c_gL(c_c).parentNode.PP)
    {
      c_sM(1);
    }
    }
	//function c_show(m,e,xp,yp){var _5=xp;if(xp==156){xp=(screen.width-780)/2+30;}if(xp==495){xp=(screen.width-780)/2+380;}version=0;if(navigator.appVersion.indexOf("MSIE")!=-1){temp=navigator.appVersion.split("MSIE");version=parseFloat(temp[1]);}var _6=0;if(window.innerWidth){_6=window.innerWidth;}else{if(document.documentElement&&document.documentElement.clientWidth){_6=document.documentElement.clientWidth;}else{if(document.body){_6=document.body.clientWidth;}}}if(_6<800&&_5==156){if(_6>780){xp=(_6-780)/2+43;}else{xp=45;}}else{if(_5==156){if(version>=6){xp=(_6-780)/2+44.5;}else{xp=(_6-780)/2+35;}}}if(_6<800&&_5==495){if(_6>780){xp=(_6-780)/2+385;}else{xp=385;}}else{if(_5==495){if(version>=6){xp=(_6-780)/2+385;}else{xp=(_6-780)/2+375;}}}if(typeof c_dl=="undefined"||!c_dl){return;}u=c_gO(m);if(!u||u.IN!=2){return;}if(!u.PP){alert("ERROR\n\nSmartMenus 6 Popup Menus Add-on:\n\nYou are calling the \""+m+"\" menu, which is not set as a popup menu in the config file.\nThe c_show() function can only be used to show menus that have \"Position\" set to 'popup'.");return;}c_mV();if(u.style.display=="block"){return;}c_hD();c_S[1]=u;var S,w,h,x,y,mouseX,mouseY,t,targetX,targetY,targetW,targetH,menuW,menuH,C,c;S=u.style;if(!u.FM){S.visibility="hidden";u.FM=1;}S.display="block";w=u.offsetWidth;h=u.offsetHeight;c=c_gW();mouseX=e.pageX||e.clientX+c.x-(c_rL()?c_dE.offsetWidth-c.w:0);mouseY=e.pageY||e.clientY+c.y;t=e.target||e.srcElement;while(t.nodeType!=1){t=t.parentNode;}C=c_cA(t);targetX=C.x;targetY=C.y;targetW=t.offsetWidth;targetH=t.offsetHeight;menuW=u.offsetWidth;menuH=u.offsetHeight;x=!arguments[2]?mouseX:eval(arguments[2]);y=!arguments[3]?mouseY:eval(arguments[3]);if(c_r&&x<c.x){x=c.x;}else{if(x+w>c.x+c.w){x=c.x+c.w-w;}}if(h<c.h&&y+h>c.y+c.h){y=c.y+c.h-h;}else{if(h>=c.h||y<c.y){y=c.y;}}S.right="auto";S.left=xp+"px";S.top=yp+"px";if(c_F[0]){c_iF(u,w,h,xp,yp);}if(c_F[1]){c_hS();}c_sH(u);}function c_hide(){if(typeof c_dl=="undefined"||!c_dl){return;}c_mU();}function c_oF(){c_mV();c_c=this;if(!c_gL(c_c).parentNode.PP){c_sM(1);}}
	//function c_show(m,e,xp,yp) { var _5=xp; if(xp==156) { xp=(screen.width-780)/2+30; } if(xp==487) { xp=(screen.width-780)/2+372; } if(xp==490) { xp=(screen.width-780)/2+373; } version=0; if(navigator.appVersion.indexOf("MSIE")!=-1) { temp=navigator.appVersion.split("MSIE"); version=parseFloat(temp[1]); } var _6=0; if(window.innerWidth) { _6=window.innerWidth; } else { if(document.documentElement&&document.documentElement.clientWidth) { _6=document.documentElement.clientWidth; } else { if(document.body) { _6=document.body.clientWidth; } } } if(_6<800&&_5==156) { if(_6>780) { xp=(_6-780)/2+43; } else { xp=45; } } else { if(_5==156) { if(version>=6) { xp=(_6-780)/2+44.5; } else { xp=(_6-780)/2+35; } } } if(_6<800&&_5==487) { if(_6>780) { xp=(_6-780)/2+376; } else { xp=376; } } else { if(_5==487) { if(version>=6) { xp=(_6-780)/2+376; } else { xp=(_6-780)/2+366; } } } if(_6<800&&_5==490) { if(_6>780) { xp=(_6-780)/2+377; } else { xp=377; } } else { if(_5==490) { if(version>=6) { xp=(_6-780)/2+377; } else { xp=(_6-780)/2+367; } } } if(typeof c_dl=="undefined"||!c_dl) { return; } u=c_gO(m); if(!u||u.IN!=2) { return; } if(!u.PP) { alert("ERROR\n\nSmartMenus 6 Popup Menus Add-on:\n\nYou are calling the \""+m+"\" menu, which is not set as a popup menu in the config file.\nThe c_show() function can only be used to show menus that have \"Position\" set to 'popup'."); return; } c_mV(); if(u.style.display=="block") { return; } c_hD(); c_S[1]=u; var S,w,h,x,y,mouseX,mouseY,t,targetX,targetY,targetW,targetH,menuW,menuH,C,c; S=u.style; if(!u.FM) { S.visibility="hidden";u.FM=1; } S.display="block"; w=u.offsetWidth; h=u.offsetHeight;c=c_gW(); mouseX=e.pageX||e.clientX+c.x-(c_rL()?c_dE.offsetWidth-c.w:0); mouseY=e.pageY||e.clientY+c.y;t=e.target||e.srcElement; while(t.nodeType!=1) { t=t.parentNode; } C=c_cA(t); targetX=C.x; targetY=C.y; targetW=t.offsetWidth; targetH=t.offsetHeight; menuW=u.offsetWidth; menuH=u.offsetHeight; x=!arguments[2]?mouseX:eval(arguments[2]); y=!arguments[3]?mouseY:eval(arguments[3]); if(c_r&&x<c.x) { x=c.x; } else { if(x+w>c.x+c.w) { x=c.x+c.w-w; } } if(h<c.h&&y+h>c.y+c.h) { y=c.y+c.h-h; } else { if(h>=c.h||y<c.y) { y=c.y; } } S.right="auto"; S.left=xp+"px"; S.top=yp+"px"; if(c_F[0]) { c_iF(u,w,h,xp,yp); } if(c_F[1]) { c_hS(); } c_sH(u); } function c_hide() { if(typeof c_dl=="undefined"||!c_dl) { return; } c_mU(); } function c_oF() { c_mV(); c_c=this; if(!c_gL(c_c).parentNode.PP) { c_sM(1); } }
    //function c_show(m,e,xp,yp) {  var _5=xp;  if(xp==403)  {  xp=(screen.width-800)/2+372;  }  if(xp==408)  {  xp=(screen.width-800)/2+377;  }  if(xp==810)  {  xp=(screen.width-800)/2+779;  } 	 if(xp==816)  {  xp=(screen.width-800)/2+785;  } 		 version=0;  if(navigator.appVersion.indexOf("MSIE")!=-1)  {  temp=navigator.appVersion.split("MSIE");  version=parseFloat(temp[1]);  }  var _6=0;  if(window.innerWidth)  {  _6=window.innerWidth;  }  else  {  if(document.documentElement&&document.documentElement.clientWidth)  {  _6=document.documentElement.clientWidth;  }  else  {  if(document.body)  {  _6=document.body.clientWidth;  }  }  }  if(_6<800&&_5==403)  {  if(_6>800)  {  xp=(_6-800)/2+301;  }  else  {  xp=301;  }  }  else  {  if(_5==403)  {  if(version>=6)  {  xp=(_6-800)/2+301;  }  else  {  xp=(_6-800)/2+291;  }  } } 	 if(_6<800&&_5==408)  {  if(_6>800)  {  xp=(_6-800)/2+306;  }  else  {  xp=306;  }  }  else  {  if(_5==408)  {  if(version>=6)  {  xp=(_6-800)/2+306;  }  else  {  xp=(_6-800)/2+296;  }  } } 	 if(_6<800&&_5==810)  {  if(_6>800)  {  xp=(_6-800)/2+708;  }  else  {  xp=708;  }  }  else  {  if(_5==810)  {  if(version>=6)  {  xp=(_6-800)/2+708;  }  else  {  xp=(_6-800)/2+698;  }  } } 	 if(_6<800&&_5==816)  {  if(_6>800)  {  xp=(_6-800)/2+714;  }  else  {  xp=714;  }  }  else  {  if(_5==816)  {  if(version>=6)  {  xp=(_6-800)/2+714;  }  else  {  xp=(_6-800)/2+704;  }  } } 	 if(typeof c_dl=="undefined"||!c_dl)  { return; } u=c_gO(m); if(!u||u.IN!=2) { return; } if(!u.PP) { alert("ERROR\n\nSmartMenus 6 Popup Menus Add-on:\n\nYou are calling the \""+m+"\" menu, which is not set as a popup menu in the config file.\nThe c_show() function can only be used to show menus that have \"Position\" set to 'popup'."); return; } c_mV(); if(u.style.display=="block") { return; } c_hD(); c_S[1]=u; var S,w,h,x,y,mouseX,mouseY,t,targetX,targetY,targetW,targetH,menuW,menuH,C,c; S=u.style; if(!u.FM)  {  S.visibility="hidden"; u.FM=1;  }  S.display="block";  w=u.offsetWidth;  h=u.offsetHeight;c=c_gW();  mouseX=e.pageX||e.clientX+c.x-(c_rL()?c_dE.offsetWidth-c.w:0);  mouseY=e.pageY||e.clientY+c.y;t=e.target||e.srcElement;  while(t.nodeType!=1)  {  t=t.parentNode;  }  C=c_cA(t);  targetX=C.x;  targetY=C.y;  targetW=t.offsetWidth;  targetH=t.offsetHeight;  menuW=u.offsetWidth;  menuH=u.offsetHeight;  x=!arguments[2]?mouseX:eval(arguments[2]);  y=!arguments[3]?mouseY:eval(arguments[3]);  if(c_r&&x<c.x)  { x=c.x; } else { if(x+w>c.x+c.w) {  x=c.x+c.w-w;  }  }  if(h<c.h&&y+h>c.y+c.h) {  y=c.y+c.h-h; }  else  {  if(h>=c.h||y<c.y)  {  y=c.y; }  }  S.right="auto"; S.left=xp+"px"; S.top=yp+"px"; if(c_F[0]) {  c_iF(u,w,h,xp,yp); }  if(c_F[1]) { c_hS();  }  c_sH(u); }  function c_hide()  {  if(typeof c_dl=="undefined"||!c_dl) {  return; } c_mU(); }  function c_oF() {  c_mV(); c_c=this; if(!c_gL(c_c).parentNode.PP) {  c_sM(1);  } }
 
 
 

