PageSourceSearch

https://www.skyedaily.com/JQuery_v1/js.js?20260925052215

js skyedaily.com collected 2026-09-24 20:22:33 UTC 9,869 bytes, 389 lines download raw bytes

1function view_go(str){
2
3	location.href='/news/news_view.html?ID='+str;
4}
5
6function par_view_go(str){
7
8	parents.location.href=str;
9}
10
11
12
13function view_go_target(str){
14
15	location.href=str;
16}
17
18
19
20function back_target(){
21
22	history.back();
23}
24
25
26function pstCLog(link,title,thumbnail,summary,writer) {
27		var href = "http://csp.cyworld.com/bi/bi_recommend_pop.php?url=" + encodeURIComponent(link) + "&thumbnail=" + encodeURIComponent(thumbnail) + "&summary=" + encodeURIComponent(summary) + "&writer=" + encodeURIComponent(writer);
28		var a = window.open(href, 'clog1', 'width=400, height=364, scrollbars=no, resizable=no');
29		if ( a ) {
30			a.focus();
31		}
32	}
33
34	function pstTwitter(msg,NewsID) {
35		var url = "https://www.skyedaily.com/news/news_view.html?ID="+NewsID;
36		var href = "https://www.twitter.com/intent/tweet?text=" + encodeURIComponent(msg)  + "        " +  encodeURIComponent(url) ;
37		var a = window.open(href, 'twitter');
38		if ( a ) {
39			a.focus();
40		}
41	}
42	
43	function pstMe2Day(msg,NewsID,tag) {
44		var url = "https://www.skyedaily.com/news/news_view.html?ID="+NewsID;
45		var href = "http://me2day.net/posts/new?new_post[body]=\""+encodeURIComponent(msg)+ "\":" + encodeURIComponent(url) + "&new_post[tags]=" + encodeURIComponent(tag);
46	
47		var a = window.open(href, 'me2Day', '');
48		if ( a ) {
49			a.focus();
50		}
51	}
52	
53	function pstFaceBook(NewsID, thumbimg, szTitle, szSummary) {
54
55		var url = document.URL;
56		
57
58		
59		var a = window.open('https://www.facebook.com/sharer.php?u=' + url,'facebook','toolbar=0,status=0,width=655,height=520');
60		if ( a ) {
61			a.focus();
62		}
63	
64	}
65	
66	function pstFaceBook2(NewsID, szTitle, thumbimg) {
67		var szUrl = "https://www.skyedaily.com/news/news_view.html?ID="+NewsID;
68		//var href = "http://www.facebook.com/sharer.php?u=" + encodeURIComponent(szUrl) + "&t="+encodeURIComponent(title);
69		var href = 'http://www.facebook.com/sharer/sharer.php?s=100&url='+encodeURIComponent(szUrl)+'&title='+encodeURIComponent(title)+'&images='+thumbimg;
70		var a = window.open(href, 'facebook', 'status=no, resizable=yes, toolbar=no, scrollbars=yes, width=790, height=440');
71		
72		
73		
74		if ( a ) {
75			a.focus();
76		}
77	
78	}
79	
80	function pstYozmDaum(link,prefix,parameter) {
81		var href = "http://yozm.daum.net/api/popup/prePost?sourceid=54&link=" + encodeURIComponent(link) + "&prefix=" + encodeURIComponent(prefix) + "&parameter=" + encodeURIComponent(parameter);
82		var a = window.open(href, 'yozm', 'width=466, height=356');
83		if ( a ) {
84			a.focus();
85		}
86	}
87	
88	function NewsPrint(ID) {  
89		var np = window.open('/news/news_print.html?mode=print&ID='+ID, 'newsprint', 'status=no, resizable=yes, toolbar=no, scrollbars=yes, width=740, height=700');	
90		np.focus();
91	}
92	
93	function news_email(ID) {  
94		var snm = window.open('/news/send_news_mail.html?ID='+ID, 'sendnewsmail', 'status=no, resizable=yes, toolbar=no, scrollbars=no, width=520, height=430');	
95		//var snm = window.open('http://121.78.56.101/sendmail/send_mail_skyedaily.html?ID='+ID, 'sendnewsmail', 'status=no, resizable=yes, toolbar=no, scrollbars=no, width=520, height=350');	
96		snm.focus();
97	}
98	
99	function send_error(ID) {  
100		var snm = window.open('/news/send_error.html?ID='+ID, 'senderr', 'status=no, resizable=yes, toolbar=no, scrollbars=no, width=520, height=350');	
101		snm.focus();
102	}
103	
104	var defaultSize = 15;
105
106	function changeFontSize(n) {  
107		
108		defaultSize += n;    
109		
110		if(defaultSize == 9)
111			defaultSize = 10;
112		else if(defaultSize == 19)
113			defaultSize = 18;
114			
115		
116		if(defaultSize > 10 && defaultSize < 19) {
117	
118		  	szObj = document.getElementById("newsContent");  //tdű׵éÀ» ¸ðÁ¶¸® objs¿¡ ÀúÀå
119		
120			szObj.style.fontSize = defaultSize + "px";
121		}
122		
123	}
124	
125	var sendUrl,nowUrl;
126	nowUrl = window.location.href;
127			
128	function sendBand(title,url) {
129	   var href = "http://www.band.us/plugin/share?body=" + encodeURIComponent(nowUrl) + "&route=" + encodeURIComponent(title);
130	   var a = window.open(href, 'band', 'width=1000, height=500,scrollbars=yes,resizable=yes');
131		 
132	   if( a ){
133		  a.focus();
134	   }
135	}
136	
137	var wrn = 1;
138	
139	function write_reply()
140	{
141		var wr = document.getElementById("write_reply_form");
142		var rep_wr = document.getElementById("rep_write");
143		
144		wr.display = "block";
145		
146		
147		if(wrn == 1) {
148			rep_wr.innerHTML = "<img src='/images/reply/srbn03.gif'>";
149			
150			wr.style.display = "block";
151			
152			wrn = 0;
153		}
154		else {
155			
156			rep_wr.innerHTML = "<img src='/images/reply/srbn01.gif'>";
157			
158			wr.style.display = "none";
159			
160			wrn = 1;
161		}
162		
163		
164	}
165	
166	function newsPadClose()
167	{
168		document.getElementById("newsPad").style.display = "none";
169	}
170
171$(document).ready(function() {
172		$("#Notice1").fancybox({
173			'width'				: 700,
174			'height'			: 700,
175			'autoScale'			: false,
176			'transitionIn'		: 'none',
177			'transitionOut'		: 'none',
178			'type'				: 'iframe'
179		});
180		
181		$("#Notice2").fancybox({
182			'padding'			: 0,
183			'autoScale'			: false,
184			'transitionIn'		: 'block',
185			'transitionOut'		: 'block'
186		});	
187		
188		$("#LargeImg").fancybox({
189			'padding'			: 0,			
190			'autoScale'			: false,
191			'transitionIn'		: 'none',
192			'transitionOut'		: 'none'
193			
194		});
195		
196		$("#LargeImg").fancybox({
197			'padding'			: 0,			
198			'autoScale'			: false,
199			'transitionIn'		: 'none',
200			'transitionOut'		: 'none'
201			
202		});
203		
204		$("#LargeImg1").fancybox({
205			'padding'			: 0,			
206			'autoScale'			: false,
207			'transitionIn'		: 'none',
208			'transitionOut'		: 'none'
209			
210		});
211		
212		$("#LargeImg2").fancybox({
213			'padding'			: 0,			
214			'autoScale'			: false,
215			'transitionIn'		: 'none',
216			'transitionOut'		: 'none'
217			
218		});
219		
220		$("#LargeImg3").fancybox({
221			'padding'			: 0,			
222			'autoScale'			: false,
223			'transitionIn'		: 'none',
224			'transitionOut'		: 'none'
225			
226		});
227		
228		$("#LargeImg4").fancybox({
229			'padding'			: 0,			
230			'autoScale'			: false,
231			'transitionIn'		: 'none',
232			'transitionOut'		: 'none'
233			
234		});
235		
236		$("#LargeImg5").fancybox({
237			'padding'			: 0,			
238			'autoScale'			: false,
239			'transitionIn'		: 'none',
240			'transitionOut'		: 'none'
241			
242		});
243
244
245		$("#NewsContent").fancybox({
246			'width'				: 700,
247			'height'			: 700,
248			'autoScale'			: false,
249			'transitionIn'		: 'none',
250			'transitionOut'		: 'none',
251			'type'				: 'iframe'
252		});
253	
254		$("#NewsContent2").fancybox({
255			'width'				: 700,
256			'height'			: 700,
257			'autoScale'			: false,
258			'transitionIn'		: 'none',
259			'transitionOut'		: 'none',
260			'type'				: 'iframe'
261		});
262		
263		$("#Notice2").fancybox({
264			'padding'			: 0,
265			'autoScale'			: false,
266			'transitionIn'		: 'block',
267			'transitionOut'		: 'block'
268		});
269		
270	
271		$("#ProfileView3").fancybox({
272			'width'				: 400,
273			'height'			: 130,
274			'autoScale'			: false,
275			'transitionIn'		: 'none',
276			'transitionOut'		: 'none',
277			'type'				: 'iframe'
278		});
279	
280
281	});
282
283
284
285function modify_view(){
286	$("#login_box_modify").css("display","");
287	$("#login_box_modify").css("z-index","9999");
288}
289function modify_out(){
290	$("#login_box_modify").css("display","none");
291}
292
293
294
295
296
297
298
299
300
301
302
303
304
305		function getPageGo(n,wp)
306		{ 
307	
308			var v   = wp != '' ? wp : 'p2';
309			var p   = getUriString(v);
310			var que = location.href.replace('&'+v+'='+p,'');
311				que = que.indexOf('?') != -1 ? que : que + '?';
312			
313			var xurl = que.split('#');
314				
315			return xurl[0].indexOf('?') != -1 ?  xurl[0] + '&'+v+'=' + n : xurl[0] + '?'+v+'=' + n; 
316		}
317		function getUriString(param)
318		{
319			var QuerySplit = location.href.split('?');
320			var ResultQuer = QuerySplit[1] ? QuerySplit[1].split('&') : '';
321
322			for (var i = 0; i < ResultQuer.length; i++)
323			{
324				var keyval = ResultQuer[i].split('=');
325				if (param == keyval[0]) return keyval[1];
326			}
327			return '';
328		}
329
330		function getPageLink(lnum,p,tpage,img)
331		{
332
333
334		
335			var wp = '';
336			var g_p1 = '<button type="button" style="border:1px solid #ddd; border-radius:3px;"><</button> &nbsp;';
337			var g_p2 = '<button type="button" style="border:1px solid #ddd; border-radius:3px;"><</button> &nbsp;';
338			var g_n1 = '&nbsp; <button type="button" style="border:1px solid #ddd; border-radius:3px;">></button>&nbsp;';
339			var g_n2 = '&nbsp; <button type="button" style="border:1px solid #ddd; border-radius:3px;">></button>&nbsp;';
340			var g_cn = '';
341			
342			var g_q  = p > 1 ? '<a href="'+getPageGo(1,wp)+'"><button type="button" style="border:1px solid #ddd; border-radius:3px;"><<</button></a> &nbsp;' : '<button type="button" style="border:1px solid #ddd; border-radius:3px;"><<</button> &nbsp;';
343
344			if(p < lnum+1) { g_q += g_p1; }
345			else{ var pp = parseInt((p-1)/lnum)*lnum; g_q += '&nbsp; <a href="'+getPageGo(pp,wp)+'"><button type="button">'+g_p2+'</button></a> &nbsp;';} g_q += g_cn;
346
347			var st1 = parseInt((p-1)/lnum)*lnum + 1;
348			var st2 = st1 + lnum;
349	
350			for(var jn = st1; jn < st2; jn++)
351				
352			if ( jn <= tpage)
353
354			(jn == p)? g_q += '<button type="button">'+jn+'</button>'+g_cn : g_q += '<a href="'+getPageGo(jn,wp)+'"><button type="button">'+jn+'</button></a> &nbsp;'+g_cn;
355
356			if(tpage < lnum || tpage < jn) { g_q += g_n1; }
357			else{var np = jn; g_q += '&nbsp; <a href="'+getPageGo(np,wp)+'">'+g_n2+'</a>'; }
358			g_q  += tpage > p ? '&nbsp; <a href="'+getPageGo(tpage,wp)+'"><button type="button" style="border:1px solid #ddd; border-radius:3px;">>></button>
358	</a>' : '<button type="button" style="border:1px solid #ddd; border-radius:3px;">>></button>	';
359
360
361			document.write(g_q);
362		}
363
364
365
366function go_url(str){
367
368	location.href=str;
369}
370
371
372
373
374
375
376
377function heart_chk(str1,str2,str3,str4){
378	f = document.heart;
379	f.m_idx.value=str1;
380	f.m_name.value=str2;
381	f.mode.value=str3;
382	f.id.value=str4;
383
384	if (str4!=""){
385		f.action = "/news/heart_ok_url.php";
386	}
387	f.submit();
388}
389

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.