//------------------------------------------------------------------------------------------------------
function goToHome(){
	document.location.href = "";
}
//------------------------------------------------------------------------------------------------------

//------------------------------------------------------------------------------------------------------
function goToPagina(pag){
	document.location.href = "?kpag=" + pag;
}
//------------------------------------------------------------------------------------------------------

//------------------------------------------------------------------------------------------------------
function goToPagina2(cat, op){
	document.location.href = "?cat=" + cat + "&op=" + op;
}
//------------------------------------------------------------------------------------------------------

//------------------------------------------------------------------------------------------------------
function goToPaginaPaga(cat, op, tpg){
	document.location.href = "?cat=" + cat + "&op=" + op + "&tpg=" + tpg;
}
//------------------------------------------------------------------------------------------------------

//------------------------------------------------------------------------------------------------------
function goToPaginaPeskisar(cat, op, txtPesk){
	document.location.href = "?cat=" + cat + "&op=" + op + "&search=" + txtPesk;
}
//------------------------------------------------------------------------------------------------------

//------------------------------------------------------------------------------------------------------
function goToPagPaginar(cat, op, numP){
	document.location.href = "?cat=" + cat + "&op=" + op + "&pagN=" + numP;
}
//------------------------------------------------------------------------------------------------------


//------------------------------------------------------------------------------------------------------
function goToPaginaRemCarro(cat, op, idR){
	document.location.href = "?cat=" + cat + "&op=" + op + "&idRem=" + idR;
}
//------------------------------------------------------------------------------------------------------

//------------------------------------------------------------------------------------------------------
function goToPaginaPromos(cat, op, tipo, numP){
	document.location.href = "?cat=" + cat + "&op=" + op + "&art=" + tipo + "&pagN=" + numP;
}
//------------------------------------------------------------------------------------------------------


//------------------------------------------------------------------------------------------------------
function goToDetalhesT(idTelem){
	var url  = "./Paginas/Telemoveis/Detalhes.php" + "?idTelem=" + idTelem;
	var prop = "width=680, height=600, top=10, left=10, scrollbars=yes, status=yes";
	
	var janelaDetTelem = window.open(url,'detalhes',prop);
	janelaDetTelem.focus();
}
//------------------------------------------------------------------------------------------------------

//------------------------------------------------------------------------------------------------------
function goToDetalhes_AC(kual, idEkip){
	var url  = "./Paginas/Detalhes_AC.php" + "?idEkip=" + idEkip + "&kual=" + kual;
	var prop = "width=680, height=500, top=10, left=10, status=yes";
	
	var janelaDetTelem = window.open(url,'detalhes',prop);
	janelaDetTelem.focus();
}
//------------------------------------------------------------------------------------------------------


//------------------------------------------------------------------------------------------------------
function goToPagFiltro_01(cat, op, idMC){
	document.location.href = "?cat=" + cat + "&op=" + op + "&mcfilter=" + idMC;
}
//------------------------------------------------------------------------------------------------------

//------------------------------------------------------------------------------------------------------
function goToPagFiltro_02(cat, op, idMC, idMD){
	document.location.href = "?cat=" + cat + "&op=" + op + "&mcfilter=" + idMC + "&mdfilter=" + idMD;
}
//------------------------------------------------------------------------------------------------------

//------------------------------------------------------------------------------------------------------
function goToPaginarFiltro_02(cat, op, idMC, idMD, numP){
	document.location.href = "?cat=" + cat + "&op=" + op + "&mcfilter=" + idMC + "&mdfilter=" + idMD + "&pagN=" + numP;
}
//------------------------------------------------------------------------------------------------------


//------------------------------------------------------------------------------------------------------
function goToPaginaPesquisa(cat, op, tipo, numP, oke){
	document.location.href = "?cat=" + cat + "&op=" + op + "&art=" + tipo + "&pagN=" + numP + "&search=" + oke;
}
//------------------------------------------------------------------------------------------------------

