PageSourceSearch

https://foryoucom.co.kr/skin/shop/basic/js/mall_default.js

js foryoucom.co.kr collected 2026-10-03 20:03:22 UTC 7,446 bytes, 235 lines download raw bytes

1//-----------Ç÷¹½Ã »ðÀÔ½ºÅ©¸³Æ®------------//
2
3/*
4IE Flash ActiveContent Activation Script
5Author: Faisal Iqbal (chall3ng3r)
6Blog: http://www.orison.biz/blog/chall3ng3r/
7
8Feel free to modify or distribute.
9*/
10 
11/*
12Method: FlashObject
13 Param1: SWF path
14 Param2: Movie width
15 Param3: Movie height
16 Param4: BGColor
17 Param5: Flashvars (Optional)
18*/
19
20
21// ÀÚ¹Ù·Î ¸µÅ©½Ã »õâ ¶ç¿ì±â
22function blankLink(linkURL){
23	window.open(linkURL,"_blank");
24}
25
26
27function normalLink(linkURL){
28	location.href=linkURL;
29}
30
31
32
33function FlashObject(swf, width, height, bgcolor, id, flashvars)
34{
35    var strFlashTag = new String();
36    
37    if (navigator.appName.indexOf("Microsoft") != -1)
38    {
39        strFlashTag += '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ';
40        strFlashTag += 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=version=8,0,0,0" ';
41        strFlashTag += 'id="' + id + '" width="' + width + '" height="' + height + '">';
42        strFlashTag += '<param name="movie" value="' + swf + '"/>';
43        if(flashvars != null) {strFlashTag += '<param name="flashvars" value="' + flashvars + '"/>'};
44        strFlashTag += '<param name="quality" value="best"/>';
45        strFlashTag += '<param name="bgcolor" value="' + bgcolor + '"/>';
46        strFlashTag += '<param name="menu" value="false"/>';
47        strFlashTag += '<param name="salign" value="LT"/>';
48        strFlashTag += '<param name="scale" value="noscale"/>';
49        strFlashTag += '<param name="wmode" value="transparent"/>';
50        strFlashTag += '<param name="allowScriptAccess" value="sameDomain"/>';
51        strFlashTag += '</object>';
52    }
53    else
54    {
55        strFlashTag += '<embed src="' + swf + '" ';
56        strFlashTag += 'quality="best" ';
57        strFlashTag += 'bgcolor="' + bgcolor + '" ';
58        strFlashTag += 'width="' + width + '" ';
59        strFlashTag += 'height="' + height + '" ';
60        strFlashTag += 'menu="false" ';
61        strFlashTag += 'scale="noscale" ';
62         strFlashTag += 'id="' + id + '" ';
63        strFlashTag += 'salign="LT" ';
64       //  strFlashTag += 'wmode="transparent" ';
65        strFlashTag += 'allowScriptAccess="sameDomain" ';
66        if(flashvars != null) {strFlashTag += 'flashvars="' + flashvars + '" '};
67        strFlashTag += 'type="application/x-shockwave-flash" ';
68        strFlashTag += 'pluginspage="http://www.macromedia.com/go/getflashplayer">';
69        strFlashTag += '</embed>';
70    }
71
72 document.write(strFlashTag);
73}
74
75
76<!--
77function MM_showHideLayers() { //v9.0
78  var i,p,v,obj,args=MM_showHideLayers.arguments;
79  for (i=0; i<(args.length-2); i+=3) 
80  with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
81    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
82    obj.visibility=v; }
83}
84//-->
85
86<!--
87function MM_preloadImages() { //v3.0
88  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
89    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
90    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
91}
92
93function MM_swapImgRestore() { //v3.0
94  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
95}
96
97function MM_findObj(n, d) { //v4.01
98  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
99    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
100  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
101  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
102  if(!x && d.getElementById) x=d.getElementById(n); return x;
103}
104
105function MM_swapImage() { //v3.0
106  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
107   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
108}
109//-->
110
111//---------À̹ÌÁöÈ®´ë------------//
112var maxW,maxH,fromX,fromY,toX,toY,adjX,adjY,zBox,zStep=0,zLink,zNew;
113function zoomBox(evt,zlink,maxw,maxh,tox,toy)
114{
115	if (arguments.length > 2)
116	{
117		zNew=1;
118	}
119	scrollH = (window.pageYOffset!=null)?window.pageYOffset:document.body.scrollTop;
120	maxW = maxw?maxw:window.innerWidth?innerWidth:document.body.clientWidth;
121	maxH = maxh?maxh:window.innerHeight?innerHeight:document.body.clientHeight;
122	toX = tox?tox:0;
123	toY = (toy?toy:0)+scrollH;
124	fromX = evt.pageX?evt.pageX:evt.clientX;
125	fromY = (evt.pageY?evt.pageY:evt.clientY)+(document.all?scrollH:0);
126	adjX = toX+evt.screenX-fromX;
127	adjY = toY+evt.screenY-fromY;
128
129	if (document.createElement && document.body.appendChild && !zBox)
130	{
131		zBox=document.createElement("div");
132		zBox.style.position = "absolute";
133		document.body.appendChild(zBox);
134	}
135	else if (document.all && !zBox) 
136	{
137		document.all[document.all.length-1].outerHTML+='<div id="zBoxDiv" style="position:absolute"></div>';
138		zBox=document.all.zBoxDiv;
139	}
140	else if (document.layers && !zBox)
141	{
142		zBox = new Layer(maxW);
143		zBox.style=zBox;
144	}
145
146	zLink = zlink;
147	doZoom();
148}
149
150function doZoom() {
151	zStep+=1;
152	zPct=(10-zStep)/10
153	if (document.layers)
154	{
155		zBox.moveTo(toX+zPct*(fromX-toX),toY+zPct*(fromY-toY));
156		zBox.document.open();
157		zBox.document.write("<table width='"+maxW*(1-zPct)+"' height="+maxH*(1-zPct)+" border=2 cellspacing=0><tr><td></td></tr></table>");
158		zBox.document.close();
159	}
160	else 
161	{
162		zBox.style.border = "2px solid #51A3F8"; 
163		zBox.style.left = toX+zPct*(fromX-toX);
164		zBox.style.top = toY+zPct*(fromY-toY);
165		zBox.style.width = maxW*(1-zPct);
166		zBox.style.height = maxH*(1-zPct);
167	}
168
169	zBox.style.visibility = "visible";
170	
171	if (zStep < 10)
172	{
173		setTimeout("doZoom("+fromX+","+fromY+","+toX+","+toY+")",30);
174	}
175	else
176	{
177		zBox.style.visibility='hidden';
178		zStep=0;
179		if (zLink && !zNew)
180		{
181			location.href=zLink.href;
182		}
183		else if (zLink && zNew)
184		{ 
185			var w=window.open(zLink.href,'','width='+maxW+',height='+maxH+',left='+adjX+',top='+adjY+',scrollbars=no');
186			zNew=null;
187
188		}
189	}
190}
191//-->
192
193
194function top_box(num){
195
196	for(i=1;i<=3;i++) {
197
198		if(i==num) {
199			document.getElementById("TB_L"+num).style.display="";
200		} else {
201			document.getElementById("TB_L"+i).style.display="none";
202		}
203	
204	}
205}
206//--->
207
208
209//·¹ÀÌ¾î ¹«ºê ÄÁÆ®·Ñ
210iic = 1;
211var js_clickid="";
212function getpc(seq,change_group,pd_no,pd_su,buttontype){
213	if(iic ==1){
214		//document.all.item('myestimate').style.top = document.body.scrollTop +400 ;
215		//document.all.item('myestimate').style.left = screen.availWidth /2 -350;
216		document.all.item('myestimate').style.top = 530 ;
217		document.all.item('myestimate').style.left = document.body.scrollWidth /2 -10;		
218	}
219	document.all.item('myestimate').style.visibility = 'visible'; 
220
221	if_myestimater.location.href="/skin/shop/basic/system_change_product.php?seq="+seq+"&change_group="+change_group+"&pd_no="+pd_no+"&pd_su="+pd_su+"&buttontype="+buttontype;
222	
223	++ iic;	
224}
225
226function div_close(){
227	//document.all.item('trans_layer').style.height =0;
228	//document.all.item('trans_layer').style.visibility = 'hidden'; 
229	document.all.item('myestimate').style.visibility = 'hidden'; 
230	//document.all.item('div_order').style.visibility = 'hidden'; 
231}	
232	
233function MM_openBrWindow(theURL,winName,features) { //v2.0
234  window.open(theURL,winName,features);
235}

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.