Javascript Ticker

ddg42mahan
ddg42mahan used Ask the Experts™
on
Still having problems with ticker.

There are several pages that uses the below 3 links and they work fine because the pages require a ticker to be added.  This one pages does not require a ticker.

I have to be able to come up with a "javascript" that will work on "All" pages without them effecting "each other".

How can this be done? I receive error "object not found" This is my first attempt in writing javascript.

The 3 links that need to ignore the ticker box when a person click on either links are:

Quote | Company Profile | Interactive Chart



script language="JavaScript">
function tickerfunction() {
  if (document.tickerSearch.ticker.value) {
     tickervalue =  document.tickerSearch.ticker.value;
  }        

  else {
     return this.arguments[name].value.replace(" ");
  }
  return this;
}

/script>



Below is the html file  
-------------------------------------------------------

html>
    head>
        title>News/title>
        meta content="text/html; charset=iso-8859-1" http-equiv="content-type">
        meta content="en" http-equiv="content-language">
        meta content="no-cache" http-equiv="Cache-Control">
        meta content="0" http-equiv="expires">
        meta content="no-cache" http-equiv="Pragma">
        meta content="TRUE" name="MSSmartTagsPreventParsing">
        link href="http://www.thomsonfn.com/styles/thomsonfn.css" rel="stylesheet" type="text/css">
        link href="http://partners.thomsonfn.com/USBank/tipsheet/styles/tipsheet.css" rel="stylesheet" type="text/css">

script language="JavaScript">
function tickerfunction() {
  if (document.tickerSearch.ticker.value) {
     tickervalue =  document.tickerSearch.ticker.value;
  }        

  else {
     return this.arguments[name].value.replace(" ");
  }
  return this;
}

/script>
    /head>
    body marginheight="0" marginwidth="0" topmargin="0" leftmargin="0">
        table align="left" cellspacing="0" cellpadding="0" width="762" border="0">
            tr>
                td colspan="5">
                    table border="0" cellpadding="0" cellspacing="0" width="100%">
                        tr>
                        /tr>
                        tr>
                            td align="right">script language="JavaScript" src="http://partners.thomsonfn.com/USBank/scripts/bank.js">/script>a href="javascript:location.href='http://partners.thomsonfn.com/USBank/stockquote/fcgi-bin/tipsheet_delay_us?select=1&group=us&stq_tmpl_name=stock_quote_delay.html&ticker='+document.tickerSearch.ticker.value;">Quote/a>  
    |  
                  
   a href="javascript:location.href='http://partners.thomsonfn.com/USBank/tipsheet/cgi-bin/get_rtqtip_us?group=us&dquote=1&ticker='+document.tickerSearch.ticker.value;">Company Profile/a>  
    |  
                  
      a href="javascript:location.href='http://chart.thomsonfn.com/thomson/FinancialImageGenerator?&type=2&typeMod=0&timeFrame=7&timeframeMod=0&range=2&logarithmic=&size=0&imageStyleSheet=ichartimage&dummyVar=1&prtid=Mzg0VlZOQ1lXNXJQJFkEQUALSTO&prdid=IChartImage&symbol='+document.tickerSearch.ticker.value;">Interactive Chart/a>/td>
                        /tr>
                    /table>
                /td>
            /tr>
            tr>
                td bgcolor="#ffffff" valign="top">/td>td valign="top">img height="1" width="10" src="http://lil.cda.com:7061/images/commonImg/spacer.gif">/td>td valign="top">
                    table border="0" cellspacing="0" cellpadding="0" width="492" align="center">
                        tr>
                            td>
                                p class="newsHalfSpace">
                                /p>
                                table width="100%" cellspacing="0" cellpadding="0" border="0">
                                    tr>
                                        td colspan="2">span class="newsPageTitle">News: Advanced Search/span>/td>
                                    /tr>
                                    tr>
                                        td width="20%">img height="1" width="102" src="http://lil.cda.com:7061/images/commonImg/spacer.gif">/td>td>a href="http://lil.cda.com:7131/newsedge/NewsSrch?pid=USBank&transform=todaysNews&type=by_hl&page=0-next" class="newsPrimaryLink">Todays News/a>    
      span class="newsCurrentPage">Advanced Search/span>
            
               
      a href="http://lil.cda.com:7131/StaticPage/StaticPage?pid=USBank&product=news&staticfile=faq" class="newsPrimaryLink">Help/a>/td>
                                    /tr>
                                /table>
                                p class="newsHalfSpace">
                                /p>
                                form action="http://lil.cda.com:7131/newsedge/NewsSrch" onSubmit="return validateAdvSearch(this)" name="newsAdvSearch">
                                    table width="100%" class="newsBorder" cellspacing="0" cellpadding="3" border="0">
                                        tr>
                                            td colspan="3" class="newsColumnLabel">Select one of the following search criteria./td>
                                        /tr>
                                        tr>
                                            td align="right">a href="http://lil.cda.com:7131/StaticPage/StaticPage?pid=USBank&product=news&staticfile=glossary#ticker">Ticker/a> /td>td>input onFocus="advanceSearch('ticker')" value="" name="ticker" accesskey="t" type="Text">
                                               
