<!--

var store = new Array();
store['none']=new Array('---------- Select Operator ----------');
store['Afghanistan']=new Array('Telephone Development Co','Telephone Systems Int Inc');
store['Albania']=new Array('Albanian Mobile Comms','Vodafone');
store['Algeria']=new Array('Algerian Mobile Network','Orascom Telecom Algerie Spa');
store['American Samoa']=new Array('Blue Sky');
store['Armenia']=new Array('ArmenTel','Karabakh Telecom');
store['Andorra']=new Array('S.T.A. MobilAnd');
store['Angola']=new Array('Unitel');
store['Argentina']=new Array('Nextel','Globalstar','UNIFON','CTI Movil','Telecom Personal SA','Hutchison-PORT HABLE');
store['Aruba']=new Array('SETAR');
store['Antigua & Barbuda']=new Array('APUA PCS');
store['Australia']=new Array('Globalstar','Telstra Mobile Comms','Singtel Optus-Cable + Wireless Optus','Hutchinson 3G','Australia One-Tel');
store['Austria']=new Array('Mobilkom Austria','T-Mobile','One Connect','Telering','Telefonica Austria','Tele2','3 AT');
store['Azerbaijan']=new Array('Azercell Telekom B.M.','J.V.Bakcell GSM 2000');
store['Bahamas']=new Array('Bahamas Telcom Co');
store['Bahrain']=new Array('Batelco');
store['Bangladesh']=new Array('Grameen Phone','TM Intl AKTEL','Sheba Telecom');
store['Barbados']=new Array('Cable & Wireless');
store['Belarus']=new Array('VELCOM Belarus');
store['Belgium']=new Array('Belgacom Mobile Proximus','Mobistar','KPN Orange Belgium SA');
store['Belize']=new Array('Belize Telecom','Int Telecom INTELCO');
store['Benin']=new Array('BBCOM','LIBERCOM','TELECEL BENIN','BeninCell');
store['Bermuda']=new Array('BTC MOBILITY');
store['Bhutan']=new Array('BpMobile');
store['Bolivia']=new Array('Nuevatel PCS','Entel SA');
store['Bosnia Herzegovina']=new Array('Cronet','PTT Bosnia','PE PTT BIH');
store['Botswana']=new Array('Mascom Wireless','Vista Cellular');
store['Brazil']=new Array('Tim','Tim NEW 1','Tim NEW 2','Claro','Sercomtel','BrtCell','Oi');
store['Brunei Darussalam']=new Array('Jabatan Telekom','DST Communications');
store['Bulgaria']=new Array('MobilTel AD','globul');
store['Cambodia']=new Array('Cambodia Samart Comms');
store['Cameroon']=new Array('PTT Cameroon Cellnet');
store['Camyan Islands']=new Array('Cable & Wireless');
store['Canada']=new Array('Fido-SPECIAL CODE','Microcell Connexions Inc','Rogers AT&T Wireless');
store['Cape Verde']=new Array('Cabo Verde Telecom');
store['Chile']=new Array('Entel Telefonia Movil','Entel PCS Telecom.');
store['China']=new Array('China Telecom GSM','China Unicom GSM','Liaoning PPTA');
store['Columbia']=new Array('Occidente y Caribe Celular SA Occel SA-SPECIAL CODE','Movil SA-SPECIAL CODE');
store['Croatia']=new Array('Croatian Telecoms Cronet','Croatia VIPNET');
store['Cyprus']=new Array('Cyprus Telecoms Authority');
store['Czech Republic']=new Array('T-Mobile CZ (Pegas)','EuroTel Praha','SPT Telecom (OSKAR)');
store['Denmark']=new Array('Debitel Denmark','Debitel 3510i-SPECIAL CODE','TDC Mobil','Debitel DCT3','Sonofon','Telia','Orange');
store['Dominican Republic']=new Array('Orange');
store['Egypt']=new Array('MobiNil','Misrfone Telecom. Click');
store['Estonia']=new Array('Estonian Mobile Telephone','Radiolinja Eesti','Q GSM');
store['Ethiopia']=new Array('Ethiopian Telecoms Auth.');
store['Fiji']=new Array('Vodafone Fiji');
store['Finland']=new Array('Telia Finland','Alands Mobiltelefon','Radiolinja','Finnet Group','Sonera Corporation');
store['France']=new Array('Orange + France Telecom Itineris','SFR','Bouygues Telecom');
store['French Polynesia']=new Array('Tikiphone');
store['French West Indies']=new Array('France Caraibe Ameris');
store['Georgia']=new Array('Geocell Limited','Magti GSM');
store['Germany']=new Array('DeTeMobile D1 T-Mobile','Vodafone D2 (DCT4)','Vodafone D2 (DCT3 3310)','Vodafone D2 (DCT3 3210)','E-Plus Gmbh&Co KG E-Plus (GSM1800)','O2 Deutschland (DCT4)','O2 Deutschland (DCT3 Prepaid)','O2 Deutschland (DCT3 Contract)');
store['Ghana']=new Array('ScanCom');
store['Gibraltar']=new Array('Gibraltar Telecoms Gibtel');
store['Greece']=new Array('Cosmote','Vodafone / Panafon','Q-Telecom','Telestet / TIM');
store['Greenland']=new Array('Tele Greenland');
store['Guatemala']=new Array('COMCEL');
store['Guinea']=new Array('Sotelgui Lagui');
store['Hong Kong']=new Array('Hong Kong Telecom CSL','Hutchison Telecom','SmarTone Mobile Comms','New World PCS','Peoples Telephone','Mandarin Com. Sunday','Pacific Link','P Plus Comm');
store['Hungary']=new Array('Pannon GSM','Westel 900 GSM Mobile','Vodafone Hungary');
store['Iceland']=new Array('Iceland Telecom Siminn','TAL hf');
store['India']=new Array('TATA Cellular','Bharti Cellular Telecom Airtel','Sterling Cellular Essar','Escotel Mobile Comms','Escotel Mobile Comms','Modi Telstra Modicom','Aircel Digilink Essar Cellph.','Hutchison Max Touch','Usha Martin Tel. Command','Mobilenet','SkyCell Communications','RPG MAA','Srinivas Cellcom','Mobile BPL MOBILE','USWest BPL MOBILE');
store['Indonesia']=new Array('PT. Satelindo','Telkomsel','PT. Excelcomindo Excelcom');
store['Iran']=new Array('TCI');
store['Ireland']=new Array('Vodafone - Eircell','02 - Esat Digifone-code 7','Meteor');
store['Israel']=new Array('Orange - Partner Communications','Celcomm');
store['Italy']=new Array('Telecom Italia Mobile TIM','Omnitel Pronto','Wind Telecomunicazioni','Telefonia mobile Italy');
store['Ivory Coast']=new Array('Comstar Cellular Network','Telecel','S.I.M Ivoiris','Loteny Telecom Telecel');
store['Jamaica']=new Array('Mossel (Digicel)','Cable & Wireless');
store['Japan']=new Array('J-phone / Vodaphone Japan');
store['Jordan']=new Array('J.M.T.S Fastlink');
store['Kazakhstan']=new Array('Kazakhstan K-Mobile','Kazakhstan K-Cell');
store['Kuwait']=new Array('Mobile Telecoms MTCNet');
store['Kyrgyz Republic']=new Array('Bitel');
store['Laos']=new Array('Lao Shinawatra Telecom');
store['Latvia']=new Array('Latvian Mobile Tel.','BALTCOM GSM');
store['Lebanon']=new Array('FTML Cellis','LibanCell');
store['Lesotho']=new Array('Vodacom');
store['Liberia']=new Array('Omega Communications');
store['Lithuania']=new Array('Omnitel','UAB Bite GSM','Lithuania LT TELE2','Lithuanian X-GSM Tele2');
store['Luxembourg']=new Array('P+T LUXGSM','Millicom Tango GSM');
store['Macau']=new Array('C.T.M. TELEMOVEL+');
store['Macedonia']=new Array('Macedonian Tel. MobiMak');
store['Madagascar']=new Array('Madacom','SMM Antaris','Sacel');
store['Malawi']=new Array('Telekom Network Callpoint');
store['Malaysia']=new Array('My Digi','My BSB','Binariang','Binariang Comms. Maxis','Telekom Cellular TM Touch','DiGi Telecommunications','Time Wireless Adam','Celcom');
store['Mali']=new Array('Malitel');
store['Malta']=new Array('Vodafone');
store['Mauritius']=new Array('Cellplus Mobile Comms');
store['Mexico']=new Array('TELCEL','MOVISTAR GSM - Pegaso GSM');
store['Moldova']=new Array('Voxtel');
store['Morocco']=new Array('Itissalat Al-Maghrib IAM');
store['Mozambique']=new Array('Telecom de Mocambique');
store['Namibia']=new Array('MTC');
store['Netherlands']=new Array('Vodafone / Libertel','KPN Telecom','Telfort / O2','T Mobile - Ben','Dutchtone / Orange');
store['New Caledonia']=new Array('OPT Mobilis');
store['New Zealand']=new Array('Vodafone','Telecom NZ','Telstra');
store['Nicaragua']=new Array('SERCOM');
store['Norway']=new Array('Telenor Mobil','NetCom GSM','Teletopia','AC','hello','BS Mobil','Combitel Networks AS','Lyse Energi','PGOne','Sense','Symfonika AS','Tele2');
store['Oman']=new Array('General Telecoms');
store['Pakistan']=new Array('Mobilink');
store['Philippines']=new Array('Isla Comms','Globe Telecom','Smart Communications','Sun Cellular');
store['Poland']=new Array('Polkomtel PLUS GSM','ERA GSM','IDEA Centertel');
store['Portugal']=new Array('Vodafone / Yorn','Optimus','TMN');
store['Qatar']=new Array('Q-Tel QATARNET');
store['Reunion']=new Array('Societe Reunionnaise SRR');
store['Romania']=new Array('MobiFon CONNEX GSM','Cosmorom','Mobil Rom DIALOG');
store['Russia']=new Array('MTS Moscow','North-West GSM','Siberian Cellular','Zao Smarts','Don Telecom','New Telephone Company','Kuban GSM','Russia Wireless Technology','Uratel','North Caucasian GSM','KB Impuls BeeLine');
store['Rwanda']=new Array('Rwandacell');
store['Saudi Arabia']=new Array('Ministry of PTT Al Jawal','Electronics App Est. EAE');
store['Senegal']=new Array('Sonatel ALIZE');
store['Seychelles']=new Array('Seychelles Cellular Services','Telecom AIRTEL');
store['Singapore']=new Array('Singapore Tel. GSM 900','Singapore Tel. GSM 1800','MobileOne Asia');
store['Slovak Republic']=new Array('Globtel GSM','EuroTel GSM');
store['Slovenia']=new Array('Si.mobil','Mobitel');
store['South Africa']=new Array('Vodacom','MTN');
store['Spain']=new Array('Vodafone / Airtel Movil','Movistar (DCT3 Old Contract)','Movistar (DCT3)','Movistar (DCT4)','Movistar (6100)');
store['Sri Lanka']=new Array('MTN Networks Dialog GSM');
store['St. Vincent & the Grenadines']=new Array('Cable & Wireless Caribbean Cellular');
store['Sudan']=new Array('Mobile Telephone Company');
store['Sweden']=new Array('Telia Mobitel (3510i)','Telia Mobitel','Tre','Orange','Comviq GSM','Vodafone');
store['Switzerland']=new Array('Swisscom NATEL','diAx Mobile','Orange');
store['Syria']=new Array('Syrian Telecom Est. MOBILE');
store['Taiwan']=new Array('Far EasTone Telecoms','TUNTEX Telecom','KG Telecom','Chunghwa Telecom','Mobitai Communications','Pacific Cellular TWNGSM','TransAsia Telecoms');
store['Tanzania']=new Array('Tritel');
store['Thailand']=new Array('Advanced Info Service AIS','WCS IQ','Total Access Worldphone','Digital Phone HELLO');
store['Togo']=new Array('Togo Telecom TOGO CELL');
store['Tunisia']=new Array('Tunisie Telecom Tunicell');
store['Turkey']=new Array('Turk Telekom Turkcell','TELSIM Mobil Telekom.');
store['Turkmenistan']=new Array('Turkmenistan BCTI');
store['USA']=new Array('CINGULAR - Pacific Bell Wireless','T-Mobile','T-Mobile Tampa Florida','Powertel','T-Mobile Florida','AT&T(Other DCT4)','Cincinnati Bell Wireless','Iowa Wireless Services','AT&T (3650)');
store['Uganda']=new Array('Celtel Cellular','MTN Uganda');
store['Ukraine']=new Array('Ukrainian Mobile Comms','Ukrainian Radio Systems','Kyivstar GSM','Golden Telecom');
store['United Arab Emirates']=new Array('UAE ETISALAT-G1','UAE ETISALAT-G2');
store['United Kingdom']=new Array('Virgin (some 3510i)','Virgin - SPECIAL CODE','Tesco Mobile (3510i)','02 - Cellnet','Tesco Mobile','Vodafone','Hutchinson 3G (3)','T-Mobile-One 2 One','Virgin','Orange','Jersey Telecom GSM','Guernsey Telecoms GSM','Manx Telecom Pronto GSM');
store['Uzbekistan']=new Array('Buztel','Daewoo Unitel','Coscom');
store['Venezuela']=new Array('Infonet');
store['Vietnam']=new Array('MTSC','DGPT');
store['Yugoslavia']=new Array('MOBTEL','ProMonte GSM');
store['Zambia']=new Array('Zamcell');
store['Zimbabwe']=new Array('NET*ONE','Telecel');
store['Papua New Guinea']=new Array('Pacific Mobile Comms');


