﻿ var myTitle=""
 var myContent=""
 
 
 function getContentText(id){
 
 switch(id)
            {
             case 1:
               myTitle="Save money and staff"
               myContent=" Saving money by outsourcing makes sense.<br /> But it usually fells behind more strategic motives.<br /> Such as focusing on core business or freeing up internal staff for other initiatives.<br />  Given the current economic situation more and more companies consider outsourcing.<br /> Thus reduce IT costs and being more flexible in the market.<br /> Last, but not least, no trouble with employees." 
               break;

            case 2:
               myTitle="Maximum flexibility"
               myContent="Maxland IT is a flexible, experienced, reliable IT outsourcing and consultancy partner.<br /> Escalate your business to a higher level, while retaining quality and productivity."
               break;

             case 3:
                myTitle="Expertise on demand"
                myContent="From one minute to the another, you have plenty of hands on board for your software projects.<br /> Maxland IT guarantees the highest quality in development, project management and technological innovation."
               break;
               

               case 4:
                myTitle="Advertising agencies"
                myContent="Maxland IT is a trusted technology partner to advertising agencies.<br /> More and more companies require smart solutions for their online campaigns. <br />  You focus on the art of communication.<br /> Maxland IT on the art of bits and bytes."
               break;
               
               case 5:
                myTitle="IT companies"
                myContent="Maxland IT offers the perfect opportunity for IT companies,<br /> that are in need to free up hours by outsourcing tiresome work. Your employees will devote full attention to your esteemed customers.<br /> This better service to your customers directly results in more projects for your IT business." 
               break;
               
               case 6:
                myTitle="E-commerce companies"
                myContent = "Outsourcing E-commerce initiatives to Maxland IT has significant benefits.<br /> Flexibility and the highest quality in development.<br /> Professional project management and innovative approach to technical solutions (see our portfolio).<br />"
                myContent = myContent +  ""
                break;
               
               case 7:
                myTitle="Financial companies"
                myContent="Because of  extensive experience, Maxland IT advised and developed serveral financial projects.<br /> Such as payment and internet banking systems,  bank integrations, financial data handling and security systems. "
               break;

           case 8:
               myTitle = "Fixed rate"
               myContent = "Maxland IT prefers to work on a fixed price whenever a clear technical and funcional design is available. <br />"
               break;

           case 9:
               myTitle = "Hourly rate"
               myContent = "Maxland IT is also working on a agreed hourly rate.<br /> For example you would like to hire expertise in a certain field for a centrain time. We can exclusively assign dedicated professionals do get your job done."
               break;

           
           
           case 10:
               myTitle = "Two step pricing"
               myContent = "When the scope and requirements are not well defined we advice to devide the work into a 2 step model. In step one we will document the technical specification for a fixed price. This document will contain detailed hour estimation. You will be owner of this document."
               myContent = myContent + ". Step two will be based on development for a fixed price. Base on the step one document it is easy to deside whether to continue or adjust."
               break; 
           
               
            default:
             myTitle=""
             myContent = ""
            }
 
 }   
   
function writePopup(id){
        getContentText(id);
        var divid = "divPopup" + id.toString() ;
        var myDiv = document.getElementById(divid);
        var  content = "";
             content= content + "<div class='popUpTop'><div class='popUpHeading'>" + myTitle + "<hr /> </div>";
             content= content +   "</div>";
             content= content + "<div class='popUpContent'><div class='popUpText'>";
             content= content + myContent;
             content= content + "</div></div>";
             content= content + "<div class='popUpBottom'></div>";
             myDiv.innerHTML=content;
             leftContentPopupShow(divid);
 }

function HidePopup(id){
        var divid = "divPopup" + id.toString() ;
        var myDiv = document.getElementById(divid);
            myDiv.innerHTML="";
            leftContentPopupHide(divid);
}


function leftContentPopupShow(p)
    {
        document.getElementById(p).style.display='block';
        document.getElementById("centerpage").setAttribute("class", "centerpage2")
       
       
  
    }
    
     function leftContentPopupHide(p)
   {
        document.getElementById(p).style.display='none';
       document.getElementById("centerpage").setAttribute("class", "centerpage")
         
       
   }