Enter Up to 10 separated by commas./td>td class="newsCapText">a href="#"onClick="globalFindTicker(); return false"  class="newsSymbolLookUp">Symbol
Lookup/a>/td>
                                        /tr>
                                        tr>
                                            td align="right">a href="http://lil.cda.com:7131/StaticPage/StaticPage?pid=USBank&product=news&staticfile=glossary#industry">Industry/a> /td>td colspan="2">select onChange="advanceSearch('industry')" name="industry">option value="">/option>option value="AERODEF">Aerospace & Defense/option>option value="AGRIBIZ">Agriculture/option>option value="AGRICHEM">Agricultural Chemicals/option>option value="DJFAIR">Airlines/option>option value="AUTOBIZ">Automotive/option>option value="BANKBIZ">Banking/option>option value="CHEMBIZ">Chemicals/option>option value="CPTROVER">Computer Equipment/option>option value="CONSPROD">Consumer Products/option>option value="ETRONICS">Electronics/option>option value="DJFENT">Entertainment/option>option value="FOODBIZ">Food and Beverage/option>option value="GASUTILY">Gas Utilities/option>option value="MEDFIN">Healthcare/option>option value="INSUROVR">Insurance/option>option value="MMBSN">Internet/option>option value="MANCOS">Manufacturing/option>option value="METALS">Metals/option>option value="MINING">Mining/option>option value="PHARMBIZ">Pharmaceutical/option>option value="REALBIZ">Real Estate/option>option value="RETAIL">Retail/option>option value="SOFOVER1">Software/option>option value="TETOP10">Telecom/option>option value="TRANBIZ">Transportation/option>option value="TRAVBIZ">Travel and Hospitality/option>option value="ENTOPELE">Electric Utilities/option>option value="WATERINT">Water Utilities/option>option value="WHOLDIST">Wholesale Trade and Distribution/option>option value="DCWLSBIZ">Wireless/option>/select>/td>
                                        /tr>
                                        tr>
                                            td align="right">a href="http://lil.cda.com:7131/StaticPage/StaticPage?pid=USBank&product=news&staticfile=glossary#predefined">Predefined Search/a> /td>td colspan="2">select onchange="advanceSearch('predefined')" name="pre_topic">option value="">/option>option value="ACCNTING">Accounting Services/option>option value="ASIACEO">Asia Pacific News/option>option value="CANTOP">Canadian News/option>option value="FEDWATCH">Federal Reserve/option>option value="BIGFINAN">Financial Markets/option>option value="ECOMBIZ">E-Commerce/option>option value="EUROCEO">European News/option>option value="EXECMOVE">Executive Personnel Changes/option>option value="INSIDER">Insider Trading/option>option value="IRATES">Interest Rates/option>option value="MERGERS">Mergers/option>option value="MUTFUNDA">Mutual Funds/option>option value="REGULATE">Regulatory/option>option value="UK">U.K. News/option>option value="ECONFORE">U.S. Economic Forecast/option>option value="ECONDICA">U.S. Economic Indicators/option>option value="TREZUREZ">U.S. Treasury Bonds/option>/select>/td>
                                        /tr>
                                        tr>
                                            td colspan="3"> /td>
                                        /tr>
                                        tr>
                                            td colspan="3" class="newsColumnLabel">Select additional Search criteria:/td>
                                        /tr>
                                        tr>
                                            td align="right">a href="http://lil.cda.com:7131/StaticPage/StaticPage?pid=USBank&product=news&staticfile=glossary#keyword">Keyword/a> /td>td colspan="2">input name="keyword" type="Text" accesskey="k">/td>
                                        /tr>
                                        tr>
                                            td align="right">a href="http://lil.cda.com:7131/StaticPage/StaticPage?pid=USBank&product=news&staticfile=glossary#date">Date/a> /td>td colspan="2">select onChange="newsDate('dateField')" name="low_dt">option value="">/option>option selected value="30">All/option>option value="0">Today/option>option value="1">Yesterday/option>option value="7">Last Week/option>option value="14">Last 2 Weeks/option>option value="21">Last 3 Weeks/option>/select>/td>
                                        /tr>
                                        tr>
                                            td colspan="2" align="center">-OR-/td>
                                        /tr>
                                        tr>
                                            td align="right">a href="http://lil.cda.com:7131/StaticPage/StaticPage?pid=USBank&product=news&staticfile=glossary#daterange">Date Range/a>/td>td colspan="2">input size="10" maxlength="10" onFocus="newsDate('dateRange')" name="from" type="Text"> to input size="10" maxlength="10" onFocus="newsDate('dateRange')" name="to" type="Text"> (MM/DD/YYYY)/td>
                                        /tr>
                                        tr>
                                            td> /td>td class="newsCapText" colspan="2">span>Archive of 30 days./span>/td>
                                        /tr>
                                        tr>
                                            td> /td>td colspan="2">input value="Search" id="search" name="search" type="submit">/td>
                                        /tr>
                                    /table>
                                    input value="adv_srch" name="type" type="hidden">input name="transform" type="hidden">input value="0-next" name="page" type="hidden">input value="USBank" name="pid" type="hidden">
                                /form>
                                script language="JavaScript">

function newsDate(formObj){
var obj = document.newsAdvSearch;

      switch (formObj){
            case "dateRange":
                       obj.low_dt.selectedIndex = 0;
           break
            
            case "dateField":
                  obj.to.value = "";
                  obj.from.value= "";
            break
      default:      
      }
}


