// JavaScript Document
function popUplogin(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=1,statusbar=0,menubar=0,resizable=1,width=840,height=720,left = 115,top = 0');");
}
function popterms(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=yes,location=0,statusbar=0,menubar=1,resizable=0,width=650,height=540,left = 115,top = 57');");
}

function mmLoadMenus() {
  window.mm_menu_1220052731_0 = new Menu("root",134,18,"Verdana, Arial, Helvetica, sans-serif",10,"#333333","#EFEFE5","#EFEFE5","#ED1C24","left","middle",3,0,1000,-5,7,true,true,true,0,true,false);
  mm_menu_1220052731_0.addMenuItem("VtalkVoIP","location='products_VtalkVoIP.htm'/*tpa=http://www.mobif.com.my/index.php/resources_whos_using.html*/");
  mm_menu_1220052731_0.addMenuItem("VSoft Phone","location='products_VSoft.htm'/*tpa=http://www.mobif.com.my/index.php/case_studies.html*/");
  mm_menu_1220052731_0.addMenuItem("Vtalk Video Phone","location='products_VtalkVideo.htm'/*tpa=http://www.mobif.com.my/index.php/case_studies.html*/");
  mm_menu_1220052731_0.addMenuItem("Surveillance","location='products_Surveillance.htm'/*tpa=http://www.mobif.com.my/index.php/customers_success_stories.html*/");
  mm_menu_1220052731_0.addMenuItem("Customization","location='products_Customization.htm'/*tpa=http://www.mobif.com.my/index.php/case_studies.html*/");
  mm_menu_1220052731_0.addMenuItem("Hardware","location='products_Hardware.htm'/*tpa=http://www.mobif.com.my/index.php/case_studies.html*/");
  mm_menu_1220052731_0.hideOnMouseOut=true;
   mm_menu_1220052731_0.bgColor='#CCCCCC';
   mm_menu_1220052731_0.menuBorder=1;
   mm_menu_1220052731_0.menuLiteBgColor='#CCCCCC';
   mm_menu_1220052731_0.menuBorderBgColor='';
 window.mm_menu_1220052732_0 = new Menu("root",134,18,"Verdana, Arial, Helvetica, sans-serif",10,"#333333","#EFEFE5","#EFEFE5","#ED1C24","left","middle",3,0,1000,-5,7,true,true,true,0,true,false);
  mm_menu_1220052732_0.addMenuItem("Downloads","location='support.htm'/*tpa=http://www.mobif.com.my/index.php/resources_whos_using.html*/");
 mm_menu_1220052732_0.addMenuItem("FAQ","location='Customer_service_faq.htm'/*tpa=http://www.mobif.com.my/index.php/resources_whos_using.html*/");
 mm_menu_1220052732_0.addMenuItem("Yellow pages","location='yellowpages.htm'/*tpa=http://www.mobif.com.my/index.php/customers_success_stories.html*/");
  mm_menu_1220052732_0.addMenuItem("Technical Support","location='Customer_service.htm'/*tpa=http://www.mobif.com.my/index.php/customers_success_stories.html*/");
  mm_menu_1220052732_0.hideOnMouseOut=true;
   mm_menu_1220052732_0.bgColor='#CCCCCC';
   mm_menu_1220052732_0.menuBorder=1;
   mm_menu_1220052732_0.menuLiteBgColor='#CCCCCC';
   mm_menu_1220052732_0.menuBorderBgColor='';  
 window.mm_menu_1220052740_0 = new Menu("root",134,18,"Verdana, Arial, Helvetica, sans-serif",10,"#333333","#ffffff","#ffffff","#ED1C24","left","middle",3,0,1000,-5,7,true,true,true,0,true,false);
  mm_menu_1220052740_0.addMenuItem("Other","location=''/*tpa=http://www.mobif.com.my/index.php/resources_whos_using.html*/");
  mm_menu_1220052740_0.hideOnMouseOut=true;
   mm_menu_1220052740_0.bgColor='#CCCCCC';
   mm_menu_1220052740_0.menuBorder=1;
   mm_menu_1220052740_0.menuLiteBgColor='#CCCCCC';
   mm_menu_1220052740_0.menuBorderBgColor='';  
 window.mm_menu_1220052733_0 = new Menu("root",134,18,"Verdana, Arial, Helvetica, sans-serif",10,"#333333","#EFEFE5","#EFEFE5","#ED1C24","left","middle",3,0,1000,-5,7,true,true,true,0,true,false);
  mm_menu_1220052733_0.addMenuItem("VtalkVoIP Member","location='http://www.vtalkvoip.com.my/billing4.php'/*tpa=http://www.mobif.com.my/index.php/resources_whos_using.html*/");
  mm_menu_1220052733_0.addMenuItem("VtalkVoIP Agent","location='http://www.vtalkvoip.com.my/agents4.php'/*tpa=http://www.mobif.com.my/index.php/case_studies.html*/");
  mm_menu_1220052733_0.addMenuItem("Surveillance Member","location='member.htm'/*tpa=http://www.mobif.com.my/index.php/customers_success_stories.html*/");
  mm_menu_1220052733_0.hideOnMouseOut=true;
   mm_menu_1220052733_0.bgColor='#CCCCCC';
   mm_menu_1220052733_0.menuBorder=1;
   mm_menu_1220052733_0.menuLiteBgColor='#CCCCCC';
   mm_menu_1220052733_0.menuBorderBgColor='';
 window.mm_menu_1220060353_0 = new Menu("root",134,18,"Verdana, Arial, Helvetica, sans-serif",10,"#333333","#EFEFE5","#EFEFE5","#ED1C24","left","middle",3,0,1000,-5,7,true,true,true,0,true,false);
  mm_menu_1220060353_0.addMenuItem("Corporate Profile","location='company_profile.htm'/*tpa=http://www.mobif.com.my/index.php/resources_whos_using.html*/");
  mm_menu_1220060353_0.addMenuItem("Our Aims","location='company_aims.htm'/*tpa=http://www.mobif.com.my/index.php/case_studies.html*/");
  mm_menu_1220060353_0.addMenuItem("Patent and Trademark","location='company_patent.htm'/*tpa=http://www.mobif.com.my/index.php/customers_success_stories.html*/");
  mm_menu_1220060353_0.addMenuItem("Testimonials","location='company_testimonials.htm'/*tpa=http://www.mobif.com.my/index.php/customers_success_stories.html*/");
  mm_menu_1220060353_0.addMenuItem("License","location='company_license.htm'/*tpa=http://www.mobif.com.my/index.php/customers_success_stories.html*/");
  mm_menu_1220060353_0.addMenuItem("Advertisement","location='company_advertisement.htm'/*tpa=http://www.mobif.com.my/index.php/customers_success_stories.html*/");
  mm_menu_1220060353_0.addMenuItem("Jobs","location='company_jobs.htm'/*tpa=http://www.mobif.com.my/index.php/customers_success_stories.html*/");
  mm_menu_1220060353_0.hideOnMouseOut=true;
   mm_menu_1220060353_0.bgColor='#CCCCCC';
   mm_menu_1220060353_0.menuBorder=1;
   mm_menu_1220060353_0.menuLiteBgColor='#CCCCCC';
   mm_menu_1220060353_0.menuBorderBgColor='';

 window.mm_menu_1220075018_0 = new Menu("root",122,18,"Verdana, Arial, Helvetica, sans-serif",10,"#333333","#EFEFE5","#EFEFE5","#ED1C24","left","middle",3,0,1000,-5,7,true,true,true,0,true,false);
  mm_menu_1220075018_0.addMenuItem("VtalkVoip","location='wheretobuy.htm'/*tpa=http://www.mobif.com.my/index.php/contact_us.html*/");
  mm_menu_1220075018_0.addMenuItem("Surveillance","location='surveillance_buy.htm'/*tpa=http://www.mobif.com.my/index.php/directions_south_bay.html*/");
   mm_menu_1220075018_0.hideOnMouseOut=true;
   mm_menu_1220075018_0.bgColor='#CCCCCC';
   mm_menu_1220075018_0.menuBorder=1;
   mm_menu_1220075018_0.menuLiteBgColor='#CCCCCC';
   mm_menu_1220075018_0.menuBorderBgColor='';
   
     window.mm_menu_1220075016_0 = new Menu("root",120,18,"Verdana, Arial, Helvetica, sans-serif",10,"#333333","#FFFFFF","#FFFFFF","#ED1C24","left","middle",3,0,1000,-5,7,true,true,true,0,true,false);
  mm_menu_1220075016_0.addMenuItem("Europe","location='#'");
   mm_menu_1220075016_0.hideOnMouseOut=true;
   mm_menu_1220075016_0.bgColor='#CCCCCC';
   mm_menu_1220075016_0.menuBorder=1;
   mm_menu_1220075016_0.menuLiteBgColor='#CCCCCC';
   mm_menu_1220075016_0.menuBorderBgColor='';

mm_menu_1220075016_0.writeMenus();
} // mmLoadMenus()

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

function showHideSearch(v) {
  var obj = MM_findObj('search');
  if ( obj && obj.style ) {
    if ( v ) {
      obj.style.left = '457px';
      MM_showHideLayers('search','','show');
    }
    else {
      MM_showHideLayers('search','','hide');
      obj.style.left = '-300px';
    }
}
  }
