function AllPhoneSearchTwo(f, rp) { this.a = 'mobile-phone-finder'; this.f = f; this.rp = rp; this.nf = (this.f.network) ? this.f.network : ''; this.pf = this.f.phone; this.d = new Array(); this.d['AppleiPhone3G'] = new Array(); this.d['AppleiPhone3G'][this.d['AppleiPhone3G'].length] = new Array('', '/mobile-phones//contract-mobile-phones/apple-iphone-3g.php/'); this.d['AppleiPhone3GWhite'] = new Array(); this.d['AppleiPhone3GWhite'][this.d['AppleiPhone3GWhite'].length] = new Array('', '/mobile-phones//contract-mobile-phones/apple-iphone-3g-white.php/'); this.d['BlackberryCurve8900'] = new Array(); this.d['BlackberryCurve8900'][this.d['BlackberryCurve8900'].length] = new Array('', '/mobile-phones//contract-mobile-phones/blackberry-curve-8900.php/'); this.d['HPIPAQDataMessenger'] = new Array(); this.d['HPIPAQDataMessenger'][this.d['HPIPAQDataMessenger'].length] = new Array('', '/mobile-phones//contract-mobile-phones/hp-ipaq-data-messenger.php/'); this.d['HPIPAQVoiceMessenger'] = new Array(); this.d['HPIPAQVoiceMessenger'][this.d['HPIPAQVoiceMessenger'].length] = new Array('', '/mobile-phones//contract-mobile-phones/hp-ipaq-voice-messenger.php/'); this.d['HTCShift'] = new Array(); this.d['HTCShift'][this.d['HTCShift'].length] = new Array('', '/mobile-phones//contract-mobile-phones/htc-shift.php/'); this.d['HTCTouchCruise'] = new Array(); this.d['HTCTouchCruise'][this.d['HTCTouchCruise'].length] = new Array('', '/mobile-phones//contract-mobile-phones/htc-touch-cruise.php/'); this.d['HTCTouchPro'] = new Array(); this.d['HTCTouchPro'][this.d['HTCTouchPro'].length] = new Array('', '/mobile-phones//contract-mobile-phones/htc-touch-pro.php/'); this.d['LGKF300'] = new Array(); this.d['LGKF300'][this.d['LGKF300'].length] = new Array('', '/mobile-phones//contract-mobile-phones/lg-kf300.php/'); this.d['LGKF300Wine'] = new Array(); this.d['LGKF300Wine'][this.d['LGKF300Wine'].length] = new Array('', '/mobile-phones//contract-mobile-phones/lg-kf300-wine.php/'); this.d['LGVirgo'] = new Array(); this.d['LGVirgo'][this.d['LGVirgo'].length] = new Array('', '/mobile-phones//contract-mobile-phones/lg-virgo.php/'); this.d['MotorolaL9'] = new Array(); this.d['MotorolaL9'][this.d['MotorolaL9'].length] = new Array('', '/mobile-phones//contract-mobile-phones/motorola-l9.php/'); this.d['MotorolaZN5'] = new Array(); this.d['MotorolaZN5'][this.d['MotorolaZN5'].length] = new Array('', '/mobile-phones//contract-mobile-phones/motorola-zn5.php/'); this.d['Nokia3500ClassicBlue'] = new Array(); this.d['Nokia3500ClassicBlue'][this.d['Nokia3500ClassicBlue'].length] = new Array('', '/mobile-phones//contract-mobile-phones/nokia-3500-classic-blue.php/'); this.d['Nokia5220XpressBlue'] = new Array(); this.d['Nokia5220XpressBlue'][this.d['Nokia5220XpressBlue'].length] = new Array('', '/mobile-phones//contract-mobile-phones/nokia-5220-xpress-blue.php/'); this.d['Nokia5220XpressGreen'] = new Array(); this.d['Nokia5220XpressGreen'][this.d['Nokia5220XpressGreen'].length] = new Array('', '/mobile-phones//contract-mobile-phones/nokia-5220-xpress-green.php/'); this.d['Nokia5220XpressRed'] = new Array(); this.d['Nokia5220XpressRed'][this.d['Nokia5220XpressRed'].length] = new Array('', '/mobile-phones//contract-mobile-phones/nokia-5220-xpress-red.php/'); this.d['Nokia5800XpressBlue'] = new Array(); this.d['Nokia5800XpressBlue'][this.d['Nokia5800XpressBlue'].length] = new Array('', '/mobile-phones//contract-mobile-phones/nokia-5800-xpress-blue.php/'); this.d['Nokia5800XpressRed'] = new Array(); this.d['Nokia5800XpressRed'][this.d['Nokia5800XpressRed'].length] = new Array('', '/mobile-phones//contract-mobile-phones/nokia-5800-xpress-red.php/'); this.d['Nokia6600Slide'] = new Array(); this.d['Nokia6600Slide'][this.d['Nokia6600Slide'].length] = new Array('', '/mobile-phones//contract-mobile-phones/nokia-6600-slide.php/'); this.d['NokiaN75'] = new Array(); this.d['NokiaN75'][this.d['NokiaN75'].length] = new Array('', '/mobile-phones//contract-mobile-phones/nokia-n75.php/'); this.d['NokiaN77'] = new Array(); this.d['NokiaN77'][this.d['NokiaN77'].length] = new Array('', '/mobile-phones//contract-mobile-phones/nokia-n77.php/'); this.d['SamsungF480HugoBoss'] = new Array(); this.d['SamsungF480HugoBoss'][this.d['SamsungF480HugoBoss'].length] = new Array('', '/mobile-phones//contract-mobile-phones/samsung-f480-hugo-boss.php/'); this.d['SamsungG810'] = new Array(); this.d['SamsungG810'][this.d['SamsungG810'].length] = new Array('', '/mobile-phones//contract-mobile-phones/samsung-g810.php/'); this.d['SamsungM8800Pixon'] = new Array(); this.d['SamsungM8800Pixon'][this.d['SamsungM8800Pixon'].length] = new Array('', '/mobile-phones//contract-mobile-phones/samsung-m8800-pixon.php/'); this.d['SamsungTobiS3030Blue'] = new Array(); this.d['SamsungTobiS3030Blue'][this.d['SamsungTobiS3030Blue'].length] = new Array('', '/mobile-phones//contract-mobile-phones/samsung-tobi-s3030-blue.php/'); this.d['SamsungTobiS3030Green'] = new Array(); this.d['SamsungTobiS3030Green'][this.d['SamsungTobiS3030Green'].length] = new Array('', '/mobile-phones//contract-mobile-phones/samsung-tobi-s3030-green.php/'); this.d['SamsungTobiS3030Orange'] = new Array(); this.d['SamsungTobiS3030Orange'][this.d['SamsungTobiS3030Orange'].length] = new Array('', '/mobile-phones//contract-mobile-phones/samsung-tobi-s3030-orange.php/'); this.d['SamsungTobiS3030Pink'] = new Array(); this.d['SamsungTobiS3030Pink'][this.d['SamsungTobiS3030Pink'].length] = new Array('', '/mobile-phones//contract-mobile-phones/samsung-tobi-s3030-pink.php/'); this.d['SamsungTobiS3030Silver'] = new Array(); this.d['SamsungTobiS3030Silver'][this.d['SamsungTobiS3030Silver'].length] = new Array('', '/mobile-phones//contract-mobile-phones/samsung-tobi-s3030-silver.php/'); this.d['SamsungTobiS3030Turquoise'] = new Array(); this.d['SamsungTobiS3030Turquoise'][this.d['SamsungTobiS3030Turquoise'].length] = new Array('', '/mobile-phones//contract-mobile-phones/samsung-tobi-s3030-turquoise.php/'); this.d['SamsungU800SoulbRed'] = new Array(); this.d['SamsungU800SoulbRed'][this.d['SamsungU800SoulbRed'].length] = new Array('', '/mobile-phones//contract-mobile-phones/samsung-u800-soulb-red.php/'); this.d['SamsungU800SoulbViolet'] = new Array(); this.d['SamsungU800SoulbViolet'][this.d['SamsungU800SoulbViolet'].length] = new Array('', '/mobile-phones//contract-mobile-phones/samsung-u800-soulb-violet.php/'); this.d['Samsungi7110'] = new Array(); this.d['Samsungi7110'][this.d['Samsungi7110'].length] = new Array('', '/mobile-phones//contract-mobile-phones/samsung-i7110.php/'); this.d['SonimXP3EnduroBlack'] = new Array(); this.d['SonimXP3EnduroBlack'][this.d['SonimXP3EnduroBlack'].length] = new Array('', '/mobile-phones//contract-mobile-phones/sonim-xp3-enduro-black.php/'); this.d['SonimXP3EnduroYellow'] = new Array(); this.d['SonimXP3EnduroYellow'][this.d['SonimXP3EnduroYellow'].length] = new Array('', '/mobile-phones//contract-mobile-phones/sonim-xp3-enduro-yellow.php/'); this.d['SonyEricssonC902Titanium'] = new Array(); this.d['SonyEricssonC902Titanium'][this.d['SonyEricssonC902Titanium'].length] = new Array('', '/mobile-phones//contract-mobile-phones/sony-ericsson-c902-titanium.php/'); this.d['SonyEricssonC905Bronze'] = new Array(); this.d['SonyEricssonC905Bronze'][this.d['SonyEricssonC905Bronze'].length] = new Array('', '/mobile-phones//contract-mobile-phones/sony-ericsson-c905-bronze.php/'); this.d['SonyEricssonC905Gold'] = new Array(); this.d['SonyEricssonC905Gold'][this.d['SonyEricssonC905Gold'].length] = new Array('', '/mobile-phones//contract-mobile-phones/sony-ericsson-c905-gold.php/'); this.d['SonyEricssonC905Silver'] = new Array(); this.d['SonyEricssonC905Silver'][this.d['SonyEricssonC905Silver'].length] = new Array('', '/mobile-phones//contract-mobile-phones/sony-ericsson-c905-silver.php/'); this.d['SonyEricssonF305Black'] = new Array(); this.d['SonyEricssonF305Black'][this.d['SonyEricssonF305Black'].length] = new Array('', '/mobile-phones//contract-mobile-phones/sony-ericsson-f305-black.php/'); this.d['SonyEricssonF305White'] = new Array(); this.d['SonyEricssonF305White'][this.d['SonyEricssonF305White'].length] = new Array('', '/mobile-phones//contract-mobile-phones/sony-ericsson-f305-white.php/'); this.d['SonyEricssonG502Hazel'] = new Array(); this.d['SonyEricssonG502Hazel'][this.d['SonyEricssonG502Hazel'].length] = new Array('', '/mobile-phones//contract-mobile-phones/sony-ericsson-g502-hazel.php/'); this.d['SonyEricssonG700'] = new Array(); this.d['SonyEricssonG700'][this.d['SonyEricssonG700'].length] = new Array('', '/mobile-phones//contract-mobile-phones/sony-ericsson-g700.php/'); this.d['SonyEricssonG705Black'] = new Array(); this.d['SonyEricssonG705Black'][this.d['SonyEricssonG705Black'].length] = new Array('', '/mobile-phones//contract-mobile-phones/sony-ericsson-g705-black.php/'); this.d['SonyEricssonG705Gold'] = new Array(); this.d['SonyEricssonG705Gold'][this.d['SonyEricssonG705Gold'].length] = new Array('', '/mobile-phones//contract-mobile-phones/sony-ericsson-g705-gold.php/'); this.d['SonyEricssonK550iWhite'] = new Array(); this.d['SonyEricssonK550iWhite'][this.d['SonyEricssonK550iWhite'].length] = new Array('', '/mobile-phones//contract-mobile-phones/sony-ericsson-k550i-white.php/'); this.d['SonyEricssonK800iBrown'] = new Array(); this.d['SonyEricssonK800iBrown'][this.d['SonyEricssonK800iBrown'].length] = new Array('', '/mobile-phones//contract-mobile-phones/sony-ericsson-k800i-brown.php/'); this.d['SonyEricssonS302Blue'] = new Array(); this.d['SonyEricssonS302Blue'][this.d['SonyEricssonS302Blue'].length] = new Array('', '/mobile-phones//contract-mobile-phones/sony-ericsson-s302-blue.php/'); this.d['SonyEricssonS302Grey'] = new Array(); this.d['SonyEricssonS302Grey'][this.d['SonyEricssonS302Grey'].length] = new Array('', '/mobile-phones//contract-mobile-phones/sony-ericsson-s302-grey.php/'); this.d['SonyEricssonT700Black'] = new Array(); this.d['SonyEricssonT700Black'][this.d['SonyEricssonT700Black'].length] = new Array('', '/mobile-phones//contract-mobile-phones/sony-ericsson-t700-black.php/'); this.d['SonyEricssonT700Red'] = new Array(); this.d['SonyEricssonT700Red'][this.d['SonyEricssonT700Red'].length] = new Array('', '/mobile-phones//contract-mobile-phones/sony-ericsson-t700-red.php/'); this.d['SonyEricssonT700Silver'] = new Array(); this.d['SonyEricssonT700Silver'][this.d['SonyEricssonT700Silver'].length] = new Array('', '/mobile-phones//contract-mobile-phones/sony-ericsson-t700-silver.php/'); this.d['SonyEricssonW595Black'] = new Array(); this.d['SonyEricssonW595Black'][this.d['SonyEricssonW595Black'].length] = new Array('', '/mobile-phones//contract-mobile-phones/sony-ericsson-w595-black.php/'); this.d['SonyEricssonW705'] = new Array(); this.d['SonyEricssonW705'][this.d['SonyEricssonW705'].length] = new Array('', '/mobile-phones//contract-mobile-phones/sony-ericsson-w705.php/'); this.d['SonyEricssonW760Blackwith4GbMemoryCard'] = new Array(); this.d['SonyEricssonW760Blackwith4GbMemoryCard'][this.d['SonyEricssonW760Blackwith4GbMemoryCard'].length] = new Array('', '/mobile-phones//contract-mobile-phones/sony-ericsson-w760-black-with-4gb-memory-card.php/'); this.d['SonyEricssonW902Green'] = new Array(); this.d['SonyEricssonW902Green'][this.d['SonyEricssonW902Green'].length] = new Array('', '/mobile-phones//contract-mobile-phones/sony-ericsson-w902-green.php/'); this.d['SonyEricssonW902Red'] = new Array(); this.d['SonyEricssonW902Red'][this.d['SonyEricssonW902Red'].length] = new Array('', '/mobile-phones//contract-mobile-phones/sony-ericsson-w902-red.php/'); this.d['SonyEricssonX1XperiaSilver'] = new Array(); this.d['SonyEricssonX1XperiaSilver'][this.d['SonyEricssonX1XperiaSilver'].length] = new Array('', '/mobile-phones//contract-mobile-phones/sony-ericsson-x1-xperia-silver.php/'); this.d['TMobileG1Bronze'] = new Array(); this.d['TMobileG1Bronze'][this.d['TMobileG1Bronze'].length] = new Array('', '/mobile-phones//contract-mobile-phones/t-mobile-g1-bronze.php/'); this.d['ThreeD100Router'] = new Array(); this.d['ThreeD100Router'][this.d['ThreeD100Router'].length] = new Array('', '/mobile-phones//contract-mobile-phones/three-d100-router.php/'); this.d['ThreeINQ1'] = new Array(); this.d['ThreeINQ1'][this.d['ThreeINQ1'].length] = new Array('', '/mobile-phones//contract-mobile-phones/three-inq1.php/'); this.h = new Array(); this.h[this.h.length] = new Array('Apple iPhone 3G', 'AppleiPhone3G'); this.h[this.h.length] = new Array('Apple iPhone 3G White', 'AppleiPhone3GWhite'); this.h[this.h.length] = new Array('Blackberry Curve 8900', 'BlackberryCurve8900'); this.h[this.h.length] = new Array('HP IPAQ Data Messenger', 'HPIPAQDataMessenger'); this.h[this.h.length] = new Array('HP IPAQ Voice Messenger', 'HPIPAQVoiceMessenger'); this.h[this.h.length] = new Array('HTC Shift', 'HTCShift'); this.h[this.h.length] = new Array('HTC Touch Cruise', 'HTCTouchCruise'); this.h[this.h.length] = new Array('HTC Touch Pro', 'HTCTouchPro'); this.h[this.h.length] = new Array('LG KF300', 'LGKF300'); this.h[this.h.length] = new Array('LG KF300 Wine', 'LGKF300Wine'); this.h[this.h.length] = new Array('LG Virgo', 'LGVirgo'); this.h[this.h.length] = new Array('Motorola L9', 'MotorolaL9'); this.h[this.h.length] = new Array('Motorola ZN5', 'MotorolaZN5'); this.h[this.h.length] = new Array('Nokia 3500 Classic Blue', 'Nokia3500ClassicBlue'); this.h[this.h.length] = new Array('Nokia 5220 Xpress Blue', 'Nokia5220XpressBlue'); this.h[this.h.length] = new Array('Nokia 5220 Xpress Green', 'Nokia5220XpressGreen'); this.h[this.h.length] = new Array('Nokia 5220 Xpress Red', 'Nokia5220XpressRed'); this.h[this.h.length] = new Array('Nokia 5800 Xpress Blue', 'Nokia5800XpressBlue'); this.h[this.h.length] = new Array('Nokia 5800 Xpress Red', 'Nokia5800XpressRed'); this.h[this.h.length] = new Array('Nokia 6600 Slide', 'Nokia6600Slide'); this.h[this.h.length] = new Array('Nokia N75', 'NokiaN75'); this.h[this.h.length] = new Array('Nokia N77', 'NokiaN77'); this.h[this.h.length] = new Array('Samsung F480 Hugo Boss', 'SamsungF480HugoBoss'); this.h[this.h.length] = new Array('Samsung G810', 'SamsungG810'); this.h[this.h.length] = new Array('Samsung M8800 Pixon', 'SamsungM8800Pixon'); this.h[this.h.length] = new Array('Samsung Tobi S3030 Blue', 'SamsungTobiS3030Blue'); this.h[this.h.length] = new Array('Samsung Tobi S3030 Green', 'SamsungTobiS3030Green'); this.h[this.h.length] = new Array('Samsung Tobi S3030 Orange', 'SamsungTobiS3030Orange'); this.h[this.h.length] = new Array('Samsung Tobi S3030 Pink', 'SamsungTobiS3030Pink'); this.h[this.h.length] = new Array('Samsung Tobi S3030 Silver', 'SamsungTobiS3030Silver'); this.h[this.h.length] = new Array('Samsung Tobi S3030 Turquoise', 'SamsungTobiS3030Turquoise'); this.h[this.h.length] = new Array('Samsung U800 Soulb Red', 'SamsungU800SoulbRed'); this.h[this.h.length] = new Array('Samsung U800 Soulb Violet', 'SamsungU800SoulbViolet'); this.h[this.h.length] = new Array('Samsung i7110', 'Samsungi7110'); this.h[this.h.length] = new Array('Sonim XP3 Enduro Black', 'SonimXP3EnduroBlack'); this.h[this.h.length] = new Array('Sonim XP3 Enduro Yellow', 'SonimXP3EnduroYellow'); this.h[this.h.length] = new Array('Sony Ericsson C902 Titanium', 'SonyEricssonC902Titanium'); this.h[this.h.length] = new Array('Sony Ericsson C905 Bronze', 'SonyEricssonC905Bronze'); this.h[this.h.length] = new Array('Sony Ericsson C905 Gold', 'SonyEricssonC905Gold'); this.h[this.h.length] = new Array('Sony Ericsson C905 Silver', 'SonyEricssonC905Silver'); this.h[this.h.length] = new Array('Sony Ericsson F305 Black', 'SonyEricssonF305Black'); this.h[this.h.length] = new Array('Sony Ericsson F305 White', 'SonyEricssonF305White'); this.h[this.h.length] = new Array('Sony Ericsson G502 Hazel', 'SonyEricssonG502Hazel'); this.h[this.h.length] = new Array('Sony Ericsson G700', 'SonyEricssonG700'); this.h[this.h.length] = new Array('Sony Ericsson G705 Black', 'SonyEricssonG705Black'); this.h[this.h.length] = new Array('Sony Ericsson G705 Gold', 'SonyEricssonG705Gold'); this.h[this.h.length] = new Array('Sony Ericsson K550i White', 'SonyEricssonK550iWhite'); this.h[this.h.length] = new Array('Sony Ericsson K800i Brown', 'SonyEricssonK800iBrown'); this.h[this.h.length] = new Array('Sony Ericsson S302 Blue', 'SonyEricssonS302Blue'); this.h[this.h.length] = new Array('Sony Ericsson S302 Grey', 'SonyEricssonS302Grey'); this.h[this.h.length] = new Array('Sony Ericsson T700 Black', 'SonyEricssonT700Black'); this.h[this.h.length] = new Array('Sony Ericsson T700 Red', 'SonyEricssonT700Red'); this.h[this.h.length] = new Array('Sony Ericsson T700 Silver', 'SonyEricssonT700Silver'); this.h[this.h.length] = new Array('Sony Ericsson W595 Black', 'SonyEricssonW595Black'); this.h[this.h.length] = new Array('Sony Ericsson W705', 'SonyEricssonW705'); this.h[this.h.length] = new Array('Sony Ericsson W760 Black with 4Gb Memory Card', 'SonyEricssonW760Blackwith4GbMemoryCard'); this.h[this.h.length] = new Array('Sony Ericsson W902 Green', 'SonyEricssonW902Green'); this.h[this.h.length] = new Array('Sony Ericsson W902 Red', 'SonyEricssonW902Red'); this.h[this.h.length] = new Array('Sony Ericsson X1 Xperia Silver', 'SonyEricssonX1XperiaSilver'); this.h[this.h.length] = new Array('T Mobile G1 Bronze', 'TMobileG1Bronze'); this.h[this.h.length] = new Array('Three D100 Router', 'ThreeD100Router'); this.h[this.h.length] = new Array('Three INQ1', 'ThreeINQ1'); this.InitHandsets(); // this.ChangeNetwork(this.nf.value); } AllPhoneSearchTwo.prototype.ChangeHandset = function(hs) { for (i = this.nf.options.length; i >= 0; i--) { this.nf.options[i] = null; } // Add the option to select the handset/network this.nf.options[0] = new Option(((hs != "") ? "Now choose Network..." : "...then choose Network"), ""); // If a network is selected, add the options if (hs != "" && this.d[hs]) { // this.nf.options[this.nf.options.length] = new Option('all', 'all'); for (i = 0; i < this.d[hs].length; i++) { this.nf.options[this.nf.options.length] = new Option(this.d[hs][i][0], this.d[hs][i][1]); } if (this.ps > 0) this.nf.selectedIndex = this.ps; if (this.pf != '') { this.pf.value = hs; } } } AllPhoneSearchTwo.prototype.ChangeNetwork = function(nw) { var i; // Remove all the options out of the phone field for (i = this.pf.options.length; i >= 0; i--) { this.pf.options[i] = null; } // Add the option to select the handset/network this.pf.options[0] = new Option(((nw != "") ? "Choose Handset first..." : "...then choose Network"), ""); // If a network is selected, add the options if (nw != "" && this.d[nw]) { for (i = 0; i < this.data[network].length; i++) { this.pf.options[this.pf.options.length] = new Option(this.d[nw][i][0], this.d[nw][i][1]); } if (this.ps > 0) this.pf.selectedIndex = this.ps; if (this.nf != '') { this.nf.value = nw; } } } AllPhoneSearchTwo.prototype.InitHandsets = function() { for (i = this.pf.options.length; i >= 0; i--) { this.pf.options[i] = null; } // Add the option to select the handset/network this.pf.options[0] = new Option("Choose Handset first...", ""); for (i = 0; i < this.h.length; i++) { this.pf.options[this.pf.options.length] = new Option(this.h[i][0], this.h[i][1]); } } AllPhoneSearchTwo.prototype.GoTo = function(url) { if (url != "") { document.location.href = url; } }