// JavaScript Document
// archivo .js de google analytics que proporciona informacion 
//sobre el tráfico del sitio web y la eficacia del plan de marketing 


//AQUI SE AGREGARA CODIGO SCRIPT QUE SE DEBERIA INCLUIR EN TODAS LAS PAGINAS

/*
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-10100826-4");
pageTracker._trackPageview();
} catch(err) {}</script>
*/


// aqui se incluye el archivo js de google en la pagina que llama a este js 
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));

/*******************VARIABLES DE DIFERENTES PERFILES QUE SE ESTAN PROBANDO *************************/
var idRecargas="UA-10100826-2";
var idDefault="UA-1721320-11";
var idPrueba="UA-10100826-1";
var idPrueba2="UA-10100826-4";
var idPrueba5="UA-10100826-5";
/*******************VARIABLES DE DIFERENTES PERFILES QUE SE ESTAN PROBANDO *************************/

//aqui la funcion que ejecuta el js de google
function GoogleAnalytics(id){
	try{
		var pageTracker = _gat._getTracker(id);
		pageTracker._trackPageview();
	}catch(err){}
}

function GoogleAnalyticsPrueba(){
	try{
		GoogleAnalytics(idPrueba);//google analytics prueba rmaureira para miscuentas
	}catch(err) {}
}

function GoogleAnalyticsDefault(){
	try{
		GoogleAnalytics(idDefault);//google analytics de miscuentas
	}catch(err) {}
}

function GoogleAnalyticsRecargas(){
	try{
		GoogleAnalytics(idRecargas);//google analytics prueba rmaureira para miscuentas.com/recargas.asp
	}catch(err) {}
}

function GoogleAnalyticsPrueba2(){
	try{
		GoogleAnalytics(idPrueba2);//google analytics prueba rmaureira para miscuentas.com/pruebaJS/index.asp
	}catch(err){}
}

function GoogleAnalyticsPrueba5(){
	try{
		GoogleAnalytics(idPrueba5);//google analytics prueba rmaureira para miscuentas.com/login.asp
	}catch(err){}
}

