Advertisement
jozz

NS343c

Jan 8th, 2014
670
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 73.07 KB | None | 0 0
  1.  
  2. var MNSMiscFunc = {
  3. ie : true,
  4. ns2 : false,
  5. ns3 : false,
  6. ns4 : false,
  7. ns4up : false,
  8. ns5 : false,
  9. ns5up : false,
  10. moz7 : false,
  11. ie3 : false,
  12. ie4 : false,
  13. ie5 : false,
  14. ie55: false,
  15. ie6 : false,
  16. op3 : false,
  17. op4 : false,
  18. op5 : false,
  19. op6 : false,
  20. op6up: false,
  21. Tmpinit:false,
  22.  
  23.  
  24. InitVars : function () {
  25. this.Tmpinit=true;
  26. var agt = navigator.userAgent.toLowerCase();
  27. var major = parseInt(navigator.appVersion);
  28. var minor = parseFloat(navigator.appVersion);
  29. var navI = navigator.appVersion.substring(22,25);
  30. var nav = ((agt.indexOf('mozilla')!=-1)&&(agt.indexOf('spoofer')==-1)&&(agt.indexOf('compatible')==-1)&&(agt.indexOf('opera')==-1)&&(agt.indexOf('webtv')==-1));
  31. this.ns2 = (nav&&(major==2))?true:false;
  32. this.ns3 = (nav&&(major==3))?true:false;
  33. this.ns4 = (nav&&(major==4))?true:false;
  34. this.ns4up = (nav&&(major>=4))?true:false;
  35. this.ns5 = (nav&&(major==5))?true:false;
  36. this.ns5up = (nav&&(major>=5))?true:false;
  37. this.moz7 = (nav&&(agt.indexOf('netscape6')==-1))?true:false;
  38. var ie = (agt.indexOf("msie")!=-1)?true:false;
  39. this.ie=ie;
  40. this.ie3 = (ie&&(major<4))?true:false;
  41. this.ie4 = (ie&&(agt.indexOf("msie 4")!=-1))?true:false;
  42. this.ie5 = (ie&&navI=='5.0')?true:false;
  43. this.ie55 = (ie&&navI=='5.5')?true:false;
  44. this.ie6 = (ie&&navI=='6.0')?true:false;
  45. var op3 = (agt.indexOf("opera")!=-1)?true:false;
  46. this.op3=op3;
  47. var op4 = (op3&&(agt.indexOf("opera 4")!=-1))?true:false;
  48. this.op4=op4;
  49. var op5 = ((op3&&((agt.indexOf("opera 5.11")!=-1)||(agt.indexOf("opera 5.02")!=-1)||(agt.indexOf("opera 5.01")!=-1)))||(op3&&(major>4)))?true:false;
  50. this.op5=op5;
  51. var op6 = (op5&&(agt.indexOf("opera 6.0")!=-1))?true:false;
  52. this.op6=op6;
  53. var op6up = (op6&&(major>6))?true:false;
  54. this.op6up=op6up;
  55. return;
  56. },
  57.  
  58.  
  59. getObjNN4 : function (obj,name)
  60. {
  61. if (!this.init){this.InitVars()}
  62. var x = obj.layers;
  63. var foundLayer;
  64. for (var i=0;i<x.length;i++)
  65. {
  66. if (x[i].id == name)
  67. foundLayer = x[i];
  68. else if (x[i].layers.length)
  69. var tmp = this.getObjNN4(x[i],name);
  70. if (tmp) foundLayer = tmp;
  71. }
  72. return foundLayer;
  73. },
  74.  
  75.  
  76. getElementHeight : function (Elem) {
  77. if (!this.init){this.InitVars()}
  78. if (this.ns4) {
  79. var elem = this.getObjNN4(document, Elem);
  80. return elem.clip.height;
  81. } else {
  82. if(document.getElementById) {
  83. var elem = document.getElementById(Elem);
  84. } else if (document.all){
  85. var elem = document.all[Elem];
  86. }
  87. xPos = elem.offsetHeight;
  88. return xPos;
  89. }
  90. },
  91.  
  92.  
  93. getElementWidth : function(Elem) {
  94. if (!this.init){this.InitVars()}
  95. if (this.ns4) {
  96. var elem = this.getObjNN4(document, Elem);
  97. return elem.clip.width;
  98. } else {
  99. if(document.getElementById) {
  100. var elem = document.getElementById(Elem);
  101. } else if (document.all){
  102. var elem = document.all[Elem];
  103. }
  104. xPos = elem.offsetWidth;
  105. return xPos;
  106. }
  107. },
  108.  
  109.  
  110. getElementLeft : function (Elem) {
  111. if (!this.init){this.InitVars()}
  112. if (this.ns4) {
  113. var elem = this.getObjNN4(document, Elem);
  114. return elem.pageX;
  115. } else {
  116. var elem;
  117. if(document.getElementById) {
  118. var elem = document.getElementById(Elem);
  119. } else if (document.all){
  120. var elem = document.all[Elem];
  121. }
  122. xPos = elem.offsetLeft;
  123. tempEl = elem.offsetParent;
  124. while (tempEl != null) {
  125. xPos += tempEl.offsetLeft;
  126. if ((tempEl.style.position=='absolute') || (tempEl.style.position=='relative')){break}
  127. tempEl = tempEl.offsetParent;
  128. }
  129. return xPos;
  130. }
  131. },
  132.  
  133.  
  134.  
  135. getElementTop : function (Elem) {
  136. if (!this.init){this.InitVars()}
  137. if (this.ns4) {
  138. var elem = this.getObjNN4(document, Elem);
  139. return elem.pageY;
  140. } else {
  141. if(document.getElementById) {
  142. var elem = document.getElementById(Elem);
  143. } else if (document.all) {
  144. var elem = document.all[Elem];
  145. }
  146. yPos = elem.offsetTop;
  147. tempEl = elem.offsetParent;
  148. while (tempEl != null){
  149. yPos += tempEl.offsetTop;
  150. if ((tempEl.style.position=='absolute') || (tempEl.style.position=='relative')){break}
  151. tempEl = tempEl.offsetParent;
  152. }
  153. return yPos;
  154. }
  155. }
  156. };
  157.  
  158. MNSMiscFunc.InitVars();
  159.  
  160.  
  161.  
  162.  
  163. var MNSMenuGroupHandler = {
  164.  
  165. MenuTimeout : 500,
  166. ObjectsCount : 0,
  167. ObjectsArray : Array(),
  168. idCounter : 0,
  169. idPrefix : "menu_group_",
  170. TimerCloseAllGroupID : 0,
  171. TimerAnimateID : 0,
  172. TmpGroupToShow : '',
  173. LC : '2708072187',
  174. SubmenusDisAppearMode:0,
  175.  
  176.  
  177.  
  178. GetId:function() {
  179. return this.idPrefix + this.idCounter++;
  180. },
  181.  
  182. FindGroup:function(id){
  183. for (i=1; i<= this.ObjectsCount; i++){
  184. if (this.ObjectsArray[i].id==id) {
  185. return(this.ObjectsArray[i]);
  186. }
  187. }
  188. },
  189.  
  190. DoOnMouseOver:function(id){
  191. window.clearTimeout(this.TimerCloseAllGroupID);
  192.  
  193. gr=this.FindGroup(id);
  194. if (gr){
  195. if (gr.RefererItem){
  196. if (gr.RefererItem.OwnerGroup){
  197. for (i=1; i<= gr.RefererItem.OwnerGroup.Count; i++){
  198. if (gr.RefererItem.OwnerGroup.Items[i]==gr.RefererItem)
  199. {
  200. gr.RefererItem.OwnerGroup.Items[i].SetItemState(1);
  201. }
  202. else
  203. {
  204. gr.RefererItem.OwnerGroup.Items[i].SetItemState(0);
  205. }
  206. }
  207. }
  208. }
  209. }
  210. },
  211.  
  212. DoOnMouseOut:function(id){
  213. window.clearTimeout(this.TimerCloseAllGroupID);
  214.  
  215. this.TimerCloseAllGroupID = window.setTimeout("MNSMenuGroupHandler.CloseAllGroup()", MNSMenuGroupHandler.MenuTimeout);
  216.  
  217. },
  218.  
  219. DoOnMouseMove:function(id){return},
  220. DoOnMouseDown:function(id){return},
  221. DoOnMouseUp:function(id){return},
  222.  
  223. FlipDropDown:function(id){
  224. gr=this.FindGroup(id.substring(8));
  225. if (gr){
  226. gr.FlipDropDown();
  227. }
  228. },
  229.  
  230. CloseGroup:function(id){
  231.  
  232. gr=this.FindGroup(id);
  233. if (gr!=null){
  234. gr.CloseGroupRecurse();
  235. }
  236.  
  237. },
  238.  
  239. CloseAllGroup:function(){
  240. this.TmpGroupToShow=null;
  241. window.clearTimeout(this.TimerAnimateID);
  242. for (i=1; i<= this.ObjectsCount; i++){
  243. if (this.ObjectsArray[i]){
  244. if (this.ObjectsArray[i].IsMainGroup ==0){
  245. this.ObjectsArray[i].HideGroup();
  246. this.ObjectsArray[i].AnimationControlValue = this.ObjectsArray[i].AnimationTo;
  247. }
  248. else
  249. {
  250. for (n=1; n<= this.ObjectsArray[i].Count; n++){
  251. this.ObjectsArray[i].Items[n].SetItemState(0);
  252. }
  253. }
  254. }
  255. }
  256. },
  257.  
  258.  
  259.  
  260. ShowWithTargetOpacity:function(){
  261. if (this.TmpGroupToShow != null){
  262. gr=this.FindGroup(this.TmpGroupToShow);
  263. if (gr){
  264. if (gr.AnimationType==100){
  265. gr.AnimationControlValue= gr.AnimationTo;
  266. obj=document.getElementById(gr.id);
  267. obj.style.MozOpacity = gr.Opacity/100 ;
  268. obj.style.filter = 'alpha(opacity=' + gr.Opacity + ')';
  269. obj.style.opacity=gr.Opacity/100;
  270. }
  271. }
  272. }
  273. },
  274.  
  275. DoAnimation:function(){
  276. if (this.TmpGroupToShow != null){
  277. gr=this.FindGroup(this.TmpGroupToShow);
  278. if (gr){
  279. obj=document.getElementById(gr.id);
  280. objt=document.getElementById(gr.id+'_table');
  281.  
  282. if ((gr.AnimationType>0) && (!MNSMiscFunc.ie)){
  283. gr.AnimationType=100;
  284. }
  285.  
  286. switch (gr.AnimationType){
  287.  
  288. case 0:{
  289. obj.style.visibility='visible';
  290. objt.style.visibility='visible';
  291.  
  292.  
  293. for (this.i=1; this.i<= gr.Count; this.i++){
  294. gr.Items[this.i].ShowOrphans();
  295. }
  296.  
  297.  
  298. if (gr.OnGroupShowJS!=''){
  299. eval(gr.OnGroupShowJS);
  300. }
  301.  
  302. return;
  303. }
  304.  
  305. case 100:{
  306.  
  307. if (gr.AnimationControlValue==20){
  308.  
  309. for (this.i=1; this.i<= gr.Count; this.i++){
  310. gr.Items[this.i].ShowOrphans();
  311. }
  312. }
  313.  
  314. if ((gr.AnimationControlValue <= gr.AnimationTo) && (gr.AnimationControlValue<=gr.Opacity)){
  315. obj.style.visibility='visible';
  316. objt.style.visibility='visible';
  317. obj.style.MozOpacity = (gr.AnimationControlValue / gr.AnimationTo );
  318. obj.style.filter = 'alpha(opacity=' + gr.AnimationControlValue + ')';
  319. obj.style.opacity=(gr.AnimationControlValue / gr.AnimationTo );
  320.  
  321.  
  322. gr.AnimationControlValue=gr.AnimationControlValue+(gr.AnimationStep);
  323. this.TimerAnimateID = window.setTimeout("MNSMenuGroupHandler.DoAnimation()",gr.AnimationTimeout * (gr.AnimationTo/(gr.Opacity/2)));
  324. return;
  325. }
  326.  
  327.  
  328. if (gr.OnGroupShowJS!=''){
  329. eval(gr.OnGroupShowJS);
  330. }
  331.  
  332. return;
  333. }
  334. }
  335.  
  336.  
  337.  
  338.  
  339. for (this.i=1; this.i<= gr.Count; this.i++){
  340. gr.Items[this.i].ShowOrphans();
  341. }
  342.  
  343. if (obj.filters) {
  344. dur=(gr.AnimationTimeout * (gr.AnimationTo / gr.AnimationStep)) / 1500;
  345. obj.style.filter='revealTrans(duration='+dur+', transition='+gr.AnimationType+')';
  346. obj.filters.revealTrans.apply();
  347. obj.style.visibility='visible';
  348. objt.style.visibility='visible';
  349. obj.filters.revealTrans.play();
  350. }
  351. else
  352. { obj.style.visibility='visible';}
  353.  
  354.  
  355. if (gr.OnGroupShowJS!=''){
  356. eval(gr.OnGroupShowJS);
  357. }
  358. }
  359. }
  360. }
  361.  
  362. };
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369. var MNSMenuItemHandler = {
  370. ObjectsCount : 0,
  371. ObjectsArray : Array(),
  372. idCounter : 0,
  373. idPrefix : "menu_item_",
  374.  
  375. GetId : function() {
  376. return this.idPrefix + this.idCounter++;
  377. },
  378.  
  379. FindItem : function(id) {
  380. for (i=1; i<= this.ObjectsCount; i++){
  381. if (this.ObjectsArray[i].id==id) {
  382. return(this.ObjectsArray[i]);
  383. }
  384. }
  385. },
  386.  
  387. FindItemByGroup: function(GroupID){
  388. for (i=1; i<= this.ObjectsCount; i++){
  389. if (this.ObjectsArray[i].Group.id==GroupID) {
  390. return(this.ObjectsArray[i]);
  391. }
  392. }
  393. },
  394.  
  395. DoOnMouseOver : function(id){
  396. mi=this.FindItem(id);
  397. mi.SetItemState(1);
  398.  
  399.  
  400. for (i=1; i<= mi.OwnerGroup.Count; i++){
  401. if (mi.OwnerGroup.Items[i]!=mi){
  402. mi.OwnerGroup.Items[i].SetItemState(0);
  403. }
  404. }
  405.  
  406.  
  407. if (mi.Group != null || MNSMenuGroupHandler.SubmenusDisAppearMode==0){
  408. for (i=1; i<= mi.OwnerGroup.Count; i++){
  409. if ((mi.OwnerGroup.Items[i]!=mi) && (mi.OwnerGroup.Items[i].Group!=null)){
  410. obj=document.getElementById(mi.OwnerGroup.Items[i].Group.id);
  411. if ((obj != null) && (obj.style.visibility=='visible')){
  412. MNSMenuGroupHandler.CloseGroup(obj.id);
  413. }
  414. }
  415. }
  416. }
  417.  
  418. if (mi.Group != null){
  419.  
  420. MNSMenuGroupHandler.ShowWithTargetOpacity();
  421.  
  422.  
  423. mi.Group.ShowGroup();
  424.  
  425. }
  426. },
  427.  
  428. DoOnMouseMove: function(id) {},
  429. DoOnMouseOut : function (id) {},
  430. DoOnMouseDown: function(id){
  431. mi=this.FindItem(id);
  432. mi.SetItemState(2);
  433. },
  434.  
  435. DoOnMouseUp: function(id){
  436. mi=this.FindItem(id);
  437. mi.SetItemState(1);
  438. },
  439.  
  440. Navigate: function(id){
  441.  
  442. mi=this.FindItem(id);
  443. eval(mi.OnClickJS);
  444. if (mi.URL>''){
  445. if (mi.URLTarget==''){self.location.href= mi.URL} else
  446. if (mi.URLTarget=='_top'){top.location.href = mi.URL;} else
  447. if (mi.URLTarget=='_parent'){parent.location.href= mi.URL;}else
  448. if (mi.URLTarget=='_self'){self.location.href= mi.URL} else
  449. {
  450. if (top.frames[mi.URLTarget]){top.frames[mi.URLTarget].location.href= mi.URL} else
  451. if (self.frames[mi.URLTarget]){self.frames[mi.URLTarget].location.href= mi.URL} else
  452. {
  453. window.open(mi.URL,mi.URLTarget);
  454. }
  455. }
  456. }
  457. }
  458.  
  459.  
  460. };
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.  
  470.  
  471.  
  472.  
  473.  
  474. function MNSMenuGroupAncestor () {
  475. this.Width = 300;
  476. this.Height= 1;
  477. this.Opacity=100;
  478. this.Embedding='absolute';
  479. this.Drifting=0;
  480. this.OnGroupShowJS='';
  481. this.OnGroupHideJS='';
  482. this.BgColor= '#FFFFFF';
  483. this.BgImage='';
  484. this.BgImgPos='center';
  485. this.BgImgRep='no-repeat';
  486. this.Border='solid';
  487. this.BorderWidth='1';
  488. this.BorderColor='#000000';
  489. this.ShadowWidth=0;
  490. this.ShadowColor='#999999';
  491. this.ShadowTransparency=50;
  492. this.ItemsSpacing=0;
  493. this.ItemsPadding_L=2;
  494. this.ItemsPadding_R=2;
  495. this.ItemsPadding_T=2;
  496. this.ItemsPadding_B=2;
  497. this.HeaderText='';
  498. this.HeaderTextAlign='center';
  499. this.HeaderTextOffsetX=0;
  500. this.HeaderTextOffsetY=0;
  501. this.HeaderHeight=0;
  502. this.HeaderBgColor='#125500';
  503. this.HeaderIcon='';
  504. this.HeaderIconOffsetX=10;
  505. this.HeaderIconOffsetY=0;
  506. this.HeaderBgImage='';
  507. this.HeaderBgImgPos='';
  508. this.HeaderBgImgRep='';
  509. this.FontFamily='';
  510. this.FontColor='';
  511. this.FontSize='';
  512. this.FontDecoration='';
  513. this.FontWeight='';
  514. this.FontStyle='';
  515. this.MenuGroupAlign=0;
  516. this.z=1000;
  517. this.Visibility='hidden';
  518. this.AnimationTimeout=20;
  519. this.AnimationType=100;
  520. this.ShowDropDownControl=false;
  521. this.InitDropdownState=1;
  522. this.DropdownImageExpand='';
  523. this.DropdownImageCollapse='';
  524. }
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536. MNSMenuGroup.prototype = new MNSMenuGroupAncestor;
  537.  
  538.  
  539.  
  540.  
  541. function MNSMenuGroup(ShiftX,ShiftY,Lay) {
  542. this.Layout= Lay || 'V';
  543. this.x=ShiftX || 0;
  544. this.y=ShiftY || 0;
  545.  
  546.  
  547.  
  548. this.Tmp1=0;
  549. this.AnimationStep=4;
  550. this.AnimationFrom=0;
  551. this.AnimationTo=100;
  552. this.AnimationControlValue=20;
  553. this.TmpMainDivStyle='';
  554. this.TargetPosX=this.x;
  555. this.TargetPosY=this.y;
  556. this.DefaultTop=0;
  557. this.DefaultLeft=0;
  558. this.Count=0;
  559. this.IsMainGroup=0;
  560. this.Items = [];
  561. this.id = MNSMenuGroupHandler.GetId();
  562. this.RefererItem = null;
  563. this.Preload_DropdownImageExpand=new Image();
  564. this.Preload_DropdownImageCollapse=new Image();
  565. MNSMenuGroupHandler.ObjectsCount=MNSMenuGroupHandler.ObjectsCount+1;
  566. MNSMenuGroupHandler.ObjectsArray[MNSMenuGroupHandler.ObjectsCount]=this;
  567. }
  568.  
  569.  
  570.  
  571.  
  572. MNSMenuGroup.prototype.Assign=function Assign(s)
  573. {
  574. this.Width= s.Width;
  575. this.Height= s.Height;
  576. this.Opacity= s.Opacity;
  577. this.Embedding= s.Embedding;
  578. this.Drifting= s.Drifting;
  579. this.OnGroupShowJS= s.OnGroupShowJS;
  580. this.OnGroupHideJS= s.OnGroupHideJS;
  581. this.BgColor= s.BgColor;
  582. this.BgImage= s.BgImage;
  583. this.BgImgPos= s.BgImgPos;
  584. this.BgImgRep= s.BgImgRep;
  585. this.Border= s.Border;
  586. this.BorderWidth= s.BorderWidth;
  587. this.BorderColor= s.BorderColor;
  588. this.ShadowWidth= s.ShadowWidth;
  589. this.ShadowColor= s.ShadowColor;
  590. this.ShadowTransparency=s.ShadowTransparency;
  591. this.ItemsSpacing= s.ItemsSpacing;
  592. this.ItemsPadding_L= s.ItemsPadding_L;
  593. this.ItemsPadding_R= s.ItemsPadding_R;
  594. this.ItemsPadding_T= s.ItemsPadding_T;
  595. this.ItemsPadding_B= s.ItemsPadding_B;
  596. this.HeaderText= s.HeaderText;
  597. this.HeaderTextAlign= s.HeaderTextAlign;
  598. this.HeaderTextOffsetX= s.HeaderTextOffsetX;
  599. this.HeaderTextOffsetY= s.HeaderTextOffsetY;
  600. this.HeaderHeight= s.HeaderHeight;
  601. this.HeaderBgColor= s.HeaderBgColor;
  602. this.HeaderIcon= s.HeaderIcon;
  603. this.HeaderIconOffsetX= s.HeaderIconOffsetX;
  604. this.HeaderIconOffsetY= s.HeaderIconOffsetY;
  605. this.HeaderBgImage= s.HeaderBgImage;
  606. this.HeaderBgImgPos= s.HeaderBgImgPos;
  607. this.HeaderBgImgRep= s.HeaderBgImgRep;
  608. this.FontFamily= s.FontFamily;
  609. this.FontColor= s.FontColor;
  610. this.FontSize= s.FontSize;
  611. this.FontDecoration= s.FontDecoration;
  612. this.FontWeight= s.FontWeight;
  613. this.FontStyle= s.FontStyle;
  614. this.MenuGroupAlign= s.MenuGroupAlign;
  615. this.z= s.z;
  616. this.Visibility= s.Visibility;
  617. this.AnimationTimeout= s.AnimationTimeout;
  618. this.AnimationType= s.AnimationType;
  619. this.ShowDropDownControl=s.ShowDropDownControl;
  620. this.InitDropdownState=s.InitDropdownState;
  621. this.DropdownImageExpand=s.DropdownImageExpand;
  622. this.DropdownImageCollapse=s.DropdownImageCollapse;
  623. this.MenuAlign=s.MenuAlign;
  624. };
  625.  
  626.  
  627.  
  628.  
  629. MNSMenuGroup.prototype.PreloadImages= function PreloadImages() {
  630. this.Preload_DropdownImageExpand.src=this.DropdownImageExpand;
  631. this.Preload_DropdownImageCollapse.src=this.DropdownImageCollapse;
  632. };
  633.  
  634.  
  635.  
  636.  
  637. MNSMenuGroup.prototype.AddItem= function AddItem(Item) {
  638. this.Count++;
  639. this.Items[this.Count]=Item;
  640. Item.OwnerGroup=this;
  641. };
  642.  
  643.  
  644.  
  645.  
  646.  
  647. MNSMenuGroup.prototype.Preset= function Preset(ItemIndex,State) {
  648. if ((ItemIndex >=1) && (ItemIndex <= this.Count)){
  649. for (i=1; i<= this.Count; i++){
  650. if (i==ItemIndex){
  651. this.Items[i].IsPreset=true;
  652. this.Items[i].PresetState=State;
  653. this.Items[i].SetItemState(State);
  654. }
  655. else
  656. {
  657. this.Items[i].IsPreset=false;
  658. this.Items[i].SetItemState(0);
  659. }
  660. }
  661. }
  662. };
  663.  
  664.  
  665.  
  666.  
  667.  
  668. MNSMenuGroup.prototype.ExpandDropDown= function ExpandDropDown() {
  669. dropimg=document.getElementById('dropimg_'+this.id);
  670. bodydiv=document.getElementById(this.id+'_itemtablecover');
  671. if(bodydiv)
  672. {
  673. if ((bodydiv.style.visibility!='visible')&&(bodydiv.style.visibility!=''))
  674. {
  675. bodydiv.style.display='block';
  676. bodydiv.style.visibility='visible';
  677. if(dropimg){
  678. dropimg.src=this.Preload_DropdownImageCollapse.src;
  679. }
  680. }
  681. }
  682. };
  683.  
  684.  
  685.  
  686.  
  687.  
  688. MNSMenuGroup.prototype.CollapseDropDown= function CollapseDropDown() {
  689. dropimg=document.getElementById('dropimg_'+this.id);
  690. bodydiv=document.getElementById(this.id+'_itemtablecover');
  691. if(bodydiv)
  692. {
  693. if ((bodydiv.style.visibility=='visible')||(bodydiv.style.visibility==''))
  694. {
  695. bodydiv.style.display='none';
  696. bodydiv.style.visibility='hidden';
  697. if(dropimg){
  698. dropimg.src=this.Preload_DropdownImageExpand.src;
  699. }
  700. }
  701. }
  702. };
  703.  
  704.  
  705.  
  706.  
  707.  
  708. MNSMenuGroup.prototype.FlipDropDown= function FlipDropDown() {
  709. dropimg=document.getElementById('dropimg_'+this.id);
  710. bodydiv=document.getElementById(this.id+'_itemtablecover');
  711. if(bodydiv)
  712. {
  713. if ((bodydiv.style.visibility=='visible')||(bodydiv.style.visibility==''))
  714. {
  715. bodydiv.style.display='none';
  716. bodydiv.style.visibility='hidden';
  717. if(dropimg){
  718. dropimg.src=this.Preload_DropdownImageExpand.src;
  719. }
  720. }
  721. else
  722. {
  723. bodydiv.style.display='block';
  724. bodydiv.style.visibility='visible';
  725. if(dropimg){
  726. dropimg.src=this.Preload_DropdownImageCollapse.src;
  727. }
  728. }
  729. }
  730. };
  731.  
  732.  
  733.  
  734.  
  735.  
  736.  
  737. MNSMenuGroup.prototype.ToStr= function ToStr(){
  738.  
  739. this.PreloadImages();
  740.  
  741.  
  742.  
  743. if (this.Layout=='H')
  744. {
  745. maxwidth=0;
  746. widthsum=0;
  747.  
  748. for (i=1; i<= this.Count; i++){
  749. if (this.Items[i].Width>maxwidth){
  750. maxwidth=this.Items[i].Width;
  751. }
  752. widthsum=widthsum+this.Items[i].Width;
  753. }
  754. this.Width=widthsum;
  755. }
  756.  
  757. if (document.compatMode && document.compatMode == "BackCompat" && MNSMiscFunc.ie){
  758. MainDivWidth=this.Width-this.ItemsPadding_L-this.ItemsPadding_R;
  759. HeaderWidth=this.Width;
  760. TableWidth=MainDivWidth;
  761. }
  762. else
  763. {
  764. MainDivWidth=this.Width;
  765. HeaderWidth=MainDivWidth;
  766. TableWidth=this.Width-this.ItemsPadding_L-this.ItemsPadding_R;
  767. }
  768.  
  769.  
  770. SetPosition=true;
  771. if (this.Embedding=='default'){this.Embedding='absolute'; SetPosition=false}
  772. if (this.IsMainGroup==0){this.Embedding='absolute'}
  773.  
  774.  
  775. if (SetPosition){
  776. this.TmpMainDivStyle='position: '+this.Embedding+'; left: '+this.TargetPosX+'px; top: '+this.TargetPosY+'px; ';
  777. }
  778. else
  779. {
  780. this.TmpMainDivStyle='position: '+this.Embedding+'; ';
  781. }
  782.  
  783. this.TmpMainDivStyle=this.TmpMainDivStyle+'z-index: '+this.z+'; visibility: '+this.Visibility+'; ';
  784. this.TmpMainDivStyle=this.TmpMainDivStyle+'width: '+MainDivWidth+'px; ';
  785. this.TmpMainDivStyle=this.TmpMainDivStyle+'border-width: '+this.BorderWidth+'px; border-style: '+this.Border+'; border-color: '+this.BorderColor+'; ';
  786. this.TmpMainDivStyle=this.TmpMainDivStyle+'background-color: '+this.BgColor+'; ';
  787. this.TmpMainDivStyle=this.TmpMainDivStyle+'background-image: url('+this.BgImage+'); background-position: '+this.BgImgPos+'; background-repeat: '+this.BgImgRep+'; ';
  788. if (this.Opacity<100){this.TmpMainDivStyle=this.TmpMainDivStyle+'filter:alpha(opacity='+this.Opacity+'); -moz-opacity:'+this.Opacity+'; opacity:'+(this.Opacity/100)+'; '};
  789.  
  790.  
  791. this.TmpHedStyle=' padding:0px; margin:0px; height: '+this.HeaderHeight+'px; ';
  792. this.TmpHedStyle=this.TmpHedStyle+'width: '+HeaderWidth+'px; ';
  793. this.TmpHedStyle=this.TmpHedStyle+'background-color: '+this.HeaderBgColor+'; ';
  794. this.TmpHedStyle=this.TmpHedStyle+'background-image: url('+this.HeaderBgImage+'); background-position: '+this.HeaderBgImgPos+'; background-repeat: '+this.HeaderBgImgRep+'; ';
  795.  
  796.  
  797. this.TmpSubHedStyle='position: relative; left: '+this.HeaderTextOffsetX+'px; top: '+this.HeaderTextOffsetY+'px; ';
  798. this.TmpSubHedStyle=this.TmpSubHedStyle+'font-family: '+this.FontFamily+' ; font-style: '+this.FontStyle+'; font-size: '+this.FontSize+'px; font-weight: '+this.FontWeight+'; ';
  799. this.TmpSubHedStyle=this.TmpSubHedStyle+'color: '+this.FontColor+' ; text-decoration: '+this.FontDecoration+'; ';
  800.  
  801.  
  802. this.TmpTableCover= 'padding-top: '+this.ItemsPadding_T+'px; padding-left: '+this.ItemsPadding_L+'px; padding-right: '+this.ItemsPadding_R+'px; padding-bottom: '+this.ItemsPadding_B+'px; ';
  803.  
  804.  
  805. this.TableAttr='width="'+TableWidth+'" cellpadding="0" cellspacing="0" border="0"';
  806.  
  807.  
  808. if(this.ShowDropDownControl)
  809. {
  810. this.TmpDropDown='<img onclick="MNSMenuGroupHandler.FlipDropDown(this.id);" id="dropimg_'+this.id+'" hspace="5" src="';
  811. if (this.InitDropdownState==1){
  812. this.TmpDropDown=this.TmpDropDown+this.Preload_DropdownImageCollapse.src;
  813. } else{
  814. this.TmpDropDown=this.TmpDropDown+this.Preload_DropdownImageExpand.src;
  815. this.TmpTableCover=this.TmpTableCover+' visibility: hidden; display: none; ';
  816. }
  817. this.TmpDropDown=this.TmpDropDown+'" >';
  818. }
  819. else {
  820. this.TmpDropDown=(this.HeaderText)?'&nbsp;':'';
  821. }
  822.  
  823.  
  824. TmpStr='<DIV style="'+this.TmpMainDivStyle+'" id="'+this.id+'" onmousedown="MNSMenuGroupHandler.DoOnMouseDown(this.id)" onmouseup="MNSMenuGroupHandler.DoOnMouseUp(this.id)" onmouseover="MNSMenuGroupHandler.DoOnMouseOver(this.id)" onmouseout="MNSMenuGroupHandler.DoOnMouseOut()">';
  825.  
  826.  
  827. if (this.HeaderIcon){
  828. TmpStr=TmpStr+'<img align="left" style="position: absolute; left:'+this.HeaderIconOffsetX+'px; top: '+this.HeaderIconOffsetY+'px; z-index: 1;" src="'+this.HeaderIcon+'">';
  829. };
  830.  
  831.  
  832. TmpStr=TmpStr+'<div style="' + this.TmpHedStyle + '"><div><table border="0" align="center" height="100%" cellpadding="0" cellspacing="0"><tr><td valign="middle" align="'+this.HeaderTextAlign+'" width="99%"><span style="'+this.TmpSubHedStyle+'">' +this.HeaderText+'</span></td><td width="1%" valign="middle">'+this.TmpDropDown+'</td></tr></table></div></div>';
  833.  
  834.  
  835. TmpStr=TmpStr+'<div id="'+this.id+'_itemtablecover" style="'+this.TmpTableCover+'">';
  836.  
  837.  
  838. if (this.Layout=='H') {
  839. TmpStr=TmpStr+'<TABLE '+this.TableAttr+' id="'+this.id+'_table"><TR>';
  840.  
  841. TmpEndStr='</TR valign="top"></TABLE>';
  842. }
  843. else
  844. {
  845. TmpStr=TmpStr+'<TABLE '+this.TableAttr+' id="'+this.id+'_table">';
  846. TmpEndStr='</TABLE>';
  847. }
  848.  
  849.  
  850.  
  851. for (i=1; i<= this.Count; i++){
  852. this.Items[i].LastItem=false;
  853. if (i==this.Count){
  854. this.Items[i].LastItem=true;
  855. }
  856. TmpStr=TmpStr+this.Items[i].ToStr(this.Layout);
  857. }
  858.  
  859.  
  860. TmpStr=TmpStr+TmpEndStr;
  861.  
  862.  
  863. TmpStr=TmpStr+'</div>';
  864.  
  865.  
  866. TmpStr=TmpStr+'</DIV>';
  867.  
  868.  
  869. for (this.i=1; this.i<= this.Count; this.i++){
  870. if (this.Items[this.i].Group != null){
  871. TmpStr=TmpStr+this.Items[this.i].Group.ToStr();
  872. }
  873. }
  874.  
  875.  
  876. if ((this.OnGroupShowJS!='') && (this.Visibility) && (this.IsMainGroup)){
  877. eval(this.OnGroupShowJS);
  878. }
  879.  
  880.  
  881. return(TmpStr);
  882. };
  883.  
  884.  
  885.  
  886.  
  887.  
  888. MNSMenuGroup.prototype.HideMainMenu=function HideMainMenu(){
  889. if (this.IsMainGroup==1){
  890. obj=document.getElementById(this.id);
  891. if (obj){
  892. obj.style.visibility='hidden';
  893. for (i=1; i<= this.Count; i++){
  894. this.Items[i].HideOrphans();
  895. }
  896. }
  897. }
  898. };
  899.  
  900.  
  901.  
  902.  
  903. MNSMenuGroup.prototype.ShowMainMenu=function ShowMainMenu(){
  904. if (this.IsMainGroup==1){
  905. obj=document.getElementById(this.id);
  906. if (obj){
  907. obj.style.visibility='visible';
  908. for (i=1; i<= this.Count; i++){
  909. this.Items[i].ShowOrphans();
  910. }
  911. }
  912. }
  913. };
  914.  
  915.  
  916.  
  917.  
  918. MNSMenuGroup.prototype.CloseGroupRecurse=function CloseGroupRecurse(){
  919. this.HideGroup();
  920. for (this.i=1; this.i<= this.Count; this.i++){
  921. if (this.Items[this.i].Group != null){
  922. this.Items[this.i].Group.CloseGroupRecurse();
  923. }
  924. }
  925. };
  926.  
  927.  
  928.  
  929.  
  930. MNSMenuGroup.prototype.ShowGroupRecurse= function ShowGroupRecurse(){
  931. obj=document.getElementById(this.id);
  932. if (obj){
  933. obj.style.visibility='visible';
  934. }
  935.  
  936. if (this.IsMainGroup==0){
  937. this.ShowGroup();
  938. }
  939.  
  940. for (this.i=1; this.i<= this.Count; this.i++){
  941. if (this.Items[this.i].Group != null){
  942. this.Items[this.i].Group.ShowGroupRecurse();
  943. }
  944. }
  945. };
  946.  
  947.  
  948.  
  949.  
  950.  
  951. MNSMenuGroup.prototype.HideGroup= function HideGroup(){
  952.  
  953. window.clearTimeout(MNSMenuGroupHandler.TimerAnimateID);
  954. this.AnimationControlValue=20;
  955. obj=document.getElementById(this.id);
  956. objt=document.getElementById(this.id+'_table');
  957.  
  958. if (obj!=null)
  959. {
  960.  
  961. for (this.i=1; this.i<= this.Count; this.i++){
  962. this.Items[this.i].HideOrphans();
  963. }
  964.  
  965. if (obj.style.visibility!='hidden')
  966. {
  967.  
  968. objt.style.visibility='hidden';
  969.  
  970.  
  971. obj.style.visibility='hidden';
  972.  
  973.  
  974. if (this.OnGroupHideJS!=''){
  975. eval(this.OnGroupHideJS);
  976. }
  977. }
  978. }
  979.  
  980.  
  981.  
  982.  
  983. };
  984.  
  985.  
  986.  
  987.  
  988.  
  989.  
  990. MNSMenuGroup.prototype.ShowGroup= function ShowGroup(){
  991. obj=document.getElementById(this.id);
  992. if (obj!=null){
  993.  
  994.  
  995. switch (this.MenuGroupAlign){
  996. case 0: {
  997.  
  998. if (this.RefererItem.OwnerGroup.Layout=='V'){
  999. this.TargetPosX = MNSMiscFunc.getElementLeft(this.RefererItem.id) +
  1000. MNSMiscFunc.getElementWidth(this.RefererItem.OwnerGroup.id) -
  1001. this.RefererItem.OwnerGroup.ItemsPadding_L+
  1002. this.x;
  1003. this.TargetPosY = MNSMiscFunc.getElementTop(this.RefererItem.id) +
  1004. this.y;
  1005.  
  1006. }
  1007. else
  1008. {
  1009. this.TargetPosX = MNSMiscFunc.getElementLeft(this.RefererItem.id) +
  1010. this.x;
  1011.  
  1012. this.TargetPosY = MNSMiscFunc.getElementTop(this.RefererItem.id) +
  1013. MNSMiscFunc.getElementHeight(this.RefererItem.id) +
  1014. this.y ;
  1015. }
  1016.  
  1017. break;
  1018. }
  1019.  
  1020. case 1: {
  1021. this.TargetPosX = MNSMiscFunc.getElementLeft(this.RefererItem.id) +
  1022. MNSMiscFunc.getElementWidth(this.RefererItem.OwnerGroup.id) -
  1023. this.RefererItem.OwnerGroup.ItemsPadding_L+
  1024. this.x;
  1025. this.TargetPosY = MNSMiscFunc.getElementTop(this.RefererItem.id) -
  1026. MNSMiscFunc.getElementHeight(this.id) +
  1027. this.y ;
  1028. break;
  1029. }
  1030.  
  1031. case 2: {
  1032. this.TargetPosX = MNSMiscFunc.getElementLeft(this.RefererItem.id) +
  1033. MNSMiscFunc.getElementWidth(this.RefererItem.OwnerGroup.id) -
  1034. this.RefererItem.OwnerGroup.ItemsPadding_L+
  1035. this.x;
  1036. this.TargetPosY = MNSMiscFunc.getElementTop(this.RefererItem.id) -
  1037. (MNSMiscFunc.getElementHeight(this.id) / 2) +
  1038. this.y ;
  1039. break;
  1040. }
  1041.  
  1042. case 3: {
  1043. this.TargetPosX = MNSMiscFunc.getElementLeft(this.RefererItem.id) +
  1044. MNSMiscFunc.getElementWidth(this.RefererItem.OwnerGroup.id) -
  1045. this.RefererItem.OwnerGroup.ItemsPadding_L+
  1046. this.x;
  1047. this.TargetPosY = MNSMiscFunc.getElementTop(this.RefererItem.id) +
  1048. this.y;
  1049. break;
  1050. }
  1051.  
  1052. case 4: {
  1053. this.TargetPosX = MNSMiscFunc.getElementLeft(this.RefererItem.id) -
  1054. MNSMiscFunc.getElementWidth(this.id) -
  1055. this.RefererItem.OwnerGroup.ItemsPadding_L -
  1056. this.x;
  1057. this.TargetPosY = MNSMiscFunc.getElementTop(this.RefererItem.id) -
  1058. MNSMiscFunc.getElementHeight(this.id) +
  1059. this.y ;
  1060. break;
  1061. }
  1062.  
  1063. case 5: {
  1064. this.TargetPosX = MNSMiscFunc.getElementLeft(this.RefererItem.id) -
  1065. MNSMiscFunc.getElementWidth(this.id) -
  1066. this.RefererItem.OwnerGroup.ItemsPadding_L -
  1067. this.x;
  1068. this.TargetPosY = MNSMiscFunc.getElementTop(this.RefererItem.id) -
  1069. (MNSMiscFunc.getElementHeight(this.id) / 2) +
  1070. this.y ;
  1071. break;
  1072. }
  1073.  
  1074. case 6: {
  1075. this.TargetPosX = MNSMiscFunc.getElementLeft(this.RefererItem.id) -
  1076. MNSMiscFunc.getElementWidth(this.id) -
  1077. this.RefererItem.OwnerGroup.ItemsPadding_L -
  1078. this.x;
  1079. this.TargetPosY = MNSMiscFunc.getElementTop(this.RefererItem.id) +
  1080. this.y;
  1081. break;
  1082. }
  1083.  
  1084. case 7: {
  1085. this.TargetPosX = MNSMiscFunc.getElementLeft(this.RefererItem.OwnerGroup.id) +
  1086. this.x;
  1087. this.TargetPosY = MNSMiscFunc.getElementTop(this.RefererItem.id) +
  1088. MNSMiscFunc.getElementHeight(this.RefererItem.id) +
  1089. this.y ;
  1090.  
  1091. break;
  1092. }
  1093. }
  1094.  
  1095.  
  1096. obj.style.left = this.TargetPosX+'px';
  1097. obj.style.top = this.TargetPosY+'px';
  1098.  
  1099.  
  1100.  
  1101. if (obj.style.visibility=='hidden'){
  1102.  
  1103. window.clearTimeout(MNSMenuGroupHandler.TimerAnimateID);
  1104.  
  1105. this.AnimationControlValue=20;
  1106.  
  1107. MNSMenuGroupHandler.TmpGroupToShow=obj.id;
  1108.  
  1109. for (this.i=1; this.i<= this.Count; this.i++){
  1110. if (this.Items[this.i].LastItemState==1){
  1111. this.Items[this.i].SetItemState(0);
  1112. }
  1113. }
  1114.  
  1115. MNSMenuGroupHandler.TimerAnimateID = window.setTimeout("MNSMenuGroupHandler.DoAnimation()",0);
  1116. }
  1117. }
  1118. };
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.  
  1127.  
  1128.  
  1129.  
  1130.  
  1131. function MNSMenuItemAncestor()
  1132. {
  1133. this.Text_o='';
  1134. this.Text_c='';
  1135. this.URL='';
  1136. this.URLTarget='';
  1137. this.Hint='';
  1138. this.OnLeaveJS='';
  1139. this.OnOverJS='';
  1140. this.OnClickJS='';
  1141. this.TextAlign='center';
  1142. this.TextVAlign='middle';
  1143. this.Cursor='default';
  1144. this.PaddingLeft=0;
  1145. this.PaddingLeft_o=0;
  1146. this.PaddingTop=0;
  1147. this.PaddingTop_o=0;
  1148. this.PaddingRight=0;
  1149. this.PaddingRight_o=0;
  1150. this.PaddingBottom=0;
  1151. this.PaddingBottom_o=0;
  1152. this.FontColor='';
  1153. this.FontColor_o='';
  1154. this.FontColor_c='';
  1155. this.FontFamily='';
  1156. this.FontFamily_o='';
  1157. this.FontFamily_c='';
  1158. this.FontSize=10;
  1159. this.FontSize_o='';
  1160. this.FontSize_c='';
  1161. this.FontDecoration='';
  1162. this.FontDecoration_o='';
  1163. this.FontDecoration_c='';
  1164. this.FontWeight='';
  1165. this.FontWeight_o='';
  1166. this.FontWeight_c='';
  1167. this.FontStyle='';
  1168. this.FontStyle_o='';
  1169. this.FontStyle_c='';
  1170. this.LeftIcon='';
  1171. this.LeftIcon_o='';
  1172. this.LeftIcon_c='';
  1173. this.LeftIconOffsetX=0;
  1174. this.LeftIconOffsetX_o=0;
  1175. this.LeftIconOffsetX_c=0;
  1176. this.LeftIconOffsetY=0;
  1177. this.LeftIconOffsetY_o=0;
  1178. this.LeftIconOffsetY_c=0;
  1179. this.LeftIconIsIndicator=false;
  1180. this.RightIcon='';
  1181. this.RightIcon_o='';
  1182. this.RightIcon_c='';
  1183. this.RightIconOffsetX=0;
  1184. this.RightIconOffsetX_o=0;
  1185. this.RightIconOffsetX_c=0;
  1186. this.RightIconOffsetY=0;
  1187. this.RightIconOffsetY_o=0;
  1188. this.RightIconOffsetY_c=0;
  1189. this.RightIconIsIndicator=true;
  1190. this.BgColor='';
  1191. this.BgColor_o='#44AA22';
  1192. this.BgColor_c='';
  1193. this.BgImage='';
  1194. this.BgImage_o='';
  1195. this.BgImage_c='';
  1196. this.BgImgPos='';
  1197. this.BgImgPos_o='';
  1198. this.BgImgPos_c='';
  1199. this.BgImgRep='';
  1200. this.BgImgRep_o='';
  1201. this.BgImgRep_c='';
  1202. this.LeftPartBgImgPos='';
  1203. this.LeftPartBgImage='';
  1204. this.LeftPartBgImage_o='';
  1205. this.LeftPartBgImage_c='';
  1206. this.RightPartBgImgPos='';
  1207. this.RightPartBgImage='';
  1208. this.RightPartBgImage_o='';
  1209. this.RightPartBgImage_c='';
  1210. this.Border='solid';
  1211. this.Border_o='solid';
  1212. this.Border_c='solid';
  1213. this.BorderWidth='1';
  1214. this.BorderWidth_o='1';
  1215. this.BorderWidth_c='1';
  1216. this.BorderColor='#0';
  1217. this.BorderColor_o='#0';
  1218. this.BorderColor_c='#0';
  1219. this.BorderLeft=true;
  1220. this.BorderRight=true;
  1221. this.BorderTop=true;
  1222. this.BorderBottom=true;
  1223. this.Height=10;
  1224. this.Width=100;
  1225. this.SeparatorSize=0;
  1226. this.SeparatorColor='Gray';
  1227. };
  1228.  
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  
  1234.  
  1235.  
  1236.  
  1237.  
  1238.  
  1239.  
  1240.  
  1241. MNSMenuItem.prototype = new MNSMenuItemAncestor;
  1242.  
  1243.  
  1244.  
  1245.  
  1246. function MNSMenuItem(Text) {
  1247. this.Text=Text;
  1248.  
  1249.  
  1250.  
  1251. this.id = MNSMenuItemHandler.GetId();
  1252. this.Group = null;
  1253. this.OwnerGroup=null;
  1254. this.Preload_BgImage=new Image();
  1255. this.Preload_BgImage_o=new Image();
  1256. this.Preload_BgImage_c=new Image();
  1257. this.Preload_BgImageLeft=new Image();
  1258. this.Preload_BgImageLeft_o=new Image();
  1259. this.Preload_BgImageLeft_c=new Image();
  1260. this.Preload_BgImageRight=new Image();
  1261. this.Preload_BgImageRight_o=new Image();
  1262. this.Preload_BgImageRight_c=new Image();
  1263. this.Preload_LeftIcon=new Image();
  1264. this.Preload_LeftIcon_o=new Image();
  1265. this.Preload_LeftIcon_c=new Image();
  1266. this.Preload_RightIcon=new Image();
  1267. this.Preload_RightIcon_o=new Image();
  1268. this.Preload_RightIcon_c=new Image();
  1269. this.LastItemState=-1;
  1270. this.IsPreset=false;
  1271. this.PresetState=2;
  1272. MNSMenuItemHandler.ObjectsCount=MNSMenuItemHandler.ObjectsCount+1;
  1273. MNSMenuItemHandler.ObjectsArray[MNSMenuItemHandler.ObjectsCount]=this;
  1274.  
  1275. };
  1276.  
  1277.  
  1278.  
  1279.  
  1280.  
  1281.  
  1282. MNSMenuItem.prototype.Assign=function Assign(s)
  1283. {
  1284. this.URL= s.URL;
  1285. this.URLTarget= s.URLTarget;
  1286. this.Hint= s.Hint;
  1287. this.OnLeaveJS= s.OnLeaveJS;
  1288. this.OnOverJS= s.OnOverJS;
  1289. this.OnClickJS= s.OnClickJS;
  1290. this.TextAlign= s.TextAlign;
  1291. this.TextVAlign= s.TextVAlign;
  1292. this.Cursor= s.Cursor;
  1293. this.PaddingLeft= s.PaddingLeft;
  1294. this.PaddingLeft_o= s.PaddingLeft_o;
  1295. this.PaddingTop= s.PaddingTop;
  1296. this.PaddingTop_o= s.PaddingTop_o;
  1297. this.PaddingRight= s.PaddingRight;
  1298. this.PaddingRight_o= s.PaddingRight_o;
  1299. this.PaddingBottom= s.PaddingBottom;
  1300. this.PaddingBottom_o= s.PaddingBottom_o;
  1301. this.FontColor= s.FontColor;
  1302. this.FontColor_o= s.FontColor_o;
  1303. this.FontColor_c= s.FontColor_c;
  1304. this.FontFamily= s.FontFamily;
  1305. this.FontFamily_o= s.FontFamily_o;
  1306. this.FontFamily_c= s.FontFamily_c;
  1307. this.FontSize= s.FontSize;
  1308. this.FontSize_o= s.FontSize_o;
  1309. this.FontSize_c= s.FontSize_c;
  1310. this.FontDecoration= s.FontDecoration;
  1311. this.FontDecoration_o= s.FontDecoration_o;
  1312. this.FontDecoration_c= s.FontDecoration_c;
  1313. this.FontWeight= s.FontWeight;
  1314. this.FontWeight_o= s.FontWeight_o;
  1315. this.FontWeight_c= s.FontWeight_c;
  1316. this.FontStyle= s.FontStyle;
  1317. this.FontStyle_o= s.FontStyle_o;
  1318. this.FontStyle_c= s.FontStyle_c;
  1319. this.LeftIcon= s.LeftIcon;
  1320. this.LeftIcon_o= s.LeftIcon_o;
  1321. this.LeftIcon_c= s.LeftIcon_c;
  1322. this.LeftIconOffsetX= s.LeftIconOffsetX;
  1323. this.LeftIconOffsetX_o= s.LeftIconOffsetX_o;
  1324. this.LeftIconOffsetX_c= s.LeftIconOffsetX_c;
  1325. this.LeftIconOffsetY= s.LeftIconOffsetY;
  1326. this.LeftIconOffsetY_o= s.LeftIconOffsetY_o;
  1327. this.LeftIconOffsetY_c= s.LeftIconOffsetY_c;
  1328. this.LeftIconIsIndicator= s.LeftIconIsIndicator;
  1329. this.RightIcon= s.RightIcon;
  1330. this.RightIcon_o= s.RightIcon_o;
  1331. this.RightIcon_c= s.RightIcon_c;
  1332. this.RightIconOffsetX= s.RightIconOffsetX;
  1333. this.RightIconOffsetX_o= s.RightIconOffsetX_o;
  1334. this.RightIconOffsetX_c= s.RightIconOffsetX_c;
  1335. this.RightIconOffsetY= s.RightIconOffsetY;
  1336. this.RightIconOffsetY_o= s.RightIconOffsetY_o;
  1337. this.RightIconOffsetY_c= s.RightIconOffsetY_c;
  1338. this.RightIconIsIndicator=s.RightIconIsIndicator;
  1339. this.BgColor= s.BgColor;
  1340. this.BgColor_o= s.BgColor_o;
  1341. this.BgColor_c= s.BgColor_c;
  1342. this.BgImage= s.BgImage;
  1343. this.BgImage_o= s.BgImage_o;
  1344. this.BgImage_c= s.BgImage_c;
  1345. this.BgImgPos= s.BgImgPos;
  1346. this.BgImgPos_o= s.BgImgPos_o;
  1347. this.BgImgPos_c= s.BgImgPos_c;
  1348. this.BgImgRep= s.BgImgRep;
  1349. this.BgImgRep_o= s.BgImgRep_o;
  1350. this.BgImgRep_c= s.BgImgRep_c;
  1351. this.LeftPartBgImgPos= s.LeftPartBgImgPos;
  1352. this.LeftPartBgImage= s.LeftPartBgImage;
  1353. this.LeftPartBgImage_o= s.LeftPartBgImage_o;
  1354. this.LeftPartBgImage_c= s.LeftPartBgImage_c;
  1355. this.RightPartBgImgPos= s.RightPartBgImgPos;
  1356. this.RightPartBgImage= s.RightPartBgImage;
  1357. this.RightPartBgImage_o= s.RightPartBgImage_o;
  1358. this.RightPartBgImage_c= s.RightPartBgImage_c;
  1359. this.Border= s.Border;
  1360. this.Border_o= s.Border_o;
  1361. this.Border_c= s.Border_c;
  1362. this.BorderWidth= s.BorderWidth;
  1363. this.BorderWidth_o= s.BorderWidth_o;
  1364. this.BorderWidth_c= s.BorderWidth_c;
  1365. this.BorderColor= s.BorderColor;
  1366. this.BorderColor_o= s.BorderColor_o;
  1367. this.BorderColor_c= s.BorderColor_c;
  1368. this.BorderLeft= s.BorderLeft;
  1369. this.BorderRight= s.BorderRight;
  1370. this.BorderTop= s.BorderTop;
  1371. this.BorderBottom= s.BorderBottom;
  1372. this.Height= s.Height;
  1373. this.Width= s.Width;
  1374. this.SeparatorSize= s.SeparatorSize;
  1375. this.SeparatorColor= s.SeparatorColor;
  1376. };
  1377.  
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384. MNSMenuItem.prototype.HideOrphans=function HideOrphans(){
  1385. objRightIcon=document.getElementById(this.id+'_right_Icon_img');
  1386. objLeftIcon=document.getElementById(this.id+'_left_Icon_img');
  1387. if (objRightIcon){
  1388. objRightIcon.style.visibility='hidden';
  1389. objRightIcon.style.display='none';
  1390. }
  1391. if (objLeftIcon){
  1392. objLeftIcon.style.visibility='hidden';
  1393. objLeftIcon.style.display='none';
  1394. }
  1395.  
  1396. objRightIcon=document.getElementById(this.id+'_right_bg_img');
  1397. objLeftIcon=document.getElementById(this.id+'_left_bg_img');
  1398. if (objRightIcon){
  1399. objRightIcon.style.visibility='hidden';
  1400. objRightIcon.style.display='none';
  1401. }
  1402. if (objLeftIcon){
  1403. objLeftIcon.style.visibility='hidden';
  1404. objLeftIcon.style.display='none';
  1405. }
  1406. };
  1407.  
  1408.  
  1409.  
  1410.  
  1411.  
  1412. MNSMenuItem.prototype.ShowOrphans=function ShowOrphans(){
  1413. objRightIcon=document.getElementById(this.id+'_right_bg_img');
  1414. objLeftIcon=document.getElementById(this.id+'_left_bg_img');
  1415.  
  1416. if ((objRightIcon) && (this.RightPartBgImage>'')){
  1417. objRightIcon.style.visibility='visible';
  1418. objRightIcon.style.display='block';
  1419. }
  1420. if ((objLeftIcon) && (this.LeftPartBgImage>'')){
  1421. objLeftIcon.style.visibility='visible';
  1422. objLeftIcon.style.display='block';
  1423. }
  1424.  
  1425. objRightIcon=document.getElementById(this.id+'_right_Icon_img');
  1426. objLeftIcon=document.getElementById(this.id+'_left_Icon_img');
  1427. if ((objRightIcon) && (this.RightIcon > '')){
  1428. if (((this.RightIconIsIndicator) && (this.Group)) || (!this.RightIconIsIndicator)){
  1429. objRightIcon.style.visibility='visible';
  1430. objRightIcon.style.display='block';
  1431. }
  1432. }
  1433. if ((objLeftIcon) && (this.LeftIcon>'')){
  1434. if (((this.LeftIconIsIndicator) && (this.Group)) || (!this.LeftIconIsIndicator)){
  1435. objLeftIcon.style.visibility='visible';
  1436. objLeftIcon.style.display='block';
  1437. }
  1438. }
  1439. };
  1440.  
  1441.  
  1442.  
  1443.  
  1444.  
  1445.  
  1446. MNSMenuItem.prototype.PreloadImages= function PreloadImages() {
  1447. this.Preload_BgImage.src=this.BgImage;
  1448. this.Preload_BgImage_o.src=this.BgImage_o;
  1449. this.Preload_BgImage_c.src=this.BgImage_c;
  1450. this.Preload_BgImageLeft.src=this.LeftPartBgImage;
  1451. this.Preload_BgImageLeft_o.src=this.LeftPartBgImage_o;
  1452. this.Preload_BgImageLeft_c.src=this.LeftPartBgImage_c;
  1453. this.Preload_BgImageRight.src=this.RightPartBgImage;
  1454. this.Preload_BgImageRight_o.src=this.RightPartBgImage_o;
  1455. this.Preload_BgImageRight_c.src=this.RightPartBgImage_c;
  1456. this.Preload_LeftIcon.src=this.LeftIcon;
  1457. this.Preload_LeftIcon_o.src=this.LeftIcon_o;
  1458. this.Preload_LeftIcon_c.src=this.LeftIcon_c;
  1459. this.Preload_RightIcon.src=this.RightIcon;
  1460. this.Preload_RightIcon_o.src=this.RightIcon_o;
  1461. this.Preload_RightIcon_c.src=this.RightIcon_c;
  1462. };
  1463.  
  1464.  
  1465.  
  1466.  
  1467.  
  1468.  
  1469. MNSMenuItem.prototype.ToStr= function ToStr(Layout) {
  1470. var TmpStr='';
  1471. var TmpTDAttr='';
  1472. var ItemCore='';
  1473. var TmpTDCSS='';
  1474. var TmpCoreCentreTDStyle='';
  1475. this.Cursor=((this.URL)&&(this.Cursor=='auto'))?'pointer':this.Cursor;
  1476.  
  1477.  
  1478. this.PreloadImages();
  1479.  
  1480.  
  1481. if (Layout=='H') {
  1482. TmpTDAttr=TmpTDAttr+' height=' +'"'+ this.Height + '" width="'+this.Width+'" valign="top" ' ;
  1483. }
  1484. else
  1485. {
  1486. TmpTDAttr=TmpTDAttr+' height=' +'"'+ this.Height + '" valign="top" ' ;
  1487. }
  1488.  
  1489.  
  1490. TmpTDCSS=' ';
  1491.  
  1492.  
  1493. TmpCoreTableCSS=' style="background-color: '+this.BgColor+'; color:'+this.FontColor+'; ';
  1494. TmpCoreTableCSS=TmpCoreTableCSS+' cursor : '+this.Cursor+'; ';
  1495.  
  1496. if (this.BorderLeft){TmpCoreTableCSS=TmpCoreTableCSS+' border-left-width: '+this.BorderWidth+'px; border-left-style:'+this.Border+'; border-left-color:'+this.BorderColor+'; ';}
  1497. if (this.BorderRight){TmpCoreTableCSS=TmpCoreTableCSS+' border-right-width: '+this.BorderWidth+'px; border-right-style:'+this.Border+'; border-right-color:'+this.BorderColor+'; ';}
  1498. if (this.BorderTop){TmpCoreTableCSS=TmpCoreTableCSS+' border-top-width: '+this.BorderWidth+'px; border-top-style:'+this.Border+'; border-top-color:'+this.BorderColor+'; ';}
  1499. if (this.BorderBottom){TmpCoreTableCSS=TmpCoreTableCSS+' border-bottom-width: '+this.BorderWidth+'px; border-bottom-style:'+this.Border+'; border-bottom-color:'+this.BorderColor+'; ';}
  1500. TmpCoreTableCSS=TmpCoreTableCSS+'" ';
  1501.  
  1502.  
  1503. if (this.BgImgPos=='stretch'){
  1504. TmpCoreCentreTDStyle='style="';
  1505. }
  1506. else
  1507. {
  1508. TmpCoreCentreTDStyle='style="background-image: url('+this.BgImage+'); background-position: '+this.BgImgPos+'; background-repeat: '+this.BgImgRep+'; ';
  1509. }
  1510. TmpCoreCentreTDStyle=TmpCoreCentreTDStyle+'text-decoration: '+this.FontDecoration+'; font-family: '+this.FontFamily+'; font-size: '+this.FontSize+'px; font-style: '+this.FontStyle+'; font-weight: '+this.FontWeight+'; ';
  1511. TmpCoreCentreTDStyle=TmpCoreCentreTDStyle+'padding-left: '+this.PaddingLeft+'px; padding-top: '+this.PaddingTop+'px; padding-right: '+this.PaddingRight+'px; padding-bottom: '+this.PaddingBottom+'px; "';
  1512.  
  1513.  
  1514.  
  1515. if (((this.RightIconIsIndicator) && (!this.Group)) || (!this.RightIcon)) {
  1516. TmpRimgVis='visibility : hidden; ';
  1517. } else {TmpRimgVis='';}
  1518.  
  1519. if (((this.LeftIconIsIndicator) && (!this.Group)) || (!this.LeftIcon)){
  1520. TmpLimgVis='visibility : hidden; ';
  1521. } else {TmpLimgVis='';}
  1522.  
  1523. if ((this.LeftIcon > '')||(this.LeftIcon_o > '')||(this.LeftIcon_c > '')) {
  1524. TmpLeftIconSource='<img id="'+this.id+'_left_Icon_img" border="0" src="'+this.LeftIcon+'" style="'+TmpLimgVis+' vertical-align: middle; position: absolute; margin-left: '+this.LeftIconOffsetX+'px; margin-top: '+this.LeftIconOffsetY+'px;">';
  1525. } else {TmpLeftIconSource='';}
  1526.  
  1527. if ((this.RightIcon > '')||(this.RightIcon_o > '')||(this.RightIcon_c > '')){
  1528. TmpRightIconSource='<img id="'+this.id+'_right_Icon_img" border="0" src="'+this.RightIcon+'" style="'+TmpRimgVis+' vertical-align: middle; position: absolute; margin-left: '+this.RightIconOffsetX+'px; margin-top: '+this.RightIconOffsetY+'px;">';
  1529. } else {TmpRightIconSource='';}
  1530.  
  1531.  
  1532.  
  1533. TmpLeftBgSource='';
  1534. TmpRightBgSource='';
  1535. LeftBgImgVis='';
  1536. RightBgImgVis='';
  1537.  
  1538. if ((this.LeftPartBgImage > '')||(this.LeftPartBgImage_o > '')||(this.LeftPartBgImage_c > ''))
  1539. {
  1540. if ((this.LeftPartBgImage >'')&&(this.OwnerGroup.IsMainGroup==1)) {LeftBgImgVis='visible';}else {LeftBgImgVis='hidden';};
  1541. TmpLeftBgSource='<img style="visibility: '+LeftBgImgVis+'; display:block;" id="'+this.id+'_left_bg_img" border="0" align="'+this.LeftPartBgImgPos+'" vspace="0" hspace="0" src="'+this.LeftPartBgImage+'">';
  1542. }
  1543.  
  1544. if ((this.RightPartBgImage > '')||(this.RightPartBgImage_o > '')||(this.RightPartBgImage_c > ''))
  1545. {
  1546. if ((this.RightPartBgImage>'')&&(this.OwnerGroup.IsMainGroup==1)){RightBgImgVis='visible';} else {RightBgImgVis='hidden';};
  1547. TmpRightBgSource='<img style="visibility: '+RightBgImgVis+'; display:block;" id="'+this.id+'_right_bg_img" border="0" align="'+this.RightPartBgImgPos+'" vspace="0" hspace="0" src="'+this.RightPartBgImage+'">';
  1548. }
  1549.  
  1550.  
  1551.  
  1552. ItemCore='<table '+TmpCoreTableCSS+' id="'+this.id+'_core_table" cellpadding="0" cellspacing="0" border="0" width="100%" height="100%">';
  1553. ItemCore=ItemCore+'<tr>';
  1554. ItemCore=ItemCore+'<td width="0" valign="middle">'+TmpLeftIconSource+'</td><td width="0" align="right" valign="'+this.LeftPartBgImgPos+'" >'+TmpLeftBgSource+'</td>';
  1555. ItemCore=ItemCore+'<td id="'+this.id+'_core_table_td" '+TmpCoreCentreTDStyle+' width="100%" align="'+this.TextAlign+'">' + this.Text + '</td>';
  1556. ItemCore=ItemCore+'<td width="0" align="left" valign="'+this.RightPartBgImgPos+'">'+TmpRightBgSource+'</td><td width="0" valign="middle">'+TmpRightIconSource+'</td>';
  1557. ItemCore=ItemCore+'</tr>';
  1558. ItemCore=ItemCore+'</table>';
  1559.  
  1560.  
  1561.  
  1562. if (Layout=='H') {
  1563. TmpStr='<TD '+TmpTDAttr+' '+TmpTDCSS+' id="'+this.id+'" onmouseover="MNSMenuItemHandler.DoOnMouseOver(this.id)" onmouseout="MNSMenuItemHandler.DoOnMouseOut(this.id)" onmousemove="MNSMenuItemHandler.DoOnMouseMove(this.id)" onmousedown="MNSMenuItemHandler.DoOnMouseDown(this.id)" onmouseup="MNSMenuItemHandler.DoOnMouseUp(this.id)" onclick="MNSMenuItemHandler.Navigate(this.id)">';
  1564. TmpStr=TmpStr+ItemCore;
  1565. TmpStr=TmpStr+'</TD>';
  1566.  
  1567.  
  1568. if (this.LastItem==false){
  1569. if (this.SeparatorSize > 0){
  1570. TmpStr=TmpStr+'<TD width="'+(this.OwnerGroup.ItemsSpacing /2) +'"></TD>';
  1571. TmpStr=TmpStr+'<TD bgcolor="'+this.SeparatorColor+'" width="'+this.SeparatorSize+'"></TD>';
  1572. TmpStr=TmpStr+'<TD width="'+(this.OwnerGroup.ItemsSpacing/2)+'"></TD>';
  1573. }
  1574. else
  1575. {
  1576. if (this.OwnerGroup.ItemsSpacing>0){
  1577. TmpStr=TmpStr+'<TD width="'+this.OwnerGroup.ItemsSpacing+'"></TD>';
  1578. }
  1579. }
  1580. }
  1581. }
  1582. else
  1583. {
  1584. TmpStr='<TR valign="top"><TD '+TmpTDAttr+' '+TmpTDCSS+' id="'+this.id+'" onmouseover="MNSMenuItemHandler.DoOnMouseOver(this.id)" onmouseout="MNSMenuItemHandler.DoOnMouseOut(this.id)" onmousemove="MNSMenuItemHandler.DoOnMouseMove(this.id)" onmousedown="MNSMenuItemHandler.DoOnMouseDown(this.id)" onmouseup="MNSMenuItemHandler.DoOnMouseUp(this.id)" onclick="MNSMenuItemHandler.Navigate(this.id)">';
  1585.  
  1586. TmpStr=TmpStr+ItemCore;
  1587. TmpStr=TmpStr+'</TD></TR>';
  1588.  
  1589. if (this.LastItem==false){
  1590. TmpHRAttr='';
  1591. if (this.SeparatorSize > 0){
  1592. TmpHRAttr='<div style="margin-top: 0px; margin-bottom: 0px; color: '+this.SeparatorColor+'; background-color: '+this.SeparatorColor+'; border-width: 0px; height: '+this.SeparatorSize+'px;"><hr noshade style="display: none;"></div>';
  1593. }
  1594. TmpStr=TmpStr+'<TR valign="middle"><TD height="'+this.OwnerGroup.ItemsSpacing+'">'+TmpHRAttr+'</TD></TR>';
  1595. }
  1596. }
  1597. return(TmpStr);
  1598. };
  1599.  
  1600.  
  1601.  
  1602.  
  1603.  
  1604. MNSMenuItem.prototype.AddGroup= function AddGroup(SubGroup){
  1605. this.Group=SubGroup;
  1606. SubGroup.RefererItem=this;
  1607. };
  1608.  
  1609.  
  1610.  
  1611.  
  1612.  
  1613.  
  1614.  
  1615.  
  1616.  
  1617. MNSMenuItem.prototype.SetItemState= function SetItemState(State){
  1618.  
  1619. if (this.LastItemState==State)
  1620. {
  1621. return;
  1622. }
  1623. else
  1624. {
  1625. this.LastItemState=State;
  1626. }
  1627.  
  1628. if (this.IsPreset){
  1629. State=this.PresetState;
  1630. }
  1631.  
  1632. objCoreTable=document.getElementById(this.id+'_core_table');
  1633. objCoreTableTD=document.getElementById(this.id+'_core_table_td');
  1634. objLeftBgImg=document.getElementById(this.id+'_left_bg_img');
  1635. objRightBgImg=document.getElementById(this.id+'_right_bg_img');
  1636. objLeftIcon=document.getElementById(this.id+'_left_Icon_img');
  1637. objRightIcon=document.getElementById(this.id+'_right_Icon_img');
  1638.  
  1639. switch (State){
  1640. case 0:{
  1641.  
  1642. if (objCoreTableTD){
  1643. objCoreTableTD.innerHTML = this.Text;
  1644. }
  1645.  
  1646. if (objCoreTable){
  1647.  
  1648. objCoreTable.style.backgroundColor=this.BgColor;
  1649. objCoreTable.bgColor=this.BgColor;
  1650.  
  1651.  
  1652. if (this.BorderLeft){
  1653. objCoreTable.style.borderLeftWidth=this.BorderWidth;
  1654. } else {objCoreTable.style.borderLeftWidth=0;}
  1655.  
  1656. if (this.BorderRight){
  1657. objCoreTable.style.borderRightWidth=this.BorderWidth;
  1658. } else {objCoreTable.style.borderRightWidth=0;}
  1659.  
  1660. if (this.BorderTop){
  1661. objCoreTable.style.borderTopWidth=this.BorderWidth;
  1662. } else {objCoreTable.style.borderTopWidth=0;}
  1663.  
  1664. if (this.BorderBottom){
  1665. objCoreTable.style.borderBottomWidth=this.BorderWidth;
  1666. } else {objCoreTable.style.borderBottomWidth=0;}
  1667.  
  1668. objCoreTable.style.borderStyle=this.Border;
  1669. objCoreTable.style.borderColor=this.BorderColor;
  1670. }
  1671.  
  1672. if (objCoreTableTD){
  1673.  
  1674. objCoreTableTD.style.color=this.FontColor;
  1675. objCoreTableTD.style.fontFamily=this.FontFamily;
  1676. objCoreTableTD.style.fontSize=this.FontSize;
  1677. objCoreTableTD.style.textDecoration=this.FontDecoration;
  1678. objCoreTableTD.style.fontWeight=this.FontWeight;
  1679. objCoreTableTD.style.fontStyle=this.FontStyle;
  1680.  
  1681. objCoreTableTD.style.paddingLeft=this.PaddingLeft;
  1682. objCoreTableTD.style.paddingRight=this.PaddingRight;
  1683. objCoreTableTD.style.paddingTop=this.PaddingTop;
  1684. objCoreTableTD.style.paddingBottom=this.PaddingBottom;
  1685.  
  1686. if (this.BgImage>''){
  1687. objCoreTableTD.style.backgroundImage='url('+this.Preload_BgImage.src+')';
  1688. objCoreTableTD.style.backgroundPosition=this.BgImgPos;
  1689. objCoreTableTD.style.backgroundRepeat=this.BgImgRep;
  1690. }
  1691. else
  1692. {
  1693. objCoreTableTD.style.backgroundImage='none';
  1694. }
  1695.  
  1696. }
  1697.  
  1698.  
  1699. if (objLeftBgImg){
  1700. if (this.LeftPartBgImage>''){
  1701. objLeftBgImg.src=this.Preload_BgImageLeft.src;
  1702. objLeftBgImg.style.visibility='visible';
  1703. objLeftBgImg.style.display='block';
  1704. }
  1705. else
  1706. {
  1707. objLeftBgImg.style.visibility='hidden';
  1708. }
  1709. }
  1710.  
  1711.  
  1712. if (objRightBgImg){
  1713. if (this.RightPartBgImage>''){
  1714. objRightBgImg.src=this.Preload_BgImageRight.src;
  1715. objRightBgImg.style.visibility='visible';
  1716. objRightBgImg.style.display='block';
  1717. }
  1718. else
  1719. {
  1720. objRightBgImg.style.visibility='hidden';
  1721. }
  1722. }
  1723.  
  1724.  
  1725. if (objRightIcon){
  1726. if (this.RightIcon>''){
  1727. objRightIcon.src=this.Preload_RightIcon.src;
  1728. if ((this.RightIconIsIndicator) && (!this.Group)){
  1729. objRightIcon.style.visibility='hidden';
  1730. }
  1731. else
  1732. {
  1733. objRightIcon.style.visibility='visible';
  1734. objRightIcon.style.display='block';
  1735. }
  1736. }
  1737. else {objRightIcon.style.visibility='hidden';
  1738. }
  1739.  
  1740. objRightIcon.style.marginLeft=this.RightIconOffsetX;
  1741. objRightIcon.style.marginTop=this.RightIconOffsetY;
  1742. }
  1743.  
  1744.  
  1745. if (objLeftIcon){
  1746. if (this.LeftIcon > ''){
  1747. objLeftIcon.src=this.Preload_LeftIcon.src;
  1748. if ((this.LeftIconIsIndicator) && (!this.Group)){
  1749.  
  1750. }
  1751. else
  1752. {
  1753. objLeftIcon.style.visibility='visible';
  1754. objLeftIcon.style.display='block';
  1755. }
  1756. } else {objLeftIcon.style.visibility='hidden';
  1757. }
  1758.  
  1759. objLeftIcon.style.marginLeft=this.LeftIconOffsetX;
  1760. objLeftIcon.style.marginTop=this.LeftIconOffsetY;
  1761. }
  1762.  
  1763. eval(this.OnLeaveJS);
  1764. break;
  1765. }
  1766.  
  1767.  
  1768.  
  1769.  
  1770. case 1:{
  1771.  
  1772. if ((objCoreTableTD)&&(this.Text_o>'')&&(objCoreTableTD.innerHTML!=this.Text_o)){
  1773.  
  1774. objCoreTableTD.innerHTML=this.Text_o;
  1775. }
  1776.  
  1777. if (objCoreTable != null)
  1778. {
  1779.  
  1780. if (this.BgColor_o){
  1781. objCoreTable.style.backgroundColor=this.BgColor_o;
  1782. objCoreTable.bgColor=this.BgColor_o;
  1783. }
  1784.  
  1785.  
  1786. if (this.BorderWidth_o!=null){
  1787. if (this.BorderLeft){
  1788. objCoreTable.style.borderLeftWidth=this.BorderWidth_o;
  1789. if (this.Border_o>'') {objCoreTable.style.borderLeftStyle=this.Border_o;}
  1790. }
  1791.  
  1792. if (this.BorderRight){
  1793. objCoreTable.style.borderRightWidth=this.BorderWidth_o;
  1794. if (this.Border_o>'') {objCoreTable.style.borderRightStyle=this.Border_o;}
  1795. }
  1796.  
  1797. if (this.BorderTop){
  1798. objCoreTable.style.borderTopWidth=this.BorderWidth_o;
  1799. if (this.Border_o>'') {objCoreTable.style.borderTopStyle=this.Border_o;}
  1800. }
  1801.  
  1802. if (this.BorderBottom){
  1803. objCoreTable.style.borderBottomWidth=this.BorderWidth_o;
  1804. if (this.Border_o>'') {objCoreTable.style.borderBottomStyle=this.Border_o;}
  1805. }
  1806. }
  1807.  
  1808. if (this.BorderColor_o>''){objCoreTable.style.borderColor=this.BorderColor_o};
  1809. }
  1810.  
  1811. if (objCoreTableTD){
  1812.  
  1813. if (this.FontColor_o){objCoreTableTD.style.color=this.FontColor_o;}
  1814. if (this.FontFamily_o){objCoreTableTD.style.fontFamily=this.FontFamily_o;}
  1815. if (this.FontSize_o){objCoreTableTD.style.fontSize=this.FontSize_o;}
  1816. if (this.FontDecoration_o){objCoreTableTD.style.textDecoration=this.FontDecoration_o;}
  1817. if (this.FontWeight_o){objCoreTableTD.style.fontWeight=this.FontWeight_o;}
  1818. if (this.FontStyle_o){objCoreTableTD.style.fontStyle=this.FontStyle_o;}
  1819.  
  1820. if (this.PaddingLeft_o!=null){objCoreTableTD.style.paddingLeft=this.PaddingLeft_o};
  1821. if (this.PaddingRight_o!=null){objCoreTableTD.style.paddingRight=this.PaddingRight_o;}
  1822. if (this.PaddingTop_o!=null){objCoreTableTD.style.paddingTop=this.PaddingTop_o;}
  1823. if (this.PaddingBottom_o!=null){objCoreTableTD.style.paddingBottom=this.PaddingBottom_o;}
  1824.  
  1825. if (this.BgImage_o>''){
  1826. objCoreTableTD.style.backgroundImage='url('+this.Preload_BgImage_o.src+')';
  1827. objCoreTableTD.style.backgroundPosition=this.BgImgPos_o||this.BgImgPos;
  1828. objCoreTableTD.style.backgroundRepeat=this.BgImgRep_o||this.BgImgRep;
  1829. }
  1830. }
  1831.  
  1832. if (objLeftBgImg){
  1833. if (this.LeftPartBgImage_o>''){
  1834. objLeftBgImg.src=this.Preload_BgImageLeft_o.src;
  1835. objLeftBgImg.style.visibility='visible';
  1836. objLeftBgImg.style.display='block';
  1837. }
  1838. else
  1839. {
  1840.  
  1841. }
  1842. }
  1843.  
  1844.  
  1845. if (objRightBgImg){
  1846. if (this.RightPartBgImage_o>''){
  1847. objRightBgImg.src=this.Preload_BgImageRight_o.src;
  1848. objRightBgImg.style.visibility='visible';
  1849. objRightBgImg.style.display='block';
  1850. }
  1851. else
  1852. {
  1853.  
  1854. }
  1855. }
  1856.  
  1857.  
  1858. if (objRightIcon){
  1859. if (this.RightIcon_o > ''){
  1860. objRightIcon.src=this.Preload_RightIcon_o.src;
  1861. if ((this.RightIconIsIndicator) && (!this.Group)){
  1862. objRightIcon.style.visibility='hidden';
  1863. }
  1864. else
  1865. {
  1866. objRightIcon.style.visibility='visible';
  1867. objRightIcon.style.display='block';
  1868. }
  1869. }
  1870. if (this.RightIconOffsetX_o){objRightIcon.style.marginLeft=this.RightIconOffsetX_o};
  1871. if (this.RightIconOffsetY_o){objRightIcon.style.marginTop=this.RightIconOffsetY_o};
  1872. }
  1873.  
  1874. if (objLeftIcon){
  1875. if (this.LeftIcon_o > ''){
  1876. objLeftIcon.src=this.Preload_LeftIcon_o.src;
  1877. if ((this.LeftIconIsIndicator) && (!this.Group)){
  1878. objLeftIcon.style.visibility='hidden';
  1879. }
  1880. else
  1881. {
  1882. objLeftIcon.style.visibility='visible';
  1883. objLeftIcon.style.display='block';
  1884. }
  1885. }
  1886. if (this.LeftIconOffsetX_o){objLeftIcon.style.marginLeft=this.LeftIconOffsetX_o;}
  1887. if (this.LeftIconOffsetY_o){objLeftIcon.style.marginTop=this.LeftIconOffsetY_o};
  1888. }
  1889.  
  1890. eval(this.OnOverJS);
  1891. break;
  1892. }
  1893.  
  1894.  
  1895.  
  1896. case 2:{
  1897. if ((objCoreTableTD)&&(this.Text_c>'')&&(objCoreTableTD.innerHTML!=this.Text_c)){
  1898.  
  1899. objCoreTableTD.innerHTML=this.Text_c;
  1900. }
  1901.  
  1902. if (objCoreTable != null)
  1903. {
  1904.  
  1905. if (this.BgColor_c){
  1906. objCoreTable.style.backgroundColor=this.BgColor_c;
  1907. objCoreTable.style.bgColor=this.BgColor_c;
  1908. }
  1909.  
  1910.  
  1911. if (this.BorderWidth_c!=null)
  1912. {
  1913. if (this.BorderLeft){
  1914. objCoreTable.style.borderLeftWidth=this.BorderWidth_c;
  1915. if (this.Border_c>'') {objCoreTable.style.borderLeftStyle=this.Border_c;}
  1916. }
  1917.  
  1918. if (this.BorderRight){
  1919. objCoreTable.style.borderRightWidth=this.BorderWidth_c;
  1920. if (this.Border_c>'') {objCoreTable.style.borderRightStyle=this.Border_c;}
  1921. }
  1922.  
  1923. if (this.BorderTop){
  1924. objCoreTable.style.borderTopWidth=this.BorderWidth_c;
  1925. if (this.Border_c>'') {objCoreTable.style.borderTopStyle=this.Border_c;}
  1926. }
  1927.  
  1928. if (this.BorderBottom){
  1929. objCoreTable.style.borderBottomWidth=this.BorderWidth_c;
  1930. if (this.Border_c>'') {objCoreTable.style.borderBottomStyle=this.Border_c;}
  1931. }
  1932. }
  1933.  
  1934. if (this.BorderColor_c>''){objCoreTable.style.borderColor=this.BorderColor_c};
  1935. }
  1936. }
  1937.  
  1938.  
  1939. if (objCoreTableTD){
  1940.  
  1941. if (this.FontColor_c){objCoreTableTD.style.color=this.FontColor_c;}
  1942. if (this.FontFamily_c){objCoreTableTD.style.fontFamily=this.FontFamily_c;}
  1943. if (this.FontSize_c){objCoreTableTD.style.fontSize=this.FontSize_c;}
  1944. if (this.FontDecoration_c){objCoreTableTD.style.textDecoration=this.FontDecoration_c;}
  1945. if (this.FontWeight_c){objCoreTableTD.style.fontWeight=this.FontWeight_c;}
  1946. if (this.FontStyle_c){objCoreTableTD.style.fontStyle=this.FontStyle_c;}
  1947.  
  1948. if (this.BgImage_c>''){
  1949. objCoreTableTD.style.backgroundImage='url('+this.Preload_BgImage_c.src+')';
  1950. objCoreTableTD.style.backgroundPosition=this.BgImgPos_c||this.BgImgPos;
  1951. objCoreTableTD.style.backgroundRepeat=this.BgImgRep_c||this.BgImgRep;
  1952. }
  1953. }
  1954.  
  1955.  
  1956. if (objLeftBgImg){
  1957. if (this.LeftPartBgImage_c>''){
  1958. objLeftBgImg.src=this.Preload_BgImageLeft_c.src;
  1959. objLeftBgImg.style.visibility='visible';
  1960. objLeftBgImg.style.display='block';
  1961. }
  1962. else
  1963. {
  1964.  
  1965. }
  1966. }
  1967.  
  1968.  
  1969. if (objRightBgImg){
  1970. if (this.RightPartBgImage_c>''){
  1971. objRightBgImg.src=this.Preload_BgImageRight_c.src;
  1972. objRightBgImg.style.visibility='visible';
  1973. objRightBgImg.style.display='block';
  1974. }
  1975. else
  1976. {
  1977.  
  1978. }
  1979. }
  1980.  
  1981.  
  1982. if (objRightIcon){
  1983. if (this.RightIcon_c > ''){
  1984. objRightIcon.src=this.Preload_RightIcon_c.src;
  1985. if ((this.RightIconIsIndicator) && (!this.Group)){
  1986. objRightIcon.style.visibility='hidden';
  1987. }
  1988. else
  1989. {
  1990. objRightIcon.style.visibility='visible';
  1991. objRightIcon.style.display='block';
  1992. }
  1993. }
  1994. if (this.RightIconOffsetX_c){objRightIcon.style.marginLeft=this.RightIconOffsetX_c};
  1995. if (this.RightIconOffsetY_c){objRightIcon.style.marginTop=this.RightIconOffsetY_c};
  1996. }
  1997.  
  1998. if (objLeftIcon){
  1999. if (this.LeftIcon_c > ''){
  2000. objLeftIcon.src=this.Preload_LeftIcon_c.src;
  2001. if ((this.LeftIconIsIndicator) && (!this.Group)){
  2002. objLeftIcon.style.visibility='hidden';
  2003. }
  2004. else
  2005. {
  2006. objLeftIcon.style.visibility='visible';
  2007. objLeftIcon.style.display='block';
  2008. }
  2009. }
  2010. if (this.LeftIconOffsetX_c){objLeftIcon.style.marginLeft=this.LeftIconOffsetX_c;}
  2011. if (this.LeftIconOffsetY_c){objLeftIcon.style.marginTop=this.LeftIconOffsetY_c};
  2012. }
  2013. break;
  2014. }
  2015. };
  2016. var MNS_MainGroupItemsGeneralStyle = new MNSMenuItem();
  2017. MNS_MainGroupItemsGeneralStyle.Text_o='';
  2018. MNS_MainGroupItemsGeneralStyle.Text_c='';
  2019. MNS_MainGroupItemsGeneralStyle.TextAlign='left';
  2020. MNS_MainGroupItemsGeneralStyle.URL='';
  2021. MNS_MainGroupItemsGeneralStyle.URLTarget='';
  2022. MNS_MainGroupItemsGeneralStyle.Hint='';
  2023. MNS_MainGroupItemsGeneralStyle.OnLeaveJS='';
  2024. MNS_MainGroupItemsGeneralStyle.OnOverJS='';
  2025. MNS_MainGroupItemsGeneralStyle.OnClickJS='';
  2026. MNS_MainGroupItemsGeneralStyle.Height=22;
  2027. MNS_MainGroupItemsGeneralStyle.Width=150;
  2028. MNS_MainGroupItemsGeneralStyle.Cursor='default';
  2029. MNS_MainGroupItemsGeneralStyle.PaddingLeft=0;
  2030. MNS_MainGroupItemsGeneralStyle.PaddingLeft_o=null;
  2031. MNS_MainGroupItemsGeneralStyle.PaddingTop=5;
  2032. MNS_MainGroupItemsGeneralStyle.PaddingTop_o=null;
  2033. MNS_MainGroupItemsGeneralStyle.PaddingRight=0;
  2034. MNS_MainGroupItemsGeneralStyle.PaddingRight_o=null;
  2035. MNS_MainGroupItemsGeneralStyle.PaddingBottom=5;
  2036. MNS_MainGroupItemsGeneralStyle.PaddingBottom_o=null;
  2037. MNS_MainGroupItemsGeneralStyle.BgColor='';
  2038. MNS_MainGroupItemsGeneralStyle.BgColor_o='';
  2039. MNS_MainGroupItemsGeneralStyle.BgColor_c='';
  2040. MNS_MainGroupItemsGeneralStyle.BgImage='http://img1.imagilive.com/0114/center-button-blue2.gif';
  2041. MNS_MainGroupItemsGeneralStyle.BgImage_o='http://img1.imagilive.com/0114/center-button-blue-o.gif';
  2042. MNS_MainGroupItemsGeneralStyle.BgImage_c='';
  2043. MNS_MainGroupItemsGeneralStyle.BgImgRep='repeat-x';
  2044. MNS_MainGroupItemsGeneralStyle.BgImgRep_o='';
  2045. MNS_MainGroupItemsGeneralStyle.BgImgRep_c='';
  2046. MNS_MainGroupItemsGeneralStyle.BgImgPos='top left';
  2047. MNS_MainGroupItemsGeneralStyle.BgImgPos_o='';
  2048. MNS_MainGroupItemsGeneralStyle.BgImgPos_c='';
  2049. MNS_MainGroupItemsGeneralStyle.LeftPartBgImage='http://img1.imagilive.com/0114/left-button-blue2.gif';
  2050. MNS_MainGroupItemsGeneralStyle.LeftPartBgImage_o='http://img1.imagilive.com/0114/left-button-blue-o.gif';
  2051. MNS_MainGroupItemsGeneralStyle.LeftPartBgImage_c='';
  2052. MNS_MainGroupItemsGeneralStyle.LeftPartBgImgPos='top';
  2053. MNS_MainGroupItemsGeneralStyle.RightPartBgImage='http://img1.imagilive.com/0114/right-button-blue2.gif';
  2054. MNS_MainGroupItemsGeneralStyle.RightPartBgImage_o='http://img1.imagilive.com/0114/right-button-blue-o.gif';
  2055. MNS_MainGroupItemsGeneralStyle.RightPartBgImage_c='';
  2056. MNS_MainGroupItemsGeneralStyle.RightPartBgImgPos='top';
  2057. MNS_MainGroupItemsGeneralStyle.FontColor='#FFFFFF';
  2058. MNS_MainGroupItemsGeneralStyle.FontColor_o='#004080';
  2059. MNS_MainGroupItemsGeneralStyle.FontColor_c='';
  2060. MNS_MainGroupItemsGeneralStyle.FontFamily='Tahoma, Verdana, Geneva, Arial, Helvetica, sans-serif';
  2061. MNS_MainGroupItemsGeneralStyle.FontFamily_o='';
  2062. MNS_MainGroupItemsGeneralStyle.FontFamily_c='';
  2063. MNS_MainGroupItemsGeneralStyle.FontSize=11;
  2064. MNS_MainGroupItemsGeneralStyle.FontSize_o=null;
  2065. MNS_MainGroupItemsGeneralStyle.FontSize_c=null;
  2066. MNS_MainGroupItemsGeneralStyle.FontDecoration='none';
  2067. MNS_MainGroupItemsGeneralStyle.FontDecoration_o='';
  2068. MNS_MainGroupItemsGeneralStyle.FontDecoration_c='';
  2069. MNS_MainGroupItemsGeneralStyle.FontWeight='bold';
  2070. MNS_MainGroupItemsGeneralStyle.FontWeight_o='';
  2071. MNS_MainGroupItemsGeneralStyle.FontWeight_c='';
  2072. MNS_MainGroupItemsGeneralStyle.FontStyle='normal';
  2073. MNS_MainGroupItemsGeneralStyle.FontStyle_o='';
  2074. MNS_MainGroupItemsGeneralStyle.FontStyle_c='';
  2075. MNS_MainGroupItemsGeneralStyle.BorderWidth=0;
  2076. MNS_MainGroupItemsGeneralStyle.BorderWidth_o=null;
  2077. MNS_MainGroupItemsGeneralStyle.BorderWidth_c=null;
  2078. MNS_MainGroupItemsGeneralStyle.BorderColor='';
  2079. MNS_MainGroupItemsGeneralStyle.BorderColor_o='';
  2080. MNS_MainGroupItemsGeneralStyle.BorderColor_c='';
  2081. MNS_MainGroupItemsGeneralStyle.Border='solid';
  2082. MNS_MainGroupItemsGeneralStyle.Border_o='';
  2083. MNS_MainGroupItemsGeneralStyle.Border_c='';
  2084. MNS_MainGroupItemsGeneralStyle.BorderLeft=true;
  2085. MNS_MainGroupItemsGeneralStyle.BorderRight=true;
  2086. MNS_MainGroupItemsGeneralStyle.BorderTop=true;
  2087. MNS_MainGroupItemsGeneralStyle.BorderBottom=true;
  2088. MNS_MainGroupItemsGeneralStyle.SeparatorColor='#C3D3E6';
  2089. MNS_MainGroupItemsGeneralStyle.SeparatorSize=0;
  2090. MNS_MainGroupItemsGeneralStyle.LeftIcon='http://img1.imagilive.com/0114/square-blue-small.gif';
  2091. MNS_MainGroupItemsGeneralStyle.LeftIcon_o='http://img1.imagilive.com/0114/square-green-small.gif';
  2092. MNS_MainGroupItemsGeneralStyle.LeftIcon_c='http://img1.imagilive.com/0114/zigzag-blue.gif';
  2093. MNS_MainGroupItemsGeneralStyle.LeftIconOffsetX=2;
  2094. MNS_MainGroupItemsGeneralStyle.LeftIconOffsetX_o=null;
  2095. MNS_MainGroupItemsGeneralStyle.LeftIconOffsetX_c=null;
  2096. MNS_MainGroupItemsGeneralStyle.LeftIconOffsetY=-4;
  2097. MNS_MainGroupItemsGeneralStyle.LeftIconOffsetY_o=null;
  2098. MNS_MainGroupItemsGeneralStyle.LeftIconOffsetY_c=-6;
  2099. MNS_MainGroupItemsGeneralStyle.LeftIconIsIndicator=false;
  2100. MNS_MainGroupItemsGeneralStyle.RightIcon='http://img1.imagilive.com/0114/arr_black_down.gif';
  2101. MNS_MainGroupItemsGeneralStyle.RightIcon_o='';
  2102. MNS_MainGroupItemsGeneralStyle.RightIcon_c='';
  2103. MNS_MainGroupItemsGeneralStyle.RightIconOffsetX=-11;
  2104. MNS_MainGroupItemsGeneralStyle.RightIconOffsetX_o=null;
  2105. MNS_MainGroupItemsGeneralStyle.RightIconOffsetX_c=null;
  2106. MNS_MainGroupItemsGeneralStyle.RightIconOffsetY=-2;
  2107. MNS_MainGroupItemsGeneralStyle.RightIconOffsetY_o=null;
  2108. MNS_MainGroupItemsGeneralStyle.RightIconOffsetY_c=null;
  2109. MNS_MainGroupItemsGeneralStyle.RightIconIsIndicator=true;
  2110.  
  2111.  
  2112. var MNS_GroupItemsGeneralStyle = new MNSMenuItem();
  2113. MNS_GroupItemsGeneralStyle.Text_o='';
  2114. MNS_GroupItemsGeneralStyle.Text_c='';
  2115. MNS_GroupItemsGeneralStyle.TextAlign='left';
  2116. MNS_GroupItemsGeneralStyle.URL='';
  2117. MNS_GroupItemsGeneralStyle.URLTarget='';
  2118. MNS_GroupItemsGeneralStyle.Hint='';
  2119. MNS_GroupItemsGeneralStyle.OnLeaveJS='';
  2120. MNS_GroupItemsGeneralStyle.OnOverJS='';
  2121. MNS_GroupItemsGeneralStyle.OnClickJS='';
  2122. MNS_GroupItemsGeneralStyle.Height=22;
  2123. MNS_GroupItemsGeneralStyle.Width=100;
  2124. MNS_GroupItemsGeneralStyle.Cursor='default';
  2125. MNS_GroupItemsGeneralStyle.PaddingLeft=10;
  2126. MNS_GroupItemsGeneralStyle.PaddingLeft_o=null;
  2127. MNS_GroupItemsGeneralStyle.PaddingTop=5;
  2128. MNS_GroupItemsGeneralStyle.PaddingTop_o=null;
  2129. MNS_GroupItemsGeneralStyle.PaddingRight=5;
  2130. MNS_GroupItemsGeneralStyle.PaddingRight_o=null;
  2131. MNS_GroupItemsGeneralStyle.PaddingBottom=5;
  2132. MNS_GroupItemsGeneralStyle.PaddingBottom_o=null;
  2133. MNS_GroupItemsGeneralStyle.BgColor='';
  2134. MNS_GroupItemsGeneralStyle.BgColor_o='#85E9F3';
  2135. MNS_GroupItemsGeneralStyle.BgColor_c='';
  2136. MNS_GroupItemsGeneralStyle.BgImage='';
  2137. MNS_GroupItemsGeneralStyle.BgImage_o='http://img1.imagilive.com/0114/light-blue-panel.gif';
  2138. MNS_GroupItemsGeneralStyle.BgImage_c='';
  2139. MNS_GroupItemsGeneralStyle.BgImgRep='repeat-x';
  2140. MNS_GroupItemsGeneralStyle.BgImgRep_o='';
  2141. MNS_GroupItemsGeneralStyle.BgImgRep_c='';
  2142. MNS_GroupItemsGeneralStyle.BgImgPos='top left';
  2143. MNS_GroupItemsGeneralStyle.BgImgPos_o='';
  2144. MNS_GroupItemsGeneralStyle.BgImgPos_c='';
  2145. MNS_GroupItemsGeneralStyle.LeftPartBgImage='';
  2146. MNS_GroupItemsGeneralStyle.LeftPartBgImage_o='';
  2147. MNS_GroupItemsGeneralStyle.LeftPartBgImage_c='';
  2148. MNS_GroupItemsGeneralStyle.LeftPartBgImgPos='top';
  2149. MNS_GroupItemsGeneralStyle.RightPartBgImage='';
  2150. MNS_GroupItemsGeneralStyle.RightPartBgImage_o='';
  2151. MNS_GroupItemsGeneralStyle.RightPartBgImage_c='';
  2152. MNS_GroupItemsGeneralStyle.RightPartBgImgPos='top';
  2153. MNS_GroupItemsGeneralStyle.FontColor='#004080';
  2154. MNS_GroupItemsGeneralStyle.FontColor_o='#004080';
  2155. MNS_GroupItemsGeneralStyle.FontColor_c='';
  2156. MNS_GroupItemsGeneralStyle.FontFamily='Tahoma, Verdana, Geneva, Arial, Helvetica, sans-serif';
  2157. MNS_GroupItemsGeneralStyle.FontFamily_o='';
  2158. MNS_GroupItemsGeneralStyle.FontFamily_c='';
  2159. MNS_GroupItemsGeneralStyle.FontSize=11;
  2160. MNS_GroupItemsGeneralStyle.FontSize_o=null;
  2161. MNS_GroupItemsGeneralStyle.FontSize_c=null;
  2162. MNS_GroupItemsGeneralStyle.FontDecoration='none';
  2163. MNS_GroupItemsGeneralStyle.FontDecoration_o='';
  2164. MNS_GroupItemsGeneralStyle.FontDecoration_c='';
  2165. MNS_GroupItemsGeneralStyle.FontWeight='normal';
  2166. MNS_GroupItemsGeneralStyle.FontWeight_o='';
  2167. MNS_GroupItemsGeneralStyle.FontWeight_c='';
  2168. MNS_GroupItemsGeneralStyle.FontStyle='normal';
  2169. MNS_GroupItemsGeneralStyle.FontStyle_o='';
  2170. MNS_GroupItemsGeneralStyle.FontStyle_c='';
  2171. MNS_GroupItemsGeneralStyle.BorderWidth=0;
  2172. MNS_GroupItemsGeneralStyle.BorderWidth_o=null;
  2173. MNS_GroupItemsGeneralStyle.BorderWidth_c=null;
  2174. MNS_GroupItemsGeneralStyle.BorderColor='';
  2175. MNS_GroupItemsGeneralStyle.BorderColor_o='';
  2176. MNS_GroupItemsGeneralStyle.BorderColor_c='';
  2177. MNS_GroupItemsGeneralStyle.Border='solid';
  2178. MNS_GroupItemsGeneralStyle.Border_o='';
  2179. MNS_GroupItemsGeneralStyle.Border_c='';
  2180. MNS_GroupItemsGeneralStyle.BorderLeft=true;
  2181. MNS_GroupItemsGeneralStyle.BorderRight=true;
  2182. MNS_GroupItemsGeneralStyle.BorderTop=true;
  2183. MNS_GroupItemsGeneralStyle.BorderBottom=true;
  2184. MNS_GroupItemsGeneralStyle.SeparatorColor='#C3D3E6';
  2185. MNS_GroupItemsGeneralStyle.SeparatorSize=0;
  2186. MNS_GroupItemsGeneralStyle.LeftIcon='';
  2187. MNS_GroupItemsGeneralStyle.LeftIcon_o='';
  2188. MNS_GroupItemsGeneralStyle.LeftIcon_c='MNS_images/zigzag-blue.gif';
  2189. MNS_GroupItemsGeneralStyle.LeftIconOffsetX=2;
  2190. MNS_GroupItemsGeneralStyle.LeftIconOffsetX_o=null;
  2191. MNS_GroupItemsGeneralStyle.LeftIconOffsetX_c=null;
  2192. MNS_GroupItemsGeneralStyle.LeftIconOffsetY=-5;
  2193. MNS_GroupItemsGeneralStyle.LeftIconOffsetY_o=null;
  2194. MNS_GroupItemsGeneralStyle.LeftIconOffsetY_c=-6;
  2195. MNS_GroupItemsGeneralStyle.LeftIconIsIndicator=false;
  2196. MNS_GroupItemsGeneralStyle.RightIcon='http://img1.imagilive.com/0114/arr_navy_right.gif';
  2197. MNS_GroupItemsGeneralStyle.RightIcon_o='http://img1.imagilive.com/0114/arr_fire_right.gif';
  2198. MNS_GroupItemsGeneralStyle.RightIcon_c='';
  2199. MNS_GroupItemsGeneralStyle.RightIconOffsetX=-8;
  2200. MNS_GroupItemsGeneralStyle.RightIconOffsetX_o=null;
  2201. MNS_GroupItemsGeneralStyle.RightIconOffsetX_c=null;
  2202. MNS_GroupItemsGeneralStyle.RightIconOffsetY=-3;
  2203. MNS_GroupItemsGeneralStyle.RightIconOffsetY_o=null;
  2204. MNS_GroupItemsGeneralStyle.RightIconOffsetY_c=null;
  2205. MNS_GroupItemsGeneralStyle.RightIconIsIndicator=true;
  2206.  
  2207.  
  2208. var MNS_GroupStyle = new MNSMenuGroup();
  2209. MNS_GroupStyle.Width=180;
  2210. MNS_GroupStyle.MenuGroupAlign=0;
  2211. MNS_GroupStyle.Opacity=100;
  2212. MNS_GroupStyle.ShowDropDownControl=false;
  2213. MNS_GroupStyle.InitDropdownState=1;
  2214. MNS_GroupStyle.ItemsPadding_L=0;
  2215. MNS_GroupStyle.ItemsPadding_R=0;
  2216. MNS_GroupStyle.ItemsPadding_T=5;
  2217. MNS_GroupStyle.ItemsPadding_B=5;
  2218. MNS_GroupStyle.ItemsSpacing=5;
  2219. MNS_GroupStyle.BgColor='#DFEEFD';
  2220. MNS_GroupStyle.BgImgPos='top left';
  2221. MNS_GroupStyle.BgImgRep='repeat';
  2222. MNS_GroupStyle.Border='solid';
  2223. MNS_GroupStyle.BorderWidth=1;
  2224. MNS_GroupStyle.BorderColor='#9FCCF0';
  2225. MNS_GroupStyle.HeaderText='';
  2226. MNS_GroupStyle.HeaderTextAlign='center';
  2227. MNS_GroupStyle.HeaderTextOffsetX=0;
  2228. MNS_GroupStyle.HeaderTextOffsetY=4;
  2229. MNS_GroupStyle.HeaderHeight=0;
  2230. MNS_GroupStyle.HeaderBgColor='';
  2231. MNS_GroupStyle.HeaderIconOffsetX=3;
  2232. MNS_GroupStyle.HeaderIconOffsetY=3;
  2233. MNS_GroupStyle.HeaderBgImgRep='repeat-x';
  2234. MNS_GroupStyle.HeaderBgImgPos='top left';
  2235. MNS_GroupStyle.FontFamily='Verdana, Geneva, Arial, Helvetica, sans-serif';
  2236. MNS_GroupStyle.FontColor='#004080';
  2237. MNS_GroupStyle.FontSize=11;
  2238. MNS_GroupStyle.FontDecoration='none';
  2239. MNS_GroupStyle.FontWeight='bolder';
  2240. MNS_GroupStyle.FontStyle='normal';
  2241. MNS_GroupStyle.DropdownImageExpand='';
  2242. MNS_GroupStyle.DropdownImageCollapse='';
  2243. MNS_GroupStyle.OnGroupShowJS='';
  2244. MNS_GroupStyle.OnGroupHideJS='';
  2245. MNS_GroupStyle.AnimationType=0;
  2246. MNS_GroupStyle.AnimationTimeout=8;
  2247.  
  2248.  
  2249. var MNS_mg_ID1 = new MNSMenuGroup(0,0,'H');
  2250. MNS_mg_ID1.id='MNS_mg_ID1';
  2251. MNS_mg_ID1.IsMainGroup=1;
  2252. MNS_mg_ID1.BgColor='#C0C0C0';
  2253. MNS_mg_ID1.Width=180;
  2254. MNS_mg_ID1.Opacity=100;
  2255. MNS_mg_ID1.ShowDropDownControl=false;
  2256. MNS_mg_ID1.InitDropdownState=1;
  2257. MNS_mg_ID1.ItemsPadding_L=0;
  2258. MNS_mg_ID1.ItemsPadding_R=0;
  2259. MNS_mg_ID1.ItemsPadding_T=0;
  2260. MNS_mg_ID1.ItemsPadding_B=0;
  2261. MNS_mg_ID1.ItemsSpacing=0;
  2262. MNS_mg_ID1.Embedding='relative';
  2263. MNS_mg_ID1.z=1000;
  2264. MNS_mg_ID1.BgImgPos='top left';
  2265. MNS_mg_ID1.BgImgRep='repeat-y';
  2266. MNS_mg_ID1.Border='solid';
  2267. MNS_mg_ID1.BorderWidth=1;
  2268. MNS_mg_ID1.BorderColor='#9F9F9F';
  2269. MNS_mg_ID1.HeaderText='';
  2270. MNS_mg_ID1.HeaderTextAlign='center';
  2271. MNS_mg_ID1.HeaderTextOffsetX=0;
  2272. MNS_mg_ID1.HeaderTextOffsetY=4;
  2273. MNS_mg_ID1.HeaderHeight=0;
  2274. MNS_mg_ID1.HeaderBgColor='';
  2275. MNS_mg_ID1.HeaderIconOffsetX=3;
  2276. MNS_mg_ID1.HeaderIconOffsetY=3;
  2277. MNS_mg_ID1.HeaderBgImgRep='repeat-x';
  2278. MNS_mg_ID1.HeaderBgImgPos='top left';
  2279. MNS_mg_ID1.DropdownImageExpand='';
  2280. MNS_mg_ID1.DropdownImageCollapse='';
  2281. MNS_mg_ID1.FontFamily='Verdana, Geneva, Arial, Helvetica, sans-serif';
  2282. MNS_mg_ID1.FontColor='#004080';
  2283. MNS_mg_ID1.FontSize=11;
  2284. MNS_mg_ID1.FontDecoration='none';
  2285. MNS_mg_ID1.FontWeight='bolder';
  2286. MNS_mg_ID1.FontStyle='normal';
  2287.  
  2288.  
  2289. var MNS_i_ID5 = new MNSMenuItem('<div align="center">Capitulo 343 Naruto Shippuden </div>');
  2290. MNS_i_ID5.id='MNS_i_ID5';
  2291. MNS_i_ID5.Assign(MNS_MainGroupItemsGeneralStyle);
  2292. MNS_i_ID5.Text_o='';
  2293. MNS_i_ID5.Text_c='';
  2294. MNS_i_ID5.URL='';
  2295. MNS_i_ID5.Hint='';
  2296. MNS_i_ID5.Width=300;
  2297.  
  2298.  
  2299. var MNS_g_ID18 = new MNSMenuGroup(-2,2,'V');
  2300. MNS_g_ID18.id='MNS_g_ID18';
  2301. MNS_g_ID18.Assign(MNS_GroupStyle);
  2302.  
  2303. MNS_i_ID5.AddGroup(MNS_g_ID18);
  2304.  
  2305.  
  2306. var MNS_i_ID17 = new MNSMenuItem('Ver Online');
  2307. MNS_i_ID17.id='MNS_i_ID17';
  2308. MNS_i_ID17.Assign(MNS_GroupItemsGeneralStyle);
  2309. MNS_i_ID17.Text_o='';
  2310. MNS_i_ID17.Text_c='';
  2311. MNS_i_ID17.URL='http://6e3c5dd1.miniurls.co';
  2312. MNS_i_ID17.URLTarget='_blank';
  2313. MNS_i_ID17.Hint='';
  2314. MNS_g_ID18.AddItem(MNS_i_ID17);
  2315.  
  2316.  
  2317. var MNS_i_ID19 = new MNSMenuItem('Descargar HQ');
  2318. MNS_i_ID19.id='MNS_i_ID19';
  2319. MNS_i_ID19.Assign(MNS_GroupItemsGeneralStyle);
  2320. MNS_i_ID19.Text_o='';
  2321. MNS_i_ID19.Text_c='';
  2322. MNS_i_ID19.URL='http://bf1a8ea0.yyv.co';
  2323. MNS_i_ID19.URLTarget='_blank';
  2324. MNS_i_ID19.Hint='';
  2325. MNS_g_ID18.AddItem(MNS_i_ID19);
  2326.  
  2327.  
  2328. var MNS_i_ID22 = new MNSMenuItem('Descargar HD');
  2329. MNS_i_ID22.id='MNS_i_ID22';
  2330. MNS_i_ID22.Assign(MNS_GroupItemsGeneralStyle);
  2331. MNS_i_ID22.Text_o='';
  2332. MNS_i_ID22.Text_c='';
  2333. MNS_i_ID22.URL='http://bc4a3cab.urlbeat.net';
  2334. MNS_i_ID22.URLTarget='_blank';
  2335. MNS_i_ID22.Hint='';
  2336. MNS_g_ID18.AddItem(MNS_i_ID22);
  2337. MNS_mg_ID1.AddItem(MNS_i_ID5);
  2338. MNS_mg_ID1.Visibility='visible';
  2339. document.write('<div style="position:absolute; z-index:1000;" align="left">');
  2340. document.write(MNS_mg_ID1.ToStr());
  2341. document.write('</div>');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement