// JavaScript Document



var images = new Array();
images[0] = '../images/building.jpg';
images[1] = '../images/building2.jpg';
images[2] = '../images/building3.jpg';
images[3] = '../images/building4.jpg';




var factory_title = new Array("Equipment Integration",
						"Equipment Data Collection",
						"Advanced Process Control",
						"Automation Capabilities Management");

var factory_desc = new Array("CIMAC is expert in defining, designing, implementing and supporting Equipment Interface (EI) components. We employ the best solutions available from standardized business rules templates to standardized error handling rules & framework. ",
						"CIMAC is experienced in automated data collection from both legacy and newer equipment, and utilizes both its own data collection toolkit and industry standard software.  ",
						"CIMAC is experienced in the process control tools that key components of Advanced Process Control (APC). Call us to learn more about our services around Run-to-Run (R2R) Control, Fault Detection and Classification (FDC), and Statistical process control (SPC). ",
						"CIMAC is expert in the management of equipment automation capabilities. Our staff includes experienced PEM Managers, Test Managers and Testers that have worked on numerous ACM resource fulfillment projects. ");		



		
var manufacturing_title = new Array("MES Assessments",
		"Requirements Analysis",
		"Software Vendor Selection",
		"Implementation and Integration",
		"MES testing",
		"MES migration",
		"Training and Support"		
		);
		
var manufacturing_desc = new Array("CIMAC offers a service program that enables semiconductor manufacturers to identify manufacturing inefficiencies and suggests strategic solutions to alleviate those problem areas. ",
		"CIMAC develops requirements in four distinct phases. The initial step involves eliciting the known requirements by meeting with both users and management.  ",
		"CIMAC’s broad domain experience can help you develop a comprehensive RFP and evaluation criteria. Because CIMAC maintains a software and technology neutral position, that same experience can be invaluable when mapping a software vendor’s responses into the evaluation criteria. ",
		"The final step in any factory control project is the actual implementation, validation, and start-up. CIMAC can help you Implement and Integrate many well known brand of MES packages. ",
		"Performance testing is carried out on MES systems to identify and eliminate bottlenecks that can potentially cause production outages and loss of revenue in a semiconductor production fab.  ",
		"CIMAC is offering a new MES service for semiconductor fabs with obsolete legacy server platforms. Each MES migration plan will be customized to meet the needs of each fab for its specific set of tools and resources. ",
		"CIMAC provides End User Training and sustaining support for multiple commercial MES software systems. "		
		);		


		
		
var it_title = new Array("Dynamic NAV Implementation",
				"Low Cost Offshore SW Dev. &amp; Support",
				"Factory Automation Support ",
				"IT System administration",
				"Software Quality Assurance &amp; Test",
				"Data base administration",
				"Configuration Management"
				);

var it_desc = new Array("CIMAC resells Microsoft Dynamics NAV and provides integration services. Microsoft Dynamics NAV is a comprehensive business management solution that helps people work faster and smarter, and gives your business the flexibility to adapt to new opportunities and growth. ",
				"CIMAC provides competitively priced custom software development and various IT support services through its Software Development Center in Sofia, Bulgaria. CIMAC will allow you to assign your valuable IT management to strategic & tactical programs. ",
				"CIMAC provides on-going Factory Automation sustaining services to its customers. The Factory Automation sustaining support we provide leverages on our semiconductor domain expertise.  ",
				"CIMAC provides IT System Administration services to its customers. For our detail service list please call. ",
				"For an IT system, there are four different aspects to quality. CIMAC knows the success of any factory control project depends on satisfying all four of these views. CIMAC can provide neutral, quality program capabilities to projects being managed by other organizations. ",
				"CIMAC provides Database administration service to its customers. For our detail service list please call. ",
				"Configuration Management (CM) is both a software management discipline and a process. CIMAC provides consulting and Configuration Management services to ensure the repeatability, traceability, and integrity of the system being developed and produced. ");		

var control_title = new Array("Control SW Development",
							  "SECS/GEM/300mm Implementation",
							  "Human Machine Interface/GUI",
							  "Equipment Data Collection Interface"
							  );
