// JavaScript Setcode fundaments for performance
//Laid Jose Antenor Gomez Jaramillo - Not Remove Copyright - solved for dean.edwards
/*if(document.addEventListener){
	document.addEventListener('DOMContentLoaded',domready,false);
		}
function domready(){
	}
*/

//with Jquery
$(document).ready(function(){
	var myimages=new Array()
	var imgchecker = screen.colorDepth;
	function preloadimages(){
		for (i=0;i<preloadimages.arguments.length;i++){
				myimages[i]=new Image()
				myimages[i].src=preloadimages.arguments[i]
			}
		}
		
	function GEBI(id){
		return document.getElementById(id);
			} 	
	MM_preloadImages('');
	preloadimages('');
	$('div.logo').click(function(){window.location='index.cfm'});
	$('#newsinput').click(function(){ GEBI('newsinput').value='';});
	$('#newsinput').blur(function(){ GEBI('newsinput').value='enter your Email';});
	$('#newsinput_es').click(function(){ GEBI('newsinput_es').value='';});
	$('#newsinput_es').blur(function(){ GEBI('newsinput_es').value='Ingrese su Email';});
	$('img.got').mouseover(function(){ this.src='images/bt_go_over.gif';});
	$('img.got').mouseout(function(){ this.src='images/bt_go.gif';});
	});