function advanceSearch(formObj){
var obj = document.newsAdvSearch;

      switch (formObj){
            case "ticker":
                       if(obj.industry){obj.industry.selectedIndex=0;}
                       if(obj.pre_topic){obj.pre_topic.selectedIndex=0;}
                       obj.transform.value = "advTickerSearch";
           break
            
            case "industry":
                  obj.ticker.value = "";
                  if(obj.pre_topic){obj.pre_topic.selectedIndex=0;}
                  obj.transform.value = "searchResults";
            break
            
            case "predefined":
                  obj.ticker.value = "";
                  if(obj.industry){obj.industry.selectedIndex=0;}
                  obj.transform.value = "searchResults";
            break
      default:      
      }
}

function validateAdvSearch(){
var obj = document.newsAdvSearch;
var numTicker = obj.ticker.value
      splitString = numTicker.split(",")

var dateRangeFrom = obj.from.value;
var dateRangeTo = obj.to.value;

var      splitDateRangeFrom = dateRangeFrom.split("/");
var      splitDateRangeTo = dateRangeTo.split("/");
var dateReg = /\D/g;
 

if(obj.industry && obj.pre_topic){
      if((obj.ticker.value == "") && (obj.industry.selectedIndex == 0) && (obj.pre_topic.selectedIndex == 0)){
            alert("Select a search criteria.")
                  return false;
            }
}

if(!obj.industry && !obj.pre_topic){
      if((obj.ticker.value == "")){
            alert("Enter ticker.")
                  return false;
            }
}


if(!obj.industry){
      if((obj.ticker.value == "") &&  (obj.pre_topic.selectedIndex == 0)){
            alert("Select a search criteria.")
                  return false;
            }
}

if(!obj.pre_topic){
      if((obj.ticker.value == "") &&  (obj.pre_topic.selectedIndex == 0)){
            alert("Select a search criteria.")
                  return false;
            }
}

            
if(obj.ticker.value != "" && obj.ticker.value.indexOf(',') != -1){
      obj.transform.value = "searchResults";
}
                              
if(splitString.length > 10){
      alert("You can only enter 10 tickers.")
      return false;
}
                                    
if(obj.from != null && obj.low_dt.selectedIndex == 0){      
      if(newsValidDate(document.newsAdvSearch.from.value) == false || newsValidDate(document.newsAdvSearch.to.value) == false){
            return false;
      
      }
}

return true;
}

function newsValidDate(fld) {
      var testMo, testDay, testYr, inpMo, inpDay, inpYr, msg
      var inp = fld
      // attempt to create date object from input data
      var testDate = new Date(inp)
      // extract pieces from date object
      testMo = testDate.getMonth() + 1
      testDay = testDate.getDate()
      testYr = testDate.getFullYear()
      // extract components of input data
      inpMo = parseInt(inp.substring(0, inp.indexOf("/")), 10)
      inpDay = parseInt(inp.substring((inp.indexOf("/") + 1), inp.lastIndexOf("/")), 10)
      inpYr = parseInt(inp.substring((inp.lastIndexOf("/") + 1), inp.length), 10)
    inpYr
      // make sure parseInt() succeeded on input components
      if (isNaN(inpMo) || isNaN(inpDay) || isNaN(inpYr)) {
            msg = "Please enter a date range within the last 30 days and please follow the listed format"
      }
      // make sure conversion to date object succeeded
      if (isNaN(testMo) || isNaN(testDay)) {
            msg = "Please enter a date range within the last 30 days and please follow the listed format"
      }
      // make sure values match
      if (testMo != inpMo || testDay != inpDay) {
            msg = "Please enter a date range within the last 30 days and please follow the listed format"
      }
      if (msg) {
            // there's a message, so something failed
            alert(msg)
            return false
      } else {
      
            return true
      }
}
advanceSearch('ticker')

/script>script language="JavaScript">
var globalPageLink = "http://lil.cda.com:7131/";
var globalFindTickerURL = "http://lil.cda.com:7121/";
var globalFindTickerPID = "USBank";



function globalFindTicker(){
var uri = escape(globalPageLink + "newsedge/NewsSrchAdvPage?&transform=advPage&xml=advPage&pid="+globalFindTickerPID+"&ticker=" + document.newsAdvSearch.ticker.value);
var findTickerWindow = window.open(globalFindTickerURL + "FindTicker/FindTickerSelect?transform=findticker&pid="+globalFindTickerPID+"&user_id=&findtype=PR&ticker=select&uri="+uri,"findTickerWindow" ,'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=530,height=297' );
}
      
/script>
                                p class="newsHalfSpace">
                                /p>
                            /td>
                        /tr>
                    /table>
                /td>td valign="top">img height="1" width="10" src="http://lil.cda.com:7061/images/commonImg/spacer.gif">/td>td bgcolor="#ffffff" valign="top">/td>
            /tr>
            tr>
                td colspan="5">
                    table border="0" cellpadding="0" cellspacing="0" width="100%">
                        tr>
                        /tr>
                        tr>
                            td align="right">script language="JavaScript" src="http://partners.thomsonfn.com/USBank/scripts/bank.js">/script>a href="javascript:location.href='http://partners.thomsonfn.com/USBank/stockquote/fcgi-bin/tipsheet_delay_us?select=1&group=us&stq_tmpl_name=stock_quote_delay.html&ticker='+document.tickerSearch.ticker.value;">Quote/a>  
    |  
                  
   a href="javascript:location.href='http://partners.thomsonfn.com/USBank/tipsheet/cgi-bin/get_rtqtip_us?group=us&dquote=1&ticker='+document.tickerSearch.ticker.value;">Company Profile/a>  
    |  
                  
      a href="javascript:location.href='http://chart.thomsonfn.com/thomson/FinancialImageGenerator?&type=2&typeMod=0&timeFrame=7&timeframeMod=0&range=2&logarithmic=&size=0&imageStyleSheet=ichartimage&dummyVar=1&prtid=Mzg0VlZOQ1lXNXJQJFkEQUALSTO&prdid=IChartImage&symbol='+document.tickerSearch.ticker.value;">Interactive Chart/a>/td>
                        /tr>
                    /table>
                   
                /td>
            /tr>
        /table>
    /body>
