﻿anim1 = new Image();
anim1.src = 'images/anim-pic.gif';
anim2 = new Image();
anim2.src = 'images/animtext.gif';
anim3 = new Image();
anim3.src = 'images/slides_text_blank_2.jpg';

de1 = new Image();
de1.src = 'images/de_slide_1.jpg';
//	de2 = new Image();
//	de2.src = 'images/de_slide_2.jpg';
mr1 = new Image();
mr1.src = 'images/mr_slide_1.jpg';
//	mr2 = new Image();
//	mr2.src = 'images/mr_slide_2.jpg';
ip1 = new Image();
ip1.src = 'images/ip_slide_1.jpg';
//	ip2 = new Image();
//	ip2.src = 'images/ip_slide_2.jpg';
pw1 = new Image();
pw1.src = 'images/pw_slide_1.jpg';
//	pw2 = new Image();
//	pw2.src = 'images/pw_slide_2.jpg';

function flip(slide) {
	document.getElementById('slide2').src = anim3.src;
	switch (slide) {

		case 'de':
			document.getElementById('slide1').src = de1.src;
			document.getElementById('slide_text').innerHTML = 'Telpro’s engineering department offers a complete engineering solution tailored to the clients needs. The engineering solution encompasses the entire process from site acquisition, engineering layout and design, to material lists and installation specification instructions. Before the installation begins a quality map and design of the project is laid out for the rest of the process';
			break;

		case 'mr':
			document.getElementById('slide1').src = mr1.src;
			document.getElementById('slide_text').innerHTML = 'Telpro is equipped to continue to provide quality service even after the project is complete to the customer satisfaction. We are able to maintain engineering and equipment records updating to the latest on site specifications. We provide onsite 24 hr equipment servicing and repair to keep the customer online. When needed we can remove legacy or end of life equipment to make room for growth.';
			break;

		case 'ip':
			document.getElementById('slide1').src = ip1.src;
			document.getElementById('slide_text').innerHTML = 'Our project management monitors the progress of all projects, each step of the way. Our experienced staff will work to complete the project timely and within or exceeding industry standards. The customer can determine the project progress through our web based self server system.';
			break;

		case 'pw':
			document.getElementById('slide1').src = pw1.src;
			document.getElementById('slide_text').innerHTML = 'The Telpro procurement team has field experience which gives them first hand knowledge of the parts they order. We have developed a quality list of vendors so we can provide the customer the best product and the best pricing possible. Controlling our own warehouse allows Telpro more flexibility to furnish the project in a timely manner. ';
			break;
	}
}
function slide_out() {
	document.getElementById('slide_text').innerHTML = '';
	document.getElementById('slide1').src = anim1.src;
	document.getElementById('slide2').src = anim2.src
}
