Become Member  Informations Help

> Finance & Stock Exchange > Forex > FX

FOREX-Dollar ekes out gains in ultra-thin holiday trade

Reuters: [2008-05-26 11:56:00]

(Changes dateline, byline, adds comment, updates prices)

By Jamie McGeever

LONDON, May 26 (Reuters) - The dollar held its ground on Monday, taking advantage of the ultra-thin volumes owing to U.S. and UK market holidays to arrest its decline of the last three weeks and eke out slender gains against a basket of major currencies.

"This is only due to the iliquid markets," said Carole Laulhere, currency strategist at Societe Generale in Paris.

"The dollar should stay quite vulnerable this week. We still have record oil prices, which is negative for the dollar, and U.S. equity markets are worsening, which is also a concern for the greenback."

Crude oil has soared almost 40 percent so far this year -- over 17 percent in May alone -- to record levels above $135 a barrel <CLc1>. This is fanning fears over the ability of U.S. consumers and businesses to weather the credit- and housing market-led economic storm and prevent the economy from sliding into full-blown recession.

The dollar index hit a one-month low last Thursday, and the S&P 500 equity index posted its biggest one-week decline since early February.

Deteriorating equity markets and rampant oil prices -- which provide the backdrop for the latest euro zone consumer price inflation figures this week -- should be the focus for currency investors this week, Laulhere said.

At 0930 GMT the dollar index was up a slender 0.1 percent on the day at 72.065 <.DXY>, but still within sight of one-month lows of 71.823 struck last week.

The euro was at $1.5745 <EUR=>, down 0.1 percent from late U.S. trading on Friday but less than three cents from its all-time highs above $1.60 last month.

The dollar was also up 0.1 percent on the day against the Japanese yen at 103.45 yen <JPY=>.

A 2.3 percent fall in Tokyo stocks -- the steepest in six weeks -- had prompted investors to unwind yield-seeking carry trades, pushing the dollar to the day's low around 103.15 yen before bids at 103 yen and just below provided solid support.

INFLATION DATA IN FOCUS

There are no major economic data reports due for release on Monday. Financial markets in the United States and the UK are closed for Memorial Day and a bank holiday, respectively, although European markets are open.

Among the main data points this week will be the flash estimate for May euro zone CPI on Friday. A Reuters poll of economists points to an uptick in the annual inflation rate to 3.5 percent from 3.3 percent, well above the European Central Bank's target of close to but just below 2 percent.

Investors also await a raft of U.S. data and speeches from top Federal Reserve officials, including Chairman Ben Bernanke on Thursday, for more clues about the direction of interest rates.

The personal consumption expenditures index for April is due on Friday. It includes the core PCE price index, which excludes food and energy costs and is one of the Fed's favourite measures of inflation.

Other key economic reports due this week include the National Association of Purchasing Management-Chicago business barometer for May, and April new home sales.

The ECB's hawkish talk has seen markets shift dramatically in recent weeks to now fully price in a quarter point rate hike to 4.25 percent by October, BNP Paribas strategists noted.

While fed funds futures are almost fully pricing in a similar rate hike from the Fed by the end of the year to 2.25 percent, deteriorating economic conditions might prompt a rethink.

"The dollar is likely to trade on the soft side unless the market decides to unwind its risk-taking positions on heightened risk aversion," BNP Paribas said in a client note. (Editing by Stephen Nisbet) ((Reuters Messaging: jamie.mcgeever.reuters.com@reuters.net; +44 207 542 8510))

FOREX-Dollar eases towards 1-mth lows in thin trade

Reuters: [2008-05-26 02:43:00]

By Rika Otsuka

TOKYO, May 26 (Reuters) - The dollar eased towards one-month lows against a basket of major currencies on Monday after falling late last week on concerns that surging oil prices could further slow the U.S. economy and add to inflation pressures.

Trading in Asia was subdued, with many investors retreating to the sidelines as U.S. and U.K. financial markets are closed for national holidays on Monday.

"The dollar continues to stay on a downward trend with many players just looking for a chance to sell it," said Tsutomu Soma, senior manager of foreign assets at Okasan Securities.

"Investors are very nervous, wondering how the Federal Reserve will manoeuvre monetary policy amid an economic downturn and worsening inflation worries," Soma said.

With crude oil climbing above $135 a barrel last week, markets have priced out the chances of another Fed rate cut this year, through a rate increase may be difficult at a time when the world's biggest economy is facing slower growth.

The Fed is expected to halt its run of interest rate cuts to bolster the country's growth after slashing rates by 3.25 percentage points since last September to the current 2 percent.

The dollar index edged down 0.1 percent on the day at 71.888 <.DXY>, hovering near one-month lows of 71.823 struck last week.

The euro rose to $1.5790 <EUR=>, up 0.2 percent from late U.S. trading on Friday. It hit all-time highs above $1.60 last month.

The dollar slid 0.2 percent against the Japanese currency to 103.15 yen <JPY=> as a fall in Tokyo stocks prompted investors to unwind risky carry trades. In carry trades, low-yielding currencies such as the yen are used to finance purchases of assets offering higher returns elsewhere.

The Nikkei stock average <.N225> fell 1.6 percent in early Asian trade.

The European single currency dipped 0.1 percent to 162.85 yen <EURJPY=>.

U.S. crude <CLc1> rose $0.38 to $132.57 on Monday after soaring to a record high of $135.09 last week. (Editing by Chris Gallagher) ((rika.otsuka@reuters.com; +81-3-6441-1874; Reuters Messaging: rika.otsuka.reuters.com@reuters.net)) Keywords: MARKETS FOREX

By Rika Otsuka

TOKYO, May 26 (Reuters) - The dollar eased towards one-month lows against a basket of major currencies on Monday after falling late last week on concerns that surging oil prices could further slow the U.S. economy and add to inflation pressures.

Trading in Asia was subdued, with many investors retreating to the sidelines as U.S. and U.K. financial markets are closed for national holidays on Monday.

"The dollar continues to stay on a downward trend with many players just looking for a chance to sell it," said Tsutomu Soma, senior manager of foreign assets at Okasan Securities.

"Investors are very nervous, wondering how the Federal Reserve will manoeuvre monetary policy amid an economic downturn and worsening inflation worries," Soma said.

With crude oil climbing above $135 a barrel last week, markets have priced out the chances of another Fed rate cut this year, through a rate increase may be difficult at a time when the world's biggest economy is facing slower growth.

The Fed is expected to halt its run of interest rate cuts to bolster the country's growth after slashing rates by 3.25 percentage points since last September to the current 2 percent.

The dollar index edged down 0.1 percent on the day at 71.888 <.DXY>, hovering near one-month lows of 71.823 struck last week.

The euro rose to $1.5790 <EUR=>, up 0.2 percent from late U.S. trading on Friday. It hit all-time highs above $1.60 last month.

The dollar slid 0.2 percent against the Japanese currency to 103.15 yen <JPY=> as a fall in Tokyo stocks prompted investors to unwind risky carry trades. In carry trades, low-yielding currencies such as the yen are used to finance purchases of assets offering higher returns elsewhere.

The Nikkei stock average <.N225> fell 1.6 percent in early Asian trade.

The European single currency dipped 0.1 percent to 162.85 yen <EURJPY=>.

U.S. crude <CLc1> rose $0.38 to $132.57 on Monday after soaring to a record high of $135.09 last week. (Editing by Chris Gallagher) ((rika.otsuka@reuters.com; +81-3-6441-1874; Reuters Messaging: rika.otsuka.reuters.com@reuters.net)) Keywords: MARKETS FOREX

     
    All data taken from Reuters calculated from the levels at 
2130 GMT in the previous New York session. 
  
                        Last  US Close    Pct   YTD Pct   2007 
                                May 23  Change  Change    Close 
------------------------------------------------------------- 
Euro/dlr   <EUR=>      1.5785   1.5764   +0.13   +8.20   1.4589 
Dlr/yen    <JPY=>      103.16   103.30   -0.14   -7.34   111.33 
Euro/yen   <EURJPY=R>  162.86   162.84   +0.01   +0.29   162.39 
Dlr/swiss  <CHF=>      1.0235   1.0236   -0.01   -9.70   1.1335 
Stg/dlr    <GBP=>      1.9815   1.9795   +0.10   -0.16   1.9847 
Dlr/cad    <CAD=>      0.9876   0.9894   -0.18   -0.88   0.9964 
Aus/dlr    <AUD=>      0.9594   0.9593   +0.01   +9.56   0.8757 
Nzd/dlr    <NZD=>      0.7852   0.7843   +0.11   +2.43   0.7666 
Aus/yen    <AUDJPY=R>  98.970   99.100   -0.13   +1.55   97.460 
Nzd/yen    <NZDJPY=R>  81.010   81.020   -0.01   -5.03   85.300 
Stg/yen    <GBPJPY=R>  204.42   204.50   -0.04   -7.59   221.22 
Aus/Nzd    <AUDNZD=R>  1.2204   1.2222   -0.15   +6.90   1.1416 
  
All spots <FX=> 
Asia spots <AFX=> 
Europe spots <EFX=> 
Volatilities <FXVOL> 
Japan capital flows data    [JP/CAP] 
Latest uridashi bond issues [JP/URD] 
World central bank news [CEN] 
Economic Forecasts  <ECON>   Official rates   [INT/RATE] 
Forex Diary   [MI/DIARY]     Top events       [M/DIARY] 
Diaries       [DIARY]        Diaries Index    [IND/DIARY] 
Press Digests [PRESS]  Polls on G7 economies  [SURVEY/] 
European markets  [MARKETS/] 
Keywords: MARKETS FOREX=2 
    

FOREX-Dollar set for biggest weekly fall for 2 months

Reuters: [2008-05-23 12:34:00]

(Changes byline, adds comment, updates prices)

By Toni Vorobyova

LONDON, May 23 (Reuters) - The dollar looked set for its steepest weekly fall against a basket of major currencies in two months on Friday, hit by surging oil prices and concerns that the U.S. may be entering a toxic phase of slowing growth and rising inflation.

The euro, in contrast, remained on a solid footing despite survey data showing very weak growth in the euro zone's services and manufacturing sectors. Analysts said that despite the slowdown, the economy was still robust enough to allow the European Central Bank to focus on restraining price pressures.

"We had a massive shift generally in the past couple of weeks and the market now sees the ECB hiking rates," said Marcus Hettinger, FX strategist at Credit Suisse in Zurich.

"Consumers in the U.S. are already under stress from housing, and now...we have rising oil prices. Basically it means interest rates will remain low in the U.S. despite rising inflation...and that's one of the reason why the dollar will remain weak," he added.

Against a basket of six major currencies <.DXY>, the dollar was down nearly 1 percent since the start of the week at 72.127, heading for its biggest weekly percentage fall since late March.

The euro was steady on the day at $1.5724 <EUR=> at 0956 GMT, off a one-month high of $1.5814 touched on Thursday.

The single European currency fell half a percent to 162.85 yen <EURJPY=>, while the greenback eased to 103.58 yen <JPY=>.

"In the last weeks we have seen the yen weakening in line with stronger equity markets, (but) due to high oil prices we have a bit more risk aversion coming into the market and that's positive generally for the yen across the board as a funding currency," Hettinger said.