/html>



Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
Ok... I've figured it out...

You just have to change all your 'tickerSearch' in your code for 'newsAdvSearch'

'tickerSearch' actually is not an object... it doesn't exist at all!!!

cheers =0)

Author

Commented:
That works but it effects the other pages that uses those same 3 links for ticker search.  Anything else you can suggest I try to make this work all around?

Thanks for responding so quickly much appreciated.

Commented:
ok... let's try this...

what did you mean with 'tickerSearch'?

'newsAdvSearch' is the name (id) of the searching form... so, what exactly do you wanna do with your links? (Quote | Company Profile | Interactive Chart)
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Author

Commented:
I want the links to ignore the tickerSearch.  The tickerSearch is for the pages that uses these links and require a ticker to be added.  This pages also uses the links but do not require a ticker to be added.

Let me know if I provided with enough information.

thanks

Author

Commented:
Lets put it this way...I need a javascript the will allow these 3 links to work when using a ticker box and not to work on a page that does not have a ticker box. Basically,
I just want it to ignore and proceed on when clicking on the links.

Commented:
Well... just change your href tags:

<a href="javascript:location.href='http://partners.thomsonfn.com/USBank/stockquote/fcgi-bin/tipsheet_delay_us?select=1&group=us&stq_tmpl_name=stock_quote_delay.html">Quote</a>

and so on... =0)

Author

Commented:
Its not that simple.  That just give's me an error "Unterminated string constant"  See there are several pages that uses these 3 links and they work fine because the pages require a ticker to be added.  This pages does not. I have to be able to come up with a "javascript" that will work on "All" pages without effecting "each other".

Author

Commented:
I need help writing a script for this one as soon as possible.  Thanks
Heya ddg,
    Well, based on what you said originally in your comment, your javascript works fine on most pages. Since I don't have access to most pages, I dunno much about the code that you're dealing with. However, I think I can resolve your Object Not Found issue on the page that does *not* have the ticker. I hope this helps.

<script language="JavaScript">

function tickerfunction() {
 if (isObject(document.tickerSearch.ticker)) {
      if (document.tickerSearch.ticker.value) {
         tickervalue =  document.tickerSearch.ticker.value;

      } else {
         return this.arguments[name].value.replace(" ");
      }

  } else {
         return this.arguments[name].value.replace(" ");
  }
 return this;
 
}

</script>

Author

Commented:
hmm...I still get document not found when I add the below script to the header.  Is there another step or something I need to add? This is my first attempt to writing a script and I'm lost big time. I not sure how to write one to make it work. If anyone could write for me ..Please help quick.



<script language="JavaScript">

function tickerfunction() {
if (isObject(document.tickerSearch.ticker)) {
     if (document.tickerSearch.ticker.value) {
        tickervalue =  document.tickerSearch.ticker.value;

     } else {
        return this.arguments[name].value.replace(" ");
     }

 } else {
        return this.arguments[name].value.replace(" ");
 }
return this;

}

</script>

Commented:
I've seen where the error is... just try this:

<a href="javascript:location.href='http://partners.thomsonfn.com/USBank/stockquote/fcgi-bin/tipsheet_delay_us?select=1&group=us&stq_tmpl_name=stock_quote_delay.html';">Quote</a>

There was an ' missed... now test it!

=0)

Author

Commented:
That will work, however it will have an effect on the other pages that uses the ticker box.
Let me explain it this way... This particular portion of the web site sits inside a tool.

At this time, the tool will not allow me to create a separate style for this page.  So I have to be able to come up with a Javascript that will work no matter if it uses a ticker box or not. Any other suggestions??

Author

Commented:
Here is the other page with the same 3 links.  This page works fine because it has the ticker box.  The other page does not have the ticker box and it uses the same 3 links.

Can anyone help me on this one? Thanks :)


<html><head><title>News</title><meta content="text/html; charset=iso-8859-1" http-equiv="content-type"><meta content="en" http-equiv="content-language"><meta content="no-cache" http-equiv="Cache-Control"><meta content="0" http-equiv="expires"><meta content="no-cache" http-equiv="Pragma"><meta content="TRUE" name="MSSmartTagsPreventParsing"><link href="http://www.thomsonfn.com/styles/thomsonfn.css" rel="stylesheet" type="text/css"><link href="http://partners.thomsonfn.com/USBank/tipsheet/styles/tipsheet.css" rel="stylesheet" type="text/css"><style type="text/css">
BODY {
font-family:arial, helvetica, sans-serif;
background-color:#ffffff;
color:#000000;
font-size:12px;
}

