function parsec() {
	window.open('http://www.jorlan.com.br/parsec/exclusive/','exclusive','width=705,height=600');
}
	
$(document).ready(

/* Carros Novos */

	function(){
		$('ul#carrosNovos').innerfade({
			speed:				1000,
			timeout:			5000,
			type:				'sequence',
			containerheight:	'250px'
	});

/* Carros Novos */

});


	function MM_openBrWindow(theURL,winName,features) {
		window.open(theURL,winName,features);
	}

	function ajaxPagina(carregando,alvo,url,ch_int,id,abilitado){  
		$( carregando ).ajaxStart(function(){ $(this).show(); $( alvo ).hide(); });
		$( carregando ).ajaxStop(function(){  $(this).hide(); $( alvo ).show(); });
		$.get( url ,{id: id, abilitado: abilitado, ch_int: ch_int},
			function(data) { $( alvo ).empty().html(data); });
		return false;
	}

	function desdobravel(id) {
		var link = 'link' + id + 'Off';
		var elemento = document.getElementById(link);
		if (elemento.className == "linkMenos")
		{
			$('#div' + id).show("fast");
			elemento.className = "linkMais";
		}
		else if (elemento.className == "linkMais")
		{
			$('#div' + id).slideUp("fast");
			elemento.className = "linkMenos";
		}
	}
	
	function desdobravel2(id) {
		var link		= 'link' + id + 'Off';
		var elemento	= document.getElementById(link);
		var classMenos	= id + 'Menos';
		var classMais	= id + 'Mais';
		if (elemento.className == classMenos)
		{
			$('#div' + id).show("fast");
			elemento.className = classMais;
		}
		else if (elemento.className == classMais)
		{
			$('#div' + id).slideUp("fast");
			elemento.className = classMenos;
		}
	}
	
function enviarMenDiv(id,men){
  document.getElementById(id).innerHTML = men;
}

function enviarFormThis(value,form,url){
  document[form].action = url;
  document.forms[form].submit();
}

function enviarForm(form,url){
  document[form].action = url;
  document.forms[form].submit();
}

function abrirDiv2(div) {
  document.getElementById(div).className = "block";
}

function fecharDiv2(div) {
  document.getElementById(div).className = "none";
}

function abrirDiv(div) {
  document.getElementById(div).className += "block";
}

function fecharDiv(div) {
  document.getElementById(div).className += "none";
}

function enviarFormLoad(load,form,url){
  abrirDiv(load);
  enviarForm(form,url);
}	
