The Journey To Riches

The Journey To Riches
07-11-07 03:25
Alter: 335 days





The Journey To Riches @import "http://picsinfo.com/homepage/index3col.css"; #weatherPop { position: absolute; margin: 0px 0px 0px 100px; top: 688px; left: 367px; border-style: solid; border-color: black; border-width: 2px; background-color:#ffffcc; width:400px; height:150px; display: none; text-align: right; z-Index: 7777; } #weatherCountryList { background-color: white; color: black; margin: 5px; } #stateList { background-color: white; color: black; margin: 5px; } #chooseStation { background-color: white; color: black; margin: 5px; } #stationChoiceList { background-color: white; color: black; margin: 5px; } #weatherCloseButton { text-align: left; font-family: helvetica, impact, sans-serif; font-size: 9pt; border-top-width: 0px; border-bottom-width: 1px; border-left-width: 0px; border-right-width: 0px; border-color: black; border-style: solid; background-color: #e7f1ff; } // setup the request object... // this came from rasmus's tutorial on these things.... function createRequestObject() { var ro; var browser = navigator.appName; if(browser == "Microsoft Internet Explorer") { ro = new ActiveXObject("Microsoft.XMLHTTP"); } else { ro = new XMLHttpRequest(); } isBusy = true; return ro; } // end function // initialize the xml request

var http = createRequestObject(); http.open("GET",'index.php?nothing=true',true);

var isBusy = true;

http.onreadystatechange = catchData;

http.send(null); function catchData() { if (http.readyState == 4) { // alert(http.responseText); } isBusy = false; } function getCountryList() { if (isBusy) { http.abort(); setTimeout('getCountryList()', 1000); } else { isBusy = true; http.open('get', 'index.php?action=getWeatherCountries&noCache='+ 1163726387); http.onreadystatechange = handleGetCountryList; http.send(null); } } // and this is that engine...

function handleGetCountryList() { if(http.readyState == 4) { isBusy = false; var response = http.responseText; // clear the select box... var weatherDropdown = document.getElementById('weatherCountryList'); weatherDropdown.innerHTML = ''; // add the default newOption = document.createElement("option"); newOption.text = 'Select Country...'; newOption.innerText = 'Select Country...'; newOption.value = ''; weatherDropdown.appendChild(newOption); // since the object is json, we can process it like an object... var countryList = response.parseJSON(); for (var i=0; i

<countryList.length; i++) { newOption = document.createElement("option"); newOption.text = countryList[i]; newOption.value = countryList[i]; newOption.innerText = countryList[i]; weatherDropdown.appendChild(newOption); } } // end if } // end function function handleWeatherCountryChoice() { //alert(document.getElementById('weatherCountryList').value); if (document.getElementById('weatherCountryList').value == '') { document.getElementById('weatherStateSelect').style.display = 'none'; document.getElementById('weatherStationSelect').style.display = 'none'; document.getElementById('chooseStation').style.display = 'none'; // do nothing } else if (document.getElementById('weatherCountryList').value == 'United States') { document.getElementById('weatherStateSelect').style.display = 'block'; document.getElementById('weatherStationSelect').style.display = 'none'; document.getElementById('chooseStation').style.display = 'none'; } else { getStationList(document.getElementById('weatherCountryList').value); document.getElementById('weatherStateSelect').style.display = 'none'; document.getElementById('weatherStationSelect').style.display = 'block'; document.getElementById('chooseStation').style.display = 'none'; } } // end function function selectStation() { stationSelection = document.getElementById('stationChoiceList').value; createCookie("weatherStation", stationSelection, 365); document.location = '/index.php'; } function getStateStations() { state = document.getElementById('stateList').value; document.getElementById('weatherStationSelect').style.display = 'block'; document.getElementById('chooseStation').style.display = 'block'; http.open('get', 'index.php?action=getStateStations&stateName=' + state + '&noCache='+ 1163726387); http.onreadystatechange = handleStateStations; http.send(null); } function handleStateStations() { if(http.readyState == 4) { var response = http.responseText; // clear the select box... var stationSelecter = document.getElementById('weatherStationSelect'); stationSelecter.innerHTML = ''; newSelect = document.createElement('select'); newSelect.id = 'stationChoiceList'; newSelect.onchange = showWeatherSubmit; stationSelecter.appendChild(newSelect); // add the default newOption = document.createElement("option"); newOption.text = 'Select Station...'; newOption.innerText = 'Select Station...'; newOption.value = ''; newSelect.appendChild(newOption); // since the object is json, we can process it like an object... var stationList = response.parseJSON(); for (var i=0; i

-1) { var dataArray = stationList[i]['placeName'].split(','); newOption.text = dataArray[0]; newOption.innerText = dataArray[0]; } else { newOption.text = stationList[i]['placeName']; newOption.innerText = stationList[i]['placeName']; } newOption.value = stationList[i]['stationID']; newSelect.appendChild(newOption); } } // end if } // end function function showWeatherSubmit() { document.getElementById('chooseStation').style.display = 'block'; } function getStationList(country) { document.getElementById('weatherStateSelect').style.display = 'none'; http.open('get', 'index.php?action=getCities&countryName=' + country + '&noCache='+ 1163726387); http.onreadystatechange = handleStationList; http.send(null); } function handleStationList() { if(http.readyState == 4) { var response = http.responseText; // clear the select box... var stationSelecter = document.getElementById('weatherStationSelect'); stationSelecter.innerHTML = ''; newSelect = document.createElement('select'); newSelect.id = 'stationChoiceList'; newSelect.onchange = showWeatherSubmit; stationSelecter.appendChild(newSelect); // add the default newOption = document.createElement("option"); newOption.text = 'Select Station...'; newOption.innerText = 'Select Station...'; newOption.value = ''; newSelect.appendChild(newOption); // since the object is json, we can process it like an object... var stationList = response.parseJSON(); for (var i=0; i