function populate(){
var box = document.step1.country;
var number = box.options[box.selectedIndex].value;
if (!number) return;
var list = store[number];
var box2 = document.step1.network;box2.options.length = 0;
for(i=0;i<list.length;i+=1){box2.options[i] = new Option(list[i],list[i]);}}

function checkimei(form){
	var imei=form.imei.value;
	//var email=form.email.value;
	var model=form.model.value;
	//var country=form.country.value;
	var network=form.network.value;
		for(i=0;i<imei.length;i++){
		var num = imei.substring(i,i+1);
		if((num<"0"||num>"9")){
			alert("Invalid IMEI Entered");
			form.imei.focus();
			return false;}}
	if (imei == '' || imei.length < 15){
		alert("IMEI must be 15 digits");
		form.imei.focus();
	    	return false;}
	else if (model == 'none'){
	 alert("Please select a mobile phone to unlock");
		form.model.focus();
	    	return false;}
	else if (1==0){
	 alert("Please select a country that the phone is currently locked within");
		form.country.focus();
	    	return false;}
	else if (network == 'none'){
	 alert("Please re-select the network that the phone is currently locked to");
		form.network.focus();
		//populate();
	    	return false;}
	else if (network == ''){
	 alert("Please re-select the network that the phone is currently locked to");
		form.network.focus();
		//populate();
	    	return false;}
       else if (1==0){
              alert("Please enter a valid email address for us to send you the unlock code");
		form.email.focus();
	    	return false;}

	else return true;}

//-->