|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
×
# `' x y; w! S7 y L+ m; \( ^! B
% C2 `1 {/ }$ c+ s4 P. S2 E0 O( Z
当地时间2月5日,日本东京一购物商场举办忍者节,80多名伊贺忍者参加了这项活动。忍者是日本自江户时代开始出现的一种特殊职业身份。忍者们接受忍术的训练,主要从事间谍活动。像日本武士的武士道一样,忍者也遵循一套自己引以为荣的专门规范。忍者通常都穿深蓝或深紫色的衣服。因为接近夜空颜色的深蓝色和深紫色着装能让忍者比较不容易被别人发现。7 f* W2 z/ B5 _6 {+ `
3 U0 f3 h5 b- |3 s- t/ i当地时间2月5日,日本东京一购物商场举办忍者节,80多名伊贺忍者参加了这项活动。
% G* m! r, M) K4 p7 |"-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
7 U+ F0 D0 _9 u% n日本忍者商业活动上大秀忍术(组图)
1 k) v2 \$ Z" h; k3 w8 Fvar shareDivNotShown = true;: `9 P5 J* i% K' k6 K
function show_share(){
, k& x" x' h& w D3 @; u) v4 [4 V6 \) [if(shareDivNotShown)4 t( V/ E$ t& \; y# e6 f
{
- Q! r# |& Z! XshareDivNotShown = false;
9 I! ^) j. |% S4 S+ T3 c/ f( Vvar expandDiv=document.getElementById("expandarea");- h- h1 O4 p S7 @+ V, ?5 p6 ?
var shareDiv=document.getElementById("sharearea");7 ^9 d; B+ a4 O( A* {% s
var pos = getPos(expandDiv);2 u2 m, I" P. \& l
shareDiv.style.left = ((parseInt(pos.x))-60)+"px";
- T1 e5 c. l2 B5 w" ~ b; pshareDiv.style.top = ((parseInt(pos.y))-66)+"px";4 l ?" H$ B% n6 X; @
$('sharearea').show();7 s* x( Q1 t1 h' f4 R
}5 O2 g& u9 x& |/ ~; `
else{8 y3 e. ^" q" J9 X! ?, f0 F" h
$('sharearea').hide();! M3 K8 R/ e' S- o( O8 H
shareDivNotShown=true;
8 q2 T1 j6 v5 v+ S4 [' v}* o B) G' B7 ^0 g7 ^5 S
}& ?1 H2 k3 D% h' l& s2 L2 h$ q* X
function getPos(n)* g" b9 W6 O m5 Z
{
, e, _9 V- x6 Jvar p = n.offsetParent;- k$ O/ i# y" y! Q
if(!p)* s/ f9 {, J5 O( {( ^, w
return {x:n.offsetLeft,y:n.offsetTop};
8 C) @9 v% Z) O `( Fvar pos = getPos(p);
- N+ `1 W! |" ?+ X8 i2 Oreturn {x:n.offsetLeft+pos.x, y:n.offsetTop+pos.y}; ) _5 B) D! i9 g3 H8 |' N+ t6 E
} * a, U' A/ z0 W
show_editor = function(){9 |6 z8 y3 V3 r8 i- z2 K. R; E
//tom.Alert('只有登录后才能补充内容' , 'ERROR' , 'tom.Login()');
" C) \0 z) V/ x8 [- Ghidden_bandit();1 k. [8 }! r; F0 N& J( u }0 o
tom.Login();
8 }" P% q0 [( X) Kreturn false;( p- t+ U3 n7 k7 s* _
}5 i$ E1 P t# x
show_content = function(){9 A0 b R q' R
$('content_body').show();
' C4 r' P2 j$ v4 s8 f: e- m}
% G. l3 U' @% Ahide_editor = function(){) L9 K# ]3 h( O7 S0 g: g
}
0 ~" X. q3 i' T" o. nvar channel = window.location.toString().match(/^http:\/\/post\.(\w*)\.?tom.com/);
4 j4 ?% M) C& {//如果是畸形域名# C5 M' L7 j* Z- P
if(channel == null){
: q; M$ R5 P) @# D6 O' }" c; lchannel = new Array;. o+ G, ~; m. g) i
switch('news'){
) G. m3 \& o* ]" P" O% n+ \3 B: Wcase 'nba.sports':% D' \1 b6 @2 Q2 Q( s9 u
channel[0] = 'http://post-nba.sports.tom.com';8 b( q# N2 P' A3 o( o
channel[1] = 'sports';! ~! n' \/ k l. [
break;
( c4 l5 Z6 c* @case 'a8.yule':
) p. z. A" P) K+ P+ Gchannel[0] = 'http://post-a8.yule.tom.com';
+ C+ f4 u8 [, \( W9 Xchannel[1] = 'a8';
; D7 i( E. y0 r, Wbreak;$ s/ {) G- B, W: j, }
case 'life.news':
0 N% B1 a9 v- g6 V6 w$ _# Wchannel[0] = 'http://post-life.news.tom.com';6 [2 ~$ W$ e7 U8 Y r7 k* p
channel[1] = 'post-life';
2 P' I( [- {. V$ P" A. x, I1 q; _0 |break;
( H9 m0 C! V {1 `: k/ P% x! Lcase 'e.she':( H2 |2 m0 O6 Q5 B
case 'fashion.she':7 S9 J8 X6 w( _( `4 V
case 'beauty.she':$ W3 t! X' c% U3 M
case 'love.she':" e3 l- y7 r8 K& z+ ~
case 'man.she':
4 Y' p+ M. \ V' L) ?case 'pic.she':
/ u2 k. j# ]2 p; tchannel[0] = 'http://post-e.she.tom.com';2 a. ?. s" F" j( O& d% m% ~
channel[1] = 'she';6 K, l3 r7 k1 [* f7 I% o6 `4 R
break;! l& t# P- | z% |* @
case 'social.news':
& n. F& D5 E7 u: G5 N; H8 e C3 K' schannel[0] = 'http://post-social.news.tom.com';4 S: _2 d+ F" p
channel[1] = 'post-social';
+ ~3 S* E. l# U& S4 R( Ebreak;( t8 ]" i- E7 Z- m
default:
! W) h' n1 I8 p( B, Kchannel[0] = 'http://news.tom.com';0 z$ Z/ }& k+ E7 {- z
channel[1] = 'news';, f( d. Q9 _/ }1 s: T! z
}: R3 O( \# r7 m
}+ q& C/ M% v/ a# T' }* N/ ?
//新闻:体育:汽车:娱乐:女性:音乐
- r: X6 Y X% s# M; z3 Yvar ad_list = {'news':{'a1':'http://js.pub.tom.com/news/tfc-news.js','a2':'http://js.pub.tom.com/news/qtz-news.js','a3':'http://js.pub.tom.com/news/news-in-banner2.js','a4':'','a5':'http://news.tom.com/static/8/OO88/news.js','a6':'http://news.tom.com/static/C/OKQC/24h_2010.js','a7':'http://js.pub.tom.com/news/text-news-rdtj.js','a8':'http://js.pub.tom.com/news/text3-news.js','a9':'http://js.pub.tom.com/news/bfc-news.js','a10':'http://js.pub.tom.com/news/wz12-news.js','a11':'http://js.pub.tom.com/post-news/news-in-fc61296.js' ,'richpop':'http://js.pub.tom.com/post-news/newsin-fmt.js','tail':'http://pre.pub.tom.com/tomjs/newsp.js'},7 B% \1 L, o% q. G3 X% e8 ~
'auto':{'a1':'http://js.pub.tom.com/post-auto/tfc-auto.js','a2':'http://js.pub.tom.com/post-auto/qtz-auto.js','a3':'http://js.pub.tom.com/post-auto/auto-in-banner2.js','a4':'','a5':'http://news.tom.com/static/8/OO88/auto.js','a6':'http://news.tom.com/static/C/OKQC/24h_2010.js','a7':'http://js.pub.tom.com/post-auto/text-auto-rdtj.js','a8':'http://js.pub.tom.com/post-auto/text3-auto.js','a9':'http://js.pub.tom.com/post-auto/bfc-auto.js','a10':'http://js.pub.tom.com/post-auto/wz12-auto.js','a11':'http://js.pub.tom.com/post-auto/auto-in-fc61296.js', 'richpop':'http://js.pub.tom.com/post-auto/autoin-fmt.js','tail':'http://pre.pub.tom.com/tomjs/autop.js'},3 H: r. C9 ~7 D7 B: G& p
'sports':{'a1':'http://js.pub.tom.com/post/tfc-sports.js','a2':'http://js.pub.tom.com/post/qtz-sports.js','a3':'ht
4 |+ m8 n# E4 S$ [% `
" n: k" H( ?7 C- I: s6 v6 [7 B r |
|