td {
font-family:arial, helvetica, sans-serif;
color:#000000;
font-size:12px;
}

.newsHeadLine{
    font-family:arial, helvetica, sans-serif;
    font-weight:bold;
}

.newsPageTitle{
font-family:arial, helvetica, sans-serif;
font-size:15px;
color:#000066;
font-weight:bold;
}

p.newsHalfSpace{
margin-top:10px;
}

a:Link{
     font-family:arial, helvetica, sans-serif;
     font-size:12px;
     text-decoration:underline;
     color:#003399;
}

a:Visited{
     font-family:arial, helvetica, sans-serif;
     font-size:12px;
     text-decoration:underline;
     color:#003399;
}

.newsPrimaryLink{
font-family:arial, helvetica, sans-serif;
font-size:12px;
text-decoration:underline;
color:#003399;
}

.newsColumnLabel{
    font-family:arial, helvetica, sans-serif;
      background-color:#000066;
    color:#FFFFFF;
}

.newsTableTitle{
    font-family:arial, helvetica, sans-serif;
    background-color:#0066CC;
    color:#ffffff;
    font-weight:bold;    
}

.newsBorder{
  border:1px solid #000066;
}

.newsCapText{
      font-family:arial, helvetica, sans-serif;
      font-size:10px;
}

.newsFormButton{
      background-color:#0F5DB5;
      color:#ffffff;
      border: 1px solid black;
}

.r1{
     background-color:#ffffff;
}

.r0{
     background-color:#EFF3F7;
}

.newsTerms{
     font-family:arial, helvetica, sans-serif;
     font-size:10px;
}

a.newsSymbolLookUp:Link{
      font-family:arial, helvetica, sans-serif;
    font-size:10px;
}

a.newsSymbolLookUp:Visited{
      font-family:arial, helvetica, sans-serif;
    font-size:10px;
}

</style></head><body marginheight="0" marginwidth="0" topmargin="0" leftmargin="0"><table align="left" cellspacing="0" cellpadding="0" width="762" border="0"><tr><td colspan="5"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr></tr><tr><td align="right"><script language="JavaScript" src="http://partners.thomsonfn.com/USBank/scripts/bank.js"></script><a href="javascript:location.href='http://partners.thomsonfn.com/USBank/stockquote/fcgi-bin/tipsheet_delay_us?select=1&group=us&stq_tmpl_name=stock_quote_delay.html&ticker='+document.tickerSearch.ticker.value;">Quote</a>  
    |  
                  
   <a href="javascript:location.href='http://partners.thomsonfn.com/USBank/tipsheet/cgi-bin/get_rtqtip_us?group=us&dquote=1&ticker='+document.tickerSearch.ticker.value;">Company Profile</a>  
    |  
                  
      <a href="javascript:location.href='http://chart.thomsonfn.com/thomson/FinancialImageGenerator?&type=2&typeMod=0&timeFrame=7&timeframeMod=0&range=2&logarithmic=&size=0&imageStyleSheet=ichartimage&dummyVar=1&prtid=Mzg0VlZOQ1lXNXJQJFkEQUALSTO&prdid=IChartImage&symbol='+document.tickerSearch.ticker.value;">Interactive Chart</a></td></tr></table></td></tr><tr><td bgcolor="#ffffff" valign="top"></td><td valign="top"><img height="1" width="10" src="http://lil.cda.com:7061/images/commonImg/spacer.gif"></td><td valign="top"><table border="0" cellspacing="0" cellpadding="0" width="492" align="center"><tr><td><p class="newsHalfSpace"></p><form action="http://lil.cda.com:7131/newsedge/NewsSrch" name="tickerSearch"><input value="USBank" name="pid" type="Hidden"><input value="tickerSearch" name="transform" type="Hidden"><input value="by_ticker" name="type" type="Hidden"><input value="0-next" name="page" type="Hidden"><table width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td colspan="2"><span class="newsPageTitle">Search Results</span></td></tr><tr><td width="20%"><input value="ibm" size="8" name="ticker" type="Text">&nbsp;<input value="Go" type="Submit">&nbsp;&nbsp;
    </td><td><a href="http://lil.cda.com:7131/newsedge/NewsSrch?pid=USBank&transform=todaysNews&type=by_hl&page=0-next" class="newsPrimaryLink">Todays News</a> &nbsp;&nbsp;
       <a href="http://lil.cda.com:7131/newsedge/NewsSrchAdvPage?pid=USBank&transform=advPage&xml=advPage">Advanced Search</a> &nbsp;&nbsp;
        <a href="http://lil.cda.com:7131/StaticPage/StaticPage?pid=USBank&product=news&staticfile=faq">Help</a> &nbsp;&nbsp;
</td></tr><tr><td colspan="2"><span class="newsCapText">Enter Ticker</span><br><a href="javascript:globalFindTicker()" class="newsSymbolLookUp">Symbol Lookup</a></td></tr></table></form><script language="JavaScript">
var globalPageLink = "http://lil.cda.com:7131/";
var globalFindTickerURL = "http://lil.cda.com:7121/";
var globalFindTickerPID = "USBank";