With rates of just 0.5 percent, the yen is often used as a source of cheap funding for riskier, higher-yielding investments and thus benefits when such trades are unwound during periods of risk aversion.

Oil rose one percent to around $132, moving back towards yesterday's record highs above $135 a barrel <CLc1>, while European equity markets weakened <.FTEU3>.

WEAK PMI

A flash reading of the RBS/NTC's euro zone services Puchasing Managers Index (PMI) came in at 50.6 in May, sliding from 52.0 in April and lower than expectations for a 51.7 reading. The manufacturing index eased to 50.7, in line with forecasts, leaving both gauges in sight of the 50 mark between growth and contraction.

"The overall worse-than-expected results...confirm that the underlying growth trend in the euro zone economy is firmly down and that growth in the second quarter indeed will be less flattering," ING said in a note.

"However, the activity data are not yet weak enough to dilute the ECB's concerns about the medium-term inflation outlook, which is the primary factor driving its monetary policy decisions."

Further clues on the health of the U.S. economy will come from existing home sales data for April at 1400 GMT which are expected to show further weakening.

Earlier this week, the Federal Reserve downgraded its 2008 U.S. economic growth forecast and raised its inflation outlook.

The Fed has cut interest rates to 2 percent from 5.25 percent since September, but markets now expect the central bank to hold steady and possibly raise rates by the end of the year.

((antonina.vorobyova@reuters.com; Tel: +44207 542 7958, Reuters Messaging: antonina.vorobyova.reuters.com@reuters.net;editing by Ian Jones))

Currency bid prices at 1011 GMT.  All data taken from Reuters 
with percent change calculated from the daily U.S. 
close at 2130 GMT. 
 
                       Last     US Close  % Chg   YTD %   2007 
                                22 May.                   Close 
                       ----------------------------------------- 
 Euro/dlr   <EUR=>     1.5722   1.5728   -0.04    +7.77   1.4589 
 Dlr/yen    <JPY=>     103.60   104.07   -0.45    -6.94   111.33 
 Euro/yen   <EURJPY=>  162.87   163.69   -0.50    +0.21   162.53 
 Dlr/swiss  <CHF=>     1.0286   1.0307   -0.20    -9.25   1.1335 
 Stg/dlr    <GBP=>     1.9789   1.9804   -0.08    -0.29   1.9847 
 Dlr/cad    <CAD=>     0.9861   0.9842   +0.19    -1.03   0.9964 
 Aus/dlr    <AUD=>     0.9601   0.9574   +0.28    +9.64   0.8757 
 NZD/Dlr    <NZD=>     0.7847   0.7832   +0.19    +2.36   0.7666 
 Euro/swiss <EURCHF=>  1.6171   1.6215   -0.27    -2.23   1.6539 
 Euro/stg   <EURGBP=>  0.7943   0.7941   +0.03    +8.08   0.7349 
 Euro/sek   <EURSEK=>  9.3016   9.3073   -0.06    -1.37   9.4304 
 Dlr/Nok    <NOK=>     5.0232   5.0070   +0.32    -7.57   5.4347 
 Latest forex developments <FXNEWS>    
 All forex news ... [FRX]  Debt...[DBT] Indicators...[ECI] 
 Currency reports.. [USD/] [DLR/BLOC] 
                    [GBP/] [AUD/] [NZD/] [CAD/] 
 All spots  <FX=> 
 Tokyo spots <AFX=> 
 Europe spots <EFX=> 
 Volatilities <FXVOL> 
 Tokyo Forex market info from BOJ <TKYFX> 
 World central bank news [CEN] 
 Economic Forecasts...<ECON>   Official rates...[INT/RATE] 
 Forex Diary.......[MI/DIARY]   Top events........[M/DIARY] 
 Diaries...........[DIARY] Diaries Index........[IND/DIARY] 
 Press Digests....[PRESS]  Polls on G7 economies..[SURVEY/] 
 
  

FOREX-Dollar holds gains, euro brushes off weak PMI

Reuters: [2008-05-23 10:37:00]

(Changes dateline, byline, adds comment, updates prices)

By Naomi Tajitsu

LONDON, May 23 (Reuters) - The dollar was little changed on Friday, holding gains made after oil prices pulled back from a record high, while weaker euro zone services sector data did little to dent the view that the region's economy remains firm.

The dollar was supported on profit taking after it has fallen broadly in the past few weeks, but the U.S. currency lingered near a one-month low against a host of currencies including the euro on lingering worries about the U.S. economy.

The euro was resilient to a bigger-than-expected fall in euro zone service sector PMI, which matched a 4 1/2-year low hit in January, as it did little to change the view that the region's economy remains stronger than that of the U.S.

"The euro was unmoved by the numbers and the overall tone for the euro is firmer," said Mitul Kotecha, head of global foreign exchange research at Calyon.

"Compared to the U.S. numbers euro zone data has been firm and the PMI numbers came on the back of strong Ifo and Q1 GDP data."

The euro traded at $1.5715 <EUR=> at 0812 GMT, barely changed on the day, but off a one-month high of $1.5814 touched on Thursday.

Oil prices held about $3 below record highs of $135 a barrel <CLc1>, helping buoy the dollar against the single European currency. But the dollar slipped 0.2 percent to 103.82 yen <JPY=>.

The dollar tends to move in the opposite direction to oil, and it took a hit on Thursday on the commodity's surge, which had fuelled concerns about the U.S. economy just as the Federal Reserve is expected to halt its run of interest rate cuts to bolster the country's growth.

Against a basket of currencies, the dollar was flat at 72.150 <.DXY>.

WEAK PMI

A flash reading of the RBS/NTC's euro zone services PMI came in at 50.6 in May, sliding from 52.0 in April and lower than expectations for a 51.7 reading [ID:nL227327]. German services figures fell to 53.7 in May from 54.9 last month, while manufacturing held roughly steady [ID:nL22780001].

French services PMI slipped to 50.7 in May, weaker than market expectations and hitting its lowest since June 2003 [ID:nL22805183]. A reading of French consumer spending also came in lower than forecast [ID:nL23604577].

Still, the euro held its ground, partly because recent solid data from the euro zone's largest economy, Germany, nurtured speculation that the European Central Bank was more likely to raise rates than cut after keeping them at 4 percent this week.

Earlier this week, the Fed downgraded its 2008 U.S. economic growth forecast and raised its inflation outlook.

The Fed has cut interest rates to 2 percent from 5.25 percent since September, but markets now expect the central bank to hold steady and possibly raise rates by the end of the year.

Traders said they were waiting for a U.S. report on existing home sales due on Friday as well as crude oil moves for clues on the dollar's direction.

"As the dollar lacks direction, the focus will be on crude if home sales data comes in weak as expected," said Tomoko Fujii, Bank of America's head of economics and strategy for Japan.

"Crude oil rises will continue to hurt the dollar as they boost U.S. import costs while it helps the euro by making the ECB more vigilant on inflation."

(Additional reporting by Simon Falush, editing by David Christian-Edwards)

((naomi.tajitsu@reuters.com; Tel: +44207 542 5830, Reuters Messaging: naomi.tajitsu.reuters.com@reuters.net))

Currency bid prices at 0830 GMT.  All data taken from Reuters 
with percent change calculated from the daily U.S. 
close at 2130 GMT. 
 
                       Last     US Close  % Chg   YTD %   2007 
                                22 May.                   Close 
                       ----------------------------------------- 
 Euro/dlr   <EUR=>     1.5733   1.5728   +0.03    +7.84   1.4589 
 Dlr/yen    <JPY=>     103.79   104.07   -0.27    -6.77   111.33 
 Euro/yen   <EURJPY=>  163.28   163.69   -0.25    +0.46   162.53 
 Dlr/swiss  <CHF=>     1.0282   1.0307   -0.24    -9.29   1.1335 
 Stg/dlr    <GBP=>     1.9798   1.9804   -0.03    -0.25   1.9847 
 Dlr/cad    <CAD=>     0.9856   0.9842   +0.14    -1.08   0.9964 
 Aus/dlr    <AUD=>     0.9614   0.9574   +0.42    +9.79   0.8757 
 NZD/Dlr    <NZD=>     0.7853   0.7832   +0.27    +2.44   0.7666 
 Euro/swiss <EURCHF=>  1.6178   1.6215   -0.23    -2.18   1.6539 
 Euro/stg   <EURGBP=>  0.7945   0.7941   +0.05    +8.11   0.7349 
 Euro/sek   <EURSEK=>  9.3001   9.3073   -0.08    -1.38   9.4304 
 Dlr/Nok    <NOK=>     5.0297   5.0070   +0.45    -7.45   5.4347 
 Latest forex developments <FXNEWS>    
 All forex news ... [FRX]  Debt...[DBT] Indicators...[ECI] 
 Currency reports.. [USD/] [DLR/BLOC] 
                    [GBP/] [AUD/] [NZD/] [CAD/] 
 All spots  <FX=> 
 Tokyo spots <AFX=> 
 Europe spots <EFX=> 
 Volatilities <FXVOL> 
 Tokyo Forex market info from BOJ <TKYFX> 
 World central bank news [CEN] 
 Economic Forecasts...<ECON>   Official rates...[INT/RATE] 
 Forex Diary.......[MI/DIARY]   Top events........[M/DIARY] 
 Diaries...........[DIARY] Diaries Index........[IND/DIARY] 
 Press Digests....[PRESS]  Polls on G7 economies..[SURVEY/] 
 
  

FOREX-Dollar steadies as oil eases,near 1-mth low vs euro

Reuters: [2008-05-23 07:48:00]

By Chikako Mogi

TOKYO, May 23 (Reuters) - The dollar steadied on Friday as oil prices eased on profit-taking after hitting fresh record highs, but the currency stayed in sight of a one-month low against the euro on worries that inflation could lead to a deeper U.S. slowdown.

The dollar tends to move in the opposite direction to oil, and it took a hit on Thursday as oil jumped above $135 <CLc1> for the first time, fuelling concerns about the U.S. economy just as the Federal Reserve is expected to halt its run of interest rate cuts to bolster the country's growth.

The euro held its ground, partly because recent solid data from the euro zone's largest economy, Germany, nurtured speculation that the European Central Bank was more likely to raise rates than cut after keeping them at 4 percent this week.

The yen came under pressure as rising energy prices would also hurt Japan's growth, which is showing signs of softening.

"The dollar is getting support as oil prices take a breather, but it remains vulnerable given concerns about inflation dragging down growth," said a senior dealer at a European bank.

"There is no reason to buy the yen either, leaving the euro with the most upside. But currencies are likely to stay in ranges as the market lacks convincing factors to set a clear direction," he said.

The euro was little changed from late U.S. trade at $1.5726 <EUR=> after rising to a one-month high above $1.5800 on Thursday.

Solid stock markets may spur risk-taking and prompt investors into carry trades, where they use low-yielding currencies such as the yen to buy higher-yielding assets and currencies, undermining the Japanese unit, traders said.

The dollar was up nearly 0.1 percent at 104.12 yen <JPY=>, after slipping below 103 yen the previous day. Traders said the dollar was supported by buying from Japanese retail investors and importers but resistance was firm around 105 yen due to Japanese exporter selling.

The single currency was little changed against the yen at 163.74 yen <EURJPY=>.

The Nikkei stock average <.N225> was up 0.5 percent.