var control_desc = new Array("We design and develop reliable machine control system software to improve capital equipment productivity. By implementing complex process control strategies, we collect process data and present process information through MMI. ",
							 "CIMAC is the exclusive US reseller of IT Innovation’s suite of semiconductor equipment SECS automation interface software and integrator for SEMI 200mm and 300mm SECS automation standard interfaces. ",
							 "For process monitoring we provide a real-time graphical view of the process under way in your capital equipment. The graphical monitoring and control module that we build provides key system functionality, such as real-time and historical trend, alarm and event supervision, and data logging capabilities. ",
							 "Our expert engineers create custom applications or use off-the-shelve products to collect process data from capital equipment and save the data for Statistical Process Control (SPC) or any other use.  "
							 );				
				
						
		
function getid(id) {
var i;

		document.getElementById("factory_page").style.display = "none";
		document.getElementById("manufacturing_page").style.display = "none";
		document.getElementById("it_page").style.display = "none";
		document.getElementById("control_page").style.display = "none";		
		
		document.getElementById("firsttab").className = "";
		document.getElementById("secondtab").className = "";
		document.getElementById("thirdtab").className = "";
		document.getElementById("fourthtab").className = "";
		document.getElementById("page_common").style.display = "";		

	if(id == "1") {
		document.getElementById("factory_page").style.display = "block";		
		document.getElementById("firsttab").className = "current";
		document.getElementById("factory_page").innerHTML = "";

		for(i=0;i<factory_title.length;i++) {
			document.getElementById("factory_page").innerHTML = document.getElementById("factory_page").innerHTML+"<li class='current' ><span onmouseover='getdetails("+i+",\"factory\")'> "+factory_title[i]+"</span></li>";
		}				
		document.getElementById("sub_title_common").innerHTML = factory_title[0];
		document.getElementById("sub_desc").innerHTML = factory_desc[0] + " <a href='fcc.php#c0'>Read More..</a>"; 
		document.getElementById("imgchg").style.background = "url(images/building.jpg)"; 
		document.getElementById("imgchg").setAttribute("class", "dyn-img"); 
		document.getElementById("imgchg").setAttribute("className", "dyn-img"); 

	}else if(id=="2") {
		document.getElementById("manufacturing_page").style.display = "block";		
		document.getElementById("secondtab").className = "current";
		document.getElementById("manufacturing_page").innerHTML = "";
		for(i=0;i<manufacturing_title.length;i++) {
			document.getElementById("manufacturing_page").innerHTML = document.getElementById("manufacturing_page").innerHTML+"<li class='current'> <span onmouseover='getdetails("+i+",\"manufacturing\")'>"+manufacturing_title[i]+"</span></li>";
		}
		document.getElementById("sub_title_common").innerHTML = manufacturing_title[0];
		document.getElementById("sub_desc").innerHTML = manufacturing_desc[0] + " <a href='mas.php#c0'>Read More..</a>";;
		document.getElementById("imgchg").style.background = "url(images/building-2.jpg)"; 
		document.getElementById("imgchg").setAttribute("className", "dyn-img-new"); 
		document.getElementById("imgchg").setAttribute("class", "dyn-img-new"); 
		
	}else if(id=="3") {
		document.getElementById("it_page").style.display = "block";		
		document.getElementById("thirdtab").className = "current";
		document.getElementById("it_page").innerHTML = "";
		for(i=0;i<it_title.length;i++) {
			document.getElementById("it_page").innerHTML = document.getElementById("it_page").innerHTML+"<li class='current'> <span onmouseover='getdetails("+i+",\"it\")'>"+it_title[i]+"</span></li>";
		}	
		document.getElementById("sub_title_common").innerHTML = it_title[0];
		document.getElementById("sub_desc").innerHTML = it_desc[0] + " <a href='it_services.php#c0'>Read More..</a>";;
		document.getElementById("imgchg").style.background = "url(images/building-3.jpg)"; 
		document.getElementById("imgchg").setAttribute("class", "dyn-img-new"); 
		document.getElementById("imgchg").setAttribute("className", "dyn-img-new"); 

		
	}else if(id=="4") {
		document.getElementById("control_page").style.display = "block";		
		document.getElementById("fourthtab").className = "current";
		document.getElementById("control_page").innerHTML = "";
		for(i=0;i<control_title.length;i++) {
			document.getElementById("control_page").innerHTML = document.getElementById("control_page").innerHTML+"<li class='current' > <span onmouseover='getdetails("+i+",\"control\")'>"+control_title[i]+"</span></li>";
		}	
		document.getElementById("sub_title_common").innerHTML = control_title[0];
		document.getElementById("sub_desc").innerHTML = control_desc[0] + " <a href='ecm.php#c0'>Read More..</a>";;
		document.getElementById("imgchg").style.background = "url(images/building-4.jpg)"; 
		document.getElementById("imgchg").setAttribute("class", "dyn-img"); 
		document.getElementById("imgchg").setAttribute("className", "dyn-img"); 
		
	}


}