function globalFindTicker(){
var uri = escape(globalPageLink + "newsedge/NewsSrch?&transform=tickerSearch&type=by_ticker&page=0-next&pid="+globalFindTickerPID+"&ticker=");
var findTickerWindow = window.open(globalFindTickerURL + "FindTicker/FindTickerSelect?transform=findticker&pid="+globalFindTickerPID+"&user_id=&findtype=PR&ticker=select&uri="+uri,"findTickerWindow" ,'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=530,height=297' );
}
      
</script><p class="newsHalfSpace"></p><table width="100%" cellspacing="0" cellpadding="4" border="0" class="newsBorder"><tr><td colspan="4" class="newsTableTitle">Results for &nbsp;ibm</td></tr><tr><td align="center" class="newsColumnLabel">Date</td><td align="center" class="newsColumnLabel">Time</td><td align="center" class="newsColumnLabel">Headline</td><td class="newsColumnLabel">Service</td></tr><tr class="r1"><td><em>11.18.02</em></td><td><em>05:55PM EST</em></td><td><a href="http://lil.cda.com:7131/newsedge/NewsSrch?pid=USBank&transform=story&storyid=200211182800.1_01ce002840f84d91&type=story">IBM Unveils New Version Of WebSphere Portal Software With Additional Features That Help Control Costs</a></td><td>Internet Wire</td></tr><tr class="r0"><td><em>11.18.02</em></td><td><em>04:20PM EST</em></td><td><a href="http://lil.cda.com:7131/newsedge/NewsSrch?pid=USBank&transform=story&storyid=20021118365.2_231a00075c86c647&type=story">IBM completes purchase of Axis Investment Fund Company, Tarian Software</a></td><td>Canada NewsWire English</td></tr><tr class="r1"><td><em>11.18.02</em></td><td><em>02:35PM EST</em></td><td><a href="http://lil.cda.com:7131/newsedge/NewsSrch?pid=USBank&transform=story&storyid=20021118990.1_2c95000bc5dc702d&type=story">ABOVE THE NOISE: Getting a grip on the hype cycle</a></td><td>InfoWorld Electronic News</td></tr><tr class="r0"><td><em>11.18.02</em></td><td><em>02:35PM EST</em></td><td><a href="http://lil.cda.com:7131/newsedge/NewsSrch?pid=USBank&transform=story&storyid=20021118990.1_08b80046d2352313&type=story">Playing IBM's game</a></td><td>InfoWorld Electronic News</td></tr><tr class="r1"><td><em>11.18.02</em></td><td><em>02:34PM EST</em></td><td><a href="http://lil.cda.com:7131/newsedge/NewsSrch?pid=USBank&transform=story&storyid=20021118990.1_1ea600308db54ac2&type=story">Palm reaches for enterprise</a></td><td>InfoWorld Electronic News</td></tr><tr class="r0"><td><em>11.18.02</em></td><td><em>02:34PM EST</em></td><td><a href="http://lil.cda.com:7131/newsedge/NewsSrch?pid=USBank&transform=story&storyid=20021118990.1_38cd0012f073b101&type=story">IBM consolidates storage</a></td><td>InfoWorld Electronic News</td></tr><tr class="r1"><td><em>11.18.02</em></td><td><em>12:10PM EST</em></td><td><a href="http://lil.cda.com:7131/newsedge/NewsSrch?pid=USBank&transform=story&storyid=200211182800.1_e5ca00644b73fe55&type=story">IBM Introduces Ultra-Powerful Workstations With Server-Inspired Reliability</a></td><td>Internet Wire</td></tr><tr class="r0"><td><em>11.18.02</em></td><td><em>09:10AM EST</em></td><td><a href="http://lil.cda.com:7131/newsedge/NewsSrch?pid=USBank&transform=story&storyid=200211182800.1_abdb021b5da59f18&type=story">Wi-Fi Certified Products Rocket To Over 500 In Four Months</a></td><td>Internet Wire</td></tr><tr class="r1"><td><em>11.17.02</em></td><td><em>11:26AM EST</em></td><td><a href="http://lil.cda.com:7131/newsedge/NewsSrch?pid=USBank&transform=story&storyid=200211171180.3_9096000e2eead4f5&type=story">Milwaukee Journal Sentinel Avrum D. Lank Column</a></td><td>Knight-Ridder / Tribune Business News</td></tr><tr class="r0"><td><em>11.15.02</em></td><td><em>05:18PM EST</em></td><td><a href="http://lil.cda.com:7131/newsedge/NewsSrch?pid=USBank&transform=story&storyid=20021115365.2_51af00110fe141df&type=story">IBM completes acquisition of Tarian Software</a></td><td>Canada NewsWire English</td></tr><tr class="r1"><td><em>11.15.02</em></td><td><em>03:18PM EST</em></td><td><a href="http://lil.cda.com:7131/newsedge/NewsSrch?pid=USBank&transform=story&storyid=20021115290.2_2b5a0011bb2b217e&type=story">IBM Completes Acquisition of Tarian Software; Integrates Tarian Skills and Technology Into IBM Data Management Portfolio</a></td><td>Business Wire</td></tr><tr class="r0"><td><em>11.15.02</em></td><td><em>06:35AM EST</em></td><td><a href="http://lil.cda.com:7131/newsedge/NewsSrch?pid=USBank&transform=story&storyid=20021115616.1_d756000108a8db64&type=story">BC-Sharp-IBM 11-15 0150 Sharp, IBM tie up in mobile computer system</a></td><td>FDCH CEO Wire - Kyodo</td></tr><tr class="r1"><td><em>11.15.02</em></td><td><em>06:10AM EST</em></td><td><a href="http://lil.cda.com:7131/newsedge/NewsSrch?pid=USBank&transform=story&storyid=200211152800.1_6257000b0ee58f4f&type=story">New Study Finds IBM Number One In Supercomputing</a></td><td>Internet Wire</td></tr><tr class="r0"><td><em>11.15.02</em></td><td><em>06:02AM EST</em></td><td><a href="http://lil.cda.com:7131/newsedge/NewsSrch?pid=USBank&transform=story&storyid=20021115290.2_e1ee0028ff3bb00d&type=story">New IBM Supercomputer Packs 128 POWER4 Processors in a Single Frame; Smaller, Denser, Faster eServer to Transform Supercomputing Industry</a></td><td>Business Wire</td></tr><tr class="r1"><td><em>11.15.02</em></td><td><em>12:01AM EST</em></td><td><a href="http://lil.cda.com:7131/newsedge/NewsSrch?pid=USBank&transform=story&storyid=20021115290.2_dcce003a82bc0add&type=story">IBM and Sharp Team on Enterprise-Class, Linux-Based Mobile Solution; Openness and Flexibility Key to Creating An Extensive Embedded Linux Deployment for the Enterprise Market</a></td><td>Business Wire</td></tr><tr class="r0"><td><em>11.14.02</em></td><td><em>04:25PM EST</em></td><td><a href="http://lil.cda.com:7131/newsedge/NewsSrch?pid=USBank&transform=story&storyid=20021114290.2_884f00f10f95a62f&type=story">GoAmerica Announces Third Quarter 2002 Results; Company Reports Fifth Consecutive Quarter of Improved Gross Margins and EBITDA</a></td><td>Business Wire</td></tr><tr class="r1"><td><em>11.14.02</em></td><td><em>02:40PM EST</em></td><td><a href="http://lil.cda.com:7131/newsedge/NewsSrch?pid=USBank&transform=story&storyid=200211142800.1_73310016fadfc39d&type=story">IBM Lotus Sametime Gains Further Ground In Enterprise Instant Messaging Market</a></td><td>Internet Wire</td></tr><tr class="r0"><td><em>11.14.02</em></td><td><em>01:35PM EST</em></td><td><a href="http://lil.cda.com:7131/newsedge/NewsSrch?pid=USBank&transform=story&storyid=200211141680.2_6ded00177d9a4110&type=story">Nexsan to Showcase Full Line of Innovative Storage Solutions at Comdex 2002</a></td><td>PR Newswire Leased Line</td></tr><tr class="r1"><td><em>11.14.02</em></td><td><em>08:05AM EST</em></td><td><a href="http://lil.cda.com:7131/newsedge/NewsSrch?pid=USBank&transform=story&storyid=20021114290.2_fc2b00197c6cd48b&type=story">IBM Selects Alacritech's High-performance Server Accelerators for IBM TotalStorage NAS Solutions</a></td><td>Business Wire</td></tr><tr class="r0"><td><em>11.14.02</em></td><td><em>07:31AM EST</em></td><td><a href="http://lil.cda.com:7131/newsedge/NewsSrch?pid=USBank&transform=story&storyid=20021114290.2_59930014661f97ff&type=story">MRO Software to Offer Hosted MAXIMO Solution With IBM; Strategic Asset Management Solution Now Available as Hosted Alternative</a></td><td>Business Wire</td></tr></table><table width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td align="right">
    1 - 20


   
    of 142&nbsp; &nbsp; &nbsp;
