var Oldimage //String that's going to hold the old image in the Monitor guide
var PageData //String that has the last modified date and the copyright

// Assign the last modified date to the variable lastmoddate
var lastmoddate = document.lastModified;

// Create an if statement to test the value of lastmoddate
if(lastmoddate == 0)  { 
var pageData = "Lastmodified: Unknown<br>&copy; 2005-2006 Copyright EZ Solutions";
}
else  {
	var pageData = "<font class=\"copyrightText\">Lastmodified:" + lastmoddate + "<br>&copy; 2005-2007 Copyright EZ Solutions<br> Site designed by the Technology and Design Division</font>";
}


// function to turn on rolled over graphic
function Changepic(pic, newimage)  {
	if (document.images)  {
	Oldimage=document.images[pic].src
		document.images[pic].src=eval(newimage + ".src") ; //Coupon.src ;
	}
}

// function to turn off rolled over graphic
function Goback()  {
	if(document.images)  {
		document.Monitorimage.src=Oldimage ;//"images/Monitor guides/Home.jpg";
    }
}

function popUp(url){
	newWindow = window.open(url,'splash','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=650,height=600,left=25,top=25');
	newWindow.focus();
	}
var defaulttext = '';
function cleartext() {
if (defaulttext == '') {
document.forms['formtest'].formtext.value = '';
defaulttext = 'No'
}
}
var searchmethod = '';
emailValue = new String ('0-diagnostico-1-computacion-1-tecnologia-2-promociones-3-noticias-4-servicios-5-biblioteca-6-tutoriales-7-antivirus-8-tutoria-9-ezinfo-');
keywordlist = new Array(10);
keywordlist[0] = 'http://www.ezsolutions-ny.com/goez/Diagnostics.html';
keywordlist[1] = 'http://www.ezsolutions-ny.com/goez/EZRepair.html';
keywordlist[2] = 'http://www.ezsolutions-ny.com/goez/WebPromotions.html';
keywordlist[3] = 'http://www.ezsolutions-ny.com/goez/PCNews.html';
keywordlist[4] = 'http://www.ezsolutions-ny.com/goez/Services.html';
keywordlist[5] = 'http://www.ezsolutions-ny.com/goez/PCNews-QueensWireless.htm';
keywordlist[6] = 'http://www.ezsolutions-ny.com/goez/tutorials.html';
keywordlist[7] = 'http://www.ezsolutions-ny.com/goez/OnlineAntivirus.htm'
keywordlist[8] = 'http://www.ezsolutions-ny.com/goez/pctutoring.html'
keywordlist[9] = 'http://www.ezsolutions-ny.com/goez/EZInfo.htm'

function testing() {
var nettext = "-" + document.forms['formtest'].formtext.value.toLowerCase() + "-" ;
		emailhasit = emailValue.indexOf(nettext);
		var strlength = emailValue.length;		
	if (emailhasit == -1) {
	alert('Palabra clave no encontrada\rRevisela e intente de nuevo.');
	}
	else {
	var keynumber = emailValue.substr(--emailhasit,1)
	document.location = keywordlist[keynumber];

	//document.forms['formtest'].formtext.value = keywordlist[keynumber];
	}
}
function ChangeSearchmethod(Whichone) {
var Keywordsearch
var Googlessearch
Keywordsearch = document.getElementById('keywordlayer1');
Googlessearch = document.getElementById('googlesearch');
if (Whichone == "google") {
	Keywordsearch.style.visibility = "hidden";
	Googlessearch.style.visibility = "visible";
	}
	else {	
		Keywordsearch.style.visibility = "visible";
		Googlessearch.style.visibility = "hidden"
	
	}
}
function ChangeSearchmethod2(Whichone) {
var Keywordsearch
var Googlessearch
Keywordsearch = document.getElementById('keywordlayer2');
Googlessearch = document.getElementById('googlesearch2');
if (Whichone == "google") {
	Keywordsearch.style.visibility = "hidden";
	Googlessearch.style.visibility = "visible";
	}
	else {	
		Keywordsearch.style.visibility = "visible";
		Googlessearch.style.visibility = "hidden"
	}
}


var urlAddress = 'http://www.ezsolutions-ny.com/goez/ezinfo.htm'; 
var pageName = 'Busqueda en general con EZ Info de EZ Solutions'; 
function addTofavorites() { 
if (window.external) { 
window.external.AddFavorite(urlAddress,pageName) 
} else if (window.sidebar) { 
window.sidebar.addPanel(pageName, urlAddress,""); 
}
}

var TechURL = 'EZRepair.html'