function getdetails(id,arydetails) {

	document.getElementById("page_common").style.display = "";
 
	if(arydetails == "factory") {		
		linkname=id;
		document.getElementById("sub_title_common").innerHTML = factory_title[id];
		 
//		document.getElementById("sub_desc").innerHTML = factory_desc[id];
		if(id==2){
			document.getElementById("sub_desc").innerHTML= factory_desc[id];
		}else{
			document.getElementById("sub_desc").innerHTML= factory_desc[id] + '<a href="fcc.php#c'+linkname+'">Read More..</a>';
			
		}
	} else 	if(arydetails == "manufacturing") {
		linkname=id;
//		linkname=factory_title.indexOf(factory_title[id]);
		document.getElementById("sub_title_common").innerHTML = manufacturing_title[id];
		document.getElementById("sub_desc").innerHTML = manufacturing_desc[id] + '<a href="mas.php#c'+linkname+'">Read More..</a>';
	}else 	if(arydetails == "it") {
		linkname=id;		
//		linkname=factory_title.indexOf(factory_title[id]);
		document.getElementById("sub_title_common").innerHTML = it_title[id];
		if(id==1) {
			document.getElementById("sub_desc").innerHTML = it_desc[id] + '<a href="it_services.php#c'+linkname+'">Read the benifits..</a>';
		}else if(id==3){
			document.getElementById("sub_desc").innerHTML = it_desc[id];	
		}
		else if(id==5){
			document.getElementById("sub_desc").innerHTML = it_desc[id];	
		}		
		else{
			document.getElementById("sub_desc").innerHTML = it_desc[id] + '<a href="it_services.php#c'+linkname+'">Read More..</a>';	

		}
	}else 	if(arydetails == "control") {
		linkname=id;		
	//	linkname=factory_title.indexOf(factory_title[id]);
		document.getElementById("sub_title_common").innerHTML = control_title[id];
		document.getElementById("sub_desc").innerHTML = control_desc[id];
	}
}

/*function getlist(listid) {
	if(listid == 1) {
		if(document.getElementById("innerlist1").style.display == "none") {
			document.getElementById("innerlist1").style.display = "block";
		}else{
			document.getElementById("innerlist1").style.display = "none";
		}
	}
	if(listid == 2) {
		if(document.getElementById("innerlist2").style.display == "none") {
			document.getElementById("innerlist2").style.display = "block";
		}else{
			document.getElementById("innerlist2").style.display = "none";
		}
	}
	if(listid == 3) {
		if(document.getElementById("innerlist3").style.display == "none") {
			document.getElementById("innerlist3").style.display = "block";
		}else{
			document.getElementById("innerlist3").style.display = "none";
		}
	}
	if(listid == 4) {
		if(document.getElementById("innerlist4").style.display == "none") {
			document.getElementById("innerlist4").style.display = "block";
		}else{
			document.getElementById("innerlist4").style.display = "none";
		}
	}
}*/