<strong>1</strong>&nbsp;&nbsp; <a href="http://lil.cda.com:7131/newsedge/NewsSrch?pid=USBank&ticker=ibm&transform=tickerSearch&type=by_ticker&page=20-next " class="newsPrimaryLink">2</a> &nbsp;&nbsp; <a href="http://lil.cda.com:7131/newsedge/NewsSrch?pid=USBank&ticker=ibm&transform=tickerSearch&type=by_ticker&page=40-next " class="newsPrimaryLink">3</a> &nbsp;&nbsp; <a href="http://lil.cda.com:7131/newsedge/NewsSrch?pid=USBank&ticker=ibm&transform=tickerSearch&type=by_ticker&page=60-next " class="newsPrimaryLink">4</a> &nbsp;&nbsp; <a href="http://lil.cda.com:7131/newsedge/NewsSrch?pid=USBank&ticker=ibm&transform=tickerSearch&type=by_ticker&page=80-next " class="newsPrimaryLink">5</a> &nbsp;&nbsp; <a href="http://lil.cda.com:7131/newsedge/NewsSrch?pid=USBank&ticker=ibm&transform=tickerSearch&type=by_ticker&page=100-next " class="newsPrimaryLink">6</a> &nbsp;&nbsp; <a href="http://lil.cda.com:7131/newsedge/NewsSrch?pid=USBank&ticker=ibm&transform=tickerSearch&type=by_ticker&page=120-next " class="newsPrimaryLink">7</a> &nbsp;&nbsp; <a href="http://lil.cda.com:7131/newsedge/NewsSrch?pid=USBank&ticker=ibm&transform=tickerSearch&type=by_ticker&page=140-next " class="newsPrimaryLink">8</a> &nbsp;&nbsp;</td></tr></table><p class="newsHalfSpace"></p><span class="newsTerms">This is a news service of NewsEdge Corporation &copy;2002 This content is for your personal use only, subject to Terms and Conditions. No redistribution allowed.</span></td></tr></table></td><td valign="top"><img height="1" width="10" src="http://lil.cda.com:7061/images/commonImg/spacer.gif"></td><td bgcolor="#ffffff" valign="top"></td></tr><tr><td colspan="5"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr></tr><tr><td align="right"><script language="JavaScript" src="http://partners.thomsonfn.com/USBank/scripts/bank.js"></script><a href="javascript:location.href='http://partners.thomsonfn.com/USBank/stockquote/fcgi-bin/tipsheet_delay_us?select=1&group=us&stq_tmpl_name=stock_quote_delay.html&ticker='+document.tickerSearch.ticker.value;">Quote</a>  
    |  
                  
   <a href="javascript:location.href='http://partners.thomsonfn.com/USBank/tipsheet/cgi-bin/get_rtqtip_us?group=us&dquote=1&ticker='+document.tickerSearch.ticker.value;">Company Profile</a>  
    |  
                  
      <a href="javascript:location.href='http://chart.thomsonfn.com/thomson/FinancialImageGenerator?&type=2&typeMod=0&timeFrame=7&timeframeMod=0&range=2&logarithmic=&size=0&imageStyleSheet=ichartimage&dummyVar=1&prtid=Mzg0VlZOQ1lXNXJQJFkEQUALSTO&prdid=IChartImage&symbol='+document.tickerSearch.ticker.value;">Interactive Chart</a></td></tr></table><p align="center"><font face="arial" size="1">Data Provided by Thomson<br>
