// JavaScript Document

var Picture = new Array();
Picture[1]  = '/imagens/top_foto1.jpg';
Picture[2]  = 'img/top_foto4.gif';
Picture[3]  = '/imagens/top_foto3.jpg';
Picture[4]  = 'img/top_foto6.gif';
Picture[5]  = '/imagens/top_foto5.jpg';
Picture[6]  = 'img/top_foto8.gif';
Picture[7]  = '/imagens/top_foto7.jpg';
Picture[8]  = 'img/top_foto2.gif';

var tss;
var iss;
var jss = 1;
var pss = Picture.length-1;


var preLoad = new Array();
for (iss = 1; iss < pss+1; iss++) {
	preLoad[iss] = new Image();
	preLoad[iss].src = Picture[iss];
}


function runSlideShow() {

	var SlideShowSpeed = 4000;
	var CrossFadeDuration = 3;
	
	if (document.all) {
		document.images.slide.style.filter="blendTrans(duration=CrossFadeDuration)";
		document.images.slide.filters.blendTrans.Apply();
	}
	document.images.slide.src = preLoad[jss].src;
	if (document.all) document.images.slide.filters.blendTrans.Play();
	jss = jss + 1;
	if (jss > (pss)) jss=1;
	tss = setTimeout('runSlideShow()', SlideShowSpeed);

return;
}


function rollovergif(nomeimagem) {
	imagem = new Image();
	imagem.src = "img/"+nomeimagem+"_over.gif";
	if (((navigator.appName == "Microsoft Internet Explorer") &&
		(navigator.appVersion >= "4")) || ((navigator.appName == "Netscape") &&
		(navigator.appVersion >= "3"))) {
			document [nomeimagem].src = imagem.src;
	}
}

function rolloutgif(nomeimagem) {
	
	imagem = new Image();
	imagem.src = "img/"+nomeimagem+".gif";
	if (((navigator.appName == "Microsoft Internet Explorer") &&
		(navigator.appVersion >= "4")) || ((navigator.appName == "Netscape") &&
		(navigator.appVersion >= "3"))) {
			document [nomeimagem].src = imagem.src;
	}

}


function rolloverhome(op) {
	
	clrop();
	rollovergif(op);
	
	var msg = getboxhome(op);
	document.getElementById("home_box").innerHTML=msg;
	
	return;

}


function getboxhome(op) {
	
	if ( op == "bt_rh" ) {
		
	 return "<span style='font-size:18px; color:#370F89'>HR</span><BR><BR><li>How can you attract and retain talented  employees?</li><BR><li>How can you develop a &lsquo;high performance&rsquo; environment in your company?</li><BR><li>What are the main factors that influence the  'mood' in your organization?</li><BR><li>Are the training courses effective? Do they  add value?</li>";
	
	} if ( op == "bt_marketing" ) {
		
	 return "<span style='font-size:18px; color:#370F89'>Marketing</span><BR><BR><li>Is your portfolio of brands and products competitive?</li><br><li>How can you improve perceived price without reducing your price?</li><br><li>What is the influence of the brand on customers&rsquo; perception of value?</li><br><li>What are the key attributes that need to be communicated?</li><br><li>What can be done to make the relationship and loyalty programs more efficient and more effective?</li>";
	
	} if ( op == "bt_trademarketing" ) {

	 return "<span style='font-size:18px; color:#370F89'>Trade Marketing</span><BR><BR><li>Does your company manage to communicate the differentials and benefits of its brands and products at the points of sale?</li><br><li>Are your products competitively positioned at the points of sale?</li><br><li>Apart from financial incentives, what can be done to encourage retailers salesmen to recommend your company&rsquo;s brands and  products?</li><br><li>Are your company&rsquo;s sales promoters adding  value?</li>";
	
	} if ( op == "bt_vendas" ) {
		
		return "<span style='font-size:18px; color:#370F89'>Sales</span><BR><BR><li>How can your company become more competitive and add more value to your customers without increasing your costs?</li><BR><li>How can customers be segmented and programs be developed to generate profitable growth?</li><BR><li>What should be the sales team&rsquo;s priorities  for improving relationships with customers?</li><BR><li>How is your company positioned comparing to  the competition, in the credit support and logistics areas?</li>";
		
	} if  (op == "bt_novosprodutos" ) {
		
		return "<span style='font-size:18px; color:#370F89'>New Products</span><BR><BR><li>Which attributes does the market give most  value to? What are the best opportunities?</li><BR><li>Which is the best brand / product from the  customer&rsquo;s point of view? Why?</li><BR><li>Is there any room to improve the current  products, or is it really necessary to innovate?</li>";
	
	} if ( op == "bt_sac" ) {
		
		return "<span style='font-size:18px; color:#370F89'>SAC / Call Center</span><BR><BR><li>How can you improve service and reduce costs at the same time?</li><BR><li>What is the impact of service on the  perception of value and customer loyalty?</li><BR><li>Does the current service level meet customer  expectations?</li>";
		
	} if (op == "bt_gestaodaqualidade" ) {
		
		return "<span style='font-size:18px; color:#370F89'>6 Sigma Quality</span><BR><BR><li>How can  engineering, marketing and sales be aligned with the customer&rsquo;s vision?</li><BR><li>Which processes need to be improved?</li><BR><li>How can suppliers be involved in the customer&rsquo;s perceived quality process?</li><BR><li>What can be  done so that your&nbsp; company&rsquo;s 6 Sigma  Quality Program helps to increase not only productivity, but also market share?</li>";
	
	} if ( op == "bt_assistencia" ) {
		
		return "<span style='font-size:18px; color:#370F89'>Technical Assistance</span><BR><BR><li>What is the impact of technical assistance on the perception of the product?</li><BR><li>How can an excellent service level be achieved at a competitive cost?</li><BR><li>What are the strong and weak points of your competitors technical assistance?</li>"; 
		
	} if ( op == "bt_logistica" ) {
		
		return "<span style='font-size:18px; color:#370F89'>Logistics</span><BR><BR><li>Is the current logistics process competitive?</li><BR><li>What is the impact of logistics on your  customers&rsquo; perception of value?</li><BR><li>How can an excellent service level (delivery  lead-time, flexible programming) be achieved at a competitive cost?</li><BR><li>What are the strong and weak points of your competitors logistics?</li>"; 
		
	}
	
	return "<span style='font-size:18px; color:#370F89'>Strategic Planning</span><br /><ul><li>What is to be done to increase the company&rsquo;s market share and profitability?</li><li>Does your company have an effective strategy for attracting and retaining customers?</li><li>Does your company provide customers with better value than your competitors?</li><li>What are the main cost and benefit attributes that your company needs to focus on in its improvement program?</li><li>Do the company&rsquo;s employees understand and agree with how they can contribute to improving the perceived value of products and services?</li></ul>";

}


function clrop() {

	rolloutgif("bt_assistencia");
	rolloutgif("bt_rh");
	rolloutgif("bt_marketing");
	rolloutgif("bt_trademarketing");
	rolloutgif("bt_vendas");
	rolloutgif("bt_novosprodutos");
	rolloutgif("bt_sac");
	rolloutgif("bt_gestaodaqualidade");
	rolloutgif("bt_logistica");
	rolloutgif("bt_planejamento");

	return;
	
}

function msgidioma(msg) {
	
	document.getElementById("idiomas_msg").innerHTML="&nbsp" + msg + "&nbsp";
	if (msg) { document.getElementById("idiomas_msg").style.visibility="visible"; }
	else {document.getElementById("idiomas_msg").style.visibility="hidden"; }
	
	return;
}