The rise in bond yields around the globe on inflation concerns also highlights how low Japanese interest rates are, further reducing incentives to buy yen, a dealer at a U.S. securities firm said.

The Bank of Japan kept interest rates steady at 0.5 percent earlier this week and is expected to hold them until global economic prospects become clearer. BOJ Governor Masaaki Shirakawa said the downside risks to the global economy remained high.

U.S. crude <CLc1> ended Thursday down $2.36 at $130.81 after soaring to a record high of $135.09.

Earlier this week, the Fed downgraded its 2008 U.S. economic growth forecast and raised its inflation outlook.

The Fed has cut interest rates to 2 percent from 5.25 percent since September, but markets now expect the central bank to hold steady and possibly raise rates by the end of the year.

Traders said they were waiting for a U.S. report on existing home sales due on Friday as well as crude oil moves for clues on the dollar's direction.

"As the dollar lacks direction, the focus will be on crude if home sales data comes in weak as expected," said Tomoko Fujii, Bank of America's head of economics and strategy for Japan.

"Crude oil rises will continue to hurt the dollar as they boost U.S. import costs while it helps the euro by making the ECB more vigilant on inflation."

(Additional reporting by Tetsushi Kajimoto; Editing by Hugh Lawson) ((chikako.mogi@thomsonreuters.com; +81 3 6441 1871; Reuters Messaging: chikako.mogi.reuters.com@reuters.net)) Keywords: MARKETS FOREX

By Chikako Mogi

TOKYO, May 23 (Reuters) - The dollar steadied on Friday as oil prices eased on profit-taking after hitting fresh record highs, but the currency stayed in sight of a one-month low against the euro on worries that inflation could lead to a deeper U.S. slowdown.

The dollar tends to move in the opposite direction to oil, and it took a hit on Thursday as oil jumped above $135 <CLc1> for the first time, fuelling concerns about the U.S. economy just as the Federal Reserve is expected to halt its run of interest rate cuts to bolster the country's growth.

The euro held its ground, partly because recent solid data from the euro zone's largest economy, Germany, nurtured speculation that the European Central Bank was more likely to raise rates than cut after keeping them at 4 percent this week.

The yen came under pressure as rising energy prices would also hurt Japan's growth, which is showing signs of softening.

"The dollar is getting support as oil prices take a breather, but it remains vulnerable given concerns about inflation dragging down growth," said a senior dealer at a European bank.

"There is no reason to buy the yen either, leaving the euro with the most upside. But currencies are likely to stay in ranges as the market lacks convincing factors to set a clear direction," he said.

The euro was little changed from late U.S. trade at $1.5726 <EUR=> after rising to a one-month high above $1.5800 on Thursday.

Solid stock markets may spur risk-taking and prompt investors into carry trades, where they use low-yielding currencies such as the yen to buy higher-yielding assets and currencies, undermining the Japanese unit, traders said.

The dollar was up nearly 0.1 percent at 104.12 yen <JPY=>, after slipping below 103 yen the previous day. Traders said the dollar was supported by buying from Japanese retail investors and importers but resistance was firm around 105 yen due to Japanese exporter selling.

The single currency was little changed against the yen at 163.74 yen <EURJPY=>.

The Nikkei stock average <.N225> was up 0.5 percent.

The rise in bond yields around the globe on inflation concerns also highlights how low Japanese interest rates are, further reducing incentives to buy yen, a dealer at a U.S. securities firm said.

The Bank of Japan kept interest rates steady at 0.5 percent earlier this week and is expected to hold them until global economic prospects become clearer. BOJ Governor Masaaki Shirakawa said the downside risks to the global economy remained high.

U.S. crude <CLc1> ended Thursday down $2.36 at $130.81 after soaring to a record high of $135.09.

Earlier this week, the Fed downgraded its 2008 U.S. economic growth forecast and raised its inflation outlook.

The Fed has cut interest rates to 2 percent from 5.25 percent since September, but markets now expect the central bank to hold steady and possibly raise rates by the end of the year.

Traders said they were waiting for a U.S. report on existing home sales due on Friday as well as crude oil moves for clues on the dollar's direction.

"As the dollar lacks direction, the focus will be on crude if home sales data comes in weak as expected," said Tomoko Fujii, Bank of America's head of economics and strategy for Japan.

"Crude oil rises will continue to hurt the dollar as they boost U.S. import costs while it helps the euro by making the ECB more vigilant on inflation."

(Additional reporting by Tetsushi Kajimoto; Editing by Hugh Lawson) ((chikako.mogi@thomsonreuters.com; +81 3 6441 1871; Reuters Messaging: chikako.mogi.reuters.com@reuters.net)) Keywords: MARKETS FOREX

     
    All data taken from Reuters calculated from the levels at 
2130 GMT in the previous New York session. 
  
                        Last  US Close    Pct   YTD Pct   2007 
                                May 22  Change  Change    Close 
------------------------------------------------------------- 
Euro/dlr   <EUR=>      1.5726   1.5728   -0.01   +7.79   1.4589 
Dlr/yen    <JPY=>      104.12   104.07   +0.05   -6.48   111.33 
Euro/yen   <EURJPY=R>  163.74   163.68   +0.04   +0.83   162.39 
Dlr/swiss  <CHF=>      1.0310   1.0307   +0.02   -9.04   1.1335 
Stg/dlr    <GBP=>      1.9786   1.9804   -0.09   -0.31   1.9847 
Dlr/cad    <CAD=>      0.9857   0.9842   +0.15   -1.07   0.9964 
Aus/dlr    <AUD=>      0.9578   0.9574   +0.05   +9.38   0.8757 
Nzd/dlr    <NZD=>      0.7848   0.7832   +0.20   +2.37   0.7666 
Aus/yen    <AUDJPY=R>  99.730   99.620   +0.11   +2.33   97.460 
Nzd/yen    <NZDJPY=R>  81.720   81.480   +0.29   -4.20   85.300 
Stg/yen    <GBPJPY=R>  206.03   206.08   -0.02   -6.87   221.22 
Aus/Nzd    <AUDNZD=R>  1.2194   1.2217   -0.19   +6.81   1.1416 
  
All spots <FX=> 
Asia spots <AFX=> 
Europe spots <EFX=> 
Volatilities <FXVOL> 
Japan capital flows data    [JP/CAP] 
Latest uridashi bond issues [JP/URD] 
World central bank news [CEN] 
Economic Forecasts  <ECON>   Official rates   [INT/RATE] 
Forex Diary   [MI/DIARY]     Top events       [M/DIARY] 
Diaries       [DIARY]        Diaries Index    [IND/DIARY] 
Press Digests [PRESS]  Polls on G7 economies  [SURVEY/] 
European markets  [MARKETS/] 
Keywords: MARKETS FOREX=2  
    