&copy; &nbsp; Copyright <script src="http://partners.thomsonfn.com/cgi-bin/get_date?date=.y4+Thomson+Financial"></script></font></p></td></tr></table></body></html>

Author

Commented:
Here the JS file that both pages are pointing to.


function ArgumentURL() {
     this.getArgument           = _getArg;
     this.toString              = _toString;    
     this.getArgumentsArray     = _getArgArray
     
     this.arguments             = new Array();  //i wish there were a way to protect this array.  i don't think there is.

     // Initiation    
     var str = window.location.search.replace(/%20/g, " ");
     var index = str.indexOf("?");
     var sInfo;
     var infoArray = new Array();

     

     var tmp;
     
     if (index != -1) {
          sInfo = str.substring(index+1,str.length);
          infoArray = sInfo.split('&');
     }

     for (var i=0; i<infoArray.length; i++) {
          tmp = infoArray[i].split('=');
          if (tmp[0] != "") {
               var t = tmp[0];
               
               this.arguments[tmp[0]] = new Object();
               this.arguments[tmp[0]].value = tmp[1];
               this.arguments[tmp[0]].name = tmp[0];
               
               
          }
     }

     

     
     function _toString() {
          var s = "";
          var once = true;
          for (i in this.arguments) {
               if (once) {
                    s += "?";
                    once = false;
               }
               s += this.arguments[i].name;
               s += '=';
               s += this.arguments[i].value;
               s += '&';
          }
          return s.replace(/ /g, "%20");
     }
     
     function _getArgArray(){
          return this.arguments
     }
     
     function _getArg(name) {
          if (typeof(this.arguments[name]) != "object")
               return null;
          else
               return this.arguments[name].value.replace(/\+/g," ");
     }
     
     
     return this;
}

var args = new ArgumentURL()





   

     var ticker = args.getArgument('ticker')
     document.write('<a href="http://partners.thomsonfn.com/USBank/stockquote/fcgi-bin/tipsheet_delay_us?select=1&group=us&stq_tmpl_name=stock_quote_delay.html&ticker='+ticker+'"></a>')
   
               

     var ticker = args.getArgument('ticker')
     document.write('<a href="http://partners.thomsonfn.com/USBank/tipsheet/cgi-bin/get_rtqtip_us?group=us&dquote=1&ticker='+ticker+'"></a>')
   
     
               
     var ticker = args.getArgument('ticker')
     document.write('<a href="http://chart.thomsonfn.com/thomson/FinancialImageGenerator?&type=2&typeMod=0&timeFrame=7&timeframeMod=0&range=2&logarithmic=&size=0&imageStyleSheet=ichartimage&dummyVar=1&prtid=Mzg0VlZOQ1lXNXJQJFkEQUALSTO&prdid=IChartImage&symbol='+ticker+'"></a>')
 

Commented:
forget't

Author

Commented:
Did I give too much information.  I'm not familiar with the set up on here as far as supplying information. I just notice I'm suppose to grade each answer I get.  Where do I put in the grade for each answer?

To ivanmata

I appreciate all of your help for trying to help me out.

Thanks,  Sorry if I put out too much info for ya.

Commented:
in order to grade an answer, you have to accept a comment as an answer...

in each comment you have the option to accept it as an answer and grade it...

cheers =0)

Author

Commented:
Ok thanks! Grade A for helping me with all of my questions but I'm back a square one cause I dont not have a solution to my problem. Thanks for you help :)
Commented:
you've not graded my answer yet...

you have to click "Accept Comment As Answer" then you can grade it... =0)

Author

Commented:
Thanks for all your advice. Does anyone else have any suggestions for my problem. There has to be something I can do to fix this.  Thanks

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial