function validateform(theform) {
	allclear = 1;
	if(theform.firstname.value==""){
		alert('Escribe tu nombre.');
		theform.firstname.focus();
		allclear = 0;
		return;
	}
	
	if(theform.lastname.value==""){
		alert('Escribe tu apellido.');
		theform.lastname.focus();
		allclear = 0;
		return;
	}
	
	if(theform.homephone1.value == "" || theform.homephone2.value == "" || theform.homephone3.value == ""){
		alert('Escribe tu n\u00FAmero telef\u00F3nico de casa.');
		theform.homephone1.focus();
		allclear = 0;
		return;
	}
	
	if(theform.state.value==""){
		alert('Selecciona tu estado.');
		theform.state.focus();
		allclear = 0;
		return;
	}
	
	if(theform.best_time.value==""){
		alert('Favor de seleccionar el mejor horario para comunicarse contigo');
		theform.best_time.focus();
		allclear = 0;
		return;
	}

	sChecked = false;
	for (var i=0; i < theform.best_number.length; i++) {
		if (theform.best_number[i].checked) {
			sChecked = true;
			sCheckedValue = theform.best_number[i].value;
		}
	}
	
	if(sChecked == false){
		alert('Selecciona el n\u00FAmero al que deseas que te llamemos.');
		theform.best_number[0].focus();
		allclear = 0;
		return;
	}
	else{
		if(sCheckedValue == "Other"){
			if(theform.otherphone1.value == "" || theform.otherphone2.value == "" || theform.otherphone3.value == ""){
				alert('Escribe el n\u00FAmero alternativo al que deseas que te llamemos.');
				theform.otherphone1.focus();
				allclear = 0;
				return;
			}
		}
	}	

	if(allclear==1){
		theform.submit();
		return;
	}
	
}


// ************************************************************** \\

var ProductList = new Array();

function GetProdInfo()
{
	var prodcode = GetQueryStringValue("prod");
	var objProduct = new Object();
	var state = GetState(false);

	// make product info
	SetupProductList(state);
	
	// find the ID correspoding with the current product
	var prodID = GetProductID(prodcode);

	 
		objProduct.name = ProductList[prodID].Name;
		objProduct.text = ProductList[prodID].Text;
		objProduct.link = ProductList[prodID].Link;
 

	// find the product-specific info
	objProduct.Product = prodcode;
	objProduct.phone = GetProductPhone(prodcode);
	//objProduct.prodgiftcard = GetProductGiftCard(prodcode);
	objProduct.offertext = GetProductOffer(prodcode);

	return objProduct;
}

function SetupProduct(Product, Name, Text, Link, NameConn, TextConn, LinkConn)
{
	this.Product = Product;
	this.Name = Name;
	this.Text = Text;
	this.Link = Link;

 
}

function GetProductID(prodcode)
{
	for (var i=0; i<ProductList.length; i++)
		if (ProductList[i].Product == prodcode)
			return i;

	// the product was not found
	return 0;
}

function GetProductPhone(product)
{
	var prodphone = "";
	var stateabbr = GetStateAbbr("");

	if (product == "alldistance" || product == "att_dslb" || product == "cingular_450" || product == "cingular_700" || product == "gophone"   )
	{
		if (stateabbr == "CT")
			prodphone = "1-877-765-6288";
	    else if (stateabbr == "IL" || stateabbr == "IN" || stateabbr == "MI" || stateabbr == "OH" || stateabbr == "WI" || stateabbr == "AR" || stateabbr == "TX" || stateabbr == "KS" || stateabbr == "MO" || stateabbr == "OK" || stateabbr == "CA" || stateabbr == "NV")
			prodphone = "<span class=\"phone\">1-877-SOLO-ATT</span> (1-877-765-6288)";
	 else if (stateabbr == "FL" || stateabbr == "KY" || stateabbr == "TN" || stateabbr == "GA" || stateabbr == "SC" ||
     stateabbr == "NC" || stateabbr == "LA" || stateabbr == "AL" || stateabbr == "MS")  
			prodphone = "<span class=\"phone\">1-800-ES-FACIL</span> (1-800-373-2245)";
	 
	}
	
	
		else if  (stateabbr == "IL" || stateabbr == "IN" || stateabbr == "MI" || stateabbr == "OH" || stateabbr == "WI")
			
				prodphone = "<span class=\"phone\">1-877-SOLO-ATT</span> (1-877-765-6288)";
		
		else if (stateabbr == "AR" || stateabbr == "TX" || stateabbr == "KS" || stateabbr == "MO" || stateabbr == "OK")
			
			prodphone = "<span class=\"phone\">1-877-SOLO-ATT</span> (1-877-765-6288)";
		else if (stateabbr == "CA" || stateabbr == "NV")
			
			prodphone = "<span class=\"phone\">1-877-SOLO-ATT</span> (1-877-765-6288)";
		else if (stateabbr == "CT")
			
			prodphone = "<span class=\"phone\">1-800-5-CONTIGO</span> (1-800-526-6844)";
			
		else if (stateabbr == "AL" || stateabbr == "MS" || stateabbr == "LA" || stateabbr == "NC" || stateabbr == "SC" || stateabbr == "TN" || stateabbr == "GA" || stateabbr == "KY")
			prodphone = "1-800-837-1563";
		else if (stateabbr == "FL")
		
			prodphone = "1-800-837-1563";
			
		else if (stateabbr == "")
			
			prodphone = "<span class=\"phone\">1-877-SOLO-ATT</span>  (1-877-765-6288)";
			
	

	return prodphone;
}


