wangtengyu
2018-12-07 f459412e0dac4ed94106da043b4c6f8576bfe496
commit | author | age
19351a 1 var old = new Array();
B 2 var buyercmt;
3 function show_goodspic(id,type)
4 {
5   if(old[type]!=null)
6   {
7       document.getElementById(type+"b"+old[type]).style.display='none';
8       document.getElementById(type+"s"+old[type]).style.display='block';
9   }
10       document.getElementById(type+"s"+id).style.display='none';
11       document.getElementById(type+"b"+id).style.display='block';
12       old[type] = id;
13 }
14 function stopError() {
15
16             return true;
17
18           }
19
20           window.onerror = stopError;
21
22 function MakeFlashString(source,id,width,height,wmode, otherParam)
23 {    
24     return "<embed src="+source+" quality=high wmode="+wmode+" type=\"application/x-shockwave-flash\" pluginspage=\"https://www.macromedia.com/shockwave/download/index.cgi?p1_prod_version=shockwaveflash\" width="+width+" height="+height+"></embed>";
25 }
26
27 function MakeObjectString(classid, codebase, name, id, width,height, param)
28 {
29     return "<object classid="+classid+" codebase="+codebase+" name="+name+" width="+width+" height="+height+" id="+id+"><param name=wmode value="+wmode+" />"+param+"</object>";
30 }
31 function chgActive(id)
32 {
33     document.write(id.text);
34 }
35 // innerHTML Type
36 function SetInnerHTML(target, code)
37
38     target.innerHTML = code; 
39 }
40
41 // Direct Write Type
42 function DocumentWrite(src)
43 {
44     document.write(src);
45 }
46
47
48
49
50
51
52