<!--//hidden

// Navigator
var agt=navigator.userAgent.toLowerCase();

var is_major = parseInt(navigator.appVersion);
var is_minor = parseFloat(navigator.appVersion);

var is_ns  = ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('spoofer')==-1) && (agt.indexOf('compatible') == -1) && (agt.indexOf('opera')==-1) && (agt.indexOf('webtv')==-1));
var is_ns2 = (is_ns && (is_major == 2));
var is_ns3 = (is_ns && (is_major == 3));
var is_ns4 = (is_ns && (is_major == 4));
var is_ns4up = (is_ns && (is_major >= 4));
var is_ns5 = (is_ns && (is_major == 5));
var is_ns5up = (is_ns && (is_major >= 5));

var is_ie   = (agt.indexOf("msie") != -1);
var is_ie3  = (is_ie && (is_major < 4));
var is_ie4  = (is_ie && (is_major == 4) && (agt.indexOf("msie 5.0")==-1) && (agt.indexOf("msie 5.5")==-1));
var is_ie4up  = (is_ie  && (is_major >= 4));
var is_ie5  = (is_ie && (is_major == 4) && (agt.indexOf("msie 5.0")!=-1) || (agt.indexOf("msie 5.5")!=-1));
var is_ie5up  = (is_ie  && !is_ie3 && !is_ie4);

var is_aol   = (agt.indexOf("aol") != -1);
var is_aol3  = (is_aol && is_ie3);
var is_aol4  = (is_aol && is_ie4);

var is_opera = (agt.indexOf("opera") != -1);
var is_webtv = (agt.indexOf("webtv") != -1);

// Platform
var is_win   = ( (agt.indexOf("win")!=-1) || (agt.indexOf("16bit")!=-1) );
var is_win95 = ((agt.indexOf("win95")!=-1) || (agt.indexOf("windows 95")!=-1));
var is_win16 = ((agt.indexOf("win16")!=-1) || (agt.indexOf("16bit")!=-1) || (agt.indexOf("windows 3.1")!=-1) || (agt.indexOf("windows 16-bit")!=-1) );
var is_win31 = ((agt.indexOf("windows 3.1")!=-1) || (agt.indexOf("win16")!=-1) || (agt.indexOf("windows 16-bit")!=-1));

var is_win98 = ((agt.indexOf("win98")!=-1) || (agt.indexOf("windows 98")!=-1));
var is_winnt = ((agt.indexOf("winnt")!=-1) || (agt.indexOf("windows nt")!=-1));
var is_win32 = (is_win95 || is_winnt || is_win98 || ((is_major >= 4) && (navigator.platform == "Win32")) || (agt.indexOf("win32")!=-1) || (agt.indexOf("32bit")!=-1));

var is_os2   = ((agt.indexOf("os/2")!=-1) || (navigator.appVersion.indexOf("OS/2")!=-1) || (agt.indexOf("ibm-webexplorer")!=-1));

var is_mac= (agt.indexOf("mac")!=-1);
var is_mac68k = (is_mac && ((agt.indexOf("68k")!=-1) || (agt.indexOf("68000")!=-1)));
var is_macppc = (is_mac && ((agt.indexOf("ppc")!=-1) || (agt.indexOf("powerpc")!=-1)));



// Detect IE 4.5 on the mac
// Problemos con este browser
var is_ie45mac  = (is_mac && is_ie && (agt.indexOf("msie 5.0")==-1) && (agt.indexOf("msie 5.5")==-1) && (agt.indexOf("msie 4.5")!=-1));


// Screen Resolution
var clientWidth = (window.screen.width);

var clientHeight = (window.screen.Height);


// Flash 3, 4 ,5 & 6 Detection
var is_flash6 = 0;
var is_flash5 = 0;
var is_flash4 = 0;
var is_flash3 = 0;


if (navigator.plugins["Shockwave Flash"]) {

	var plugin_version = 0;
	var plugin_description = navigator.plugins["Shockwave Flash"].description.split(" ");


	for (var i = 0; i < plugin_description.length; ++i) {

	if (isNaN(parseInt(plugin_description[i])))

	continue;

	plugin_version = plugin_description[i];

		}
	}

	if (plugin_version >= 6) {

	is_flash6 = 1;


	} 

	if (plugin_version >= 5) {

	is_flash5 = 1;


	} 


	if (plugin_version >= 4) {

	is_flash4 = 1;


	}	


	if (plugin_version >= 3) {

	is_flash3 = 1;


	}


if (is_ie && is_win32) { // Check IE on windows for flash 3, 4, 5 & 6 using VB Script

	document.write('<SCRIPT LANGUAGE="VBScript"\>\n');
	document.write('on error resume next\n');
	document.write('is_flash6 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.6")))\n');
	document.write('on error resume next\n');
	document.write('is_flash5 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.5")))\n');
	document.write('on error resume next\n');
	document.write('is_flash4 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.4")))\n');
	document.write('on error resume next\n');
	document.write('is_flash3 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.3")))\n');
	document.write('<'+'/SCRIPT> \n');
}


// Layer Functions (show, hide and move)
// Works with all 4.0 and up browsers
// Netscape/Mozilla 6.0 Compatable
/////////////////////////////////////////


var layerRef = '';

var styleRef = '';



if (is_ns5up || is_ie5up) {

	layerRef = 'document.getElementById';

	styleRef = '.style';


} else if (is_ns4) {

	layerRef = 'document.layers';

	styleRef = '';


} else {

	layerRef = 'document.all';

	styleRef = '.style';
	
}


function showLayer(theLayer) {

	if (is_ns5up || is_ie5up) {

	eval(layerRef + '("' +theLayer+ '")' + styleRef + '.visibility="visible"');


	} else {


	eval(layerRef + '["' +theLayer+ '"]' + styleRef + '.visibility="visible"');

	}
}


function hideLayer(theLayer) {

	if (is_ns5up || is_ie5up) {

	eval(layerRef + '("' +theLayer+ '")' + styleRef + '.visibility="hidden"');


	} else {


	eval(layerRef + '["' +theLayer+ '"]' + styleRef + '.visibility="hidden"');

	}
}



function moveLayer(theLayer,L,T) {


	if (is_ns4) {


	eval(layerRef + '["' +theLayer+ '"]' + styleRef + '.moveTo(L,T)');


	} else if (is_ns5up || is_ie5up) {


	eval(layerRef + '("' +theLayer+ '")' + styleRef + '.left=L');

	eval(layerRef + '("' +theLayer+ '")' + styleRef + '.top=T');


	} else {


	eval(layerRef + '["' +theLayer+ '"]' + styleRef + '.pixelLeft=L');

	eval(layerRef + '["' +theLayer+ '"]' + styleRef + '.pixelTop=T');
	
	}
}


// Netscape Resize Fix
function resizeFix() {

	if (widthCheck != window.innerWidth || heightCheck != window.innerHeight) {

	document.location.href = document.location.href;

	}
}

if (is_ns4) {

	widthCheck = window.innerWidth;

	heightCheck = window.innerHeight;

	window.captureEvents(Event.RESIZE);

	window.onResize = resizeFix;
}


// Status Bar Massage
function statusBar(msg) {

	window.status = msg;

	return true;

}



// Pop Up Window
function openWin(theURL,winName,features) {

	newWin = window.open(theURL,winName,features);
	
}
if (is_flash5 == 0) {
	location="/noflash.htm";
}

//-->

// -->