  function OpenSub(value) {

   ImgLogo.src = "images/logo.gif"

   switch (value) {
   case "HOME":
    if (sHome.style.display == "") {
     sHome.style.display = "none";
    } else {
     sHome.style.display = "";
     AboutUs.style.display = "none";
     Portfolio.style.display = "none";
     FAQ.style.display = "none";
     CustomerServices.style.display = "none";
     ContactUs.style.display = "none";
     LocationMap.style.display = "none";
     window.open("index.asp","_self")
    }
   break;
   case "ABOUT US":
    if (AboutUs.style.display == "") {
     AboutUs.style.display = "none";
    } else {
     sHome.style.display = "none";
     AboutUs.style.display = "";
     Portfolio.style.display = "none";
     FAQ.style.display = "none";
     CustomerServices.style.display = "none";
     ContactUs.style.display = "none";
     LocationMap.style.display = "none";
     window.open("aboutus.asp","_self")
    }
   break;
   case "PORTFOLIO":
    if (Portfolio.style.display == "") {
     Portfolio.style.display = "none";
    } else {
     sHome.style.display = "none";
     AboutUs.style.display = "none";
     Portfolio.style.display = "";
     FAQ.style.display = "none";
     CustomerServices.style.display = "none";
     ContactUs.style.display = "none";
     LocationMap.style.display = "none";
     window.open("portfolio.asp","_self")
    }
   break;
   case "FAQ":
    if (FAQ.style.display == "") {
     FAQ.style.display = "none";
    } else {
     sHome.style.display = "none";
     AboutUs.style.display = "none";
     Portfolio.style.display = "none";
     FAQ.style.display = "";
     CustomerServices.style.display = "none";
     ContactUs.style.display = "none";
     LocationMap.style.display = "none";
     window.open("faq.asp","_self")
    }
   break;
   case "CUSTOMER SERVICES":

    if (CustomerServices.style.display == "") {
     CustomerServices.style.display = "none";
    } else {
     sHome.style.display = "none";
     AboutUs.style.display = "none";
     Portfolio.style.display = "none";
     FAQ.style.display = "none";
     CustomerServices.style.display = "";
     ContactUs.style.display = "none";
     LocationMap.style.display = "none";
     window.open("customerservices.asp","_self")
    }
   break;
   case "CONTACT US":

    if (ContactUs.style.display == "") {
     ContactUs.style.display = "none";
    } else {
     sHome.style.display = "none";
     AboutUs.style.display = "none";
     Portfolio.style.display = "none";
     FAQ.style.display = "none";
     CustomerServices.style.display = "none";
     ContactUs.style.display = "";
     LocationMap.style.display = "none";
     window.open("contactus.asp","_self")
    }
   break;
   case "LOCATION MAP":

    if (LocationMap.style.display == "") {
     LocationMap.style.display = "none";
    } else {
     sHome.style.display = "none";
     AboutUs.style.display = "none";
     Portfolio.style.display = "none";
     FAQ.style.display = "none";
     CustomerServices.style.display = "none";
     ContactUs.style.display = "none";
     LocationMap.style.display = "";
     window.open("locationmap.asp","_self")
    }
   break;
   }
  }
  
  
//***********************************

function ShowPortfolio(value){
 switch(value) {
  case "ioi":
   window.open('portfolio/ioi_group/mag1.html','_blank','toolbar=no,resizable=no,top=100,left=100,width=460,height=290') 
   break;
  case "aventis":
   window.open('portfolio/aventis/mag1.html','_blank','toolbar=no,resizable=no,top=100,left=100,width=520,height=290') 
   break;
  case "csr":
   window.open('portfolio/csr/mag.html','_blank','toolbar=no,resizable=no,top=100,left=100,width=460,height=290') 
   break;
  case "novo":
   window.open('portfolio/novo_nordisk/camp1.html','_blank','toolbar=no,resizable=no,top=100,left=100,width=460,height=290') 
   break;
  case "yang":
   window.open('portfolio/yang/camp.html','_blank','toolbar=no,resizable=no,top=100,left=100,width=460,height=290') 
   break;
  case "prism":
   window.open('portfolio/prism/leaflet1.html','_blank','toolbar=no,resizable=no,top=100,left=100,width=460,height=290') 
   break;
  case "sequence":
   window.open('portfolio/sequence/leaflet.html','_blank','toolbar=no,resizable=no,top=100,left=100,width=460,height=290') 
   break;
  case "anglo":
   window.open('portfolio/anglo_standard/leaflet.html','_blank','toolbar=no,resizable=no,top=100,left=100,width=460,height=290') 
   break;
  case "suria":
   window.open('portfolio/suria_signs/leaflet.html','_blank','toolbar=no,resizable=no,top=100,left=100,width=460,height=290') 
   break;
  case "unity":
   window.open('portfolio/unity_carpet/company.html','_blank','toolbar=no,resizable=no,top=100,left=100,width=460,height=290') 
   break;
  default:
   break;
 }
}

//***********************************

function Show(value){
 window.open(value + '.html','_self')
}

//***********************************

function ShowAll(value){
 switch(value) {
  case "ioi_mag_all":
   window.open('mag_all.html','_blank','resizable=yes,scrollbars=yes,toolbar=no,top=150,left=150,width=610,height=650');
   break;
  case "aventis_mag_all_1":
   window.open('mag_all_1.html','_blank','resizable=yes,scrollbars=yes,toolbar=no,top=150,left=150,width=680,height=430');
   break;
  case "aventis_mag_all_2":
   window.open('mag_all_2.html','_blank','resizable=yes,scrollbars=yes,toolbar=no,top=150,left=150,width=650,height=650');
   break;
  case "aventis_mag_all_3":
   window.open('mag_all_3.html','_blank','resizable=yes,scrollbars=yes,toolbar=no,top=150,left=150,width=500,height=560');
   break;
 }
}

//***********************************
