

<script>
/******************************************************/
/****   Script desenvolvido por Thiago Tomais    *****/
/****************************************************/
/*  Cuidado com a barra no final do end. do seu  ***/
/* site!  Ela deve permanecer (/)              ****/
/*************************************************/
/******       thiagotomais@bol.com.br      ******/
/***********************************************/
/**** Esse script detecta e redireciona *******/
/**** automaticamente o usurio e tem a ******/
/***** opo de exibir ou no uma   *********/
/***** mensagem avisando sobre a ao ******/
/*****             do mesmo!        *******/                 
/*****************************************/
/**** Testado apenas no Int.Explorer 6 **/
/***************************************/

var site="http://www.SEU*SITE.com/"

/* VALORES = liga ou desliga */

var alerta="desliga" 

if (screen.width==1280 && screen.height==1024)
{this.location=site + '1280x1024.html'}

if (screen.width==1280 && screen.height==960)
{this.location=site + '1280x960.html'}

if (screen.width==1280 && screen.height==768)
{this.location=site + '1280x768.html'}

if (screen.width==1280 && screen.height==720)
{this.location=site + '1280x720.html'}

if (screen.width==1152 && screen.height==864)
{this.location=site + '1152x864.html'}

if (screen.width==1024 && screen.height==768)
{top.location=site + '1024x768.html'}

if (screen.width==848 && screen.height==480)
{this.location=site + '848x480.html'}

if (screen.width==800 && screen.height==600)
{this.location=site + '800x600.html'}

if (screen.width==640 && screen.height==480)
{this.location=site + '640x480.html'}

if (alerta=='liga'){
alert ('Suas configuraes de vdeo foram detectadas com xito: '+screen.width+''+screen.height+' pixels\n\nRedirecionando ...')}
else {}

</script> 