<stationList.length; i++) { newOption = document.createElement("option"); newOption.text = stationList[i]['placeName']; newOption.innerText = stationList[i]['placeName']; newOption.value = stationList[i]['stationID']; newSelect.appendChild(newOption); } } // end if } // end function // international weather pop... function showInternationalWeather() { var browser = navigator.appName; if(browser != "Microsoft Internet Explorer") { var newRight = document.getElementById('weatherPop').style.right.replace('px',''); newRight = newRight - 200; document.getElementById('weatherPop').style.right = newRight + 'px'; var newRight = document.getElementById('weatherPop').style.marginLeft.replace('px',''); newRight = newRight - 0; document.getElementById('weatherPop').style.marginLeft = newRight + 'px'; } document.getElementById('weatherPop').style.display = 'block'; getCountryList(); } function hideInternationalWeather() { document.getElementById('weatherPop').style.display = 'none'; } // cookie handler

function readCookie(name) { var nameEQ = name + "="; var ca = document.cookie.split(';'); for(var i=0;i < ca.length;i++) { var c = ca[i]; while (c.charAt(0)==' ') c = c.substring(1,c.length); if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length); } return null; } function createCookie(name,value,days) { var date = new Date(); date.setTime(date.getTime()+(days*24*60*60*1000)); var expires = "; expires="+date.toGMTString(); document.cookie = name+"="+value+expires+"; path=/"; } ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

// Set Homepage IE //

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// function setHome() { createCookie('hidemakehomepage','yes',365); document.body.style.behavior='url(#default#homepage)'; document.body.setHomePage(window.location.href); } ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

// Set Bookmark Firefox //

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// function setBookMark() { var title = 'Make up to $100, $200 or even $300!'; var url = window.location.href; if (window.sidebar) { window.sidebar.addPanel(title, url, "") } else if (window.sidebar&&window.sidebar.addPanel) { window.sidebar.addPanel(title,url,""); } } ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

// Hide Flash Homepage Div //

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// function hideDivHomepage() { createCookie('hidemakehomepage','yes',365); document.getElementById('flash_container').style.display = 'none'; }

function hideDivHomepageNoCookie() { document.getElementById('flash_container').style.display = 'none'; } ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

// Hide/Show News Divs //

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Hide News Divs function hideDivNews() { document.getElementById('news_v1_headline').style.display = 'none'; document.getElementById('news_v1_world').style.display = 'none'; document.getElementById('news_v1_technology').style.display = 'none'; document.getElementById('news_v1_entertainment').style.display = 'none'; } // Show News Divs function showDivNews(MOD) { document.getElementById(MOD).style.display = 'block'; } ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

// Date and Time Functions //

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Show Date function GetDay(intDay) { var DayArray = new Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday") return DayArray[intDay] } function GetMonth(intMonth) { var MonthArray = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December") return MonthArray[intMonth] }

