var CurrentURL = location.href;

if (CurrentURL.indexOf('Type=10') != -1)
{
	var section = 'simuladores';
}
else if (CurrentURL.indexOf('Type=12') != -1)
{
	var section = 'clasicos';
}
else if (CurrentURL.indexOf('Type=1') != -1)
{
	var section = 'accion';
}
else if (CurrentURL.indexOf('Type=2') != -1)
{
	var section = 'estrategia';
}
else if (CurrentURL.indexOf('Type=4') != -1)
{
	var section = 'deportes';
}
else if (CurrentURL.indexOf('Type=5') != -1)
{
	var section = 'puzzles';
}
else if (CurrentURL.indexOf('Type=7') != -1)
{
	var section = 'arcade';
}
else if (CurrentURL.indexOf('Type=99') != -1)
{
	var section = 'todos';
}
else if (CurrentURL.indexOf('enlinea') != -1)
{
	var section = 'enlinea';
}
else if (CurrentURL.indexOf('intIdGame') != -1)
{
	var section = 'game';
}
else if ((CurrentURL == 'http://juegos.univision.com/en/') | (CurrentURL == 'http://juegos.univision.com/sp/'))
{
	var section = 'homepage';
}
else
{
	var section = 'none';
}


if (CurrentURL.indexOf('/en/') != -1)
{
	var language = 'en';
}
else {
	var language = 'sp';
}

	var width = 770;
	
if (section == 'enlinea') {
	var height = 289;
}
else {
	var height = 295;
}