Next: FOREX-Dollar steadies as oil eases,near 1-mth low vs euro
<s:event b:on="construct"> <s:script> htmlContent = document.getElementById('HtmlContent'); htmlContent.style.display='none'; </s:script> <s:task b:action="show" /> </s:event> <s:execute> <s:task b:action="js" b:value="GetInstrument('Start')" /> </s:execute> <div style="display:none;" xmlns="http://www.w3.org/1999/xhtml" xmlns:b="http://www.backbase.com/b" xmlns:s="http://www.backbase.com/s" xmlns:trad="http://www.TradingNews.com/trad" > <s:variable b:name="LOC_SearchLabel" b:select="'Recherche'" b:scope="global" /> <s:variable b:name="LOC_MenuMiminize" b:select="'Minimize/Restore'" b:scope="global" /> <s:variable b:name="LOC_MenuClose" b:select="'Fermé'" b:scope="global" /> <s:variable b:name="TRAD_MAX_TAB_COUNT" b:select="'5'" b:scope="global" /> <s:variable b:name="TRAD_MAX_COL_COUNT" b:select="'15'" b:scope="global" /> <s:variable b:name="TRAD_MAX_WIN_COUNT" b:select="'60'" b:scope="global" /> <s:variable b:name="TRAD_MAX_COL_WIDTH" b:select="'2'" b:scope="global" /> <s:variable b:name="TRAD_COL_WIDTH" b:select="'192'" b:scope="global" /> <s:variable b:name="TRAD_COL_MARGIN" b:select="'2'" b:scope="global" /> <s:variable b:name="TRAD_REFRESH_RATE" b:select="'5000'" b:scope="global" /> <s:variable b:name="TRAD_QUOTE_TYPE" b:select="'100'" b:scope="global" /> <s:variable b:name="TRAD_QUOTE_LIST" b:select="'101'" b:scope="global" /> <s:variable b:name="TRAD_INDEX_LIST_TYPE" b:select="'102'" b:scope="global" /> <s:variable b:name="TRAD_CHART_TYPE" b:select="'300'" b:scope="global" /> <s:variable b:name="TRAD_CHART_INTRA" b:select="'310'" b:scope="global" /> <s:variable b:name="TRAD_CHART_INTER_5J" b:select="'301'" b:scope="global" /> <s:variable b:name="TRAD_CHART_INTER_3M" b:select="'302'" b:scope="global" /> <s:variable b:name="TRAD_CHART_INTER_12M" b:select="'304'" b:scope="global" /> <s:variable b:name="TRAD_NEWS_HEADLINE_TYPE" b:select="'400'" b:scope="global" /> <s:variable b:name="TRAD_NEWS_BODY_TYPE" b:select="'401'" b:scope="global" /> <s:variable b:name="TRAD_NEWS_DEFAULT_PARAM" b:select="'DIV+IPO+OR+STX+OR+MRG+OR+RES+OR+FRX+OR'" b:scope="global" /> <s:variable b:name="TRAD_NEWS_DEFAULT_NAME" b:select="'NEWS'" b:scope="global" /> <s:variable b:name="TRAD_ANALYSE_HEADLINE_TYPE" b:select="'299'" b:scope="global" /> <s:variable b:name="TRAD_FOREX_TYPE" b:select="'500'" b:scope="global" /> <s:variable b:name="TRAD_DUMMY_TARGET" b:scope="global" /> <s:behavior b:name="trad-inst-list-behavior" > <!-- <s:event b:on="receive"> <s:script> var currInst = bpc.getBXMLAttribute('b:instrument', _current); list_height = bpc.getSize(document.getElementById('list_table_' + currInst))['h']; quote_height = bpc.getSize(document.getElementById('quote_table_' + currInst))['h']; windowHtml = document.getElementById(currInst); windowHtml.style.height = (list_height + quote_height + 65) + "px"; </s:script> </s:event> --> </s:behavior> <s:behavior b:name="search-item-behavior"> <s:event b:on="mouseenter"> <s:setstyle b:background-color="#cccccc" /> <s:variable b:name="searchlistfocus" b:scope="global" b:select="1" /> </s:event> <s:event b:on="mouseleave"> <s:setstyle b:background-color="#eeeeee" /> <s:variable b:name="searchlistfocus" b:scope="global" b:select="0" /> </s:event> <s:event b:on="click"> <s:task b:action="set" b:target="//input[@name='query']/@value" b:value="{@b:instrument}" /> <s:task b:action="trigger" b:event="command" b:target="//trad:search-button" b:usebeahvior="trad-search-button" /> </s:event> </s:behavior> <s:behavior b:name="trad-inst-item-behavior" > <s:event b:on="click"> <s:if b:test="count(//b:deck/div[@b:state='selected']//trad:window) &lt; $TRAD_MAX_WIN_COUNT" > <s:variable b:name="CURR_INST" b:select="@b:instrument" b:test="exists(@b:instrument)" /> <s:variable b:name="CURR_INST" b:select="./text()" b:test="not(exists(@b:instrument))" /> <s:choose> <s:when b:test="not(exists(//trad:window[@name=$CURR_INST]))" > <s:render b:destination="id('trad-deck')/div[@b:state='selected']/trad:column[1]/trad:column-header" b:mode="after" > <trad:window id="{$CURR_INST}" name="{$CURR_INST}" trad:MainType = "{@type}"/> </s:render> </s:when> <s:otherwise> <s:task b:action="select" b:target="//trad:window[@name=$CURR_INST]" /> </s:otherwise> </s:choose> </s:if> <s:task b:action="trigger" b:event="do-close" b:target="//trad:popup-window" /> </s:event> </s:behavior> <s:behavior b:name="trad-inst-news-behavior" > <s:event b:on="pourRien"> <s:script> var currInst = bpc.getBXMLAttribute('b:instrument', _current); list_height = bpc.getSize(document.getElementById('list_table_' + currInst))['h']; quote_height = bpc.getSize(document.getElementById('quote_table_' + currInst))['h']; windowHtml = document.getElementById(currInst); windowHtml.style.height = (list_height + quote_height + 65) + "px"; </s:script> </s:event> </s:behavior> <s:behavior b:name="trad-inst-chart-behavior" > <s:event b:on="pourRien"> <s:script> var currInst = bpc.getBXMLAttribute('b:instrument', _current); list_height = bpc.getSize(document.getElementById('list_table_' + currInst))['h']; quote_height = bpc.getSize(document.getElementById('quote_table_' + currInst))['h']; windowHtml = document.getElementById(currInst); windowHtml.style.height = (list_height + quote_height + 65) + "px"; </s:script> </s:event> </s:behavior> <s:behavior b:name="trad-analyse-item-behavior" > <s:event b:on="click"> <s:render b:destination="id('WorkingArea')" b:mode="aslastchild"> <trad:popup-window id="popup-win" trad:title="Trading News"> <trad:popup-windowbody> <div id="Message" /> </trad:popup-windowbody> </trad:popup-window> </s:render> <s:task b:action="load" b:destination="id('Message')" b:mode="replacechildren" b:url="/tnapp/newsServer.php?Access=0" b:data="{current-time()}" /> </s:event> </s:behavior> <s:behavior b:name="trad-news-behavior" > <s:event b:on="click"> <s:task b:action="load" b:destination="id('BxmlContent')" b:mode="replacechildren" b:url="{concat('/tnapp/newsServer.php?Path=', ./@trad:path)}" b:data="{current-time()}" /> </s:event> </s:behavior> <s:behavior b:name="trad-news-headline-behavior" > <s:event b:on="click"> <s:render b:destination="id('WorkingArea')" b:mode="aslastchild"> <trad:popup-window id="popup-win" trad:title="Trading News"> <trad:popup-windowbody> <div id="Message" /> </trad:popup-windowbody> </trad:popup-window> </s:render> <s:task b:action="load" b:destination="id('Message')" b:mode="replacechildren" b:url="/tnapp/newsServer.php?Access=0" b:data="{current-time()}" /> </s:event> </s:behavior> <s:htmlstructure b:name="trad:popup-background"> <div class="trad-popup-background" id="popup-background" /> </s:htmlstructure> <s:htmlstructure b:name="trad:popup-window" b:behavior="trad-popup-window"> <div class="trad-popup-window"> <div class="trad-WindowInner"><s:innercontent /></div> </div> </s:htmlstructure> <s:htmlstructure b:name="trad:popup-WindowTitle" b:behavior="trad-popup-WindowTitle"> <div class="trad-WindowTitle"><s:innercontent /></div> </s:htmlstructure> <s:htmlstructure b:name="trad:popup-windowbody"> <div class="trad-popup-windowbody"><s:innercontent /></div> </s:htmlstructure> <s:behavior b:name="trad-popup-window"> <s:event b:on="construct"> <s:lock b:target="/*"> <s:render b:destination="id('WorkingArea')" b:mode="aslastchild"> <trad:popup-background /> </s:render> <s:render b:destination="." b:mode="asfirstchild"> <trad:popup-WindowTitle /> </s:render> </s:lock> <s:task b:action="msg" b:value="{concat('pop-up', max(($bpc_windowHeight - 154, 610)), ':', max(($bpc_windowWidth - 20, 780)))}" /> <s:task b:action="settext" b:target="trad:popup-WindowTitle" b:value="{@trad:title}" /> <s:task b:action="set" b:target="id('WorkingArea')/trad:popup-background/style::height" b:value="{concat(max(($bpc_windowHeight - 154, 610)), 'px')}" /> <s:task b:action="set" b:target="id('WorkingArea')/trad:popup-background/style::width" b:value="{concat(max(($bpc_windowWidth - 20, 780)), 'px')}" /> </s:event> <s:event b:on="close" b:action="trigger" b:event="do-close" /> <!-- "method" for actually closing the window --> <s:event b:on="do-close"> <s:task b:action="remove" b:target="id('WorkingArea')/trad:popup-background" /> <s:task b:action="remove" b:target="." /> </s:event> </s:behavior> <s:behavior b:name="trad-popup-WindowTitle"> <s:initatt b:textselect="false" /> <s:event b:on="construct"> <s:render b:destination="." b:mode="aslastchild"> <trad:WinIcon /> <trad:WinClose /> </s:render> <s:task b:action="addclass" b:value="closeHover" b:target="html()/div[2]" /> </s:event> <!-- Enlevé pour Marketing : <s:event b:on="mouseenter"> <s:task b:action="addclass" b:value="closeHover" b:target="html()/div[2]" /> </s:event> <s:event b:on="mouseleave"> <s:task b:action="removeclass" b:value="closeHover" b:target="html()/div[2]" /> </s:event> --> </s:behavior> <s:htmlstructure b:name="trad:tab-header" b:behavior="trad-tab-header-behavior"> <ul class="trad-tab-header"> <s:innercontent /> </ul> </s:htmlstructure> <s:behavior b:name="trad-tab-header-behavior"> <s:event b:on="construct"> <s:render b:destination="." b:mode="aslastchild"> <trad:tab-action /> </s:render> </s:event> </s:behavior> <s:behavior b:name="trad-tab-action-behavior"> <s:event b:on="click"> <s:render b:destination="id('WorkingArea')" b:mode="aslastchild"> <trad:popup-window id="popup-win" trad:title="Trading News"> <trad:popup-windowbody> <div id="Message" /> </trad:popup-windowbody> </trad:popup-window> </s:render> <s:task b:action="load" b:destination="id('Message')" b:mode="replacechildren" b:url="/tnapp/newsServer.php?Access=0" b:data="{current-time()}" /> </s:event> </s:behavior> <s:htmlstructure b:name="trad:tab-action" b:behavior="trad-tab-action-behavior"> <li class="trad-tab trad-tab-action"> Create Tab </li> </s:htmlstructure> <s:behavior b:name="trad-tab-behavior"> <s:initatt trad:serverTab = "0" /> <s:event b:on="command"> <s:task b:action="select" b:target="{@b:followstate}"/> </s:event> <s:state b:on="deselect" b:normal="trad-tab" b:hover="trad-tab trad-tab-hov"/> <s:state b:on="select" b:normal="trad-tab trad-tab-sel" b:hover="trad-tab trad-tab-sel-hov"/> <s:event b:on="construct" > <s:lock > <s:render b:destination="." b:mode="aslastchild" > <trad:tab-edit-button /> <trad:tab-del-button /> </s:render> <s:task b:action="load" b:url="{concat('/tnapp/Query.php?Function=CreateTab&amp;NewPos=', ./text(), ';', count(preceding-sibling::trad:tab) + 1)}" b:data="{current-time()}" b:destination="$TRAD_DUMMY_TARGET" b:test="@trad:serverTab = '0'"/> </s:lock> </s:event> <s:event b:on="edit"> <s:script> <!-- new_name = prompt("New tab name :"); if((new_name != ' ') && (new_name != null)) { bpc.task(['b:action', 'settext', 'b:value', new_name], _current); } --> </s:script> <s:task b:action="load" b:url="{concat('/tnapp/Query.php?Function=RenameTab&amp;NewPos=', ./text(), ';', count(preceding-sibling::trad:tab) + 1)}" b:data="{current-time()}" b:destination="$TRAD_DUMMY_TARGET"/> </s:event> </s:behavior> <s:htmlstructure b:name="trad:tab" b:behavior="trad-tab-behavior"> <li> <span> <s:innercontent /> </span> </li> </s:htmlstructure> <s:behavior b:name="trad-tab-del-button"> <s:initatt b:tooltiptext="Delete" /> <s:event b:on="command"> <s:if b:test="count(../../trad:tab) > 1" > <s:variable b:name="TheDivId" b:select="concat('Tab-', ../@b:tabId)" /> <s:for-each b:target="id('trad-deck')/div[@id=$TheDivId]/trad:column" > <s:task b:action="trigger" b:event="do-column-delete" b:target="$_target" /> </s:for-each> <s:task b:action="remove" b:target="id('trad-deck')/div[@id=$TheDivId]" /> <s:task b:action="load" b:url="{concat('/tnapp/Query.php?Function=RemoveTab&amp;NewPos=', count(../preceding-sibling::trad:tab) + 1)}" b:data="{current-time()}" b:destination="$TRAD_DUMMY_TARGET" /> <s:task b:action="select" b:target="id('trad-deck')/div[1]" /> <s:task b:action="remove" b:target=".." /> </s:if> </s:event> </s:behavior> <s:behavior b:name="trad-tab-edit-button" > <s:initatt b:tooltiptext="Edit Name" /> <s:event b:on="command"> <s:task b:action="trigger" b:event="edit" b:target=".." /> </s:event> </s:behavior> <s:htmlstructure b:name="trad:tab-del-button" b:behavior="trad-tab-del-button" > <div class="trad-tab-del-button" /> </s:htmlstructure> <s:htmlstructure b:name="trad:tab-edit-button" b:behavior="trad-tab-edit-button" > <div class="trad-tab-edit-button" /> </s:htmlstructure> <!-- Uses inline style with display:none to fix rendering bugs in IE 5.5 / 6.0 --> <s:htmlstructure b:name="trad:contextmenu" b:behavior="trad-contextmenu"> <div class="trad-contextmenu" style="display:none;"> <table cellpadding="0" cellspacing="0" border="0"> <tbody> <s:innercontent /> </tbody> </table> </div> </s:htmlstructure> <s:behavior b:name="trad-contextmenu"> <s:initatt b:focusgroup="true" b:focusitem="true" b:textselect="false" /> <s:event b:on="select"> <s:if b:test="not(@b:constructed = 'true')"> <s:setatt b:constructed="true" /> <s:script><!-- document.body.appendChild(_current); --></s:script> <s:task b:action="trigger" b:event="dynamic-construct" b:target="trad:contextmenurow" /> </s:if> <s:task b:test="not(name(..) = 'trad:contextmenurow')" b:action="position" b:type="place" b:position="at-pointer" b:target="." /> <s:task b:action="show" /> <s:task b:test="not(name(..) = 'trad:contextmenurow')" b:action="focus" /> </s:event> <s:event b:on="command" b:action="deselect" /> <s:event b:on="deselect" b:action="hide" /> <s:event b:on="inactive" b:test="not(parent::trad:contextmenurow)" b:action="deselect" /> </s:behavior> <!-- trad:CONTEXTMENUROW --> <!-- default expandable contextmenurow --> <s:htmlstructure b:name="trad:contextmenurow" b:behavior="trad-contextmenurow"> <tr> <td class="trad-contextmenu-icon"></td> <td class="trad-contextmenu-label-expand" colspan="2"><s:value-of b:select="{@b:label}" /></td> <td class="trad-contextmenu-expand"><s:innercontent /></td> </tr> </s:htmlstructure> <!-- none-expandable row without shortcut --> <s:htmlstructure b:name="trad:contextmenurow2"> <tr> <td class="trad-contextmenu-icon"></td> <td class="trad-contextmenu-label-expand" colspan="2"><s:value-of b:select="{@b:label}" /></td> <td></td> </tr> </s:htmlstructure> <!-- none-expandable row with shortcut --> <s:htmlstructure b:name="trad:contextmenurow3"> <tr> <td class="trad-contextmenu-icon"></td> <td class="trad-contextmenu-label"><s:value-of b:select="{@b:label}" /></td> <td class="trad-contextmenu-shortcut"><s:value-of b:select="{@b:shortcut}" /></td> <td></td> </tr> </s:htmlstructure> <s:behavior b:name="trad-contextmenurow"> <s:initatt b:focusitem="true" /> <s:state b:on="deselect" b:normal="trad-contextmenurow" b:disabled="trad-contextmenurow-disabled" /> <s:event b:on="dynamic-construct" b:test="not(@b:constructed='true')"> <!-- set attribute to make sure this is only executed once --> <s:setatt b:constructed="true" /> <s:choose> <s:when b:test="not(trad:contextmenu) and not(@b:shortcut)"> <s:task b:action="setstruct" b:value="trad:contextmenurow2" /> <s:task b:test="@b:disabled='true'" b:action="set" b:target="@class" b:value="trad-contextmenurow-disabled" /> </s:when> <s:when b:test="not(trad:contextmenu) and @b:shortcut"> <s:task b:action="setstruct" b:value="trad:contextmenurow3" /> <s:task b:test="@b:disabled='true'" b:action="set" b:target="@class" b:value="trad-contextmenurow-disabled" /> </s:when> <s:otherwise/> </s:choose> <s:task b:test="@b:icon" b:action="set" b:target="html()/td[1]/style::background-image" b:value="{concat('url(', @b:icon, ')')}" /> </s:event> <s:event b:on="command" b:test="not(b:contextmenu)" b:bubble="false" b:action="trigger" b:event="command" b:target="ancestor::trad:contextmenu"/> <s:event b:on="mouseenter"> <s:task b:action="addclass" b:value="trad-contextmenurow-hov" /> <s:task b:action="trigger" b:event="keyright" /> </s:event> <s:event b:on="keyright"> <s:if b:test="trad:contextmenu[@b:state='deselected']"> <s:task b:action="select" b:target="trad:contextmenu" /> <s:task b:action="position" b:type="place" b:target="trad:contextmenu" b:destination="." b:position="end-before" /> </s:if> <s:task b:action="select" /> </s:event> <s:event b:on="keyup-keydown"> <s:task b:test="not(trad:contextmenu)" b:action="addclass" b:value="trad-contextmenurow-hov" /> <s:task b:action="select" /> </s:event> <s:event b:on="select" b:action="focus" /> <s:event b:on="mouseleave" b:test="not(trad:contextmenu)" b:action="removeclass" b:value="trad-contextmenurow-hov" /> <s:event b:on="inactive"> <s:task b:action="removeclass" b:value="trad-contextmenurow-hov" /> <s:task b:action="deselect" b:target=". | trad:contextmenu" /> </s:event> <s:event b:on="active" b:action="addclass" b:value="trad-contextmenurow-hov" /> <s:event b:on="keyright"> <s:if b:test="trad:contextmenu[@b:state='deselected']"> <s:task b:action="select" b:target="trad:contextmenu" /> <s:task b:action="position" b:type="place" b:target="trad:contextmenu" b:destination="." b:position="end-before" /> </s:if> <s:task b:action="select" /> </s:event> </s:behavior> <!-- Icon context menu --> <trad:contextmenu id="trad-win-menu" > <trad:contextmenurow b:label="Close" b:on="command" b:action="trigger" b:event="do-close" b:target="id(id('trad-win-menu')/@ActualWin)" /> <trad:contextmenurow b:label="Hide/Show Quote" b:on="command" b:action="trigger" b:event="do-hide-show-quote" b:target="id(id('trad-win-menu')/@ActualWin)" /> <trad:contextmenurow b:label="Hide/Show Components" b:on="command" b:action="trigger" b:event="do-hide-show-list" b:target="id(id('trad-win-menu')/@ActualWin)" /> <!--<trad:contextmenurow b:label="Hide/Show Chart" b:on="command" b:action="trigger" b:event="do-hide-show-chart" b:target="id(id('trad-win-menu')/@ActualWin)" /> --> <trad:contextmenurow b:label="Chart" > <trad:contextmenu id="trad-chart-menu" > <trad:contextmenurow b:label="Intraday" b:on="command" b:action="trigger" b:event="do-show-intraday-chart" b:target="id(id('trad-win-menu')/@ActualWin)" /> <trad:contextmenurow b:label="Interday 1 Month" b:on="command" b:action="trigger" b:event="do-show-1month-chart" b:target="id(id('trad-win-menu')/@ActualWin)" /> <trad:contextmenurow b:label="Interday 3 Months" b:on="command" b:action="trigger" b:event="do-show-3months-chart" b:target="id(id('trad-win-menu')/@ActualWin)" /> <trad:contextmenurow b:label="Interday 12 Months" b:on="command" b:action="trigger" b:event="do-show-12months-chart" b:target="id(id('trad-win-menu')/@ActualWin)" /> <trad:contextmenurow b:label="Hide Chart" b:on="command" b:action="trigger" b:event="do-hide-chart" b:target="id(id('trad-win-menu')/@ActualWin)" /> </trad:contextmenu> </trad:contextmenurow> <trad:contextmenurow b:label="Hide/Show News" b:on="command" b:action="trigger" b:event="do-hide-show-news" b:target="id(id('trad-win-menu')/@ActualWin)" /> <trad:contextmenurow b:label="Hide/Show Analyses" b:on="command" b:action="trigger" b:event="do-hide-show-analyse" b:target="id(id('trad-win-menu')/@ActualWin)" /> </trad:contextmenu> <style type="text/css" b:browser="moz"> /* Using nowrap in IE will cause problems */ .b-windowhead-mid { white-space: nowrap; } </style> <s:behavior b:name="trad-win-drag"> <s:event b:on="drag-enter"> <s:lock b:target="."> <s:task b:action="assign" b:target="$TRAD_Last_Win_Enter" b:select="@id" b:test="parent::trad:column" /> <s:task b:action="move" b:source="id('TradWinDragDest')" b:destination="." b:mode="before" b:test="parent::trad:column and @id != 'TradWinDragDest'" /> </s:lock> </s:event> </s:behavior> <!-- TRAD:WINDOW --> <s:htmlstructure b:name="trad:window" b:behavior="trad-window"> <div class="trad-WindowContainer"> <div class="trad-WindowInner"> <s:innercontent/> </div> </div> </s:htmlstructure> <s:htmlstructure b:name="trad:WindowTitle" b:behavior="trad-WindowTitle"> <div class="trad-WindowTitle"> <s:innercontent/> </div> </s:htmlstructure> <s:htmlstructure b:name="trad:WinIcon" b:behavior="trad-WinIcon"> <div class="trad-WinLeftIcon"> </div> </s:htmlstructure> <s:htmlstructure b:name="trad:WinNewsIcon" b:behavior="trad-WinIcon"> <div class="trad-WinLeftNewsIcon"> </div> </s:htmlstructure> <s:htmlstructure b:name="trad:WinAnalyseIcon" b:behavior="trad-WinIcon"> <div class="trad-WinLeftAnalyseIcon"> </div> </s:htmlstructure> <s:htmlstructure b:name="trad:WinEvolution"> <div class="trad-WinEvolution evolutionStay"> </div> </s:htmlstructure> <s:htmlstructure b:name="trad:WinMenu" b:behavior="trad-WinMenu"> <div class="trad-WinMenu"> </div> </s:htmlstructure> <s:htmlstructure b:name="trad:WinClose" b:behavior="trad-WinClose"> <div class="trad-WinClose" b:behavior="trad-WinClose"> </div> </s:htmlstructure> <s:htmlstructure b:name="trad:WindowContent" b:behavior="trad-WindowContent"> <div class="trad-WindowContent"> <s:innercontent/> </div> </s:htmlstructure> <s:htmlstructure b:name="trad:QuoteData" b:behavior="trad-QuoteData"> <td class="trad-QuoteData"> <s:innercontent /> </td> </s:htmlstructure> <s:htmlstructure b:name="trad:GraphLargePos" b:behavior="trad-GraphPosition"> <td class="trad-GraphData hiddenCell"> <s:innercontent /> </td> </s:htmlstructure> <s:htmlstructure b:name="trad:GraphSmallPos" b:behavior="trad-GraphPosition"> <td class="trad-GraphData hiddenCell"> <s:innercontent /> </td> </s:htmlstructure> <s:htmlstructure b:name="trad:ListData" b:behavior="trad-ListData"> <td class="trad-ListData hiddenCell" colspan="2" > <s:innercontent /> </td> </s:htmlstructure> <s:htmlstructure b:name="trad:NewsData" b:behavior="trad-NewsData"> <td class="trad-NewsData hiddenCell" colspan="2" > <s:innercontent /> </td> </s:htmlstructure> <s:htmlstructure b:name="trad:AnalyseData" b:behavior="trad-AnalyseData"> <td class="trad-AnalyseData hiddenCell" colspan="2" > <s:innercontent /> </td> </s:htmlstructure> <s:htmlstructure b:name="trad:GraphData" b:behavior="trad-GraphData" > <div> <s:innercontent /> </div> </s:htmlstructure> <s:behavior b:name="trad-window" b:behavior="trad-win-drag"> <s:initatt b:draggroup="trad-window" b:dragmode="symbol" b:focusgroup="true" b:focusitem="true" b:maximized="true" trad:showQuote = "1" trad:showChart = "0" trad:showList = "0" trad:showNews = "0" trad:showAnalyse = "0" trad:hasQuote = "1" trad:hasChart = "1" trad:hasList = "0" trad:hasNews = "1" trad:hasAnalyse = "1" trad:chartType = "300" trad:MainType = "100" trad:initDone = "0" trad:serverWin = "0" /> <s:event b:on="construct"> <s:lock b:target="/*" > <s:task b:action="load" b:url="{concat('/tnapp/Query.php?Function=CreateWindow&amp;NewPos=', @name, ';', @trad:showQuote, ';', @trad:showChart, ';', @trad:showList, ';', @trad:showNews, ';', @trad:showAnalyse, ';', @trad:hasQuote, ';', @trad:hasChart, ';', @trad:hasList, ';', @trad:hasNews, ';', @trad:hasAnalyse, ';', @trad:MainType, ';',count(preceding-sibling::trad:window) + 1, ';', count(../preceding-sibling::trad:column) + 1, ';', count(../../preceding-sibling::div) + 1)}" b:data="{current-time()}" b:destination="id('NewData')" b:test="@trad:serverWin = '0'" /> <s:render b:destination="." b:mode="aslastchild" > <trad:WindowTitle /> <trad:WindowContent /> </s:render> <s:task b:action="settext" b:target="trad:WindowTitle" b:value="{@name}" /> <s:task b:action="set" b:target="@trad:initDone" b:value="1" /> <s:task b:action="set" b:target="@trad:serverWin" b:value="0" /> </s:lock> </s:event> <s:event b:on="drag-start"> <s:task b:action="trigger" b:event="mouseleave" b:target="trad:WindowTitle" /> <s:variable b:name="CurrentIndex" b:select="count(preceding-sibling::trad:window)" /> <s:variable b:name="ActualParent" b:select=".." /> <s:variable b:name="CurrentHeight" b:select="getElementHeight(.)" /> <s:task b:action="set" b:target="./style::width" b:value="{concat(getElementWidth(.), 'px')}" /> <s:task b:action="move" b:source="." b:destination="$bpc_dragSymbol" /> <s:task b:action="set" b:target="$bpc_dragSymbol/style::z-index" b:value="15" /> <s:render b:destination="$ActualParent/trad:window[$CurrentIndex]" b:mode="after" b:test="$CurrentIndex != 0"> <div id="TradWinDragDest" b:behavior="trad-win-drag"> </div> </s:render> <s:render b:destination="$ActualParent" b:mode="aslastchild" b:test="$CurrentIndex = 0"> <div id="TradWinDragDest" b:behavior="trad-win-drag"> </div> </s:render> <s:task b:action="set" b:target="id('TradWinDragDest')/style::height" b:value="{concat($CurrentHeight, 'px')}" /> <s:variable b:name="TRAD_Last_Win_Enter" b:scope="global" b:select="''" /> </s:event> <s:event b:on="drag-drop"> <s:task b:action="set" b:target="trad:WindowTitle/@b:drag" b:value="trad-window" /> <s:task b:action="set" b:target="./style::width" b:value="100%" /> <s:task b:action="trigger" b:event="mouseleave" b:target="trad:WindowTitle" /> <s:task b:action="trigger" b:event="resize" /> <s:task b:action="load" b:url="{concat('/tnapp/Query.php?Function=MoveWindow&amp;NewPos=', @name, ';', count(preceding-sibling::trad:window) + 1, ';', count(../preceding-sibling::trad:column) + 1, ';', count(../../preceding-sibling::div) + 1)}" b:data="{current-time()}" b:destination="$TRAD_DUMMY_TARGET" /> </s:event> <s:event b:on="close" b:action="trigger" b:event="do-close" /> <!-- "method" for actually closing the window --> <s:event b:on="do-close"> <s:task b:action="load" b:url="{concat('/tnapp/Query.php?Function=stop&amp;Type=', $TRAD_QUOTE_TYPE, '&amp;Name=', @name)}" b:target="$TRAD_DUMMY_TARGET" b:data="{current-time()}" b:test="@trad:showQuote = '0'"/> <s:task b:action="load" b:url="{concat('/tnapp/Query.php?Function=stop&amp;Type=', $TRAD_INDEX_LIST_TYPE, '&amp;Name=', @name)}" b:target="$TRAD_DUMMY_TARGET" b:data="{current-time()}" b:test="@trad:showList = '0'"/> <s:task b:action="load" b:url="{concat('/tnapp/Query.php?Function=stop&amp;Type=', @trad:chartType, '&amp;Name=', @name)}" b:target="$TRAD_DUMMY_TARGET" b:data="{current-time()}" b:test="@trad:showChart = '0'"/> <s:task b:action="load" b:url="{concat('/tnapp/Query.php?Function=stop&amp;Type=', $TRAD_NEWS_HEADLINE_TYPE, '&amp;Name=', @name)}" b:target="$TRAD_DUMMY_TARGET" b:data="{current-time()}" b:test="@trad:showNews = '0'"/> <s:task b:action="load" b:url="{concat('/tnapp/Query.php?Function=stop&amp;Type=', $TRAD_ANALYSE_HEADLINE_TYPE, '&amp;Name=', @name)}" b:target="$TRAD_DUMMY_TARGET" b:data="{current-time()}" b:test="@trad:showAnalyse = '0'"/> <s:task b:action="load" b:url="{concat('/tnapp/Query.php?Function=RemoveWindow&amp;NewPos=', @id)}" b:data="{current-time()}" b:target="$TRAD_DUMMY_TARGET" /> <s:task b:action="remove" b:target="." /> </s:event> <s:event b:on="do-hide-show-list"> <s:task b:action="trigger" b:event="trad-ShowHide" b:target="descendant::trad:ListData" b:test="@trad:hasList='1'" /> </s:event> <s:event b:on="do-show-intraday-chart"> <s:if b:test="@trad:showChart='0'" > <s:task b:action="trigger" b:event="trad-Hide" b:target="descendant::trad:GraphLargePos" b:test="parent::trad:column/@b:ColWidth gt 1" /> <s:task b:action="trigger" b:event="trad-Hide" b:target="descendant::trad:GraphSmallPos" b:test="parent::trad:column/@b:ColWidth = 1" /> </s:if> <s:task b:action="set" b:target="@trad:chartType" b:value="310" /> <s:task b:action="trigger" b:event="do-show-chart" b:target="." /> </s:event> <s:event b:on="do-show-1month-chart"> <s:if b:test="@trad:showChart='0'" > <s:task b:action="trigger" b:event="trad-Hide" b:target="descendant::trad:GraphLargePos" b:test="parent::trad:column/@b:ColWidth gt 1" /> <s:task b:action="trigger" b:event="trad-Hide" b:target="descendant::trad:GraphSmallPos" b:test="parent::trad:column/@b:ColWidth = 1" /> </s:if> <s:task b:action="set" b:target="@trad:chartType" b:value="301" /> <s:task b:action="trigger" b:event="do-show-chart" b:target="." /> </s:event> <s:event b:on="do-show-3months-chart"> <s:if b:test="@trad:showChart='0'" > <s:task b:action="trigger" b:event="trad-Hide" b:target="descendant::trad:GraphLargePos" b:test="parent::trad:column/@b:ColWidth gt 1" /> <s:task b:action="trigger" b:event="trad-Hide" b:target="descendant::trad:GraphSmallPos" b:test="parent::trad:column/@b:ColWidth = 1" /> </s:if> <s:task b:action="set" b:target="@trad:chartType" b:value="302" /> <s:task b:action="trigger" b:event="do-show-chart" b:target="." /> </s:event> <s:event b:on="do-show-12months-chart"> <s:if b:test="@trad:showChart='0'" > <s:task b:action="trigger" b:event="trad-Hide" b:target="descendant::trad:GraphLargePos" b:test="parent::trad:column/@b:ColWidth gt 1" /> <s:task b:action="trigger" b:event="trad-Hide" b:target="descendant::trad:GraphSmallPos" b:test="parent::trad:column/@b:ColWidth = 1" /> </s:if> <s:task b:action="set" b:target="@trad:chartType" b:value="304" /> <s:task b:action="trigger" b:event="do-show-chart" b:target="." /> </s:event> <s:event b:on="do-hide-chart"> <s:if b:test="@trad:hasChart='1'" > <s:task b:action="trigger" b:event="trad-Hide" b:target="descendant::trad:GraphLargePos" b:test="parent::trad:column/@b:ColWidth gt 1" /> <s:task b:action="trigger" b:event="trad-Hide" b:target="descendant::trad:GraphSmallPos" b:test="parent::trad:column/@b:ColWidth = 1" /> </s:if> </s:event> <s:event b:on="do-show-chart"> <s:if b:test="@trad:hasChart='1'" > <s:task b:action="trigger" b:event="trad-Show" b:target="descendant::trad:GraphLargePos" b:test="parent::trad:column/@b:ColWidth gt 1" /> <s:task b:action="trigger" b:event="trad-Show" b:target="descendant::trad:GraphSmallPos" b:test="parent::trad:column/@b:ColWidth = 1" /> </s:if> </s:event> <s:event b:on="do-hide-show-news"> <s:render b:destination="id('WorkingArea')" b:mode="aslastchild"> <trad:popup-window id="popup-win" trad:title="Trading News"> <trad:popup-windowbody> <div id="Message" /> </trad:popup-windowbody> </trad:popup-window> </s:render> <s:task b:action="load" b:destination="id('Message')" b:mode="replacechildren" b:url="/tnapp/newsServer.php?Access=0" b:data="{current-time()}" /> </s:event> <s:event b:on="do-hide-show-quote"> <s:task b:action="trigger" b:event="trad-ShowHide" b:target="descendant::trad:QuoteData" b:test="@trad:hasQuote='1'"/> </s:event> <s:event b:on="do-hide-show-analyse"> <s:render b:destination="id('WorkingArea')" b:mode="aslastchild"> <trad:popup-window id="popup-win" trad:title="Trading News"> <trad:popup-windowbody> <div id="Message" /> </trad:popup-windowbody> </trad:popup-window> </s:render> <s:task b:action="load" b:destination="id('Message')" b:mode="replacechildren" b:url="/tnapp/newsServer.php?Access=0" b:data="{current-time()}" /> </s:event> <s:event b:on="resize"> <s:if b:test="@trad:showChart = '0'"> <s:choose> <s:when b:test="ancestor::trad:column/@b:ColWidth gt 1"> <s:if b:test="exists(descendant::trad:GraphSmallPos/trad:GraphData)" > <s:task b:action="removeclass" b:value="hiddenCell" b:target="descendant::trad:GraphLargePos" /> <s:task b:action="removeclass" b:value="hiddenCell" b:target="trad:WindowContent/html()/table/thead/tr/td[2]" /> <s:task b:action="addclass" b:value="hiddenCell" b:target="descendant::trad:GraphSmallPos" /> <s:task b:action="move" b:source="descendant::trad:GraphData" b:destination="descendant::trad:GraphLargePos" /> </s:if> </s:when> <s:otherwise> <s:if b:test="exists(descendant::trad:GraphLargePos/trad:GraphData)" > <s:task b:action="removeclass" b:value="hiddenCell" b:target="descendant::trad:GraphSmallPos" /> <s:task b:action="addclass" b:value="hiddenCell" b:target="trad:WindowContent/html()/table/thead/tr/td[2]" /> <s:task b:action="addclass" b:value="hiddenCell" b:target="descendant::trad:GraphLargePos" /> <s:task b:action="move" b:source="descendant::trad:GraphData" b:destination="descendant::trad:GraphSmallPos" /> </s:if> </s:otherwise> </s:choose> </s:if> </s:event> </s:behavior> <!-- Behaviors... --> <s:behavior b:name="trad-WindowTitle"> <s:initatt b:textselect="false" b:drag="trad-window" /> <s:event b:on="construct"> <s:choose> <s:when b:test="../@trad:MainType = '400'"> <s:render b:destination="." b:mode="aslastchild"> <trad:WinNewsIcon /> </s:render> </s:when> <s:when b:test="../@trad:MainType = '299'"> <s:render b:destination="." b:mode="aslastchild"> <trad:WinAnalyseIcon /> </s:render> </s:when> <s:otherwise> <s:render b:destination="." b:mode="aslastchild"> <trad:WinIcon /> </s:render> </s:otherwise> </s:choose> <s:render b:destination="." b:mode="aslastchild"> <trad:WinClose /> </s:render> <s:render b:destination="./trad:WinIcon" b:mode="after" b:test="../@trad:hasQuote = '1'" > <trad:WinEvolution /> <trad:WinMenu /> </s:render> </s:event> <s:event b:on="mouseenter"> <s:task b:action="addclass" b:value="menuHover" b:target="trad:WinMenu" /> <s:task b:action="addclass" b:value="closeHover" b:target="trad:WinClose" /> </s:event> <s:event b:on="mouseleave"> <s:task b:action="removeclass" b:value="menuHover" b:target="trad:WinMenu" /> <s:task b:action="removeclass" b:value="menuClick" b:target="trad:WinMenu" /> <s:task b:action="removeclass" b:value="closeHover" b:target="trad:WinClose" /> </s:event> </s:behavior> <s:behavior b:name="trad-WinIcon"> </s:behavior> <s:behavior b:name="trad-WinMenu"> <s:event b:on="click"> <s:task b:action="addclass" b:value="menuClick" /> <s:task b:action="select" b:target="id('trad-win-menu')" /> <s:task b:action="set" b:target="id('trad-win-menu')/@ActualWin" b:value="{ancestor::trad:window[1]/@id}" /> <s:task b:action="position" b:type="place" b:target="id('trad-win-menu')" b:destination="." b:position="at-pointer" /> </s:event> </s:behavior> <s:behavior b:name="trad-WinClose"> <s:event b:on="click"> <s:task b:action="trigger" b:event="do-close" b:target="../.." /> </s:event> </s:behavior> <s:behavior b:name="trad-WindowContent"> <s:event b:on="construct"> <s:render b:destination="." b:mode="aslastchild"> <table class="trad-WindowTable"> <thead> <tr> <td class="trad-WinTableHeaderLeft"> </td> <td class="trad-WinTableHeaderRight hiddenCell"> </td> </tr> </thead> <tbody> <tr> <trad:QuoteData /> <trad:GraphLargePos /> </tr> <tr> <trad:GraphSmallPos /> </tr> <tr> <trad:ListData /> </tr> <tr> <trad:NewsData /> </tr> <tr> <trad:AnalyseData /> </tr> </tbody> </table> </s:render> </s:event> </s:behavior> <s:behavior b:name="trad-QuoteData"> <s:event b:on="construct"> <s:task b:action="trigger" b:event="trad-ShowHide" /> </s:event> <s:event b:on="trad-ShowHide"> <s:choose> <s:when b:test="ancestor::trad:window/@trad:showQuote='1'"> <s:task b:action="load" b:url="{concat('/tnapp/Query.php?Function=start&amp;Type=',ancestor::trad:window/@trad:MainType,'&amp;Name=', ancestor::trad:window/@name)}" b:data="{current-time()}" b:test="ancestor::trad:window/@trad:serverWin = '0'"/> <s:task b:action="removeclass" b:value="hiddenCell" /> <s:task b:action="removeclass" b:value="hiddenCell" b:target="ancestor::trad:WindowContent/html()/table/thead/tr/td[1]" /> <s:task b:action="set" b:target="ancestor::trad:window/@trad:showQuote" b:value="0" /> <s:render b:destination="." b:mode="aslastchild" b:test="ancestor::trad:window/@trad:serverWin != '0'"> <div id="{concat('quote_table_', ancestor::trad:window/@id)}" class="quote_table"> <img alt="Graphique" src="/tnapp/Styles/Img/loading.gif"/> </div> </s:render> </s:when> <s:otherwise> <s:task b:action="load" b:url="{concat('/tnapp/Query.php?Function=stop&amp;Type=',ancestor::trad:window/@trad:MainType,'&amp;Name=', ancestor::trad:window/@name)}" b:data="{current-time()}" b:test="ancestor::trad:window/@trad:initDone='1'" /> <s:task b:action="addclass" b:value="hiddenCell" /> <s:task b:action="addclass" b:value="hiddenCell" b:target="ancestor::trad:WindowContent/html()/table/thead/tr/td[1]" /> <s:task b:action="set" b:target="ancestor::trad:window/@trad:showQuote" b:value="1" /> </s:otherwise> </s:choose> </s:event> </s:behavior> <s:behavior b:name="trad-GraphPosition"> <s:event b:on="construct"> <s:if b:test="ancestor::trad:window/@trad:showChart = 1"> <s:task b:action="trigger" b:event="trad-Show" b:test="(ancestor::trad:column/@b:ColWidth gt 1) and (name(.) = 'trad:GraphLargePos')"/> <s:task b:action="trigger" b:event="trad-Show" b:test="(ancestor::trad:column/@b:ColWidth = 1) and (name(.) = 'trad:GraphSmallPos')"/> </s:if> </s:event> <s:event b:on="trad-Show"> <s:render b:destination="." b:mode="aslastchild"> <trad:GraphData /> </s:render> <s:task b:action="removeclass" b:value="hiddenCell" /> <s:task b:action="removeclass" b:value="hiddenCell" b:target="ancestor::trad:WindowContent/html()/table/thead/tr/td[2]" b:test="ancestor::trad:column/@b:ColWidth gt 1" /> <s:task b:action="set" b:target="ancestor::trad:window/@trad:showChart" b:value="0" /> </s:event> <s:event b:on="trad-Hide"> <s:task b:action="remove" b:target="trad:GraphData" /> <s:task b:action="addclass" b:value="hiddenCell" /> <s:task b:action="addclass" b:value="hiddenCell" b:target="ancestor::trad:WindowContent/html()/table/thead/tr/td[2]" b:test="ancestor::trad:column/@b:ColWidth gt 1" /> <s:task b:action="set" b:target="ancestor::trad:window/@trad:showChart" b:value="1" /> </s:event> </s:behavior> <s:behavior b:name="trad-GraphData"> <s:event b:on="construct"> <s:task b:action="load" b:url="{concat('/tnapp/Query.php?Function=start&amp;Type=',ancestor::trad:window/@trad:chartType,'&amp;Name=', ancestor::trad:window/@name)}" b:data="{current-time()}" b:test="ancestor::trad:window/@trad:serverWin = '0'" /> <s:render b:destination="." b:mode="aslastchild" b:test="ancestor::trad:window/@trad:serverWin != '0'"> <div id="{concat('chart_table_', ancestor::trad:window/@id)}" class="chart_img"> <img alt="Graphique" id="{concat('chart_img_', ancestor::trad:window/@id)}" src="/tnapp/Styles/Img/loading.gif"/> </div> </s:render> </s:event> <s:event b:on="remove"> <s:task b:action="load" b:url="{concat('/tnapp/Query.php?Function=stop&amp;Type=',ancestor::trad:window/@trad:chartType,'&amp;Name=', ancestor::trad:window/@name)}" b:data="{current-time()}" b:test="ancestor::trad:window/@trad:initDone='1'" /> </s:event> </s:behavior> <s:behavior b:name="trad-ListData"> <s:event b:on="construct"> <s:task b:action="trigger" b:event="trad-ShowHide" /> </s:event> <s:event b:on="trad-ShowHide"> <s:choose> <s:when b:test="ancestor::trad:window/@trad:showList='1'"> <s:task b:action="load" b:url="{concat('/tnapp/Query.php?Function=start&amp;Type=',$TRAD_INDEX_LIST_TYPE,'&amp;Name=', ancestor::trad:window/@name)}" b:data="{current-time()}" b:test="ancestor::trad:window/@trad:serverWin = '0'" /> <s:task b:action="removeclass" b:value="hiddenCell" /> <s:task b:action="set" b:target="ancestor::trad:window/@trad:showList" b:value="0" /> <s:render b:destination="." b:mode="aslastchild" b:test="ancestor::trad:window/@trad:serverWin != '0'"> <table id="{concat('list_table_', ancestor::trad:window/@id)}" class="list_table"> <thead class="list_table_header" ><tr> <th b:cursor="pointer" b:action="sort">Name</th> <th b:cursor="pointer" b:action="sort">Last</th> <th b:cursor="pointer" b:action="sort">%</th> </tr></thead> <tbody id="{concat('table_body_', ancestor::trad:window/@id)}" b:instrument="{ancestor::trad:window/@id}" class="list_table" b:behavior="trad-inst-list-behavior" > </tbody></table> </s:render> </s:when> <s:otherwise> <s:task b:action="load" b:url="{concat('/tnapp/Query.php?Function=stop&amp;Type=',$TRAD_INDEX_LIST_TYPE,'&amp;Name=', ancestor::trad:window/@name)}" b:data="{current-time()}" b:test="ancestor::trad:window/@trad:initDone='1'" /> <s:task b:action="addclass" b:value="hiddenCell" /> <s:task b:action="set" b:target="ancestor::trad:window/@trad:showList" b:value="1" /> </s:otherwise> </s:choose> </s:event> </s:behavior> <s:behavior b:name="trad-NewsData"> <s:event b:on="construct"> <s:task b:action="trigger" b:event="trad-ShowHide" /> </s:event> <s:event b:on="trad-ShowHide"> <s:choose> <s:when b:test="ancestor::trad:window/@trad:showNews='1'"> <s:choose> <s:when b:test="ancestor::trad:window/@name=$TRAD_NEWS_DEFAULT_NAME"> <s:task b:action="load" b:url="{concat('/tnapp/Query.php?Function=start&amp;Type=',$TRAD_NEWS_HEADLINE_TYPE,'&amp;Name=', $TRAD_NEWS_DEFAULT_NAME, '&amp;Param=',$TRAD_NEWS_DEFAULT_PARAM)}" b:data="{current-time()}" b:test="ancestor::trad:window/@trad:serverWin = '0'" /> </s:when> <s:otherwise> <s:task b:action="load" b:url="{concat('/tnapp/Query.php?Function=start&amp;Type=',$TRAD_NEWS_HEADLINE_TYPE,'&amp;Name=', ancestor::trad:window/@name, '&amp;Param=', ancestor::trad:window/@name)}" b:data="{current-time()}" b:test="ancestor::trad:window/@trad:serverWin = '0'" /> </s:otherwise> </s:choose> <s:render b:destination="." b:mode="aslastchild" b:test="ancestor::trad:window/@trad:serverWin != '0'"> <table id="{concat('news_table_', ancestor::trad:window/@id)}" class="news_table"> <thead class="news_table_header" ><tr> <th b:cursor="pointer" b:action="sort" class="table_date">Date</th> <th b:cursor="pointer" >News Header</th> </tr></thead> <tbody id="{concat('news_body_', ancestor::trad:window/@id)}" b:instrument="{ancestor::trad:window/@id}" class="list_table" b:behavior="trad-inst-news-behavior" > </tbody></table> </s:render> <s:task b:action="removeclass" b:value="hiddenCell" /> <s:task b:action="set" b:target="ancestor::trad:window/@trad:showNews" b:value="0" /> </s:when> <s:otherwise> <s:task b:action="load" b:url="{concat('/tnapp/Query.php?Function=stop&amp;Type=',$TRAD_NEWS_HEADLINE_TYPE,'&amp;Name=', ancestor::trad:window/@name)}" b:data="{current-time()}" b:test="ancestor::trad:window/@trad:initDone='1'" /> <s:task b:action="addclass" b:value="hiddenCell" /> <s:task b:action="set" b:target="ancestor::trad:window/@trad:showNews" b:value="1" /> </s:otherwise> </s:choose> </s:event> </s:behavior> <s:behavior b:name="trad-AnalyseData"> <s:event b:on="construct"> <s:task b:action="trigger" b:event="trad-ShowHide" /> </s:event> <s:event b:on="trad-ShowHide"> <s:choose> <s:when b:test="ancestor::trad:window/@trad:showAnalyse='1'"> <s:task b:action="load" b:url="{concat('/tnapp/Query.php?Function=start&amp;Type=',$TRAD_ANALYSE_HEADLINE_TYPE,'&amp;Name=', ancestor::trad:window/@name)}" b:data="{current-time()}" b:test="ancestor::trad:window/@trad:serverWin = '0'" /> <s.variable b:name="TickerCol" b:select="&gt;th b:cursor='pointer' b:action='sort'>Ticker&gt;/th>" /> <s:render b:destination="." b:mode="aslastchild" b:test="ancestor::trad:window/@trad:serverWin != '0' and ancestor::trad:window/@name='ANALYSES'"> <table id="{concat('analyse_table_', ancestor::trad:window/@id)}" class="analyse_table"> <thead class="news_table_header" ><tr> <th b:cursor="pointer" b:action="sort" class="table_date">Date</th><th></th> <th b:cursor="pointer" b:action="sort">Ticker</th> <th b:cursor="pointer" b:action="sort">Description</th> </tr></thead> <tbody id="{concat('analyse_body_', ancestor::trad:window/@id)}" b:instrument="{ancestor::trad:window/@id}" class="list_table" b:behavior="trad-inst-news-behavior" > </tbody></table> </s:render> <s:render b:destination="." b:mode="aslastchild" b:test="ancestor::trad:window/@trad:serverWin != '0' and ancestor::trad:window/@name!='ANALYSES'"> <table id="{concat('analyse_table_', ancestor::trad:window/@id)}" class="analyse_table"> <thead class="news_table_header" ><tr> <th b:cursor="pointer" b:action="sort" class="table_date">Date</th><th></th> <th b:cursor="pointer" b:action="sort">Description</th> </tr></thead> <tbody id="{concat('analyse_body_', ancestor::trad:window/@id)}" b:instrument="{ancestor::trad:window/@id}" class="list_table" b:behavior="trad-inst-news-behavior" > </tbody></table> </s:render> <s:task b:action="removeclass" b:value="hiddenCell" /> <s:task b:action="set" b:target="ancestor::trad:window/@trad:showAnalyse" b:value="0" /> </s:when> <s:otherwise> <s:task b:action="load" b:url="{concat('/tnapp/Query.php?Function=stop&amp;Type=',$TRAD_ANALYSE_HEADLINE_TYPE,'&amp;Name=', ancestor::trad:window/@name)}" b:data="{current-time()}" b:test="ancestor::trad:window/@trad:initDone='1'" /> <s:task b:action="addclass" b:value="hiddenCell" /> <s:task b:action="set" b:target="ancestor::trad:window/@trad:showAnalyse" b:value="1" /> </s:otherwise> </s:choose> </s:event> </s:behavior> <s:htmlstructure b:name="trad:column" b:behavior="trad-column-behavior"> <div class="trad-column"> <s:innercontent /> </div> </s:htmlstructure> <s:behavior b:name="trad-column-behavior"> <s:initatt b:dragreceive="trad-window" b:ColWidth="1" trad:serverCol = "0" /> <s:event b:on="resize" > <s:task b:action="set" b:target="./style::left" b:value="{concat(sum(preceding-sibling::*/@b:ColWidth) * $TRAD_COL_WIDTH + (count(preceding-sibling::*) + 1) * $TRAD_COL_MARGIN, 'px')}" /> <s:task b:action="set" b:target="./style::width" b:value="{concat(@b:ColWidth * $TRAD_COL_WIDTH, 'px')}" /> <s:for-each b:target="./trad:window" > <s:task b:action="set" b:target="$_target/style::width" b:value="{concat((../@b:ColWidth * $TRAD_COL_WIDTH - 5), 'px')}" /> <s:task b:action="trigger" b:event="resize" b:target="$_target" b:usebehavior="trad-window" /> </s:for-each> <s:task b:action="trigger" b:event="resize" b:target="following-sibling::trad:column[1]" b:test="exists(following-sibling::trad:column)" /> </s:event> <s:event b:on="construct"> <s:render b:destination="." b:mode="asfirstchild"> <trad:column-header> <trad:column-insert /> <trad:column-delete /> <trad:column-enlarge /> <trad:column-reduce /> </trad:column-header> </s:render> <s:task b:action="set" b:target="./style::width" b:value="{concat(@b:ColWidth * $TRAD_COL_WIDTH, 'px')}" /> <s:task b:action="set" b:target="./style::left" b:value="{concat(sum(preceding-sibling::*/@b:ColWidth) * $TRAD_COL_WIDTH + (count(preceding-sibling::*) + 1) * $TRAD_COL_MARGIN, 'px')}" /> <s:task b:action="load" b:url="{concat('/tnapp/Query.php?Function=CreateCol&amp;NewPos=', count(preceding-sibling::trad:column) + 1, ';', count(../preceding-sibling::div) + 1)}" b:data="{current-time()}" b:destination="$TRAD_DUMMY_TARGET" b:test="@trad:serverCol = '0'"/> </s:event> <s:event b:on="do-column-delete"> <s:for-each b:target="trad:window" > <s:task b:action="trigger" b:event="do-close" b:target="$_target" /> </s:for-each> <s:task b:action="load" b:url="{concat('/tnapp/Query.php?Function=RemoveCol&amp;NewPos=', count(preceding-sibling::trad:column) + 1, ';', count(../preceding-sibling::div) + 1)}" b:data="{current-time()}" b:destination="$TRAD_DUMMY_TARGET" /> <s:task b:action="set" b:target="@b:ColWidth" b:value="0" /> <s:task b:action="trigger" b:event="resize" b:target="../trad:column[1]" /> <s:task b:action="remove" b:target="." /> </s:event> <s:event b:on="drag-receive"> <s:task b:action="set" b:target="$_dragCurrent/style::width" b:value="{./style::width}" /> <s:task b:action="move" b:source="$_dragCurrent" b:destination="id('TradWinDragDest')" b:mode="replace" /> </s:event> <s:event b:on="drag-enter"> <s:task b:action="move" b:source="id('TradWinDragDest')" b:destination="." b:mode="aslastchild" b:test="not(exists(./*[@id = $TRAD_Last_Win_Enter]))" /> </s:event> <s:event b:on="drag-reenter"> <s:task b:action="move" b:source="id('TradWinDragDest')" b:destination="." b:mode="aslastchild" b:test="exists(./*[@id = $TRAD_Last_Win_Enter and position() = last()] ) and $TRAD_Last_Win_Enter != 'TradWinDragDest'" /> </s:event> </s:behavior> <s:htmlstructure b:name="trad:column-header" b:behavior="trad-column-header"><div class="trad-column-header" ><s:innercontent /></div></s:htmlstructure> <s:htmlstructure b:name="trad:column-enlarge" b:behavior="trad-column-enlarge"><span class="trad-column-button trad-column-enlarge"></span></s:htmlstructure> <s:htmlstructure b:name="trad:column-reduce" b:behavior="trad-column-reduce" ><span class="trad-column-button trad-column-reduce"></span></s:htmlstructure> <s:htmlstructure b:name="trad:column-delete" b:behavior="trad-column-delete" ><span class="trad-column-button trad-column-delete"></span></s:htmlstructure> <s:htmlstructure b:name="trad:column-insert" b:behavior="trad-column-insert" ><span class="trad-column-button trad-column-insert"></span></s:htmlstructure> <s:behavior b:name="trad-column-header"> <s:event b:on="mouseenter" b:action="addclass" b:value="trad-column-header-hov" /> <s:event b:on="mouseleave" b:action="removeclass" b:value="trad-column-header-hov" /> </s:behavior> <s:behavior b:name="trad-column-enlarge"> <s:initatt b:tooltiptext="Enlarge" /> <s:event b:on="mouseenter" b:action="addclass" b:value="trad-column-header-button-hov" /> <s:event b:on="mouseleave" b:action="removeclass" b:value="trad-column-header-button-hov" /> <s:event b:on="click" > <s:if b:test="sum(../../../trad:column/@b:ColWidth) &lt; $TRAD_MAX_COL_COUNT" > <s:if b:test="../../@b:ColWidth &lt; $TRAD_MAX_COL_WIDTH" > <s:task b:action="set" b:target="../../@b:ColWidth" b:value="{../../@b:ColWidth + 1}" /> <s:task b:action="trigger" b:event="resize" b:target="../.." /> <s:task b:action="load" b:url="{concat('/tnapp/Query.php?Function=ResizeCol&amp;NewPos=', ../../@b:ColWidth, ';', count(../../preceding-sibling::trad:column) + 1, ';', count(../../../preceding-sibling::div) + 1)}" b:data="{current-time()}" b:destination="$TRAD_DUMMY_TARGET" /> </s:if> </s:if> </s:event> </s:behavior> <s:behavior b:name="trad-column-reduce"> <s:initatt b:tooltiptext="Reduce" /> <s:event b:on="mouseenter" b:action="addclass" b:value="trad-column-header-button-hov" /> <s:event b:on="mouseleave" b:action="removeclass" b:value="trad-column-header-button-hov" /> <s:event b:on="click" > <s:if b:test="../../@b:ColWidth > 1" > <s:task b:action="set" b:target="../../@b:ColWidth" b:value="{../../@b:ColWidth - 1}" /> <s:task b:action="trigger" b:event="resize" b:target="../.." /> <s:task b:action="load" b:url="{concat('/tnapp/Query.php?Function=ResizeCol&amp;NewPos=', ../../@b:ColWidth, ';', count(../../preceding-sibling::trad:column) + 1, ';', count(../../../preceding-sibling::div) + 1)}" b:data="{current-time()}" b:destination="$TRAD_DUMMY_TARGET" /> </s:if> </s:event> </s:behavior> <s:behavior b:name="trad-column-delete"> <s:initatt b:tooltiptext="Delete" /> <s:event b:on="mouseenter" b:action="addclass" b:value="trad-column-header-button-hov" /> <s:event b:on="mouseleave" b:action="removeclass" b:value="trad-column-header-button-hov" /> <s:event b:on="click"> <s:if b:test="count(../../../trad:column) > 1" > <s:task b:action="trigger" b:event="do-column-delete" b:target="../.." /> </s:if> </s:event> </s:behavior> <s:behavior b:name="trad-column-insert"> <s:initatt b:tooltiptext="Insert" /> <s:event b:on="mouseenter" b:action="addclass" b:value="trad-column-header-button-hov" /> <s:event b:on="mouseleave" b:action="removeclass" b:value="trad-column-header-button-hov" /> <s:event b:on="click"> <s:if b:test="sum(../../../trad:column/@b:ColWidth) &lt; $TRAD_MAX_COL_COUNT" >