function getDateStrWithDOW() { var today = new Date() var year = today.getYear() if(year

= 12){ curHour -= 12 curAMPM = "pm" } if (curHour == 0) curHour = 12 curTime = curHour + ":" + ((curMin < 10) ? "0" : "") + curMin + curAMPM ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

// Ed's Script //

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// function changePage (url) { window.location=url; } // end function var showFlashBadge = false; document.write(getDateStrWithDOW()) document.write(curTime) The Journey To Riches Search the Internet: Message Center: Yahoo Mail | Google Mail | Hotmail | Excite Mail | AOL Mail close Weather Stations Loading... Select a state... Alabama Alaska Arizona Arkansas California Colorado Connecticut Delaware District of Columbia Florida Georgia Hawaii Idaho Illinois Indiana Iowa Kansas Kentucky Louisiana Maine Maryland Massachusetts Michigan Minnesota Mississippi Missouri Montana Nebraska Nevada New Hampshire New Jersey New Mexico New York North Carolina North Dakota Ohio Oklahoma Oregon Pennsylvania Rhode Island South Carolina South Dakota Tennessee Texas Utah Vermont Virginia Washington West Virginia Wisconsin Wyoming Auctions

[Info] Electronics & Office Jewelry & Watches Antiques Collectibles Kids & Baby Home & Garden Health & Beauty Clothing Toys & Hobbies Everything Else ALL CATEGORIES Fitness & Health

[Info] Supplements Home Gym Magazine Workout Fitness ALL CATEGORIES if(showFlashBadge == true) { document.getElementById('getFlash').innerHTML = "

"; } // end if Headline News World News Technology Entertainment Thu, 16 Nov 2006 23:42:09 GMT France's Royal to lead socialist... AFP - France's socialist favorite Segolene Royal moved a step closer to becoming the country's first ever woman president after she won a resounding victory in a party primary over two more experienced rivals.[

more

] More News: Tornado kills at least 8... France, Spain, Italy propose... McCain calls for 'common sense... Bush to make first visit to Vietnam HP earns &#36;1.7B in 4Q... Most Popular Health Politics Travel Business Technologies Science Opinion Headline News World News Technology Entertainment Thu, 16 Nov 2006 21:40:42 GMT Fallujah now a safe haven for Sunnis AP - Some 30 Sunni refugees seeking a safe haven from Baghdad sit under the shade of a camouflage net on the outskirts of Fallujah, waiting at a makeshift U.S. facility for city IDs.[

more

] More News: Sudan agrees "in principle"... Australia gets heated over... Vatican reaffirms celibacy... France's Royal wins Socialist... Royal wins French Socialists'... Most Popular Health Politics Travel Business Technologies Science Opinion Headline News World News Technology Entertainment Thu, 16 Nov 2006 23:07:41 GMT Gamers line up for coveted... AP - Die-hard gamers and entrepreneurs prepared to shell out $500 or more for the new PlayStation 3 console that goes on sale Friday, many of them after waiting in line for days despite the likelihood they'd go home empty-handed.[

more

] More News: Video gamers in full tilt... Wii to allow users to surf... Nintendo hopes for console comeback Retailers prepare for console... Most Popular Health Politics Travel Business Technologies Science Opinion Headline News World News Technology Entertainment Thu, 16 Nov 2006 23:03:58 GMT Italian mayor chats up TomKat... AP - Tom Cruise and Katie Holmes will likely wed Saturday in a Scientology ceremony held at a 15th-century Italian castle in a lakeside town near Rome, the town's mayor said Thursday.[

more

] More News: 'Truth' makes short list for... The Duchess of York just... Italian mayor chats up TomKat... Gordon Ramsey opens restaurant... Pressly reveals pregnancy on... Most Popular Health Politics Travel Business Technologies Science Opinion Thu, 16 Nov 2006 22:36:52 GMT Miyazato leads, Pressel 3... AP - The first of Morgan Pressel's many challenges Thursday came on the opening hole, when she knocked a birdie putt 6 feet past the cup.[

more

] More Stories: Nalbandian ousts Roddick at... Sabres, Stars and Ducks all... Cavs' Hughes sidelined with... FoxSports.com Playoffs? Playoffs?!?!!! Click for video eBay Motors | eBay Stores | Live Auctions Reviews & Guides | Want it Now | eBay Business Search eBay: All Categories Antiques Art Baby Boats Books Business & Industrial Cameras & Photo Cars, Parts & Vehicles Cell Phones Clothing & Shoes Coins Collectibles Computers Consumer Electronics Crafts Dolls & Bears DVDs & Movies Entertainment Mem Gift Certificates Health & Beauty Home & Garden Jewelry & Watches Music Musical Instruments Pottery & Glass Real Estate Specialty Services Sporting Goods Sports Mem Stamps Tickets Toys & Hobbies Travel Video Games Everything Else Advanced Search DR-LB4 Battery For Konica KD-510Z KD-410Z KD-300Z

Price: $0.01 Weather for 90210 Beverly Hills, CA Fair 71° F

22° C Current Conditions Humidity: 41 % Dewpoint: 46° F

8° C Wind Chill: NA° F

NA° C Barometer: 29.88 in Wind From the Southwest at 6 MPH Hometown Weather Enter your 5-digit Zip for local weather: International Weather Stock Quotes Dow Jones 12305.82 +54.11 Nasdaq 2449.06 +6.31 S&P 500 1399.76 +3.19 Custom Quotes AMD 21.74 +0.03 Stock Symbol Lookup: Top 5 Popular Searches: Christina Aguilera

Talia Balsam

Paris Hilton

Lindsay Lohan

NFL This site has received 12 visitors © Copyright thejourneytoriches.com 2006. All Rights Reserved. hideDivNews(); showDivNews('news_v1_headline')







The Journey To Riches


<- Zurück zu: salsjourney