function GetProductOffer(product)
{
  var offertext = "";


  if (product == "att_dsl")
    offertext = "<BR><BR><B>Ordena este producto hoy mismo, utilizando el formulario y recibe el precio especial de &iexcl;$26.95 por mes!</B>";

  if (product == "att_dsl_bonus")
  {
    offertext = "<BR><BR><B>Obtenga el servicio de alta velocidad DSL por s&oacute;lo $26.95 al mes,<BR> &iexcl;Adem&aacute;s, un teclado y un mouse inal&aacute;mbricos gratis!</B><BR><BR>";
    offertext += "<B>Recibir&aacute;s una tarjeta de regalo con las instrucciones para obtener el obsequio 4 a 6 semanas despu&eacute;s de enviar tu pedido de Internet de Alta Velocidad de AT&amp;T.</B><BR>";
    offertext += '<INPUT NAME="bonus" TYPE="hidden" VALUE="DSL Hard Good 1610 y 1611">';
  }


  return offertext;
}

function SetupProductList(state)
{
	var j = 1;
ProductList[0]   = new SetupProduct("DEFAULT", "Favor de seleccionar un producto", "",  "index.html", "", "", "");
 
//DSL

ProductList[j++] = new SetupProduct("att_dsl_direct", "AT&amp;T DSL Direct", "Internet de Alta Velocidad sin l&iacute;nea telef&oacute;nica. Incluye conexi&oacute;n Wi-Fi gratis. " , "att_dsl/dsl_direct_lp?id=" + state, "", "", "att_dsl/dsl_direct_lp?id=" + state);
ProductList[j++] = new SetupProduct("att_fa_xtreme6", "Fast Access DSL Xtreme 6.0", "Dise&ntilde;ado para el uso simult&aacute;neo, graficas de alta resoluci7oacute;n, capacidad de descargar archivos pesados, transmisi&oacute;n de secuencias de video e inclusive te da la opci&oacute;n de crear una p&aacute;gina Web." , "att_dsl/fa_xtreme6.html?id=" + state, "", "", "att_dsl/fa_xtreme6.html?id=" + state);
ProductList[j++] = new SetupProduct("att_fa_xtreme", "Fast Access DSL Xtreme ", "Ideal para descargar tus fotos preferidas, m&uacute;sica y video." , "att_dsl/fa_xtreme.html?id=" + state, "", "", "att_dsl/fa_xtreme.html?id=" + state);
ProductList[j++] = new SetupProduct("att_fa_ultra", "Fast Access DSL Ultra ", "Ideal para e-mail, buscar en el Internet, descargar m&aacute;s archivos y de tama&ntilde;os m&aacute;s grandes." , "att_dsl/fa_ultra.html?id=" + state, "", "", "att_dsl/fa_ultra.html?id=" + state);
ProductList[j++] = new SetupProduct("att_fa_lite", "Fast Access DSL Lite ", "El paquete ideal para los que utilizan el Internet para correo electr&oacute;nico y descargas de archivos peque&ntilde;os. " , "att_dsl/fa_lite.html?id=" + state, "", "", "att_dsl/fa_lite.html?id=" + state);
ProductList[j++] = new SetupProduct("att_dsl2", "Internet de Alta Velocidad", "" , "att_dsl/dsl_basic.html?id=" + state, "", "", "att_dsl/dsl_basic.html?id=" + state);
ProductList[j++] = new SetupProduct("att_dslb", "Internet de Alta Velocidad B&aacute;sico de AT&amp;T", "Ideal para los que suelen utilizar el Internet para correo electr&oacute;nico y descargas de menos 1MB." , "att_dsl/dsl_basic.html?id=" + state, "", "", "att_dsl/dsl_basic.html?id=" + state);
ProductList[j++] = new SetupProduct("att_dsle", " Internet de Alta Velocidad <br/>de AT&amp;T - Express", "Te da todas las ventajas y personalizaci&oacute;n que necesitas." , "att_dsl/dsl_express.html?id=" + state, "", "", "att_dsl/dsl_express.html?id=" + state);
ProductList[j++] = new SetupProduct("att_dslp", "Internet de Alta Velocidad de AT&T - Pro", "Disfruta del doble de velocidad que el paquete Express, &iexcl;s&oacute;lo por $5 mensuales m&aacute;s!" , "att_dsl/dsl_pro.html?id=" + state, "", "", "att_dsl/dsl_pro.html?id=" + state);
ProductList[j++] = new SetupProduct("att_dslelite", " Internet de Alta Velocidad Elite de AT&amp;T", "Recomendado   por su bajo precio y su alta velocidad. Dise&ntilde;ado para su uso simult&aacute;neo   de audio, video, juegos y descargas de archivos grandes." , "att_dsl/dsl_elite.html?id=" + state, "", "", "att_dsl/dsl_elite.html?id=" + state);
ProductList[j++] = new SetupProduct("att_dslpform", " Internet de Alta Velocidad Pro de AT&amp;T" , "Disfruta del doble de velocidad que el paquete Express, &iexcl;s&oacute;lo por $5 mensuales m&aacute;s!", "att_dsl/dsl_pro.html?id=" + state, "", "", "att_dsl/dsl_pro.html?id=" + state);
ProductList[j++] = new SetupProduct("att_dslbform", "Internet de Alta Velocidad B&aacute;sico de AT&amp;T", "Ideal para los que suelen utilizar el Internet para correo electr&oacute;nico y descargas de menos 1MB." , "att_dsl/dsl_basic.html?id=" + state, "", "", "att_dsl/dsl_basic.html?id=" + state);
ProductList[j++] = new SetupProduct("att_dsleform", " Internet de Alta Velocidad de AT&amp;T - Express", "Te da todas las ventajas y personalizaci&oacute;n que necesitas." , "att_dsl/dsl_express.html?id=" + state, "", "", "att_dsl/dsl_express.html?id=" + state);
ProductList[j++] = new SetupProduct("att_dsleliteform", " Internet de Alta Velocidad Elite de AT&amp;T", "Recomendado   por su bajo precio y su alta velocidad. Dise&ntilde;ado para su uso simult&aacute;neo   de audio, video, juegos y descargas de archivos grandes." , "att_dsl/dsl_elite.html?id=" + state, "", "", "att_dsl/dsl_elite.html?id=" + state);
ProductList[j++] = new SetupProduct("att_dslpform", " Internet de Alta Velocidad Pro de AT&amp;T" , "Disfruta del doble de velocidad que el paquete Express, &iexcl;s&oacute;lo por $5 mensuales m&aacute;s!", "att_dsl/dsl_pro.html?id=" + state, "", "", "att_dsl/dsl_pro.html?id=" + state);
 

ProductList[j++] = new SetupProduct("cingular_450", "AT&amp;T Nation<sup>SM</sup> 450" , "", "wireless/anystate_promo.html?id=" + state, "", "", "wireless/anystate_promo.html?id=" + state);

//AT&amp;T Dial
ProductList[j++] = new SetupProduct("att_dial", "Dial de AT&amp;T", "Acceso telef&oacute;nico confiable a Internet<br><br /><a href='http://www01.sbc.com/Products_Services/Residential/ProdInfo_1/1,,121--6-3-3,00.html'><img src='/mlcomm/images/residential/worldwide_calling/OrderInEnglish.jpg'  border='0' /></a>", "att_dial/anystate.html?id=" + state, "", "Descuentos promocionales de Dial de AT&amp;T disponibles desde s&oacute;lo $15.95. Internet f&aacute;cil de usar y totalmente adaptable.<br><br /><a href='http://www01.sbc.com/Products_Services/Residential/ProdInfo_1/1,,121--6-3-3,00.html'><img src='/mlcomm/images/residential/worldwide_calling/OrderInEnglish.jpg'  border='0' /></a>", "att_dial/connecticut.html");
//AT&amp;T Dial

//long distance
ProductList[j++] = new SetupProduct("unlimited_canada_se", "AT&amp;T<sup><sup>&reg;</sup></sup> Unlimited Canada Calling Plan", "Llama a Canad&aacute; cuantas veces quieras por un solo precio mensual.<br><br /><a href='/residential_customers/ordenaIngles/long_distance.html?unlimited_canada_se'><img src='/mlcomm/images/residential/worldwide_calling/OrderInEnglish.jpg'  border='0' /></a>", "justcall/unlimited_canada_se.html?id=" + state, "", "", "");
ProductList[j++] = new SetupProduct("unity_worldwide_se", "AT&amp;T Unity Worldwide Calling<sup>SM</sup>", "Nuestras mejores tarifas de larga distancia internacional cuando llamas a hasta m&aacute;s de 220 pa&iacute;ses de Estados Unidos &mdash; t&uacute; eliges si marcas de tu tel&eacute;fono en casa o tu tel&eacute;fono m&oacute;vil.<br><br /><a href='/residential_customers/ordenaIngles/long_distance.html?unity_worldwide_se'><img src='/mlcomm/images/residential/worldwide_calling/OrderInEnglish.jpg'  border='0' /></a>", "justcall/unity_worldwide_se.html?id=" + state, "", "", "");
ProductList[j++] = new SetupProduct("onerate_online_se", "AT&amp;T ONE RATE<sup><sup>&reg;</sup></sup> Online Basic", "te permite hacer llamadas de larga distancia domestica por 12 centavos por minute a cualquier hora del d&iacute;a y a cualquier lugar en Estados Unidos, sin cuota mensual. <br><br /><a href='/residential_customers/ordenaIngles/long_distance.html?onerate_online_se'><img src='/mlcomm/images/residential/worldwide_calling/OrderInEnglish.jpg'  border='0' /></a>", "justcall/onerate_online_se.html?id=" + state, "", "", "");
ProductList[j++] = new SetupProduct("onerate_nationwide_se", "AT&amp;T ONE RATE Nationwide<sup>SM</sup> 5&cent; Advantage ", "Haz llamadas domesticas por marcado directo a s&oacute;lo 5&cent; por minuto a cualquier hora, y en cualquier lugar de Estados Unidos por una tarifa baja por mes. <br><br /><a href='/residential_customers/ordenaIngles/long_distance.html?onerate_nationwide_se'><img src='/mlcomm/images/residential/worldwide_calling/OrderInEnglish.jpg'  border='0' /></a>", "justcall/onerate_nationwide_se.html?id=" + state, "", "", "");
ProductList[j++] = new SetupProduct("unlimited_nationwide_se", "AT&amp;T Unlimited Nationwide Calling<sup>SM</sup> One", "es un plan de larga distancia que te ofrece llamadas domesticas y locales por marcado directo sin l&iacute;mite y a cualquier hora y en cualquier lugar de Estados Unidos por una baja tarifa mensual. <br><br /><a href='/residential_customers/ordenaIngles/long_distance.html?unlimited_nationwide_se'><img src='/mlcomm/images/residential/worldwide_calling/OrderInEnglish.jpg'  border='0' /></a>", "justcall/unlimited_nationwide_se.html?id=" + state, "", "", "");
ProductList[j++] = new SetupProduct("unity_worldwide", "AT&amp;T Unity Worldwide Calling<sup>SM</sup>", "Nuestras mejores tarifas de larga distancia internacional cuando llamas a hasta m&aacute;s de 220 pa&iacute;ses de Estados Unidos &mdash; t&uacute; eliges si marcas de tu tel&eacute;fono en casa o tu tel&eacute;fono m&oacute;vil.<br><br /><a href='/residential_customers/ordenaIngles/long_distance.html?unity_worldwide'><img src='/mlcomm/images/residential/worldwide_calling/OrderInEnglish.jpg'  border='0' /></a>", "justcall/unity_worldwide.html?id=" + state, "", "", "");
ProductList[j++] = new SetupProduct("justcall_worldwide", "AT&amp;T Worldwide Value Calling<sup>SM</sup>", "Ahorra en las llamadas que realices desde EE.UU. a m&aacute;s de 200 pa&iacute;ses, a cualquier hora y en cualquier d&iacute;a de la semana.<br><br /><a href='/residential_customers/ordenaIngles/long_distance.html?justcall_worldwide'><img src='/mlcomm/images/residential/worldwide_calling/OrderInEnglish.jpg'  border='0' /></a>", "justcall/anystate_worldwide.html?id=" + state, "", "", "");
ProductList[j++] = new SetupProduct("justcall_worldwide_eng", "AT&amp;T Worldwide Value Calling", "Save on calls you make from the U.S. to more than 200 countries, anytime, any day of the week.<br><br /><a href='/residential_customers/ordenaIngles/long_distance.html?justcall_worldwide'><img src='/mlcomm/images/residential/worldwide_calling/OrderInEnglish.jpg'  border='0' /></a>", "justcall/anystate_worldwide.html?id=" + state, "", "", "");
ProductList[j++] = new SetupProduct("intl_saver2", "AT&amp;T Worldwide & US Calling<sup>SM</sup>", "<B>$6.00 al mes</B><BR>Combina todas tus llamadas de larga distancia dom&eacute;sticas con todas tus llamadas internacionales en un solo plan.<br><br /><a href='/residential_customers/ordenaIngles/long_distance.html?intl_saver2'><img src='/mlcomm/images/residential/worldwide_calling/OrderInEnglish.jpg'  border='0' /></a>", "international_saver/" + state + "2.html", "", "", "");
ProductList[j++] = new SetupProduct("ww_occ_calling", "AT&amp;T Worldwide Occasional Calling<sup>SM</sup>", "AT&amp;T Worldwide Occasional Calling<sup>SM</sup> es un plan de llamadas de larga distancia que te ofrece un descuento con tarifas bajas a llamadas directas de larga distancia a m&aacute;s de 200 pa&iacute;ses a cualquier hora, en cualquier d&iacute;a una vez que elijas un plan de llamadas de larga distancia domesticas.<br><br /><a href='/residential_customers/ordenaIngles/long_distance.html?ww_occasional_calling'><img src='/mlcomm/images/residential/worldwide_calling/OrderInEnglish.jpg'  border='0' /></a>", "international_saver/ww_occ_calling.html?id=" + state, "", "", "");
ProductList[j++] = new SetupProduct("nation_basic", "AT&amp;T<BR>Unlimited Nationwide Calling<sup>SM</sup> One", "Llamadas ilimitadas de larga distancia nacional <br><br /><a href='/residential_customers/ordenaIngles/long_distance.html?nation_basic'><img src='/mlcomm/images/residential/worldwide_calling/OrderInEnglish.jpg'  border='0' /></a>", "international_saver/ww_unlimited_basic.html?id=" + state, "", "", "");
ProductList[j++] = new SetupProduct("justcall_120plus", "AT&amp;T Nationwide Calling 120<sup>SM</sup>", "120 minutos de llamadas de larga distancia nacional de marcado directo, dentro y fuera del estado &mdash; cada minuto adicional por solo $0.10<br><br /><a href='/residential_customers/ordenaIngles/long_distance.html?justcall_120_plus'><img src='/mlcomm/images/residential/worldwide_calling/OrderInEnglish.jpg'  border='0' /></a>", "justcall/anystate_jc_plus_120.html?id=" + state, "", "", "");
ProductList[j++] = new SetupProduct("justcall_plus", "AT&amp;T ONE RATE<sup>&reg;</sup> Nationwide 5&cent;", "$0.10 por minuto para las llamadas nacionales directas dentro y fuera del estado.<br><br /><a href='/residential_customers/ordenaIngles/long_distance.html?justcall_plus'><img src='/mlcomm/images/residential/worldwide_calling/OrderInEnglish.jpg'  border='0' /></a>", "justcall/anystate_plus.html?id=" + state, "", "", "");
ProductList[j++] = new SetupProduct("nationwide_online_select", "AT&amp;T<BR>Unlimited Nationwide Calling<BR> Online Select<sup>SM</sup>", "Llamadas ilimitadas a todo el pa&iacute;s.<br><br /><a href='/residential_customers/ordenaIngles/long_distance.html?nationwide_online_select'><img src='/mlcomm/images/residential/worldwide_calling/OrderInEnglish.jpg'  border='0' /></a>", "order_product.html?prod=nationwide_online_select&id=" + state, "", "", "");

//long distance


//sat
ProductList[j++] = new SetupProduct('directv', 'AT&amp;T | DIRECTV<br /><span style="font-size: .6em">N&uacute;mero 1 en Calidad Digital</span>', '', '','', '','');
ProductList[j++] = new SetupProduct('homezone', 'AT&amp;T Homezone', '', '','', '','');
//wireless

//gophone
ProductList[j++] = new SetupProduct("gophone", "GoPhone<sup>&reg;</sup>", "Servicio flexible que te da control de tus finanzas. Lo mejor de la telefon&iacute;a m&oacute;vil sin t&eacute;rminos de contrato a largo plazo o sorpresas de facturas excesivas.<br/><br/><a href='http://www.wireless.att.com/find-a-store/' target='_blank'  title='Store locator'><img src='/mlcomm/images/residential/wireless/find_a_store_banner4.gif' alt='Store Locator' border='0' width='270'></a>", "wireless/gophone.html?id=" + state, "", "", "");
//gophone


//bundles
ProductList[j++] = new SetupProduct("bundles", "Paquetes", "Combina todos tus servicios de comunicaci&oacute;n y entretenimiento en una sola factura y recibe descuentos.<br><br /><a href='/residential_customers/ordenaIngles/bundles.html?bundles'><img src='/mlcomm/images/residential/worldwide_calling/OrderInEnglish.jpg'  border='0' /></a>", "bundles/bundles.html?id=" + state, "", "", "");


ProductList[j++] = new SetupProduct("cnxns", "AT&amp;T Connections", "Paquetes telef&oacute;nicos, larga distancia, Internet y servicios inal&aacute;mbricos: Todo lo que necesitas en una sola factura.<br><br /><a href='/residential_customers/ordenaIngles/bundles.html?conexiones'><img src='/mlcomm/images/residential/worldwide_calling/OrderInEnglish.jpg'  border='0' /></a>", "att_total_connections/anystate.html?id=" + state, "", "", "");

ProductList[j++] = new SetupProduct("total_cnxns", "Paquetes de Servicios", "Combina todos tus servicios de comunicaci&oacute;n y entretenimiento en una sola factura y recibe descuentos<br><br /><a href='/residential_customers/ordenaIngles/bundles.html?total_conexiones'><img src='/mlcomm/images/residential/worldwide_calling/OrderInEnglish.jpg'  border='0' /></a>", "att_total_connections/anystate.html?id=" + state, "Paquetes de Servicios", "Combina todos tus servicios de comunicaci&oacute;n y entretenimiento en una sola factura y recibir descuentos<br><br /><a href='/residential_customers/ordenaIngles/bundles.html?total_conexiones'><img src='/mlcomm/images/residential/worldwide_calling/OrderInEnglish.jpg'  border='0' /></a>", "att_total_connections/anystate.html?id=" + state);


//bundles

//Local Service
ProductList[j++] = new SetupProduct("new_phone_service_bs", "Servicio Telef&oacute;nico B&aacute;sico de AT&amp;T ", "Llamadas locales ilimitadas y funciones de llamadas personalizadas <br/><BR/><a href='/residential_customers/ordenaIngles/home_phone.html?new_phone_service_bs'><img src='/mlcomm/images/residential/worldwide_calling/OrderInEnglish.jpg'  border='0' /></a>","allproducts_bs.html?id=" + state, "", "", "allproducts_ct.html?id=" + state);
ProductList[j++] = new SetupProduct("new_phone_service", "Servicio Telef&oacute;nico B&aacute;sico de AT&amp;T", "Suscr&iacute;bete al servicio telef&oacute;nico local de AT&amp;T<br><br /><a href='/residential_customers/ordenaIngles/home_phone.html?new_phone_service'><img src='/mlcomm/images/residential/worldwide_calling/OrderInEnglish.jpg'  border='0' /></a>","allproducts.html?id=" + state, "", "", "allproducts_ct.html?id=" + state);
ProductList[j++] = new SetupProduct("lines_wiring_jacks", "L&iacute;neas, Cableado y Conexiones", "Agrega una l&iacute;nea telef&oacute;nica adicional o un plan de protecci&oacute;n de cableado a tu servicio.<br><br /><a href='/residential_customers/ordenaIngles/home_phone.html?lines_wiring_jacks'><img src='/mlcomm/images/residential/worldwide_calling/OrderInEnglish.jpg'  border='0' /></a>","allproducts.html?id=" + state, "", "", "allproducts_ct.html?id=" + state);
ProductList[j++] = new SetupProduct("complete_choice_enhanced", "Complete Choice<SUP>&reg</SUP> Enhanced", "","", "", "");
ProductList[j++] = new SetupProduct("complete_choice_basic_se", "Complete Choice<SUP>&reg</SUP> Basic", "Un servicio que proporciona llamadas locales ilimitadas, hasta 12 funciones de llamadas y un plan de mantenimiento de cables.<br><br /><a href='/residential_customers/ordenaIngles/home_phone.html?complete_choice_basic_se'><img src='/mlcomm/images/residential/worldwide_calling/OrderInEnglish.jpg'  border='0' /></a>","complete_choice/anystate_se.html?id=" + state, "", "", "allproducts_ct.html?id=" + state);
ProductList[j++] = new SetupProduct("complete_choice_bs", "Complete Choice<SUP>&reg</SUP>", "Te ahorra dinero y te provee llamadas locales ilimitadas, un plan de mantenimiento de cables y nuestras funciones de llamadas m&aacute;s populares<br><br /><a href='/residential_customers/ordenaIngles/home_phone.html?complete_choice_bs'><img src='/mlcomm/images/residential/worldwide_calling/OrderInEnglish.jpg'  border='0' /></a>","allproducts_bs.html?id=" + state, "", "", "allproducts_ct.html?id=" + state);
ProductList[j++] = new SetupProduct("complete_choice", "Complete Choice<SUP>&reg</SUP>", "Te ahorra dinero y te provee llamadas locales ilimitadas, un plan de mantenimiento de cables y nuestras funciones de llamadas m&aacute;s populares<br><br /><a href='/residential_customers/ordenaIngles/home_phone.html?complete_choice'><img src='/mlcomm/images/residential/worldwide_calling/OrderInEnglish.jpg'  border='0' /></a>","allproducts.html?id=" + state, "", "", "allproducts_ct.html?id=" + state);
ProductList[j++] = new SetupProduct("preferred_pack", "AT&amp;T PreferredPack™ Plan ", "Te ahorra dinero y te provee llamadas locales ilimitadas y nuestras funciones de llamadas m&aacute;s populares.<br /><br><a href='/residential_customers/ordenaIngles/home_phone.html?preferred_pack'><img src='/mlcomm/images/residential/worldwide_calling/OrderInEnglish.jpg'  border='0' /></a>","allproducts_bs.html?id=" + state, "", "", "allproducts_ct.html?id=" + state);
ProductList[j++] = new SetupProduct("alldistance", "All Distance", "Llamadas locales y de larga distancia ilimitadas.<br><br /><a href='/residential_customers/ordenaIngles/home_phone.html?alldistance'><img src='/mlcomm/images/residential/worldwide_calling/OrderInEnglish.jpg'  border='0' /></a>", "/residential_customers/index.html", "", "Llamadas locales y de larga distancia ilimitadas.", "/residential_customers/index.html");
ProductList[j++] = new SetupProduct("all_distance", "All Distance Online Select<SUP>SM</SUP>", "Con los servicios de ALL DISTANCE<SUP><sup>&reg;</sup></SUP> ONLINE SELECT, podr&aacute;s hacer llamadas nacionales de marcado directo sin limite por una tarifa baja.<br><br /><a href='/residential_customers/ordenaIngles/home_phone.html?all_distance'><img src='/mlcomm/images/residential/worldwide_calling/OrderInEnglish.jpg'  border='0' /></a>","allproducts.html?id=" + state, "", "Con los servicios de ALL DISTANCE<SUP><sup>&reg;</sup></SUP> ONLINE SELECT, podr&aacute;s hacer llamadas nacionales de marcado directo sin limite por una tarifa baja.", "allproducts_ct.html?id=" + state);
//Local Service


//other
ProductList[j++] = new SetupProduct("justcall_5", "AT&amp;T ONE RATE<sup>&reg;</sup> Nationwide 5&cent;", "$0.05 por minuto para las llamadas nacionales de larga distancia directas, dentro y fuera del estado.", "justcall/anystate_5cents.html?id=" + state, "", "", "");
ProductList[j++] = new SetupProduct("justcall_100plus", "AT&amp;T Nationwide Calling 100<sup>SM</sup>", "$0.09 por minuto Para las llamadas nacionales de larga distancia directas, dentro y fuera del estado despu&eacute;s de los 100 minutos.", "justcall/anystate_jc_plus_100.html?id=" + state, "", "", "");
ProductList[j++] = new SetupProduct("justcall_300plus", "AT&amp;T Nationwide Calling 300<sup>SM</sup>", "$0.09 por minuto Para las llamadas nacionales de larga distancia directas, dentro y fuera del estado despu&eacute;s de los 300 minutos.", "justcall/anystate_jc_plus_300.html?id=" + state, "", "", "");
ProductList[j++] = new SetupProduct("promo_justcall_plus", "JustCall<sup>SM</sup> Plus", "$2.00 al mes. Una tarifa mensual por el plan baja de $2.00 que te permite hacer llamadas de larga distancia dom&eacute;sticas ilimitadas por s&oacute;lo 10&cent: por minuto.", "justcall/anystate_jc_plus.html?id=" + state, "", "", "");
ProductList[j++] = new SetupProduct("promo_justcall_100plus", "AT&amp;T Nationwide Calling 100<sup>SM</sup>", "$8.00 al mes. Hasta 100 minutos de llamadas en directo nacionales al mes cuando tienes una l&iacute;nea de acceso local de AT&amp;T; s&oacute;lo 9&cent: por cada minuto adicional.", "justcall/anystate_jc_plus_100.html?id=" + state, "", "", "");
ProductList[j++] = new SetupProduct("promo_justcall_worldwide2", "JustCall<sup>SM</sup> Worldwide II", "$3.99 al mes. Llamadas en directo internacionales de EU hasta m&aacute;s de 200 pa&iacute;ses con nuestras mejores tarifas de descuento.", "justcall/anystate_worldwide.html?id=" + state, "", "", "");
ProductList[j++] = new SetupProduct("promo_justcall_conexion", "Conexi&oacute;n Mundial", "Un paquete de llamadas a nivel mundial que ofrece llamadas locales sin l&iacute;mite y magn&iacute;ficas tarifas de larga distancia que te ahorrar&aacute;n dinero todo el a&ntilde;o.", "conexion/sp/?id=" + state, "", "", "");
ProductList[j++] = new SetupProduct("natl_cnxns2", "National Connections<sup>SM</sup> II", "<B>$30.00 al mes</B><BR>Llamadas nacionales ilimitadas.", "national_connections/anystate_nc2.html?id=" + state, "", "", "");
ProductList[j++] = new SetupProduct("conexion_lifeline_en", "Worldwide Connection - Lifeline", "Get connected to your world and get a free cordless phone.", "conexion/lifeline_en.html?id=" + state, "", "", "");
ProductList[j++] = new SetupProduct("conexion_en_promo", "Worldwide Connection<BR>with Free SBC 7673 Cordless Phone", "Convenient and low rates for your international calls.", "conexion/en/" + state + ".html", "", "", "");
ProductList[j++] = new SetupProduct("voip", "AT&amp;T CallVantage<sup>&reg;</sup> Service", "Voz sobre IP", "voip/is_it_right.html?id=" + state, "AT&amp;T CallVantage<sup>&reg;</sup> Service", "Voz sobre IP", "voip/is_it_right.html?id=" + state);

//MOVING PAGES
ProductList[j++] = new SetupProduct("move_1", "", "", "move_att/moving_tips.html?id=" + state, "", "", "");


}

