taiwanese_news_parser 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +23 -0
- data/Rakefile +4 -0
- data/g0v.json +37 -0
- data/lib/taiwanese_news_parser/parser/apple_daily.rb +69 -0
- data/lib/taiwanese_news_parser/parser/china_times.rb +76 -0
- data/lib/taiwanese_news_parser/parser/cna.rb +59 -0
- data/lib/taiwanese_news_parser/parser/cts.rb +52 -0
- data/lib/taiwanese_news_parser/parser/ettoday.rb +53 -0
- data/lib/taiwanese_news_parser/parser/liberty_times.rb +66 -0
- data/lib/taiwanese_news_parser/parser/liberty_times_big5.rb +51 -0
- data/lib/taiwanese_news_parser/parser/now_news.rb +53 -0
- data/lib/taiwanese_news_parser/parser/tvbs.rb +46 -0
- data/lib/taiwanese_news_parser/parser/udn.rb +43 -0
- data/lib/taiwanese_news_parser/parser.rb +57 -0
- data/lib/taiwanese_news_parser/url_cleaner.rb +19 -0
- data/lib/taiwanese_news_parser/version.rb +3 -0
- data/lib/taiwanese_news_parser.rb +15 -0
- data/spec/spec_helper.rb +9 -0
- data/spec/taiwanese_news_parser/parser/apple_daily_s1.html +484 -0
- data/spec/taiwanese_news_parser/parser/apple_daily_s2.html +333 -0
- data/spec/taiwanese_news_parser/parser/apple_daily_s3.html +334 -0
- data/spec/taiwanese_news_parser/parser/apple_daily_spec.rb +57 -0
- data/spec/taiwanese_news_parser/parser/china_times_s1.html +513 -0
- data/spec/taiwanese_news_parser/parser/china_times_s2.html +538 -0
- data/spec/taiwanese_news_parser/parser/china_times_s3.html +893 -0
- data/spec/taiwanese_news_parser/parser/china_times_s4.html +1045 -0
- data/spec/taiwanese_news_parser/parser/china_times_spec.rb +63 -0
- data/spec/taiwanese_news_parser/parser/cna_s1.html +1616 -0
- data/spec/taiwanese_news_parser/parser/cna_spec.rb +33 -0
- data/spec/taiwanese_news_parser/parser/cts_s1.html +672 -0
- data/spec/taiwanese_news_parser/parser/cts_s2.html +672 -0
- data/spec/taiwanese_news_parser/parser/cts_spec.rb +36 -0
- data/spec/taiwanese_news_parser/parser/ettoday_s1.html +1817 -0
- data/spec/taiwanese_news_parser/parser/ettoday_s2.html +1822 -0
- data/spec/taiwanese_news_parser/parser/ettoday_spec.rb +35 -0
- data/spec/taiwanese_news_parser/parser/liberty_times_big5_s1.html +213 -0
- data/spec/taiwanese_news_parser/parser/liberty_times_big5_spec.rb +31 -0
- data/spec/taiwanese_news_parser/parser/liberty_times_s1.html +145 -0
- data/spec/taiwanese_news_parser/parser/liberty_times_spec.rb +29 -0
- data/spec/taiwanese_news_parser/parser/now_news_s1.html +968 -0
- data/spec/taiwanese_news_parser/parser/now_news_s2.html +986 -0
- data/spec/taiwanese_news_parser/parser/now_news_spec.rb +31 -0
- data/spec/taiwanese_news_parser/parser/tvbs_s1.html +734 -0
- data/spec/taiwanese_news_parser/parser/tvbs_s2.html +739 -0
- data/spec/taiwanese_news_parser/parser/tvbs_spec.rb +36 -0
- data/spec/taiwanese_news_parser/parser/udn_s1.html +1678 -0
- data/spec/taiwanese_news_parser/parser/udn_spec.rb +42 -0
- data/taiwanese_news_parser.gemspec +30 -0
- metadata +237 -0
@@ -0,0 +1,1678 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=big5">
|
5
|
+
|
6
|
+
<meta name="description" content="����ȹB�s�}�_�y����5�T���s���u�A���Ѷ}��K�O�խ��ĤG�ѡA�H����Q�ѾU��A�����o�s�P�Ĭ�C�]������}��S����խ��骺�����A���i�{���ƶ��ɦ�W���A��������խ��骺�����A��խ���d�ۤU���A�ΡA���ѧ�Ʋ{���ɦ�A���ƶ��H��V�ӶV���A�٦��H���ϴ����A�{���@�פ��z�C" />
|
7
|
+
<meta property="og:description" content="����ȹB�s�}�_�y����5�T���s���u�A���Ѷ}��K�O�խ��ĤG�ѡA�H����Q�ѾU��A�����o�s�P�Ĭ�C�]������}��S����խ��骺�����A���i�{���ƶ��ɦ�W���A��������խ��骺�����A��խ���d�ۤU���A�ΡA���ѧ�Ʋ{���ɦ�A���ƶ��H��V�ӶV���A�٦��H���ϴ����A�{���@�פ��z�C" />
|
8
|
+
<meta name="keywords" content="����K�O�h�y���ĤG�� �s�P�Ĭ� , ����խ���m�z , �ꤺ�n�D , �p�X�s�D��" />
|
9
|
+
<link rel="alternate" type="application/rss+xml" title="udn�J�I�n�D" href="http://udn.com/udnrss/focus.xml">
|
10
|
+
|
11
|
+
<title>����K�O�h�y���ĤG�� �s�P�Ĭ� | ����խ���m�z | �ꤺ�n�D | �p�X�s�D��</title>
|
12
|
+
<link rel="alternate" type="text/xml+oembed" href="http://udn.com/esrv/oembed.php?url=http%3A%2F%2Fforum.udn.com%2Fforum%2FNewsLetter%2FNewsPreview%3FEncode%3Dbig5%26NewsID%3D7996060&format=xml" title="udn oEmbed Profile" />
|
13
|
+
<link rel="alternate" type="application/json+oembed" href="http://udn.com/esrv/oembed.php?url=http%3A%2F%2Fforum.udn.com%2Fforum%2FNewsLetter%2FNewsPreview%3FEncode%3Dbig5%26NewsID%3D7996060&format=json" title="udn oEmbed Profile" />
|
14
|
+
|
15
|
+
<meta property="og:title" content="����K�O�h�y���ĤG�� �s�P�Ĭ� | ����խ���m�z | �ꤺ�n�D | �p�X�s�D��"/>
|
16
|
+
<meta property="og:type" content="article" />
|
17
|
+
<meta property="og:image" content="http://udn.com/NEWS/MEDIA/7996060-3100262.JPG"/>
|
18
|
+
<meta property="og:url" content="http://udn.com/NEWS/NATIONAL/NAT4/7996060.shtml"/>
|
19
|
+
|
20
|
+
<meta property="fb:app_id" content="331022766910211" />
|
21
|
+
<meta property="fb:admins" content="100002847892748,100002851642807"/>
|
22
|
+
|
23
|
+
<SCRIPT language=JavaScript SRC="/NEWS/js/premenu.js"></SCRIPT>
|
24
|
+
<!--meta nat
|
25
|
+
<link href="/2010/css/nstyle.css" rel="stylesheet" type="text/css">
|
26
|
+
-->
|
27
|
+
<link href="/2010/css/css.css" rel="stylesheet" type="text/css">
|
28
|
+
<link href="/2010/css/all.css" rel="stylesheet" type="text/css">
|
29
|
+
<link href="/2010/css/pscroller.css" rel="stylesheet" type="text/css">
|
30
|
+
<script language="JavaScript" src="/2010/js/jquery-1.4.2.min.js" type="text/javascript"></script>
|
31
|
+
<script language="JavaScript" src="/2010/js/jquery.tools.min.js" type="text/javascript"></script>
|
32
|
+
<SCRIPT language=JavaScript SRC="/NEWS/js/redraw.js"></SCRIPT>
|
33
|
+
<SCRIPT language=JavaScript SRC="/NEWS/js/premenu.js"></SCRIPT>
|
34
|
+
|
35
|
+
<script language="JavaScript" type="text/javascript">
|
36
|
+
var $jq = jQuery.noConflict();
|
37
|
+
$jq(document).ready(function(){
|
38
|
+
|
39
|
+
// �D���
|
40
|
+
$jq("#sidemenu li").hover(
|
41
|
+
function() { $jq(this).addClass("iehover"); },
|
42
|
+
function() { $jq(this).removeClass("iehover"); }
|
43
|
+
);
|
44
|
+
|
45
|
+
|
46
|
+
// �����W�s������u��
|
47
|
+
$jq('a').focus(function(){
|
48
|
+
this.blur();
|
49
|
+
});
|
50
|
+
|
51
|
+
});
|
52
|
+
</script>
|
53
|
+
|
54
|
+
|
55
|
+
<script type="text/javascript">
|
56
|
+
<!--
|
57
|
+
function MM_jumpMenu(targ,selObj,restore){ //v3.0
|
58
|
+
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
|
59
|
+
if (restore) selObj.selectedIndex=0;
|
60
|
+
}
|
61
|
+
//-->
|
62
|
+
</script>
|
63
|
+
|
64
|
+
</head>
|
65
|
+
|
66
|
+
<body>
|
67
|
+
<a name="top"></a>
|
68
|
+
|
69
|
+
<!-- storytop_nat.htm -->
|
70
|
+
|
71
|
+
<div id="header">
|
72
|
+
<div id="header_logo"><img src="/2010/images/logo_national.gif" height="65" border="0" usemap="#Map">
|
73
|
+
<iframe src="/2010/AD/NATIONAL_140X50.html" width="140" height="50" scrolling="no" frameborder="0" allowtransparency="true"></iframe>
|
74
|
+
<map name="Map">
|
75
|
+
<area shape="poly" coords="2,13,138,13,138,28,42,28,42,56,2,56" href="http://udn.com/">
|
76
|
+
<area shape="rect" coords="45,30,152,58" href="http://udn.com/NEWS/NATIONAL/">
|
77
|
+
</map></div>
|
78
|
+
|
79
|
+
<div id="family">
|
80
|
+
<script type="text/javascript" src="http://udn.com/2010MAIN/js/udnfamily.js"></script>
|
81
|
+
|
82
|
+
</div>
|
83
|
+
<!-- /family -->
|
84
|
+
|
85
|
+
<div id="searchbar">
|
86
|
+
<style type="text/css">
|
87
|
+
#gotop {
|
88
|
+
background-image: url("http://udn.com/2010/img/sprite.png");
|
89
|
+
background-position: 950px -12px;
|
90
|
+
background-repeat: no-repeat;
|
91
|
+
display: block;
|
92
|
+
margin: auto;
|
93
|
+
overflow: hidden;
|
94
|
+
padding: 18px 0 0;
|
95
|
+
width: 1000px;
|
96
|
+
}
|
97
|
+
#searchbar {
|
98
|
+
background-image: url("http://udn.com/2010/img/sprite.png");
|
99
|
+
background-position: right -39px;
|
100
|
+
background-repeat: no-repeat;
|
101
|
+
height: 25px;
|
102
|
+
position: absolute;
|
103
|
+
right: 6px;
|
104
|
+
top: 32px;
|
105
|
+
width: 450px;
|
106
|
+
}
|
107
|
+
#search_kw {
|
108
|
+
background-color: transparent;
|
109
|
+
border-style: none;
|
110
|
+
float: left;
|
111
|
+
font-family: Arial,helvetica,clean,"....","PMingLiU",sans-serif;
|
112
|
+
font-size: 12px;
|
113
|
+
height: 20px;
|
114
|
+
line-height: 20px;
|
115
|
+
padding-left: 5px;
|
116
|
+
width: 227px;
|
117
|
+
}
|
118
|
+
</style>
|
119
|
+
|
120
|
+
<script>
|
121
|
+
<!--
|
122
|
+
function chkform() {
|
123
|
+
document.sform1.Keywords.value=document.sform1.q.value; //update by kuai for google search
|
124
|
+
if(document.sform1.Keywords.value == "") return;
|
125
|
+
if(document.getElementById("search_type").value == "udndata" )
|
126
|
+
document.sform1.action = "http://data.udn.com/data/Search";
|
127
|
+
else
|
128
|
+
document.sform1.action = "http://udn.com/search/";
|
129
|
+
document.sform1.submit();
|
130
|
+
}
|
131
|
+
//-->
|
132
|
+
</script>
|
133
|
+
<form id="sform1" method="get" name="sform1" action="">
|
134
|
+
<select id="search_type" name="search_type">
|
135
|
+
<option value="udn">udn</option>
|
136
|
+
<option value="websearch">web</option>
|
137
|
+
<option value="udndata">���v�s�D</option>
|
138
|
+
</select><input id="search_kw" onmouseover="this.focus()" onclick="this.value='';" name="q" value="�j�M" type="text"><input id="Keywords" name="Keywords" type="hidden"><input name="channel" value="index" type="hidden"><a id="search_submit" href="javascript:chkform()"></a>
|
139
|
+
</form>
|
140
|
+
|
141
|
+
</div>
|
142
|
+
<!-- /searchbar -->
|
143
|
+
|
144
|
+
<div id="infobar"><script language="JavaScript" src="/2010/js/datetime.js"></script></div>
|
145
|
+
<!-- /infobar -->
|
146
|
+
|
147
|
+
<!--
|
148
|
+
<div id="memberbar" style="top:65px;"><a href="http://ad5.udn.com/RealMedia/ads/click_lx.ads/BD/fb2011-20120430/17053629/Bottom/BD-CL-fb2011/upb.gif/33636638316636663466383535653730?http://event.udn.com/fb2012" target=blank><img src="/2010/BD/240x30.gif" border=0></a></div>
|
149
|
+
-->
|
150
|
+
|
151
|
+
<!-- /memberbar -->
|
152
|
+
|
153
|
+
</div>
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
<!-- /header -->
|
158
|
+
<!-- neck_ent.htm -->
|
159
|
+
<!-- OneADR InPage �}�l -->
|
160
|
+
<script type="text/javascript">
|
161
|
+
var ONEAD = {};
|
162
|
+
ONEAD.channel = 21; // UDN�G�s�D�W�D
|
163
|
+
ONEAD.volume = 0.2; // range is 0 to 1 (float)
|
164
|
+
ONEAD.slot_limit = {width: 980, height: 405};
|
165
|
+
// optional(s)
|
166
|
+
//ONEAD.response_freq = [1, 4, 7, 10, 13, 16, 19, 22];
|
167
|
+
ONEAD.wmode = "opaque";
|
168
|
+
ONEAD.response_freq = {start:1, step: 3};
|
169
|
+
// async
|
170
|
+
ONEAD.cmd = ONEAD.cmd || [];
|
171
|
+
</script>
|
172
|
+
|
173
|
+
<script type="text/javascript">
|
174
|
+
// For OneAD, DON'T MODIFY the following
|
175
|
+
if (ONEAD){
|
176
|
+
ONEAD.uid = "1000009";
|
177
|
+
ONEAD.external_url = "http://onead.onevision.com.tw/"; // base_url, post-slash is necessary
|
178
|
+
ONEAD.wrapper = 'ONEAD_player_wrapper';
|
179
|
+
}
|
180
|
+
|
181
|
+
if (typeof window.isip_js == "undefined") {
|
182
|
+
// document.write('<scr' + 'ipt src="' + src + '"></scr' + 'ipt>');
|
183
|
+
|
184
|
+
// async
|
185
|
+
(function() {
|
186
|
+
var src = 'http://ad-specs.guoshipartners.com/static/js/isip.js';
|
187
|
+
|
188
|
+
var js = document.createElement('script');
|
189
|
+
js.async = true;
|
190
|
+
js.type = 'text/javascript';
|
191
|
+
var useSSL = 'https:' == document.location.protocol;
|
192
|
+
js.src = src;
|
193
|
+
var node = document.getElementsByTagName('script')[0];
|
194
|
+
node.parentNode.insertBefore(js, node.nextSibling); // insert after
|
195
|
+
})();
|
196
|
+
}
|
197
|
+
</script>
|
198
|
+
|
199
|
+
<script type="text/javascript">
|
200
|
+
// �o�Ө禡�W�٬O�T�w���A�s�i�����|�I�s��
|
201
|
+
function changeADState(obj){
|
202
|
+
// following is necessary for Firefox (its bug), DON'T remove it
|
203
|
+
ONEAD_setfocus();
|
204
|
+
|
205
|
+
if (obj.newstate == 'COMPLETED' || obj.newstate == 'DELETED' ){
|
206
|
+
ONEAD_slide(document.getElementById(ONEAD.wrapper), false, function(){
|
207
|
+
document.getElementById(ONEAD.wrapper).innerHTML = '';
|
208
|
+
});
|
209
|
+
}
|
210
|
+
}
|
211
|
+
</script>
|
212
|
+
<!-- OneADR InPage ���� -->
|
213
|
+
|
214
|
+
<!-- ���J InPage �s�i -->
|
215
|
+
<div id="div-onead-ad">
|
216
|
+
<script type="text/javascript">
|
217
|
+
ONEAD.cmd.push(function(){
|
218
|
+
ONEAD_slot('div-onead-ad');
|
219
|
+
});
|
220
|
+
</script>
|
221
|
+
</div>
|
222
|
+
|
223
|
+
|
224
|
+
<table class="mainbg" align="center" border="0" cellpadding="0" cellspacing="9" width="1000">
|
225
|
+
<tbody><tr>
|
226
|
+
<td valign="top"><table border="0" cellpadding="0" cellspacing="0" width="100%">
|
227
|
+
<tbody><tr>
|
228
|
+
<td>
|
229
|
+
<iframe src="/2010/AD/NATIONAL_728X90.html" width="728" height="90" scrolling="no" frameborder="0"></iframe>
|
230
|
+
</td>
|
231
|
+
</tr>
|
232
|
+
<tr>
|
233
|
+
<td class="path"><div style="float: left;"><a class="path" href="../../index.shtml">udn</a> / <a class="path" href="../index.shtml">�ꤺ�n�D</a> / <a class="path" href="index.shtml">����խ���m�z</a></div><div style="float: right; padding-top: 2px;"><iframe src="/2010/BD/hotsearch_a.htm" scrolling="no" frameborder="0" height="20" width="350" allowtransparency="true"></iframe></div>
|
234
|
+
</td>
|
235
|
+
</tr>
|
236
|
+
</tbody></table>
|
237
|
+
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
238
|
+
<tbody><tr>
|
239
|
+
<td height="100%" valign="top" width="142">
|
240
|
+
<!--�����U�Կ��}�l-->
|
241
|
+
|
242
|
+
|
243
|
+
<script type="text/JavaScript">
|
244
|
+
<!--
|
245
|
+
if (window.navigator.userAgent.indexOf("MSIE")>=1) {
|
246
|
+
//�p�G�s�����OIE
|
247
|
+
setActiveStyleSheet("sidemenu_IE.css");
|
248
|
+
} else {
|
249
|
+
//�p�G�s�����O��L
|
250
|
+
setActiveStyleSheet("sidemenu_FF.css");
|
251
|
+
}
|
252
|
+
|
253
|
+
function setActiveStyleSheet(title){
|
254
|
+
document.write('<link href="/2010/css/'+title+'" rel="stylesheet" type="text/css">');
|
255
|
+
}
|
256
|
+
//-->
|
257
|
+
</script>
|
258
|
+
<DIV class=box_outline id=sidemenu_box>
|
259
|
+
<DIV class=box_line1>
|
260
|
+
<ul id="sidemenu">
|
261
|
+
<script type="text/javascript" charset="big5" src="../../js/newsmenu_2010.js"></script>
|
262
|
+
</ul>
|
263
|
+
</DIV>
|
264
|
+
</DIV>
|
265
|
+
<!--�����U�Կ�浲��-->
|
266
|
+
<div id="sidemenu_ad">
|
267
|
+
<!--����SSI�}�l-->
|
268
|
+
<!--�ҫ����Ѥ��s�i-->
|
269
|
+
<table width="100%" border="0" align="center" cellpadding="2" cellspacing="1">
|
270
|
+
<tr>
|
271
|
+
<td>
|
272
|
+
<iframe src="http://udn.com/2010/BD/national_left_iframe.html" height="540" scrolling="No" frameborder="0" width="120" align="left" ></iframe>
|
273
|
+
</td>
|
274
|
+
</tr>
|
275
|
+
</table>
|
276
|
+
<!--�ҫ����Ѥ��s�i-->
|
277
|
+
|
278
|
+
<!--����SSI����-->
|
279
|
+
</div>
|
280
|
+
<!-- /sidemenu_ad -->
|
281
|
+
</td>
|
282
|
+
<td width="10"><img src="/2010/images/spacer_002.gif" height="10" width="10"></td>
|
283
|
+
<td height="100%" valign="top"><table class="border" border="0" cellpadding="10" cellspacing="0" height="100%" width="100%">
|
284
|
+
<tbody><tr>
|
285
|
+
<td bgcolor="#ffffff" valign="top"><!-- storytop_nat.htm -->
|
286
|
+
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
287
|
+
<tbody><tr>
|
288
|
+
<td><!--�h���X�@��table�H������r�P�U��table����--></td>
|
289
|
+
</tr>
|
290
|
+
<tr>
|
291
|
+
<td valign="top" width="100%">
|
292
|
+
<!-- ****** 2008-10 by ginger ******************************************************************************-->
|
293
|
+
<table border="0" cellpadding="3" cellspacing="0" width="100%">
|
294
|
+
<tbody><tr bgcolor="#f2f2f2">
|
295
|
+
<td class="story_function" width="45%">
|
296
|
+
|
297
|
+
<a href="http://dignews.udn.com/forum/udnnews/news.jsp?pcate=NATIONAL">�̷s</a> | <a href="http://dignews.udn.com/forum/udnnews/news_hot.jsp?rows=50&during=-1&type=daily&cate=2">�o�N</a> | <a href="http://dignews.udn.com/">�z�s�D</a>
|
298
|
+
<div id="abgne_float_ad" style="position: absolute;opacity: 0">
|
299
|
+
<script type="text/javascript" src="http://money.udn.com/watermark_omo_2013.js"></script>
|
300
|
+
</div>
|
301
|
+
|
302
|
+
<script language="JavaScript" src="/2010/js/jquery.floatDiv.js" type="text/javascript"></script>
|
303
|
+
<script>
|
304
|
+
var url = document.URL;
|
305
|
+
|
306
|
+
function RedirToMobile() {
|
307
|
+
setCookie("dev","mobile",false,"/","udn.com","","null");
|
308
|
+
window.location = url;
|
309
|
+
}
|
310
|
+
|
311
|
+
jQuery(document).ready(function() {
|
312
|
+
if (GetCkValue("dev") == "pc") {
|
313
|
+
jQuery("body").append("<div align=\"center\" valign=\"middle\" id=\"float\" style=\"width:169px;height:31px;\"><a href=\"javascript:RedirToMobile();\"><img src=\"/2010/images/back.png\" border=\"0\"></a></div>");
|
314
|
+
jQuery("#float").floatdiv("rightbottom");
|
315
|
+
}
|
316
|
+
});
|
317
|
+
</script>
|
318
|
+
<link rel="stylesheet" type="text/css" href="http://udn.com/2010/css/usprite.css" />
|
319
|
+
<style>
|
320
|
+
.fs {
|
321
|
+
float:left;
|
322
|
+
list-style-type:none;
|
323
|
+
cursor: Pointer;
|
324
|
+
margin-right: 3px;
|
325
|
+
}
|
326
|
+
|
327
|
+
.fs2 {
|
328
|
+
float:left;
|
329
|
+
list-style-type:none;
|
330
|
+
margin-right: 3px;
|
331
|
+
width:27px;
|
332
|
+
}
|
333
|
+
|
334
|
+
.fs3 {
|
335
|
+
float:right;
|
336
|
+
list-style-type:none;
|
337
|
+
margin-right: 3px;
|
338
|
+
cursor: Pointer;
|
339
|
+
width:35px;
|
340
|
+
}
|
341
|
+
|
342
|
+
.fgo {
|
343
|
+
float:left;
|
344
|
+
cursor: Pointer;
|
345
|
+
margin-right:3px;
|
346
|
+
width:30px;
|
347
|
+
}
|
348
|
+
.fgo2 {
|
349
|
+
float:left;
|
350
|
+
cursor: Pointer;
|
351
|
+
margin-right:3px;
|
352
|
+
width:80px;
|
353
|
+
}
|
354
|
+
.fgo3 {
|
355
|
+
padding-right:15px;
|
356
|
+
float:right;
|
357
|
+
*position:absolute !important;
|
358
|
+
}
|
359
|
+
</style>
|
360
|
+
|
361
|
+
|
362
|
+
<script>
|
363
|
+
var ur = document.URL;
|
364
|
+
var urArr = ur.split("/");
|
365
|
+
var urKey = urArr[urArr.length-1];
|
366
|
+
|
367
|
+
if (urKey == "" || urKey.indexOf("index") != -1) {}
|
368
|
+
else {
|
369
|
+
document.write("| �r�šG<div class=\"fgo3\"><ul><li id=\"fs1\" class=\"sprite-fontsize_1 fs\"></li><li id=\"fs2\" class=\"sprite-fontsize_2 fs\"></li><li id=\"fs3\" class=\"sprite-fontsize_3 fs\"></li><li id=\"fs4\" class=\"sprite-fontsize_4 fs\"></li></ul></div>");
|
370
|
+
}
|
371
|
+
</script>
|
372
|
+
<!-- FontSize text -->
|
373
|
+
|
374
|
+
|
375
|
+
|
376
|
+
</td>
|
377
|
+
<td width="55%" align="right" nowrap="nowrap">
|
378
|
+
|
379
|
+
<select name="jumpMenu" class="related" id="jumpMenu" onChange="MM_jumpMenu('parent',this,0)">
|
380
|
+
<option selected>�п��---<����խ���m�z>�����s�D</option>
|
381
|
+
|
382
|
+
<option value="7995532.shtml">�m�K�O������y���Y���A ����ȹB���z</option>
|
383
|
+
|
384
|
+
<option value="7996060.shtml">����K�O�h�y���ĤG�� �s�P�Ĭ�</option>
|
385
|
+
|
386
|
+
<option value="7993943.shtml">����K�O�h�y�� �u��2�����D���@</option>
|
387
|
+
|
388
|
+
<option value="7995534.shtml">���B�ʤH ��n��D�Y���A</option>
|
389
|
+
|
390
|
+
<option value="7993907.shtml">�t�I�ɰʡI����G�S����խ��� �i�����Ԩ�</option>
|
391
|
+
|
392
|
+
<option value="7983095.shtml"><!--�s�i@-->�����n���Ұʳзs�A�O���~��o�Ӿ�</option>
|
393
|
+
|
394
|
+
<option value="7978670.shtml"><!--�s�i@-->�s�T�n�p��w���z�f�r�H</option>
|
395
|
+
|
396
|
+
<option value="7975498.shtml"><!--�s�i@-->�����n��ں��C�u�K�y �饻�W���W�u�f</option>
|
397
|
+
|
398
|
+
</select><!--for next and prev -->
|
399
|
+
<div style="display:none;"><input id="rac" type="text" value="9"></div>
|
400
|
+
|
401
|
+
|
402
|
+
</td>
|
403
|
+
|
404
|
+
</tr>
|
405
|
+
</tbody></table>
|
406
|
+
<!-- ****************************************************************************************************-->
|
407
|
+
</td>
|
408
|
+
</tr>
|
409
|
+
<tr>
|
410
|
+
<td class="s" bgcolor="#ffffff" valign="top"><img src="/2010/images/spacer_002.gif" height="5" width="10"></td>
|
411
|
+
</tr>
|
412
|
+
<tr>
|
413
|
+
<td bgcolor="#ffffff" valign="top"><table border="0" cellpadding="0" cellspacing="3" width="100%">
|
414
|
+
<tbody><tr>
|
415
|
+
<td width="76%"><div class="story_title" style="float: left;" id="story_title">����K�O�h�y���ĤG�� �s�P�Ĭ�</div><div id="bq" name="bq" style="float:right"><IFRAME height=25 src="/2010/AD/NATIONAL_BQ.html" frameBorder=0 width=150 scrolling=no></IFRAME></div>
|
416
|
+
|
417
|
+
</td>
|
418
|
+
</tr>
|
419
|
+
</tbody></table>
|
420
|
+
<table border="0" cellpadding="0" cellspacing="3" width="100%">
|
421
|
+
<tbody>
|
422
|
+
<tr>
|
423
|
+
<td background="/2010/images/linedot.gif" width="130%"><img src="/2010/images/linedot.gif" height="1" width="1"></td>
|
424
|
+
</tr>
|
425
|
+
<tr>
|
426
|
+
<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
|
427
|
+
<tbody>
|
428
|
+
<tr>
|
429
|
+
<td class="story_author" width="75%"><div id="story_author">�i�p�X�߳����O�̪�ã��/�x�_���ɡj</div></td>
|
430
|
+
<td class="story_author" width="25%"><div id="story_update" align="right">2013.06.29 04:17 pm</div></td>
|
431
|
+
</tr>
|
432
|
+
</tbody>
|
433
|
+
</table></td>
|
434
|
+
</tr>
|
435
|
+
<tr>
|
436
|
+
<td class="story_author"> </td>
|
437
|
+
</tr>
|
438
|
+
<tr>
|
439
|
+
<td valign="top"><div class="story" id="story"><p><center><div id="mvouter" style="border:#898989 1px solid; width:534px;height:398px;">
|
440
|
+
<div style="border:#ffffff 2px solid;" ><object id="UDNPlayer" type="application/x-shockwave-flash" width="530" height="354" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab"><param name="movie" value="http://video.udn.com/player/Vidplayer-new.swf" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><param name="play" value="false" /><param name="loop" value="false" /><param name="allowfullscreen" value="true" /><param name="allowNetworking" value="all" /><param name="AllowScriptAccess" value="always" /><param name="FlashVars" value="v=344-233-2B4-2334343-2F3233324-233-2F30343b&emb=Y" /><embed src="http://video.udn.com/player/Vidplayer-new.swf" type="application/x-shockwave-flash" allowfullscreen="true" width="530" height="354" play="false" loop="false" wmode="transparent" allowNetworking="all" AllowScriptAccess="always" FlashVars="v=344-233-2B4-2334343-2F3233324-233-2F30343b&emb=Y"></embed></object><div class='photo_explanation' style='padding-top:10px;vertical-align:middle;height:30px' ><div style='font-size:13px;padding-top:1px' ><a href='http://video.udn.com/video/Item/ItemPage.do?sno=344-233-2B4-2334343-2F3233324-233-2F30343b'> <b>����ȹB�K�O�խ� �ĤG��H���</b> / �G�M�� </a></div></div></div></div></center><P> <table width="214" style="margin-left:8px" border="0" align="right" cellpadding="6" cellspacing="0" class="border"><tr><td width="200"><div align="center" id="media_file"><img src="../../MEDIA/7996060-3100262.JPG?sn=1372459349630"></div></td></tr><tr> <td class="photo_explanation"><span id="media_desc"><span id="media_desc_1">�L���������Ըɦ�A����ȹB���q�H�������{���ƶ����ǡC</span></span><br> <span id="media_producer_1"><span id="media_producer">�O�̾G�M������v</span></span></td> </tr> </table><P>����ȹB�s�}�_�y����5�T���s���u�A���Ѷ}��K�O�խ��ĤG�ѡA�H����Q�ѾU��A�����o�s�P�Ĭ�C�]������}��S����խ��骺�����A���i�{���ƶ��ɦ�W���A��������խ��骺�����A��խ���d�ۤU���A�ΡA���ѧ�Ʋ{���ɦ�A���ƶ��H��V�ӶV���A�٦��H���ϴ����A�{���@�פ��z�C<P>
|
441
|
+
����ȹB�x�_��y���B�n��D�M�Q�۴�T�����u�Q�ѦܩP��T�ѧK�O�f���A�Q�Ѧb��s���B���l�ޤj������m��խ���A�o�]�ƶ��ʽu�V�ò{���V�ä��ɡC���קK�öH���t�A�����`���ʲz����~����糢��@��6�ɥ��k�N���s���B���F�ѵo�����p�C<P>
|
442
|
+
�L�j�աA����ȹB�Q�ѤW��11��15���~ú��T���s���u����B���u�\�i�ҳW�O�A�Q��11��15���e�o�X��39�Z���w�H�W�A�C�Z���}�@9000���@35�U1000���C������ȹB�{���A�����`���P�|�w�֩w���v�A�w���o��B���u�\�i�ҡA�N�|�ӶD�C<P>
|
443
|
+
�O�̤��ѲM���{���[��A���Ѥ@��b�{���ƶ��������A����7���S���խ���A���צ��L�խ���A�ܤ֭n�ƥb�p�ɥ��k�~��W���A�Ʀ��٦��H�Q�����A�o��L������ij�C�@�W�����ͬQ�ѱƶ����խ���A�K�O�f����Q�۴�C�L���Ѥ@���A�ױƶ��n�f����n��D�A�ٻ������٭n�ƶ��f���h�y���A�n�s�f�T�ѧK�O�ȹB�C�a�����������p�j�Q�Ѯ���խ���A�]���H�����z�M�w���ѦA�f���A�o�����ݸխ���N��K�O�f���A������խ��馬�_�ӯd�U���ΡA���ѧ�ƶ��ɦ�C<P>
|
444
|
+
����ȹB���Ѥ]�o�X2500������1200�����ֳU�A���t���J�����B�զY�~�P2�i50��������Ψ鵥�C�]�����H���o��A�������q�y����^�x�_���B����ֳU�A���]���H�S���A��ð���@�k�����D�C<P>
|
445
|
+
���Ѹխ��̫�@�ѡA����ȹB���F�K�O�f���A�t�N�o�q180�i�������ժ��]�����A�P��W��8�ɨ�11�ɡA�f����s���B�����Y���������A�����Z�����ȥi��o�����C <div id='ft' style='display:none' align='center'><img src="../../MEDIA/7996060-3100262.JPG?sn=1372459349630" alt="�L���������Ըɦ�A����ȹB���q�H�������{���ƶ����ǡC / �O�̾G�M������v" ></div>
|
446
|
+
</div> <P>
|
447
|
+
<style type="text/css">
|
448
|
+
.mpromote { font-family: Arial; font-size: 12pt; margin: 0; padding: 0; font-weight: bold;}
|
449
|
+
A.mpromote:link { color:#ff8000; text-decoration: none; }
|
450
|
+
A.mpromote:visited { color:#ff8000; text-decoration: none;}
|
451
|
+
A.mpromote:hover, A.mpromote:active, A.mpromote:focus { text-decoration: none;}
|
452
|
+
</style>
|
453
|
+
<div id="mpromote" name="mpromote">
|
454
|
+
<b>
|
455
|
+
<SCRIPT language=javascript>
|
456
|
+
Titles = new Array( '<a href="http://reading.udn.com/act/20130607/" target=_blank> <font color="#ff8000">�E�uudn Ū�ѧa�v�~���y�A�W�a���X�Z�P�q�l�ѡA���x�̧C���A�e�n§</font></a>', '<a href="http://reading.udn.com/act/20130607/book_02.html" target=_blank><font color="#ff8000">�E�o�H�͡A�p�Ϫ�@���K�m�j��p�ǡn�q�l�� 99 �����ɨ���</font></a>', '<a href="http://novel.udn.com/novel/book.do?id=12331" target=_blank><font color="#ff8000">�E�o�O���o�����A�L�O���o�����A�n�@���L�R���B�áI�mudn Ū�p���n�H��@�~�K�O��</font></a>', '<a href="http://reading.udn.com/act/20130607/book_05.html" target=_blank><font color="#ff8000">�E�~���m�Ѳ� �I�q�\�p�X���t�q�l���Ȥ@�~���A�[�ؤ@�Ӥ�</font></a>');
|
457
|
+
Id = Math.floor(Math.random()*Titles.length);
|
458
|
+
if(window.parent.location.href.indexOf("SPORTS/")>-1){
|
459
|
+
document.write("<font class='mpromote'>"+Titles[Id]+"</font>");
|
460
|
+
}
|
461
|
+
if(window.parent.location.href.indexOf("NATIONAL/")>-1){
|
462
|
+
if(window.parent.location.href.indexOf("AD1/")<=-1&&window.parent.location.href.indexOf("NATS2/")<=-1){
|
463
|
+
document.write("<font class='mpromote'>"+Titles[Id]+"</font>");
|
464
|
+
}
|
465
|
+
}
|
466
|
+
if(window.parent.location.href.indexOf("WORLD/")>-1){
|
467
|
+
if(window.parent.location.href.indexOf("WORS2/")<=-1&&window.parent.location.href.indexOf("OUT3/")<=-1&&window.parent.location.href.indexOf("OUT4/")<=-1){
|
468
|
+
document.write("<font class='mpromote'>"+Titles[Id]+"</font>");
|
469
|
+
}
|
470
|
+
}
|
471
|
+
if(window.parent.location.href.indexOf("FINANCE/")>-1){
|
472
|
+
if(window.parent.location.href.indexOf("AD1/")<=-1){
|
473
|
+
document.write("<font class='mpromote'>"+Titles[Id]+"</font>");
|
474
|
+
}
|
475
|
+
}
|
476
|
+
if(window.parent.location.href.indexOf("ENTERTAINMENT/")>-1){
|
477
|
+
if(window.parent.location.href.indexOf("OUT2/")<=-1&&window.parent.location.href.indexOf("ENT6/")<=-1&&window.parent.location.href.indexOf("OUT/")<=-1&&window.parent.location.href.indexOf("OUT4/")<=-1&&window.parent.location.href.indexOf("OUT3/")<=-1){
|
478
|
+
document.write("<font class='mpromote'>"+Titles[Id]+"</font>");
|
479
|
+
}
|
480
|
+
}
|
481
|
+
if(window.parent.location.href.indexOf("FASHION/")>-1){
|
482
|
+
if(window.parent.location.href.indexOf("FAS5/")<=-1){
|
483
|
+
document.write("<font class='mpromote'>"+Titles[Id]+"</font>");
|
484
|
+
}
|
485
|
+
}
|
486
|
+
if(window.parent.location.href.indexOf("LIFE/")>-1){
|
487
|
+
if(window.parent.location.href.indexOf("LIFS2/")<=-1&&window.parent.location.href.indexOf("OUT1/")<=-1){
|
488
|
+
document.write("<font class='mpromote'>"+Titles[Id]+"</font>");
|
489
|
+
}
|
490
|
+
}
|
491
|
+
if(window.parent.location.href.indexOf("HEALTH/")>-1){
|
492
|
+
if(window.parent.location.href.indexOf("AD2/")<=-1){
|
493
|
+
document.write("<font class='mpromote'>"+Titles[Id]+"</font>");
|
494
|
+
}
|
495
|
+
}
|
496
|
+
if(window.parent.location.href.indexOf("READING/")>-1){
|
497
|
+
if(window.parent.location.href.indexOf("OUT1/")<=-1&&window.parent.location.href.indexOf("OUT2/")<=-1&&window.parent.location.href.indexOf("REA2/")<=-1){
|
498
|
+
document.write("<font class='mpromote'>"+Titles[Id]+"</font>");
|
499
|
+
}
|
500
|
+
}
|
501
|
+
</SCRIPT>
|
502
|
+
</b>
|
503
|
+
</div>
|
504
|
+
|
505
|
+
|
506
|
+
|
507
|
+
|
508
|
+
<p class="story"><span id="source_name" class="story">�i2013/06/29 �p�X�߳��j</span><span class="author"><a href="http://udn.com/" target="_blank">@ </a><a href="http://udn.com/" target="_blank">http://udn.com/</a></span></p></td>
|
509
|
+
</tr>
|
510
|
+
<tr>
|
511
|
+
<td><table width="100%" border="0" cellpadding="3" cellspacing="0">
|
512
|
+
<tbody>
|
513
|
+
<tr>
|
514
|
+
|
515
|
+
<!-- chgFontSize javascript -->
|
516
|
+
<script>
|
517
|
+
|
518
|
+
//jQuery(document).ready(function() {
|
519
|
+
jQuery("#fs1").bind("mouseenter",function() {
|
520
|
+
jQuery(this).removeClass("sprite-fontsize_1").addClass("sprite-fontsize_1o");
|
521
|
+
}).bind("click",function() {
|
522
|
+
chgFontSize('1');
|
523
|
+
});
|
524
|
+
|
525
|
+
jQuery("#fs2").bind("mouseenter",function() {
|
526
|
+
jQuery(this).removeClass("sprite-fontsize_2").addClass("sprite-fontsize_2o");
|
527
|
+
}).bind("click",function() {
|
528
|
+
chgFontSize('2');
|
529
|
+
});
|
530
|
+
|
531
|
+
jQuery("#fs3").bind("mouseenter",function() {
|
532
|
+
jQuery(this).removeClass("sprite-fontsize_3").addClass("sprite-fontsize_3o");
|
533
|
+
}).bind("click",function() {
|
534
|
+
chgFontSize('3');
|
535
|
+
});
|
536
|
+
|
537
|
+
jQuery("#fs4").bind("mouseenter",function() {
|
538
|
+
jQuery(this).removeClass("sprite-fontsize_4").addClass("sprite-fontsize_4o");
|
539
|
+
}).bind("click",function() {
|
540
|
+
chgFontSize('4');
|
541
|
+
});
|
542
|
+
|
543
|
+
if (GetCkValue("FontSize")!="") {
|
544
|
+
var fs = GetCkValue("FontSize");
|
545
|
+
|
546
|
+
chgFontSize(fs);
|
547
|
+
}
|
548
|
+
else {
|
549
|
+
var fs = 2;
|
550
|
+
|
551
|
+
chgFontSize(fs);
|
552
|
+
}
|
553
|
+
//});
|
554
|
+
|
555
|
+
|
556
|
+
function GetCkValue( name ) {
|
557
|
+
var dc=document.cookie;
|
558
|
+
var prefix=name+"=";
|
559
|
+
var begin=dc.indexOf("; "+prefix);
|
560
|
+
|
561
|
+
if (begin==-1) begin=dc.indexOf(prefix);
|
562
|
+
else begin+=2;
|
563
|
+
if (begin==-1) return "";
|
564
|
+
var end=document.cookie.indexOf(";",begin);
|
565
|
+
if(end==-1) end=dc.length;
|
566
|
+
return dc.substring(begin+prefix.length,end);
|
567
|
+
}
|
568
|
+
|
569
|
+
function setCookie(name,value,expiresOrNot,path,domain,secure,flag){
|
570
|
+
var url=document.URL;
|
571
|
+
var howLong=new Date();
|
572
|
+
howLong.setFullYear(howLong.getFullYear()+1);
|
573
|
+
var curCookie=name+"="+escape(value) +
|
574
|
+
((expiresOrNot)?";expires="+howLong.toGMTString():"") +
|
575
|
+
((path)?";path="+path:"") +
|
576
|
+
((domain)?";domain="+domain:"") +
|
577
|
+
((secure)?";secure":"");
|
578
|
+
document.cookie=curCookie;
|
579
|
+
if(flag!="null")history.go(0);
|
580
|
+
}
|
581
|
+
|
582
|
+
function chgFontImg(size) {
|
583
|
+
|
584
|
+
jQuery("#fs4").removeClass("sprite-fontsize_4o").addClass("sprite-fontsize_4");
|
585
|
+
jQuery("#fs3").removeClass("sprite-fontsize_3o").addClass("sprite-fontsize_3");
|
586
|
+
jQuery("#fs2").removeClass("sprite-fontsize_2o").addClass("sprite-fontsize_2");
|
587
|
+
jQuery("#fs1").removeClass("sprite-fontsize_1o").addClass("sprite-fontsize_1");
|
588
|
+
|
589
|
+
jQuery("#fs1").bind("mouseleave",function() {
|
590
|
+
jQuery(this).removeClass("sprite-fontsize_1o").addClass("sprite-fontsize_1");
|
591
|
+
});
|
592
|
+
|
593
|
+
jQuery("#fs2").bind("mouseleave",function() {
|
594
|
+
jQuery(this).removeClass("sprite-fontsize_2o").addClass("sprite-fontsize_2");
|
595
|
+
});
|
596
|
+
|
597
|
+
jQuery("#fs3").bind("mouseleave",function() {
|
598
|
+
jQuery(this).removeClass("sprite-fontsize_3o").addClass("sprite-fontsize_3");
|
599
|
+
});
|
600
|
+
|
601
|
+
jQuery("#fs4").bind("mouseleave",function() {
|
602
|
+
jQuery(this).removeClass("sprite-fontsize_4o").addClass("sprite-fontsize_4");
|
603
|
+
});
|
604
|
+
|
605
|
+
if (size == "4") {
|
606
|
+
jQuery("#fs4").addClass("sprite-fontsize_4o");
|
607
|
+
|
608
|
+
jQuery("#fs4").bind("mouseleave",function() {
|
609
|
+
jQuery(this).addClass("sprite-fontsize_4o");
|
610
|
+
});
|
611
|
+
}
|
612
|
+
if (size == "3") {
|
613
|
+
jQuery("#fs3").addClass("sprite-fontsize_3o");
|
614
|
+
|
615
|
+
jQuery("#fs3").bind("mouseleave",function() {
|
616
|
+
jQuery(this).addClass("sprite-fontsize_3o");
|
617
|
+
});
|
618
|
+
}
|
619
|
+
if (size == "2") {
|
620
|
+
jQuery("#fs2").addClass("sprite-fontsize_2o");
|
621
|
+
|
622
|
+
jQuery("#fs2").bind("mouseleave",function() {
|
623
|
+
jQuery(this).addClass("sprite-fontsize_2o");
|
624
|
+
});
|
625
|
+
}
|
626
|
+
if (size == "1") {
|
627
|
+
jQuery("#fs1").addClass("sprite-fontsize_1o");
|
628
|
+
|
629
|
+
jQuery("#fs1").bind("mouseleave",function() {
|
630
|
+
jQuery(this).addClass("sprite-fontsize_1o");
|
631
|
+
});
|
632
|
+
}
|
633
|
+
|
634
|
+
}
|
635
|
+
|
636
|
+
function chgFontSize(size) {
|
637
|
+
if (size == "4") {
|
638
|
+
jQuery("div#story").css("font-size","20px");
|
639
|
+
jQuery("div#story").css("line-height","190%");
|
640
|
+
chgFontImg("4");
|
641
|
+
setCookie("FontSize","4",false,"/","","","null");
|
642
|
+
}
|
643
|
+
else if (size == "3") {
|
644
|
+
jQuery("div#story").css("font-size","18px");
|
645
|
+
jQuery("div#story").css("line-height","190%");
|
646
|
+
chgFontImg("3");
|
647
|
+
setCookie("FontSize","3",false,"/","","","null");
|
648
|
+
}
|
649
|
+
else if (size == "2") {
|
650
|
+
jQuery("div#story").css("font-size","15px");
|
651
|
+
jQuery("div#story").css("line-height","190%");
|
652
|
+
chgFontImg("2");
|
653
|
+
setCookie("FontSize","2",false,"/","","","null");
|
654
|
+
}
|
655
|
+
else {
|
656
|
+
jQuery("div#story").css("font-size","13px");
|
657
|
+
jQuery("div#story").css("line-height","190%");
|
658
|
+
chgFontImg("1");
|
659
|
+
setCookie("FontSize","1",false,"/","","","null");
|
660
|
+
}
|
661
|
+
}
|
662
|
+
|
663
|
+
</script>
|
664
|
+
|
665
|
+
<!-- dignews forum -->
|
666
|
+
<script>
|
667
|
+
//jQuery(document).ready(function() {
|
668
|
+
// jQuery(".content_hot").append("<div id='dignews'></div>");
|
669
|
+
//});
|
670
|
+
|
671
|
+
function rId() {
|
672
|
+
var url=window.location.toString();
|
673
|
+
var ary=url.split("/")
|
674
|
+
var page=ary[ary.length-1];
|
675
|
+
if (page.indexOf("_") != -1) {
|
676
|
+
_ary=page.split("_");
|
677
|
+
var DigId=_ary[0];
|
678
|
+
//for seo
|
679
|
+
if ( DigId.indexOf("-") > 0 ) {
|
680
|
+
var aaas = DigId.match(/(.*)-(\d*)$/);
|
681
|
+
DigId = aaas[2];
|
682
|
+
}
|
683
|
+
}
|
684
|
+
else {
|
685
|
+
var ary2=page.split(".");
|
686
|
+
var DigId=ary2[ary2.length-2];
|
687
|
+
// var DigId=ary2[0];
|
688
|
+
if ( DigId.indexOf("-") > 0 ) {
|
689
|
+
var aaas = DigId.match(/(.*)-(\d*)$/);
|
690
|
+
DigId = aaas[2];
|
691
|
+
}
|
692
|
+
}
|
693
|
+
|
694
|
+
return DigId;
|
695
|
+
}
|
696
|
+
|
697
|
+
function InitDig(page) {
|
698
|
+
DigId = rId();
|
699
|
+
jQuery(".content_hot").append("<div id='dignews'></div>");
|
700
|
+
jQuery("#dignews").html("<center><img src='/images/forumimg/images/loading2.gif?1x'><br /><br /><font style='font-weight:bolder;font-size:16px'>�Q�װ϶����J��</font></center>");
|
701
|
+
|
702
|
+
if (page == "") page = 1;
|
703
|
+
setTimeout("ShowDigContent("+DigId+",'b',"+page+")",100);
|
704
|
+
ShowDigCount();
|
705
|
+
}
|
706
|
+
|
707
|
+
function ShowDig(page) {
|
708
|
+
DigId = rId();
|
709
|
+
|
710
|
+
jQuery("#dignews").html("<center><img src='/images/forumimg/images/loading2.gif?xx'><br /><br /><font style='font-weight:bolder;font-size:16px'>�Q�װ϶����J��</font></center>");
|
711
|
+
|
712
|
+
if (page == "") page = 1;
|
713
|
+
setTimeout("ShowDigContent("+DigId+",'a',"+page+")",100);
|
714
|
+
}
|
715
|
+
|
716
|
+
function ShowDigCount() {
|
717
|
+
DigId = rId();
|
718
|
+
|
719
|
+
var htmlContent = jQuery.ajax({
|
720
|
+
url: "/forum/postn.jsp?news_id="+DigId,
|
721
|
+
async: true,
|
722
|
+
success: function(html){
|
723
|
+
jQuery("#postn").html(html);
|
724
|
+
jQuery("#postn2").html(html);
|
725
|
+
},
|
726
|
+
error: function() {}
|
727
|
+
});
|
728
|
+
|
729
|
+
}
|
730
|
+
|
731
|
+
function ef() {
|
732
|
+
DigId = rId();
|
733
|
+
window.location.href="http://forum.udn.com/forum/letter.jsp?newsid="+DigId;
|
734
|
+
}
|
735
|
+
function ShowDigContent(DigId,TUrl,page) {
|
736
|
+
//var htmlContent =
|
737
|
+
jQuery.ajax({
|
738
|
+
url: "/forum/post"+TUrl+".jsp?news_id="+DigId+"¤tPage="+page,
|
739
|
+
async: true,
|
740
|
+
success: function(html){
|
741
|
+
jQuery("#dignews").hide();
|
742
|
+
jQuery("#dignews").html(html);
|
743
|
+
jQuery("#dignews").toggle('slow');
|
744
|
+
},
|
745
|
+
error: function() {}
|
746
|
+
});
|
747
|
+
// �n�P�_ success �~SHOW or IE6 will hang
|
748
|
+
//.responseText;
|
749
|
+
}
|
750
|
+
|
751
|
+
jQuery(document).ready(function() {
|
752
|
+
ShowDigCount();
|
753
|
+
if ( $jq.browser.msie && $jq.browser.version == '6.0' ) {
|
754
|
+
// InitDig(1);
|
755
|
+
}else {InitDig(1); }
|
756
|
+
});
|
757
|
+
</script>
|
758
|
+
|
759
|
+
<SCRIPT language=JavaScript>
|
760
|
+
<!--
|
761
|
+
function MM_openBrWindow(theURL,winName,features) { //v2.0
|
762
|
+
window.open(theURL,winName,features);
|
763
|
+
}
|
764
|
+
String.prototype.trim = function() {
|
765
|
+
return this.replace(/^\s+|\s+$/g,"");
|
766
|
+
}
|
767
|
+
String.prototype.ltrim = function() {
|
768
|
+
return this.replace(/^\s+/,"");
|
769
|
+
}
|
770
|
+
String.prototype.rtrim = function() {
|
771
|
+
return this.replace(/\s+$/,"");
|
772
|
+
}
|
773
|
+
function openWin3(url) {
|
774
|
+
window.open(url,'','');
|
775
|
+
}
|
776
|
+
function searchKeyWord() {
|
777
|
+
var txt = '';
|
778
|
+
if (window.getSelection) {
|
779
|
+
txt = window.getSelection();
|
780
|
+
} else if (document.getSelection) {
|
781
|
+
txt = document.getSelection();
|
782
|
+
} else if (document.selection) {
|
783
|
+
txt = document.selection.createRange().text;
|
784
|
+
}
|
785
|
+
if (txt == "")
|
786
|
+
window.open('http://data.udn.com/images/news2data/history.html','history','height=580,width=500,top=0,left=0,toolbar=no,menubar=no,scrollbars=no, resizable=no,location=no, status=no');
|
787
|
+
else {
|
788
|
+
if(confirm("�z�n�d�ߪ�����r�O(" + txt+")"))
|
789
|
+
openWin3("http://data.udn.com/data/Search?Keywords="+txt);
|
790
|
+
}
|
791
|
+
}
|
792
|
+
//-->
|
793
|
+
</SCRIPT>
|
794
|
+
<!-- by ae -->
|
795
|
+
<td style="display:none" class="oldf" width="14%" nowrap="nowrap"></td>
|
796
|
+
|
797
|
+
|
798
|
+
|
799
|
+
|
800
|
+
</tr>
|
801
|
+
</tbody>
|
802
|
+
</table></td>
|
803
|
+
</tr>
|
804
|
+
<tr>
|
805
|
+
<td><div id="other" style="display:none">
|
806
|
+
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
807
|
+
<tr>
|
808
|
+
<td width="13%" nowrap><span class="t13b">�����s�D�G</span></td>
|
809
|
+
<td width="87%">
|
810
|
+
|
811
|
+
<select name="jumpMenu" class="related" id="jumpMenu" onChange="MM_jumpMenu('parent',this,0)">
|
812
|
+
<option selected>�п��---<����խ���m�z>�����s�D</option>
|
813
|
+
|
814
|
+
<option value="7995532.shtml">�m�K�O������y���Y���A ����ȹB���z</option>
|
815
|
+
|
816
|
+
<option value="7996060.shtml">����K�O�h�y���ĤG�� �s�P�Ĭ�</option>
|
817
|
+
|
818
|
+
<option value="7993943.shtml">����K�O�h�y�� �u��2�����D���@</option>
|
819
|
+
|
820
|
+
<option value="7995534.shtml">���B�ʤH ��n��D�Y���A</option>
|
821
|
+
|
822
|
+
<option value="7993907.shtml">�t�I�ɰʡI����G�S����խ��� �i�����Ԩ�</option>
|
823
|
+
|
824
|
+
<option value="7983095.shtml"><!--�s�i@-->�����n���Ұʳзs�A�O���~��o�Ӿ�</option>
|
825
|
+
|
826
|
+
<option value="7978670.shtml"><!--�s�i@-->�s�T�n�p��w���z�f�r�H</option>
|
827
|
+
|
828
|
+
<option value="7975498.shtml"><!--�s�i@-->�����n��ں��C�u�K�y �饻�W���W�u�f</option>
|
829
|
+
|
830
|
+
</select><!--for next and prev -->
|
831
|
+
<div style="display:none;"><input id="rac" type="text" value="9"></div>
|
832
|
+
|
833
|
+
|
834
|
+
</td>
|
835
|
+
</tr>
|
836
|
+
</table>
|
837
|
+
</div>
|
838
|
+
</td>
|
839
|
+
</tr>
|
840
|
+
<!-- start of facebook API -->
|
841
|
+
<tr>
|
842
|
+
<td >
|
843
|
+
<link href="http://udn.com/2010MAIN/css/social.css?4" rel="stylesheet" type="text/css">
|
844
|
+
<script src="http://j.udn.com.tw/images/TBfolder/js/bookmark.js?n=4"></script>
|
845
|
+
<div class="social_bar" >
|
846
|
+
<div id="share">
|
847
|
+
<ul>
|
848
|
+
<li class="fb"><a href="javascript:addFacebook();">facebook</a></li>
|
849
|
+
<li class="plurk"><a href="javascript:addPlurk();">plurk</a></li>
|
850
|
+
<li class="twitter"><a href="javascript:addTwitter();">twitter</a></li>
|
851
|
+
</ul>
|
852
|
+
</div>
|
853
|
+
<ul>
|
854
|
+
<li class="history"><a href="javascript:searchKeyWord();" title="���v�s�D">���v�s�D</a></li>
|
855
|
+
<li class="sendmail"><a href="javascript:ef();" title="��H">��H</a></li>
|
856
|
+
<li class="print"><a href="javascript:fpr();" title="�C�L">�C�L</a></li>
|
857
|
+
<li class="discuss"><a href="#comments" title="�Q��">�Q��</a></li>
|
858
|
+
<li class="dialog"><div class="dialog_arr"></div><div class="dialog_number"><span class="contribution_noticetitle" style="color:black" id="postn"> </span></div></li>
|
859
|
+
<li>
|
860
|
+
<script>
|
861
|
+
var aurl=window.location.href;
|
862
|
+
//var aurl="http://forum.udn.com/forum/NewsLetter/NewsPreview?Encode=big5&NewsID="+rId();
|
863
|
+
var ii=aurl.indexOf("#");
|
864
|
+
if ( ii != -1 ) {
|
865
|
+
aurl=aurl.substring(0,ii);
|
866
|
+
}
|
867
|
+
document.write("<iframe src=\"http://www.facebook.com/plugins/like.php?href="+aurl+"&layout=button_count&locale=zh_TW&show_faces=true&width=90&action=like&font=verdana&colorscheme=light&height=80\" scrolling=\"no\" frameborder=\"0\" style=\"border:none; overflow:hidden; width:100px; height:22px;\" allowTransparency=\"true\"></iframe>");
|
868
|
+
</script>
|
869
|
+
</li>
|
870
|
+
<li>
|
871
|
+
<g:plusone size="medium"></g:plusone>
|
872
|
+
</li>
|
873
|
+
</ul>
|
874
|
+
|
875
|
+
</div>
|
876
|
+
|
877
|
+
</td>
|
878
|
+
</tr>
|
879
|
+
<style>
|
880
|
+
#news_area dd{
|
881
|
+
text-align:left;
|
882
|
+
}
|
883
|
+
</style>
|
884
|
+
|
885
|
+
<!-- end of facebook API -->
|
886
|
+
<!-- start of ����-������r -->
|
887
|
+
<!-- end of ����-������r -->
|
888
|
+
<!--start of trackback -->
|
889
|
+
<tr>
|
890
|
+
<td background="/2010/images/linedot.gif" width="100%"><img src="/2010/images/linedot.gif" height="1" width="1"></td>
|
891
|
+
</tr>
|
892
|
+
<!--end of trackback-->
|
893
|
+
<tr>
|
894
|
+
<td>
|
895
|
+
<!-- 4/02/2012 (TEK1201S0005)��O-����B�q�]2�^�U�u
|
896
|
+
<iframe src="http://event.udn.com/2012ZenAE/index_B.html" width="530" height="240" scrolling="no" frameborder="0"></iframe>
|
897
|
+
-->
|
898
|
+
<table border="0" cellpadding="1" cellspacing="0" width="100%">
|
899
|
+
<tbody>
|
900
|
+
<tr>
|
901
|
+
<td width="97%"><!-- start of �t�ת��� --></td>
|
902
|
+
</tr>
|
903
|
+
<tr>
|
904
|
+
<td align="center"><table border="0" cellpadding="0" cellspacing="0">
|
905
|
+
<tbody>
|
906
|
+
<tr>
|
907
|
+
<td>
|
908
|
+
|
909
|
+
<div id="adsense" style="width:550px;table-layout: fixed;word-wrap: break-word; OVERFLOW: hidden" >
|
910
|
+
<script type="text/javascript" src="http://udn.com/adpinline/ADmediaJS/udn_NAT.js"></script>
|
911
|
+
</div>
|
912
|
+
|
913
|
+
|
914
|
+
|
915
|
+
|
916
|
+
</td>
|
917
|
+
</tr>
|
918
|
+
</tbody>
|
919
|
+
</table></td>
|
920
|
+
</tr>
|
921
|
+
<!-- end of �t�ת��� -->
|
922
|
+
</tbody>
|
923
|
+
</table></td>
|
924
|
+
</tr>
|
925
|
+
<tr>
|
926
|
+
<td><div>
|
927
|
+
<table border="0" cellpadding="1" cellspacing="0" width="100%">
|
928
|
+
<tbody>
|
929
|
+
<tr>
|
930
|
+
<td>
|
931
|
+
|
932
|
+
|
933
|
+
<script language="JavaScript" src="/NEWS/js/simpleajax.js"></script>
|
934
|
+
<script language="JavaScript" src="/NEWS/js/submitgrading.js"></script>
|
935
|
+
<DIV class=bg_homeitem>
|
936
|
+
<table width="530" border="0" cellspacing="0" cellpadding="0">
|
937
|
+
<tr><td>
|
938
|
+
<img height=14 src="http://g.udn.com/1024MAIN/img/point_homeitem.gif" width=10> <span class="t13b"> �s�D�y��</span>
|
939
|
+
<span class="t11"><font color="#828282">(��U�A��o�h�s�D���Pı)</font></span>
|
940
|
+
</td>
|
941
|
+
<td><div align="right"><img src="http://g.udn.com/1024MAIN/img/arr_4.gif" width="9" height="9" /><span class="t11"><a href="http://dignews.udn.com/forum/post.jsp?news_id=7996060&view=1&face=-1"><font color="#828282">�����ݵ��G</font></a></span></div> </td>
|
942
|
+
</tr>
|
943
|
+
</table>
|
944
|
+
</DIV>
|
945
|
+
<DIV class=content_hot>
|
946
|
+
<form NAME="grad" action="http://dignews.udn.com/forum/post.jsp" method="POST" onSubmit="javascript:return submitGrading(document.grad);">
|
947
|
+
<table width="539" border="0" cellspacing="3" cellpadding="0">
|
948
|
+
<tr>
|
949
|
+
<td height="34" background="http://g.udn.com/1024MAIN/img/face_icon3.gif"> <table width ="100%" border="0" cellpadding="0" cellspacing="5">
|
950
|
+
<tr>
|
951
|
+
<td><input name="grade" type="radio" value="10" onclick="javascript:loadFace(document.grad);"></td>
|
952
|
+
<td><input name="grade" type="radio" value="11" onclick="javascript:loadFace(document.grad);"></td>
|
953
|
+
<td><input name="grade" type="radio" value="12" onclick="javascript:loadFace(document.grad);"></td>
|
954
|
+
<td><input name="grade" type="radio" value="1" onclick="javascript:loadFace(document.grad);"></td>
|
955
|
+
<td><input name="grade" type="radio" value="9" onclick="javascript:loadFace(document.grad);"></td>
|
956
|
+
<td><input name="grade" type="radio" value="7" onclick="javascript:loadFace(document.grad);"></td>
|
957
|
+
<td><input name="grade" type="radio" value="13" onclick="javascript:loadFace(document.grad);"></td>
|
958
|
+
<td><input name="grade" type="radio" value="14" onclick="javascript:loadFace(document.grad);"></td>
|
959
|
+
<td><input name="grade" type="radio" value="8" onclick="javascript:loadFace(document.grad);"></td>
|
960
|
+
<td><input name="grade" type="radio" value="15" onclick="javascript:loadFace(document.grad);"></td>
|
961
|
+
</tr>
|
962
|
+
</table></td>
|
963
|
+
</tr>
|
964
|
+
</table>
|
965
|
+
<input type = "hidden" name = "actionType" value = "FACE_VOTE">
|
966
|
+
<input type = "hidden" name = "news_id" value = "7996060">
|
967
|
+
<div id="gradingarea"></div>
|
968
|
+
</form>
|
969
|
+
</DIV>
|
970
|
+
|
971
|
+
</td>
|
972
|
+
</tr>
|
973
|
+
</tbody>
|
974
|
+
</table>
|
975
|
+
</div>
|
976
|
+
<br></td>
|
977
|
+
</tr>
|
978
|
+
|
979
|
+
<!-- start of facebook comment -->
|
980
|
+
<tr><td>
|
981
|
+
<div class="story_categpry_title" style="background-image: url("/2010/images/list_bg.gif");" align="center"><a href="#" style="color: rgb(255, 255, 255);">�� �s �^ ��</a></div>
|
982
|
+
<script type="text/javascript">
|
983
|
+
jQuery(window).load(function(){
|
984
|
+
//jQuery(document).ready(function(){
|
985
|
+
//if (window.navigator.userAgent.indexOf("MSIE")>=1) {
|
986
|
+
jQuery(window).scroll(function(){
|
987
|
+
jQuery('#fbc_loading').hide();
|
988
|
+
jQuery('.fbc').show();
|
989
|
+
});
|
990
|
+
//}
|
991
|
+
})
|
992
|
+
</script>
|
993
|
+
<div id="fbc_loading" style="font-size:16px;font-weight:bold;">���s�^�����J��</div>
|
994
|
+
<div class="fbc" style="display:none">
|
995
|
+
<script type="text/javascript">
|
996
|
+
var aurl=window.location.href;
|
997
|
+
//var aurl="http://forum.udn.com/forum/NewsLetter/NewsPreview?Encode=big5&NewsID="+rId();
|
998
|
+
var ii=aurl.indexOf("#");
|
999
|
+
if ( ii != -1 ) {
|
1000
|
+
aurl=aurl.substring(0,ii);
|
1001
|
+
}
|
1002
|
+
document.write("<div class=\"fb-comments\" data-href=\""+aurl+"\" data-num-posts=\"1\" data-width=\"550\"></div><div id=\"fb-root\"></div>");
|
1003
|
+
</script>
|
1004
|
+
<script>(function(d, s, id) {
|
1005
|
+
var js, fjs = d.getElementsByTagName(s)[0];
|
1006
|
+
if (d.getElementById(id)) {return;}
|
1007
|
+
js = d.createElement(s); js.id = id;
|
1008
|
+
js.src = "//connect.facebook.net/zh_TW/all.js#xfbml=1";
|
1009
|
+
fjs.parentNode.insertBefore(js, fjs);
|
1010
|
+
}(document, 'script', 'facebook-jssdk'));
|
1011
|
+
</script>
|
1012
|
+
</div>
|
1013
|
+
|
1014
|
+
|
1015
|
+
</td></tr>
|
1016
|
+
|
1017
|
+
<!-- end of facebook comment -->
|
1018
|
+
|
1019
|
+
<tr>
|
1020
|
+
<td><!--����BLOG start-->
|
1021
|
+
<div align="center">
|
1022
|
+
<table border="0" cellpadding="2" cellspacing="0" width="100%">
|
1023
|
+
<tbody>
|
1024
|
+
<tr>
|
1025
|
+
<td background="/2010/images/list_bg.gif" bgcolor="#b3b3b3" valign="top" width="100%"><div class="story_categpry_title" align="center">�� �� BLOG</div></td>
|
1026
|
+
</tr>
|
1027
|
+
<tr>
|
1028
|
+
<td class="story_category" bgcolor="#ffffff" valign="top"><table border="0" cellpadding="2" cellspacing="0" width="100%">
|
1029
|
+
<tbody>
|
1030
|
+
<tr class="story_reference_topic" valign="top">
|
1031
|
+
<td class="story_reference_topic" width="50%"><script language=JavaScript src=http://udn.com/1024/BLOG/politicians.js></script></td>
|
1032
|
+
<td width="50%"><script language=JavaScript src=http://udn.com/1024/BLOG/comment.js></script></td>
|
1033
|
+
</tr>
|
1034
|
+
</tbody>
|
1035
|
+
</table></td>
|
1036
|
+
</tr>
|
1037
|
+
</tbody>
|
1038
|
+
</table>
|
1039
|
+
</div>
|
1040
|
+
<!--����BLOG end--></td>
|
1041
|
+
</tr>
|
1042
|
+
<tr>
|
1043
|
+
<td><span class="story_reference_topic"><img src="/2010/images/spacer_002.gif" height="10" width="10"></span></td>
|
1044
|
+
</tr>
|
1045
|
+
<tr>
|
1046
|
+
<td><div align="center"></div></td>
|
1047
|
+
</tr>
|
1048
|
+
</tbody>
|
1049
|
+
</table></td>
|
1050
|
+
</tr>
|
1051
|
+
</tbody></table></td>
|
1052
|
+
</tr>
|
1053
|
+
</tbody></table></td>
|
1054
|
+
</tr>
|
1055
|
+
</tbody></table></td>
|
1056
|
+
<td height="100%" valign="top" width="240"><table border="0" cellpadding="0" cellspacing="0" width="100%">
|
1057
|
+
<tbody><tr>
|
1058
|
+
<td>
|
1059
|
+
<iframe src="/2010/AD/NATIONAL_240X400.html" width="240" height="400" scrolling="no" frameborder="0" allowtransparency="true"></iframe>
|
1060
|
+
</td>
|
1061
|
+
</tr>
|
1062
|
+
<tr>
|
1063
|
+
<td><img src="/2010/images/spacer_002.gif" height="10" width="10"></td>
|
1064
|
+
</tr>
|
1065
|
+
<tr>
|
1066
|
+
<td>
|
1067
|
+
<iframe src="/2010/AD/NATIONAL_240X700_ROS.html" width="240" height="539" scrolling="no" frameborder="0" allowtransparency="true"></iframe>
|
1068
|
+
</td>
|
1069
|
+
</tr>
|
1070
|
+
<!--20130403��20130414 �S�}TOWER �_-->
|
1071
|
+
<tr>
|
1072
|
+
<td><img src="/2010/images/spacer_002.gif" height="10" width="10"></td>
|
1073
|
+
</tr>
|
1074
|
+
<!--20130403��20130414 �S�}TOWER ��-->
|
1075
|
+
<!--FACEBOOK ACTIVITY SSI�}�l-->
|
1076
|
+
<!-- begin facebook activity -->
|
1077
|
+
<tr><td>
|
1078
|
+
<link href="http://udn.com/2010MAIN/css/SpryCollapsiblePanel.css" rel="stylesheet" type="text/css">
|
1079
|
+
<script>
|
1080
|
+
var puri=location.pathname;
|
1081
|
+
if (puri.indexOf("ENTERTAINMENT")>0 ){
|
1082
|
+
document.write("<link href='http://udn.com/2010MAIN/css/SpryTabbedPanels_pink.css' rel='stylesheet' type='text/css'>");
|
1083
|
+
}else if (puri.indexOf("FINANCE")>0 || puri.indexOf("STOCK")>0 || puri.indexOf("FUND")>0){
|
1084
|
+
document.write("<link href='http://udn.com/2010MAIN/css/SpryTabbedPanels_yellow.css' rel='stylesheet' type='text/css'>");
|
1085
|
+
}else{
|
1086
|
+
document.write("<link href='http://udn.com/2010MAIN/css/SpryTabbedPanels.css' rel='stylesheet' type='text/css'>");
|
1087
|
+
}
|
1088
|
+
</script>
|
1089
|
+
|
1090
|
+
<!-- 2013/6/4 -->
|
1091
|
+
<table border="0" cellpadding="2" cellspacing="0" width="245" style="position:relative;">
|
1092
|
+
<tbody>
|
1093
|
+
<tr>
|
1094
|
+
<td><img src="/2010/images/spacer_002.gif" height="10" width="10"></td>
|
1095
|
+
</tr>
|
1096
|
+
<tr>
|
1097
|
+
<td><div id="TabbedPanels1" class="TabbedPanels">
|
1098
|
+
<ul class="TabbedPanelsTabGroup">
|
1099
|
+
<li class="TabbedPanelsTab" id="tabindex0" tabindex="0" onClick="fbTab(0);">�n�ͤ���</li>
|
1100
|
+
<li class="TabbedPanelsTab" id="tabindex1" tabindex="1" onClick="fbTab(1)">�p�X�s�D��������</li>
|
1101
|
+
</ul>
|
1102
|
+
<div class="TabbedPanelsContentGroup">
|
1103
|
+
<div id="fbtab0" class="TabbedPanelsContent" style="width:245px;height:510px;position:relative;left:0px;opt:0px;">
|
1104
|
+
<iframe id="tabframe" name="tabframe" src="" scrolling="no" frameborder="0" style="border:none; border-style: none;border-width: 0;overflow:hidden; width:240px; height:500px;" allowTransparency="true" ></iframe>
|
1105
|
+
</div>
|
1106
|
+
</div>
|
1107
|
+
</div></td>
|
1108
|
+
</tr>
|
1109
|
+
|
1110
|
+
</tbody>
|
1111
|
+
</table>
|
1112
|
+
</td></tr>
|
1113
|
+
<script>
|
1114
|
+
function fbTab(id){
|
1115
|
+
if ( id==1 ){
|
1116
|
+
// $jq("#tabframe").attr("src","http://www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2Fmyudn&width=240&height=500&show_faces=false&colorscheme=light&stream=true&show_border=false&header=false&appId=234971529904305");
|
1117
|
+
$jq("#fbtab0").html('<iframe id="tabframe" name="tabframe" src="http://www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2Fmyudn&width=240&height=500&show_faces=false&colorscheme=light&stream=true&show_border=false&header=false&appId=234971529904305" scrolling="no" frameborder="0" style="border:none; border-style: none;border-width: 0;overflow:hidden; width:240px; height:500px;" allowTransparency="true" ></iframe>');
|
1118
|
+
//$jq("#tabindex1").css("background-image","http://udn.com/2010MAIN/img/tag_bg.gif");
|
1119
|
+
//$jq("#tabindex0").css("background-image","");
|
1120
|
+
$jq("#tabindex1").attr('class', 'TabbedPanelsTab TabbedPanelsTabSelected');
|
1121
|
+
//$jq("#tabindex1").attr('width', '120px');
|
1122
|
+
$jq("#tabindex0").attr('class', 'TabbedPanelsTab');
|
1123
|
+
//$jq("#tabindex0").attr('width', '120px');
|
1124
|
+
}else{
|
1125
|
+
// $jq("#tabframe").attr("src","http://www.facebook.com/plugins/activity.php?site=udn.com&width=240&height=500&header=false&colorscheme=light&linktarget=_blank&font&recommendations=true");
|
1126
|
+
$jq("#fbtab0").html('<iframe id="tabframe" name="tabframe" src="http://www.facebook.com/plugins/activity.php?site=udn.com&width=240&height=500&header=false&colorscheme=light&linktarget=_blank&font&recommendations=true" scrolling="no" frameborder="0" style="border:none; border-style: none;border-width: 0;overflow:hidden; width:240px; height:500px;" allowTransparency="true" ></iframe>');
|
1127
|
+
//$jq("#tabindex0").css("background-image","http://udn.com/2010MAIN/img/tag_bg.gif");
|
1128
|
+
//$jq("#tabindex1").css("background-image","");
|
1129
|
+
$jq("#tabindex0").attr('class', 'TabbedPanelsTab TabbedPanelsTabSelected');
|
1130
|
+
//$jq("#tabindex0").attr('width', '120px');
|
1131
|
+
$jq("#tabindex1").attr('class', 'TabbedPanelsTab');
|
1132
|
+
//$jq("#tabindex1").attr('width', '120px');
|
1133
|
+
}
|
1134
|
+
}
|
1135
|
+
|
1136
|
+
var tabnn=Math.round(Math.random+1);
|
1137
|
+
if (tabnn> 1)
|
1138
|
+
fbTab(1);
|
1139
|
+
else
|
1140
|
+
fbTab(0);
|
1141
|
+
|
1142
|
+
</script>
|
1143
|
+
<!-- end of facebook activity -->
|
1144
|
+
|
1145
|
+
<!--FACEBOOK ACTIVITY SSI����-->
|
1146
|
+
|
1147
|
+
<!--�q�\�q�l��SSI�}�l-->
|
1148
|
+
<table width="240" border="0" cellspacing="0" cellpadding="2">
|
1149
|
+
<tr>
|
1150
|
+
<td><img src="http://g.udn.com/images/mag/people/images/spacer.gif" width="10" height="10"></td>
|
1151
|
+
</tr>
|
1152
|
+
<tr>
|
1153
|
+
<td>
|
1154
|
+
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
1155
|
+
<tr>
|
1156
|
+
<td width="81%" nowrap><span class="right_category">�q�\�q�l��</span></td>
|
1157
|
+
<td width="19%" class="subcategory_statistic"> </td>
|
1158
|
+
</tr>
|
1159
|
+
</table>
|
1160
|
+
</td>
|
1161
|
+
</tr>
|
1162
|
+
<tr>
|
1163
|
+
<td bgcolor="#126CB1"><img src="http://g.udn.com/images/mag/people/images/spacer.gif" width="10" height="1"></td>
|
1164
|
+
</tr>
|
1165
|
+
</table>
|
1166
|
+
<table width="240" class="story">
|
1167
|
+
<tr>
|
1168
|
+
<td>
|
1169
|
+
<form name="orderone" action="http://paper.udn.com/ZOPE/UDN/Subscribe/Pkg_Add" method="get" target="_blank">
|
1170
|
+
<table align="center" width="100%" border="0" cellpadding="2" cellspacing="0">
|
1171
|
+
<tbody><tr>
|
1172
|
+
<td><!-- <font color="530170">�п�J�z��e-mail</font> -->
|
1173
|
+
|
1174
|
+
<input gtbfieldid="1" name="p_email" class="sub_category" onfocus='this.value=""' value="�п�J�z��e-mail" size="32" maxlength="60" style="width:210px">
|
1175
|
+
<input class="textbk" size="10" name="p_passwd" type="hidden">
|
1176
|
+
<input class="textbk" size="10" value="out" name="identity" type="hidden">
|
1177
|
+
|
1178
|
+
</td>
|
1179
|
+
</tr>
|
1180
|
+
<tr>
|
1181
|
+
<td class="sub_category">
|
1182
|
+
<input checked value="H" name="p_PID0001" type="checkbox"><a href="http://paper.udn.com/UDN/Subscribe/PapersPage/papers?pname=PID0001" target="_blank">�p�X�q�l��</a><br>
|
1183
|
+
<input checked value="H" name="p_PID0003" type="checkbox"><a href="http://paper.udn.com/UDN/Subscribe/PapersPage/papers?pname=PID0003" target="_blank">udn�ȫ�ֳ�</a><br>
|
1184
|
+
<input checked value="H" name="p_PID0004" type="checkbox"><a href="http://paper.udn.com/UDN/Subscribe/PapersPage/papers?pname=PID0004" target="_blank">udn�³�</a><br>
|
1185
|
+
<input checked value="H" name="p_PIA0041" type="checkbox"><a href="http://paper.udn.com/UDN/Subscribe/PapersPage/papers?pname=PIA0041" target="_blank">�@�P�j�ƹq�l��</a><br>
|
1186
|
+
<input checked value="H" name="p_POD0001" type="checkbox"><a href="http://paper.udn.com/UDN/Subscribe/PapersPage/papers?pname=POD0001" target="_blank">�s�s�D�q�l��</a><br>
|
1187
|
+
<input checked value="H" name="p_POF0008" type="checkbox"><a href="http://paper.udn.com/UDN/Subscribe/PapersPage/papers?pname=POF0008" target="_blank">�x�W�߳�</a><br>
|
1188
|
+
<input checked value="H" name="p_PID0028" type="checkbox"><a href="http://paper.udn.com/UDN/Subscribe/PapersPage/papers?pname=PID0028" target="_blank">������W�L</a><br>
|
1189
|
+
<input checked value="H" name="p_PID0029" type="checkbox"><a href="http://paper.udn.com/UDN/Subscribe/PapersPage/papers?pname=PID0029" target="_blank">�p�X�ѳ��u�ֻ�</a><br>
|
1190
|
+
<input checked value="H" name="p_POA0032" type="checkbox"><a href="http://paper.udn.com/UDN/Subscribe/PapersPage/papers?pname=POA0032" target="_blank">Career¾�������x</a><br>
|
1191
|
+
<input checked value="H" name="p_PID0030" type="checkbox"><a href="http://paper.udn.com/UDN/Subscribe/PapersPage/papers?pname=PID0030" target="_blank">�W�H��q�l��<font color=#FF0000><sup>NEW!</sup></font></a>
|
1192
|
+
</td>
|
1193
|
+
</tr>
|
1194
|
+
<tr>
|
1195
|
+
|
1196
|
+
<td><br>
|
1197
|
+
<div align="left"><a href="javascript:document.orderone.submit();"><img src="http://udn.com/1024/images/moneyimg/order_1.gif" width="61" border="0" height="22"></a>
|
1198
|
+
</div>
|
1199
|
+
</td>
|
1200
|
+
</tr>
|
1201
|
+
</tbody></table>
|
1202
|
+
</form>
|
1203
|
+
</td>
|
1204
|
+
</tr></table>
|
1205
|
+
<tr>
|
1206
|
+
<td><img src="http://g.udn.com/images/mag/life/images/spacer.gif" width="10" height="10"></td>
|
1207
|
+
</tr>
|
1208
|
+
<!--�q�\�q�l��SSI����-->
|
1209
|
+
<tr>
|
1210
|
+
<td height="16"> </td>
|
1211
|
+
</tr>
|
1212
|
+
</tbody></table></td>
|
1213
|
+
</tr>
|
1214
|
+
</tbody></table>
|
1215
|
+
<a id="gotop" href="#top"></a>
|
1216
|
+
|
1217
|
+
<div id="footer">
|
1218
|
+
<style>
|
1219
|
+
#footer_links {
|
1220
|
+
color: #666666;
|
1221
|
+
float: left;
|
1222
|
+
}
|
1223
|
+
#footer_links a.sp {
|
1224
|
+
color: #0054A6;
|
1225
|
+
}
|
1226
|
+
#footer_box {
|
1227
|
+
color: #888888;
|
1228
|
+
display: block;
|
1229
|
+
margin: auto;
|
1230
|
+
overflow: hidden;
|
1231
|
+
padding: 0 10px;
|
1232
|
+
width: 980px;
|
1233
|
+
}
|
1234
|
+
#footer_copy {
|
1235
|
+
float: right;
|
1236
|
+
font-family: Arial,helvetica,clean,"�s�ө���","PMingLiU",sans-serif;
|
1237
|
+
font-size: 11px;
|
1238
|
+
position: relative;
|
1239
|
+
top: -2px;
|
1240
|
+
}
|
1241
|
+
</style>
|
1242
|
+
<script type="text/javascript" src="http://udn.com/2010MAIN/js/udn_footer_links.js"></script>
|
1243
|
+
<!-- /footer_box -->
|
1244
|
+
|
1245
|
+
</div>
|
1246
|
+
<!-- /footer -->
|
1247
|
+
<!-- for cm storypae float share -->
|
1248
|
+
<div id='sidebar' style="display:none;">
|
1249
|
+
<ul>
|
1250
|
+
<li>
|
1251
|
+
<script type="text/javascript">
|
1252
|
+
document.write("<iframe src='http://www.facebook.com/plugins/like.php?href="+aurl+"&layout=button_count&locale=zh_TW&show_faces=true&width=90&action=like&font=verdana&colorscheme=light&height=80' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:120px; height:22px;' allowTransparency='true'></iframe>");
|
1253
|
+
</script>
|
1254
|
+
</li>
|
1255
|
+
<li>
|
1256
|
+
<g:plusone size='medium'></g:plusone>
|
1257
|
+
</li>
|
1258
|
+
<li class='discuss'><a href='#comments' title='討論'>討論</a><div class='dialog'><div class='dialog_arr'></div><div class='dialog_number'><span class='contribution_noticetitle' style='color:black' id='postn2'></span></div></div></li>
|
1259
|
+
|
1260
|
+
<li class='fb'><a href='javascript:addFacebook();'>Facebook</a></li>
|
1261
|
+
<li class='plurk'><a href='javascript:addPlurk();'>Plurk</a></li>
|
1262
|
+
<li class='twitter'><a href='javascript:addTwitter();'>Twitter</a></li> </ul>
|
1263
|
+
</div>
|
1264
|
+
|
1265
|
+
<script type="text/javascript">
|
1266
|
+
browserv=100;
|
1267
|
+
if (navigator.appName == 'Microsoft Internet Explorer') {
|
1268
|
+
var ua = navigator.userAgent;
|
1269
|
+
var re = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})");
|
1270
|
+
if (re.test(ua) != null){
|
1271
|
+
rv = parseFloat( RegExp.$1 );
|
1272
|
+
browserv=rv;
|
1273
|
+
}
|
1274
|
+
}
|
1275
|
+
|
1276
|
+
|
1277
|
+
function floatShareControl(window_width){
|
1278
|
+
//alert(window_width);
|
1279
|
+
if (window_width>(1024+100)){
|
1280
|
+
jQuery("#sidebar").show();
|
1281
|
+
var leftcontrol=window_width-1024;
|
1282
|
+
leftcontrol=parseInt(leftcontrol/2);
|
1283
|
+
//alert(" width "+leftcontrol)
|
1284
|
+
|
1285
|
+
//if (navigator.appName == 'Microsoft Internet Explorer' && leftcontrol > 115){
|
1286
|
+
if ( leftcontrol > (54+fb_len*3)){
|
1287
|
+
leftcontrol=leftcontrol-(54+fb_len*3);
|
1288
|
+
///alert(" cc "+leftcontrol)
|
1289
|
+
jQuery("#sidebar").css("margin-left", leftcontrol+"px");
|
1290
|
+
}else{
|
1291
|
+
jQuery("#sidebar").hide();
|
1292
|
+
}
|
1293
|
+
}else{
|
1294
|
+
jQuery("#sidebar").hide();
|
1295
|
+
}
|
1296
|
+
//if ( browserv < 8 ){
|
1297
|
+
// jQuery("#sidebar").hide();
|
1298
|
+
// }
|
1299
|
+
} //end of function floatShareControl
|
1300
|
+
|
1301
|
+
|
1302
|
+
//get fb total_count
|
1303
|
+
fb_len=3;
|
1304
|
+
if (browserv>20){
|
1305
|
+
jQuery.get("http://api.facebook.com/restserver.php?method=links.getStats&urls="+aurl, function(fbdata) {
|
1306
|
+
fbdata=new XMLSerializer().serializeToString(fbdata);
|
1307
|
+
if ( fbdata.indexOf("<total_count>") > 0 ){
|
1308
|
+
fbdata=fbdata.substring(fbdata.indexOf("<total_count>")+13, fbdata.length);
|
1309
|
+
fbdata=fbdata.substring(0, fbdata.indexOf("</total_count>"));
|
1310
|
+
fb_len=fbdata.length;
|
1311
|
+
if (fb_len>3)
|
1312
|
+
fb_len++;
|
1313
|
+
floatShareControl(jQuery(window).width());
|
1314
|
+
}
|
1315
|
+
})
|
1316
|
+
}else{
|
1317
|
+
floatShareControl(jQuery(window).width());
|
1318
|
+
}
|
1319
|
+
|
1320
|
+
//resize event
|
1321
|
+
jQuery(window).resize(function() {
|
1322
|
+
resizewidth=jQuery(window).width();
|
1323
|
+
if (resizewidth){
|
1324
|
+
floatShareControl(resizewidth);
|
1325
|
+
}
|
1326
|
+
});
|
1327
|
+
|
1328
|
+
//mouse scroll event
|
1329
|
+
jQuery(window).scroll(function() {
|
1330
|
+
resizewidth=jQuery(window).width();
|
1331
|
+
if (resizewidth){
|
1332
|
+
floatShareControl(resizewidth);
|
1333
|
+
}
|
1334
|
+
});
|
1335
|
+
|
1336
|
+
|
1337
|
+
</script>
|
1338
|
+
<!--- float share -->
|
1339
|
+
|
1340
|
+
<SCRIPT language=JavaScript>
|
1341
|
+
<!--
|
1342
|
+
if(isMenu){
|
1343
|
+
document.write("<SCRIPT SRC='../../2010hierSetEnvstory.js'><\/SCRIPT>");
|
1344
|
+
document.write("<SCRIPT SRC='../../hierArrays.js'><\/SCRIPT>");
|
1345
|
+
document.write("<SCRIPT LANGUAGE='JavaScript' SRC='../../hierIE_2010.js'><\/SCRIPT>");
|
1346
|
+
}
|
1347
|
+
//-->
|
1348
|
+
</SCRIPT>
|
1349
|
+
<img src='http://pv.udn.com/LogFriend/LogInfoAll?func=newsview&newsid=7996060' WIDTH=1 HEIGHT=1 BORDER=0>
|
1350
|
+
|
1351
|
+
<!-- watermark ad start -->
|
1352
|
+
<!--<script type="text/javascript" src="/NEWS/watermark_omo_FOCUSNEWS.js"></script>-->
|
1353
|
+
<!-- watermark ad end -->
|
1354
|
+
|
1355
|
+
<!--�ꤺ�n�DIMP TAG start-->
|
1356
|
+
<SCRIPT LANGUAGE="JavaScript">
|
1357
|
+
if(window.location.href.indexOf("www.udn.com") == -1)
|
1358
|
+
{ //�P�_�����O�_���archive (www.udn.com) �D��
|
1359
|
+
var server = 'ad4.udn.com';
|
1360
|
+
var sitepage = "udn.com/imp-news2008";
|
1361
|
+
var position ="x01";
|
1362
|
+
if (! (RN)) {
|
1363
|
+
var RN = new String (Math.random());
|
1364
|
+
var RNS = RN.substring (2, 11);
|
1365
|
+
}
|
1366
|
+
var oas='http://' + server + '/RealMedia/ads/';
|
1367
|
+
var oaspage= sitepage + '/1' + RNS + '@' + position;
|
1368
|
+
document.write ('<SCRIPT LANGUAGE="JavaScript1.1" SRC="' + oas + 'adstream_jx.ads/' + oaspage + '">');
|
1369
|
+
document.write ('\<\/SCRIPT\>');
|
1370
|
+
} //�P�_����
|
1371
|
+
</SCRIPT>
|
1372
|
+
<!--�ꤺ�n�DIMP TAG end-->
|
1373
|
+
|
1374
|
+
|
1375
|
+
|
1376
|
+
|
1377
|
+
<!--�ꤺ�n�DIMP TAG start-->
|
1378
|
+
<!--�ꤺ�n�DIMP TAG end-->
|
1379
|
+
<script>
|
1380
|
+
var url = document.URL;
|
1381
|
+
var isrc = "";
|
1382
|
+
if (url.indexOf("SPORTS") != -1 || url.indexOf("BREAKINGNEWS7") != -1) {
|
1383
|
+
jQuery("iframe").each(function() {
|
1384
|
+
isrc = jQuery(this).attr("src");
|
1385
|
+
if (isrc.indexOf("_728X90") != -1) {
|
1386
|
+
//jQuery(this).css("height","0px");
|
1387
|
+
}
|
1388
|
+
if (isrc.indexOf("_240X400") != -1) {
|
1389
|
+
jQuery(this).css("height","570px");
|
1390
|
+
}
|
1391
|
+
if (isrc.indexOf("_240X700") != -1) {
|
1392
|
+
jQuery(this).css("height","0px");
|
1393
|
+
}
|
1394
|
+
if (isrc.indexOf("L-iframe") != -1) {
|
1395
|
+
jQuery(this).css("height","0px");
|
1396
|
+
}
|
1397
|
+
});
|
1398
|
+
jQuery("#sidemenu_ad").css("display","none");
|
1399
|
+
}
|
1400
|
+
</script>
|
1401
|
+
|
1402
|
+
<script>
|
1403
|
+
jQuery(document).ready(function() {
|
1404
|
+
jQuery("#slidetabs_1 > dl > dd").bind("click",function() {
|
1405
|
+
var ind = parseInt(jQuery("#slidetabs_1 > dl > dd").index(this))+ parseInt(1);
|
1406
|
+
var tab = "Tab"+ind;
|
1407
|
+
var hr = jQuery(this).html();
|
1408
|
+
var hrA = hr.split("\"");
|
1409
|
+
var hr2 = hrA[3];
|
1410
|
+
var hrA2 = hr2.split("?");
|
1411
|
+
var hr3 = hrA2[0];
|
1412
|
+
_track(hr3);
|
1413
|
+
_track(tab);
|
1414
|
+
});
|
1415
|
+
});
|
1416
|
+
|
1417
|
+
function _track(url){
|
1418
|
+
_gaq.push(['_setAccount', 'UA-19660006-1']);
|
1419
|
+
_gaq.push(['_setDomainName', '.udn.com']);
|
1420
|
+
_gaq.push(['_trackPageview', url]);
|
1421
|
+
}
|
1422
|
+
</script>
|
1423
|
+
|
1424
|
+
<script>
|
1425
|
+
function getByteLength(str){
|
1426
|
+
var iCount = 0;
|
1427
|
+
for( k=0; k<str.length; k++ ) {
|
1428
|
+
c = str.charCodeAt(k);
|
1429
|
+
if ( c>=32 && c<=126 ) iCount++;
|
1430
|
+
else iCount += 2;
|
1431
|
+
}
|
1432
|
+
return iCount;
|
1433
|
+
}
|
1434
|
+
|
1435
|
+
function getSubString(str,maxwclength) {
|
1436
|
+
var iCount = 0;
|
1437
|
+
|
1438
|
+
for( k=0; k<str.length; k++ ) {
|
1439
|
+
c = str.charCodeAt(k);
|
1440
|
+
if ( c>=32 && c<=126 ) iCount++;
|
1441
|
+
else iCount += 2;
|
1442
|
+
|
1443
|
+
if (iCount > maxwclength) {
|
1444
|
+
str = str.substr(0,k) + "...";
|
1445
|
+
break;
|
1446
|
+
}
|
1447
|
+
}
|
1448
|
+
|
1449
|
+
return str;
|
1450
|
+
}
|
1451
|
+
</script>
|
1452
|
+
|
1453
|
+
<script type="text/javascript">
|
1454
|
+
//�o�̨ϥ� rId function �O�_�s�b�ӧP�_�O�_�O�b���孶���C�ҥH�S��include gsg �|���@�C
|
1455
|
+
if (typeof($jq) != "undefined" && typeof window.rId == 'function' ) {
|
1456
|
+
//���孶
|
1457
|
+
$jq('table.border tr td table tr:nth-child(10) td').each(function() {
|
1458
|
+
$jq(this).attr("align","left");
|
1459
|
+
});
|
1460
|
+
|
1461
|
+
/* 2012 01 02 fix story ���ttable �|��������D!!
|
1462
|
+
$jq('table.border tr td table tr:nth-child(6)').each(function() {
|
1463
|
+
$jq(this).hide();
|
1464
|
+
$jq(this).attr("id","embs2") ;
|
1465
|
+
});
|
1466
|
+
*/
|
1467
|
+
$jq('table.border tr td table tr:nth-child(5) td:nth-child(1) table ').each(function() {
|
1468
|
+
if ( ! $jq.browser.webkit ) $jq(this).hide();
|
1469
|
+
$jq(this).attr("id","embs2") ;
|
1470
|
+
});
|
1471
|
+
if ( ! $jq.browser.webkit ){ //fix author vanished on chrome!!
|
1472
|
+
$jq('table.border tr td table tr:nth-child(9) td').each(function() {
|
1473
|
+
$jq(this).attr("id","linedot") ;
|
1474
|
+
$jq(this).empty() ;
|
1475
|
+
});
|
1476
|
+
}
|
1477
|
+
if ( $jq.browser.webkit){ //for google chrome
|
1478
|
+
/*
|
1479
|
+
$jq('table.border tr td table tr td table tr td table tr:conddtains("story_author")').each(function() {
|
1480
|
+
$jq(this).attr("id","embauth") ;
|
1481
|
+
});
|
1482
|
+
*/
|
1483
|
+
//table.border tr td table tr td table tr
|
1484
|
+
var is=0;
|
1485
|
+
$jq('table.border tr td table tr td table tr td').each(function() {
|
1486
|
+
if ( $jq(this).html().match("linedot") ) {
|
1487
|
+
is++;
|
1488
|
+
if (is==2) $jq(this).hide();
|
1489
|
+
}
|
1490
|
+
});
|
1491
|
+
$jq('table.border tr td table tr td table tr td table tr').each(function() {
|
1492
|
+
if ( $jq(this).html().match("letter.jsp") && $jq(this).html().match("push.gif") ) {
|
1493
|
+
$jq(this).hide();
|
1494
|
+
}
|
1495
|
+
});
|
1496
|
+
|
1497
|
+
} //end of webkit
|
1498
|
+
|
1499
|
+
var cc='--';
|
1500
|
+
var str="";
|
1501
|
+
var selects=$jq("#jumpMenu option");
|
1502
|
+
//append 20130412
|
1503
|
+
for (var i=1;i<(selects.length-1)/2;i++){
|
1504
|
+
var snode=selects[i].lastChild;
|
1505
|
+
descstr=snode.nodeValue;
|
1506
|
+
$jq("#jumpMenu option[value='"+selects[i].value+"']").remove();
|
1507
|
+
if ( descstr.indexOf("@--")<0 && descstr.indexOf("/") < 0 && descstr.indexOf(":") < 0 ){
|
1508
|
+
var art_id=selects[i].value;
|
1509
|
+
// selects[i].value=art_id=art_id.substring(0, art_id.indexOf(".shtml"))+"/"+encodeURIComponent(descstr)+"-"+;
|
1510
|
+
selects[i].value=encodeURIComponent(descstr)+"-"+art_id;
|
1511
|
+
}
|
1512
|
+
$jq("#jumpMenu").append("<option value='"+selects[i].value+"'>"+descstr+"</option>");
|
1513
|
+
}
|
1514
|
+
|
1515
|
+
var rlimit=20;
|
1516
|
+
var displaynum=7;
|
1517
|
+
//var bgimg='/2010/images/list_bg.gif';
|
1518
|
+
var bgimg='/img/more_bg.gif';
|
1519
|
+
if ( location.href.indexOf("ENTERTAINMENT") > 0 ){
|
1520
|
+
bgimg='/img/more_bg_star.gif';
|
1521
|
+
}
|
1522
|
+
if ( location.href.indexOf("FUND") > 0 || location.href.indexOf("FINANCE") > 0 || location.href.indexOf("STOCK") > 0 ){
|
1523
|
+
bgimg='/img/more_bg_money.gif';
|
1524
|
+
}
|
1525
|
+
var maxwclength = 36;
|
1526
|
+
var rlimit=20;
|
1527
|
+
aa='<div id="news_area" style="border-bottom: 1px dotted #CCCCCC;background: url('+bgimg+') repeat-x scroll left top transparent;height:206px;width:548px;padding-bottom:6px">';
|
1528
|
+
aa=aa+'<div id="related_news" style="border-right: 1px solid #CCCCCC; display: block;float:left;height:204px;position: relative;width: 269px;">';
|
1529
|
+
|
1530
|
+
aa=aa+'<div class="news_head" style="float:left;color: #FFFFFF;display:block;font-size: 15px;font-weight: bold;height:28px;margin-bottom:5px;padding:3px 0 0 10px;width: 261px;" ><div class="more" style="float:right;padding-right: 10px;padding-top: 0px;" ><a href="index.shtml"><img src="/2010MAIN/img/more.gif" height="21" width="39" border="0"></a></div>�� �� �s �D</div>';
|
1531
|
+
aa=aa+'<dl>';
|
1532
|
+
var jj=0;
|
1533
|
+
for (var i=1;i<rlimit;i++){
|
1534
|
+
if (selects[i] != undefined){
|
1535
|
+
var textnode=selects[i].lastChild;
|
1536
|
+
descstr=textnode.nodeValue;
|
1537
|
+
if ( (i>1) && (selects[i].value == selects[0].value || i > rlimit ) ) break;
|
1538
|
+
|
1539
|
+
if (getByteLength(descstr) > maxwclength ){
|
1540
|
+
descstr = getSubString(descstr,maxwclength);
|
1541
|
+
}
|
1542
|
+
|
1543
|
+
var regex = /�n/;
|
1544
|
+
if ( descstr.match (regex)) {
|
1545
|
+
}
|
1546
|
+
else{
|
1547
|
+
|
1548
|
+
aa=aa+'<dd >�E<a href="'+selects[i].value+'" class="story_category" style="font-size:13px;line-height:23px" >'+descstr+'</a></dd>';
|
1549
|
+
jj++;
|
1550
|
+
if ( jj >= displaynum ) break;
|
1551
|
+
}
|
1552
|
+
}
|
1553
|
+
}
|
1554
|
+
aa=aa+'</dl>';
|
1555
|
+
aa=aa+'</div>';
|
1556
|
+
|
1557
|
+
|
1558
|
+
aa=aa+'<div id="hot_news" style="display: block;float:left; position:relative;width: 273px; height:200px" >';
|
1559
|
+
|
1560
|
+
if ( $jq.browser.msie && $jq.browser.version == '6.0' ) {
|
1561
|
+
aa=aa+'<div class="news_head" style="float:left;color: #FFFFFF;display:block;font-size: 15px;font-weight: bold;height:28px;margin-bottom:5px;padding:3px 0 0 10px;width: 261px;" ><div class="more" style="float:right;padding-right: 10px;padding-top: 0px;"><a href="http://dignews.udn.com/forum/udnnews/news_hot.jsp?type=daily&from=story" target="_blank"><img src="/2010MAIN/img/more.gif" height="21" width="39" border="0"></a></div>�o �N �s �D</div>';
|
1562
|
+
}else{
|
1563
|
+
aa=aa+'<div class="news_head" style="float:left;color: #FFFFFF;display:block;font-size: 15px;font-weight: bold;height:28px;margin-bottom:5px;padding:3px 0 0 10px;width: 269px;" ><div class="more" style="float:right;padding-right: 10px;padding-top: 0px;"><a href="http://dignews.udn.com/forum/udnnews/news_hot.jsp?type=daily&from=story" target="_blank"><img src="/2010MAIN/img/more.gif" height="21" width="39" border="0"></a></div>�o �N �s �D</div>';
|
1564
|
+
}
|
1565
|
+
aa=aa+'<dl>';
|
1566
|
+
aa=aa+'</dl>';
|
1567
|
+
aa=aa+'</div>';
|
1568
|
+
aa=aa+'</div>';
|
1569
|
+
if ( $jq("#adsense") != undefined ) $jq(aa).insertBefore( $jq("#adsense"));
|
1570
|
+
$jq("#other table").css('display','none');
|
1571
|
+
if ( $jq.browser.msie && $jq.browser.version == '6.0' ) {
|
1572
|
+
$jq.ajax({
|
1573
|
+
url: "/2010MAIN/inc/focus_hot7.html",
|
1574
|
+
success: function(data){
|
1575
|
+
$jq('#hot_news').toggle();
|
1576
|
+
$jq('#hot_news').append(data);
|
1577
|
+
$jq('#hot_news').toggle();
|
1578
|
+
}
|
1579
|
+
});
|
1580
|
+
}else{
|
1581
|
+
$jq.ajax({
|
1582
|
+
url: "/2010MAIN/inc/focus_hot7.html",
|
1583
|
+
success: function(data){
|
1584
|
+
$jq('#hot_news').toggle();
|
1585
|
+
$jq('#hot_news').append(data);
|
1586
|
+
$jq('#hot_news').toggle();
|
1587
|
+
}
|
1588
|
+
});
|
1589
|
+
}
|
1590
|
+
}
|
1591
|
+
else{
|
1592
|
+
|
1593
|
+
}
|
1594
|
+
//$jq('#gotop').click();
|
1595
|
+
</script>
|
1596
|
+
<!-- ae -->
|
1597
|
+
|
1598
|
+
|
1599
|
+
|
1600
|
+
<!-- google analytics -->
|
1601
|
+
<script type="text/javascript">
|
1602
|
+
|
1603
|
+
var _gaq = _gaq || [];
|
1604
|
+
_gaq.push(['_setAccount', 'UA-19660006-1']);
|
1605
|
+
_gaq.push(['_setDomainName', '.udn.com']);
|
1606
|
+
_gaq.push(['_trackPageview']);
|
1607
|
+
|
1608
|
+
(function() {
|
1609
|
+
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
1610
|
+
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
1611
|
+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
1612
|
+
})();
|
1613
|
+
|
1614
|
+
</script>
|
1615
|
+
<!-- google analytics -->
|
1616
|
+
|
1617
|
+
<!-- Begin comScore Tag -->
|
1618
|
+
<script>
|
1619
|
+
var _comscore = _comscore || [];
|
1620
|
+
_comscore.push({ c1: "2", c2: "7390954" });
|
1621
|
+
(function() {
|
1622
|
+
var s = document.createElement("script"), el = document.getElementsByTagName("script")[0]; s.async = true;
|
1623
|
+
s.src = (document.location.protocol == "https:" ? "https://sb" : "http://b") + ".scorecardresearch.com/beacon.js";
|
1624
|
+
el.parentNode.insertBefore(s, el);
|
1625
|
+
})();
|
1626
|
+
</script>
|
1627
|
+
<noscript>
|
1628
|
+
<img src="http://b.scorecardresearch.com/p?c1=2&c2=7390954&cv=2.0&cj=1" />
|
1629
|
+
</noscript>
|
1630
|
+
<!-- End comScore Tag -->
|
1631
|
+
|
1632
|
+
|
1633
|
+
|
1634
|
+
|
1635
|
+
<!-- college2011 -->
|
1636
|
+
<script>
|
1637
|
+
/*
|
1638
|
+
var objtext;
|
1639
|
+
|
1640
|
+
if ( objtext=document.getElementById('search_kw') ){
|
1641
|
+
objtext.value="���I���R";
|
1642
|
+
objtext.style.color = "#999999";
|
1643
|
+
objtext.onclick = function(){
|
1644
|
+
KwCheckClear();
|
1645
|
+
};
|
1646
|
+
}
|
1647
|
+
|
1648
|
+
function KwCheckClear(){
|
1649
|
+
if ( objtext=document.getElementById('search_kw') ){
|
1650
|
+
if( objtext.value == "���I���R" ){
|
1651
|
+
objtext.value="";
|
1652
|
+
}
|
1653
|
+
objtext.style.color = "#000000";
|
1654
|
+
}else{
|
1655
|
+
return;
|
1656
|
+
}
|
1657
|
+
}*/
|
1658
|
+
</script>
|
1659
|
+
<!-- college2011 -->
|
1660
|
+
<!--
|
1661
|
+
<script language="JavaScript" src="/Project/sess.js" type="text/javascript"></script>
|
1662
|
+
-->
|
1663
|
+
|
1664
|
+
<script>
|
1665
|
+
if ( window.location.href.indexOf("/NEWS/main") == -1 ) {
|
1666
|
+
document.write("<script src='https://apis.google.com/js/plusone.js'><\/script>");
|
1667
|
+
}
|
1668
|
+
</script>
|
1669
|
+
<!--<script type="text/javascript" src="https://apis.google.com/js/plusone.js">{lang: 'zh-TW'}</script>-->
|
1670
|
+
|
1671
|
+
<!-- START Nielsen Online SiteCensus V6.0 -->
|
1672
|
+
|
1673
|
+
<!-- END Nielsen Online SiteCensus V6.0 -->
|
1674
|
+
|
1675
|
+
|
1676
|
+
|
1677
|
+
</body>
|
1678
|
+
</html>
|