	hs.graphicsDir = 'Scripts/highslide/graphics/';
	hs.align = 'center';
	hs.transitions = ['expand', 'crossfade'];
	hs.showCredits = false;
	hs.outlineType = 'rounded-white';
	hs.fadeInOut = true;
	hs.dimmingOpacity = 0.75;
	hs.flushImgSize = true;
	hs.allowSizeReduction = false;
	hs.marginTop = 80;
	hs.lang = {
		loadingText : 'Carregando...',
		loadingTitle : 'Clique para cancelar',
		focusTitle : 'Clique para trazer para frente',
		fullExpandTitle : 'Expandir para o tamanho normal',
		creditsText : 'Powered by <i>Highslide JS</i>',
		creditsTitle : 'Go to the Highslide JS homepage',
		previousText : 'Anterior',
		nextText : 'Proximo', 
		moveText : 'Mover',
		closeText : 'Fechar', 
		closeTitle : 'Fechar (esc)', 
		resizeTitle : 'Redimesionar',
		playText : 'Play',
		playTitle : 'Play slideshow (Barra de espaço)',
		pauseText : 'Pause',
		pauseTitle : 'Pause slideshow (Barra de espaço)',
		previousTitle : 'Anterior (Seta esquerda)',
		nextTitle : 'Proximo (Seta Direita)',
		moveTitle : 'Mover',
		fullExpandText : 'Tamanho Total',
		number: 'Imagem %1 of %2',
		restoreTitle : 'Clique para fechar, clique e arraste para mover.'
	};
	// Add the controlbar
	if (hs.addSlideshow) hs.addSlideshow({
		slideshowGroup: 'group1',
		interval: 5000,
		repeat: false,
		useControls: true,
		fixedControls: true,
		overlayOptions: {
			opacity: 1,
			position: 'top center',
			hideOnMouseOut: true
		}
	});
	function Franquia(){
		var newIndex = document.getElementById('combo_franquia').selectedIndex; 
		if (newIndex > 0) { 
			cururl =  document.getElementById('combo_franquia').options[newIndex].value;
			document.location.assign('./onde_estamos_detalhes.asp?id='+cururl);
		} 
		return false;
	}
function flash(file, width, height, tipo){
	document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0' width='" + width + "' height='" + height + "'>");
	document.write("<param name='wmode' value='transparent'>");
	document.write("<param name='movie' value='" + file + "'>");
	document.write("<param name='quality' value='high'>");
	document.write("<param name='flashVars' value='tipo="+ tipo +"'>");
	document.write("<embed wmode='transparent' src='" + file + "' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='" + width + "' height='" + height + "' flashVars='tipo=" + tipo + "'></embed>");
	document.write("</object>");
}
function ClearInput(value, id){ 
	var input = document.getElementById(id);
	if(value == input.value){ 
			input.value = '';
		}else{ 
			input.value = input.value; 
	} 
}
function jumpURL(obj,url){
	if(obj.selectedIndex > 0){
		document.location.assign('./'+url+'?f='+obj.options[obj.selectedIndex].value);
	}
	return false;
}