function MakeStateProductList(stateAbbr)
{
  var stateProducts = "";
	var prodcode = GetQueryStringValue("prod");

 if (stateAbbr == "AL" || stateAbbr == "FL" || stateAbbr == "GA" || stateAbbr == "KY" || stateAbbr == "LA" || stateAbbr == "NC" || stateAbbr == "SC" ||stateAbbr == "TN" ||  stateAbbr == "MS")
		{
stateProducts += "<OPTION>Fast Access<sup>&reg;</sup> DSL Lite</OPTION>";
stateProducts += "<OPTION>Fast Access<sup>&reg;</sup> DSL Ultra</OPTION>";
stateProducts += "<OPTION>Fast Access<sup>&reg;</sup> DSL Xtreme</OPTION>";
stateProducts += "<OPTION>Fast Access<sup>&reg;</sup> DSL Xtreme 6.0</OPTION>";
stateProducts += "<OPTION>Dial de AT&amp;T</OPTION>";
stateProducts += "<OPTION>AT&amp;T Wireless</OPTION>";
stateProducts += "<OPTION>GoPhone<sup>&reg;</sup> </OPTION>";
stateProducts += "<OPTION>Conexi&oacute;n Mundial</OPTION>";
stateProducts += "<OPTION>AT&amp;T Worldwide & US Calling<sup>SM</sup></OPTION>";
stateProducts += "<OPTION>AT&amp;T Worldwide Value Calling<sup>SM</sup></OPTION>";
stateProducts += "<OPTION>AT&amp;T Worldwide Calling<sup>SM</sup></OPTION>";
stateProducts += "<OPTION>AT&amp;T Unlimited Nationwide Calling Online Select<sup>SM</sup></OPTION>";
stateProducts += "<OPTION>AT&amp;T Unlimited Nationwide Calling<sup>SM</sup> One</OPTION>";
stateProducts += "<OPTION>AT&amp;T Unlimited Nationwide Calling 100<sup>SM</sup></OPTION>";
stateProducts += "<OPTION>AT&amp;T Nationwide Calling 300<sup>SM</sup></OPTION>";
stateProducts += "<OPTION>AT&amp;T ONE RATE<sup>&reg;</sup> Nationwide 5&cent</OPTION>";
stateProducts += "<OPTION>AT&amp;T ONE RATE<sup>&reg;</sup> Nationwide 10&cent</OPTION>";
stateProducts += "<OPTION>All Distance</OPTION>";
stateProducts += "<OPTION>Servicio Telef&oacute;nico B&aacute;sico de AT&amp;T</OPTION>";
stateProducts += "<OPTION>L&iacute;neas, Cableado y Conexiones</OPTION>";
stateProducts += "<OPTION>AT&amp;T I DIRECTV</OPTION>";
stateProducts += "<OPTION>Paquetes</OPTION>";
				
			
		}
		else
		{
stateProducts += "<OPTION>Internet de Alta Velocidad de AT&amp;T B&aacute;sico</OPTION>"; 
stateProducts += "<OPTION>Internet de Alta Velocidad de AT&amp;T - Express</OPTION>"; 
stateProducts += "<OPTION>Internet de Alta Velocidad Pro de AT&amp;T</OPTION>";
stateProducts += "<OPTION>Internet de Alta Velocidad Elite de AT&amp;T</OPTION>";
stateProducts += "<OPTION>Internet de Alta Velocidad de AT&amp;T  DSL Direct</OPTION>";
stateProducts += "<OPTION>Dial de AT&amp;T</OPTION>";
stateProducts += "<OPTION>AT&amp;T Wireless</OPTION>";
stateProducts += "<OPTION>GoPhone<sup>&reg;</sup> </OPTION>";
stateProducts += "<OPTION>Conexi&oacute;n Mundial</OPTION>";
stateProducts += "<OPTION>AT&amp;T Worldwide & US Calling<sup>SM</sup></OPTION>";
stateProducts += "<OPTION>AT&amp;T Worldwide Value Calling<sup>SM</sup></OPTION>";
stateProducts += "<OPTION>AT&amp;T Worldwide Calling<sup>SM</sup></OPTION>";
stateProducts += "<OPTION>AT&amp;T Unlimited Nationwide Calling Online Select<sup>SM</sup></OPTION>";
stateProducts += "<OPTION>AT&amp;T Unlimited Nationwide Calling<sup>SM</sup> One</OPTION>";
stateProducts += "<OPTION>AT&amp;T Unlimited Nationwide Calling 100<sup>SM</sup></OPTION>";
stateProducts += "<OPTION>AT&amp;T Nationwide Calling 300<sup>SM</sup></OPTION>";
stateProducts += "<OPTION>AT&amp;T ONE RATE<sup>&reg;</sup> Nationwide 5&cent</OPTION>";
stateProducts += "<OPTION>AT&amp;T ONE RATE<sup>&reg;</sup> Nationwide 10&cent</OPTION>";
stateProducts += "<OPTION>All Distance</OPTION>";
stateProducts += "<OPTION>Servicio Telef&oacute;nico B&aacute;sico de de AT&amp;T  </OPTION>";
stateProducts += "<OPTION>AT&amp;T Complete Choice Plan </OPTION>";
stateProducts += "<OPTION>AT&amp;T I DIRECTV</OPTION>";
stateProducts += "<OPTION>Paquetes</OPTION>";
				
			
		}
 

  return stateProducts;
}


