home *** CD-ROM | disk | FTP | other *** search
/ Design Your Dream Home / H&RCD2004.ISO / overlib_mini.js < prev    next >
Text File  |  2004-03-23  |  26KB  |  720 lines

  1. //\//////////////////////////////////////////////////////////////////////////////////
  2. //\  overLIB 3.50  --  This notice must remain untouched at all times.
  3. //\  Copyright Erik Bosrup 1998-2001. All rights reserved.
  4. //\
  5. //\  By Erik Bosrup (erik@bosrup.com).  Last modified 2001-08-28.
  6. //\  Portions by Dan Steinman (dansteinman.com). Additions by other people are
  7. //\  listed on the overLIB homepage.
  8. //\
  9. //\  Get the latest version at http://www.bosrup.com/web/overlib/
  10. //\
  11. //\  This script is published under an open source license. Please read the license
  12. //\  agreement online at: http://www.bosrup.com/web/overlib/license.html
  13. //\  If you have questions regarding the license please contact erik@bosrup.com.
  14. //\
  15. //\  This script library was originally created for personal use. By request it has
  16. //\  later been made public. This is free software. Do not sell this as your own
  17. //\  work, or remove this copyright notice. For full details on copying or changing
  18. //\  this script please read the license agreement at the link above.
  19. //\
  20. //\  Please give credit on sites that use overLIB and submit changes of the script
  21. //\  so other people can use them as well. This script is free to use, don't abuse.
  22. //\//////////////////////////////////////////////////////////////////////////////////
  23.  
  24. //\  THIS IS A VERY MODIFIED VERSION. DO NOT EDIT OR PUBLISH. GET THE ORIGINAL!
  25.  
  26. function popUp(url)
  27. {
  28.     sealWin=window.open(url,"win",'toolbar=0,location=0,directories=0, status=1,menubar=1,scrollbars=1,resizable=1,width=500,height=450');
  29.     self.name = "mainWin";
  30. }
  31.  
  32. var INARRAY=1;
  33. var CAPARRAY=2;
  34. var STICKY=3;
  35. var BACKGROUND=4;
  36. var NOCLOSE=5;
  37. var CAPTION=6;
  38. var LEFT=7;
  39. var RIGHT=8;
  40. var CENTER=9;
  41. var OFFSETX=10;
  42. var OFFSETY=11;
  43. var FGCOLOR=12;
  44. var BGCOLOR=13;
  45. var TEXTCOLOR=14;
  46. var CAPCOLOR=15;
  47. var CLOSECOLOR=16;
  48. var WIDTH=17;
  49. var BORDER=18;
  50. var STATUS=19;
  51. var AUTOSTATUS=20;
  52. var AUTOSTATUSCAP=21;
  53. var HEIGHT=22;
  54. var CLOSETEXT=23;
  55. var SNAPX=24;
  56. var SNAPY=25;
  57. var FIXX=26;
  58. var FIXY=27;
  59. var FGBACKGROUND=28;
  60. var BGBACKGROUND=29;
  61. var PADX=30;// PADX2 out
  62. var PADY=31;// PADY2 out
  63. var FULLHTML=34;
  64. var ABOVE=35;
  65. var BELOW=36;
  66. var CAPICON=37;
  67. var TEXTFONT=38;
  68. var CAPTIONFONT=39;
  69. var CLOSEFONT=40;
  70. var TEXTSIZE=41;
  71. var CAPTIONSIZE=42;
  72. var CLOSESIZE=43;
  73. var FRAME=44;
  74. var TIMEOUT=45;
  75. var FUNCTION=46;
  76. var DELAY=47;
  77. var HAUTO=48;
  78. var VAUTO=49;
  79. var CLOSECLICK=50;
  80. var CSSOFF=51;
  81. var CSSSTYLE=52;
  82. var CSSCLASS=53;
  83. var FGCLASS=54;
  84. var BGCLASS=55;
  85. var TEXTFONTCLASS=56;
  86. var CAPTIONFONTCLASS=57;
  87. var CLOSEFONTCLASS=58;
  88. var PADUNIT=59;
  89. var HEIGHTUNIT=60;
  90. var WIDTHUNIT=61;
  91. var TEXTSIZEUNIT=62;
  92. var TEXTDECORATION=63;
  93. var TEXTSTYLE=64;
  94. var TEXTWEIGHT=65;
  95. var CAPTIONSIZEUNIT=66;
  96. var CAPTIONDECORATION=67;
  97. var CAPTIONSTYLE=68;
  98. var CAPTIONWEIGHT=69;
  99. var CLOSESIZEUNIT=70;
  100. var CLOSEDECORATION=71;
  101. var CLOSESTYLE=72;
  102. var CLOSEWEIGHT=73;
  103. if(typeof ol_fgcolor=='undefined'){var ol_fgcolor="#583752";}
  104. if(typeof ol_bgcolor=='undefined'){var ol_bgcolor="#000000";}
  105. if(typeof ol_textcolor=='undefined'){var ol_textcolor="#EEEEEE";}
  106. if(typeof ol_capcolor=='undefined'){var ol_capcolor="#FFFFFF";}
  107. if(typeof ol_closecolor=='undefined'){var ol_closecolor="#9999FF";}
  108. if(typeof ol_textfont=='undefined'){var ol_textfont="Arial,Helvetica";}
  109. if(typeof ol_captionfont=='undefined'){var ol_captionfont="Arial,Helvetica";}
  110. if(typeof ol_closefont=='undefined'){var ol_closefont="Arial,Helvetica";}
  111. if(typeof ol_textsize=='undefined'){var ol_textsize="1";}
  112. if(typeof ol_captionsize=='undefined'){var ol_captionsize="1";}
  113. if(typeof ol_closesize=='undefined'){var ol_closesize="1";}
  114. if(typeof ol_width=='undefined'){var ol_width="200";}
  115. if(typeof ol_border=='undefined'){var ol_border="1";}
  116. if(typeof ol_offsetx=='undefined'){var ol_offsetx=10;}
  117. if(typeof ol_offsety=='undefined'){var ol_offsety=10;}
  118. if(typeof ol_text=='undefined'){var ol_text="Default Text";}
  119. if(typeof ol_cap=='undefined'){var ol_cap="";}
  120. if(typeof ol_sticky=='undefined'){var ol_sticky=0;}
  121. if(typeof ol_background=='undefined'){var ol_background="";}
  122. if(typeof ol_close=='undefined'){var ol_close="Close";}
  123. if(typeof ol_hpos=='undefined'){var ol_hpos=8;}
  124. if(typeof ol_status=='undefined'){var ol_status="";}
  125. if(typeof ol_autostatus=='undefined'){var ol_autostatus=0;}
  126. if(typeof ol_height=='undefined'){var ol_height=-1;}
  127. if(typeof ol_snapx=='undefined'){var ol_snapx=0;}
  128. if(typeof ol_snapy=='undefined'){var ol_snapy=0;}
  129. if(typeof ol_fixx=='undefined'){var ol_fixx=-1;}
  130. if(typeof ol_fixy=='undefined'){var ol_fixy=-1;}
  131. if(typeof ol_fgbackground=='undefined'){var ol_fgbackground="";}
  132. if(typeof ol_bgbackground=='undefined'){var ol_bgbackground="";}
  133. if(typeof ol_padxl=='undefined'){var ol_padxl=1;}
  134. if(typeof ol_padxr=='undefined'){var ol_padxr=1;}
  135. if(typeof ol_padyt=='undefined'){var ol_padyt=1;}
  136. if(typeof ol_padyb=='undefined'){var ol_padyb=1;}
  137. if(typeof ol_fullhtml=='undefined'){var ol_fullhtml=0;}
  138. if(typeof ol_vpos=='undefined'){var ol_vpos=36;}
  139. if(typeof ol_aboveheight=='undefined'){var ol_aboveheight=0;}
  140. if(typeof ol_caption=='undefined'){var ol_capicon="";}
  141. if(typeof ol_frame=='undefined'){var ol_frame=self;}
  142. if(typeof ol_timeout=='undefined'){var ol_timeout=0;}
  143. if(typeof ol_function=='undefined'){var ol_function=Function();}
  144. if(typeof ol_delay=='undefined'){var ol_delay=0;}
  145. if(typeof ol_hauto=='undefined'){var ol_hauto=0;}
  146. if(typeof ol_vauto=='undefined'){var ol_vauto=0;}
  147. if(typeof ol_closeclick=='undefined'){var ol_closeclick=0;}
  148. if(typeof ol_css=='undefined'){var ol_css=51;}
  149. if(typeof ol_fgclass=='undefined'){var ol_fgclass="";}
  150. if(typeof ol_bgclass=='undefined'){var ol_bgclass="";}
  151. if(typeof ol_textfontclass=='undefined'){var ol_textfontclass="";}
  152. if(typeof ol_captionfontclass=='undefined'){var ol_captionfontclass="";}
  153. if(typeof ol_closefontclass=='undefined'){var ol_closefontclass="";}
  154. if(typeof ol_padunit=='undefined'){var ol_padunit="px";}
  155. if(typeof ol_heightunit=='undefined'){var ol_heightunit="px";}
  156. if(typeof ol_widthunit=='undefined'){var ol_widthunit="px";}
  157. if(typeof ol_textsizeunit=='undefined'){var ol_textsizeunit="px";}
  158. if(typeof ol_textdecoration=='undefined'){var ol_textdecoration="none";}
  159. if(typeof ol_textstyle=='undefined'){var ol_textstyle="normal";}
  160. if(typeof ol_textweight=='undefined'){var ol_textweight="normal";}
  161. if(typeof ol_captionsizeunit=='undefined'){var ol_captionsizeunit="px";}
  162. if(typeof ol_captiondecoration=='undefined'){var ol_captiondecoration="none";}
  163. if(typeof ol_captionstyle=='undefined'){var ol_captionstyle="normal";}
  164. if(typeof ol_captionweight=='undefined'){var ol_captionweight="bold";}
  165. if(typeof ol_closesizeunit=='undefined'){var ol_closesizeunit="px";}
  166. if(typeof ol_closedecoration=='undefined'){var ol_closedecoration="none";}
  167. if(typeof ol_closestyle=='undefined'){var ol_closestyle="normal";}
  168. if(typeof ol_closeweight=='undefined'){var ol_closeweight="normal";}
  169. if(typeof ol_texts=='undefined'){var ol_texts=new Array("Text 0", "Text 1");}
  170. if(typeof ol_caps=='undefined'){var ol_caps=new Array("Caption 0", "Caption 1");}
  171. var otext="";
  172. var ocap="";
  173. var osticky=0;
  174. var obackground="";
  175. var oclose="Close";
  176. var ohpos=8;
  177. var ooffsetx=2;
  178. var ooffsety=2;
  179. var ofgcolor="";
  180. var obgcolor="";
  181. var otextcolor="";
  182. var ocapcolor="";
  183. var oclosecolor="";
  184. var owidth=100;
  185. var oborder=1;
  186. var ostatus="";
  187. var oautostatus=0;
  188. var oheight=-1;
  189. var osnapx=0;
  190. var osnapy=0;
  191. var ofixx=-1;
  192. var ofixy=-1;
  193. var ofgbackground="";
  194. var obgbackground="";
  195. var opadxl=0;
  196. var opadxr=0;
  197. var opadyt=0;
  198. var opadyb=0;
  199. var ofullhtml=0;
  200. var ovpos=36;
  201. var oaboveheight=0;
  202. var ocapicon="";
  203. var otextfont="Arial,Helvetica";
  204. var ocaptionfont="Arial,Helvetica";
  205. var oclosefont="Arial,Helvetica";
  206. var otextsize="1";
  207. var ocaptionsize="1";
  208. var oclosesize="1";
  209. var oframe=self;
  210. var otimeout=0;
  211. var otimerid=0;
  212. var oallowmove=0;
  213. var ofunction=Function();
  214. var odelay=0;
  215. var odelayid=0;
  216. var ohauto=0;
  217. var ovauto=0;
  218. var ocloseclick=0;
  219. var ocss=51;
  220. var ofgclass="";
  221. var obgclass="";
  222. var otextfontclass="";
  223. var ocaptionfontclass="";
  224. var oclosefontclass="";
  225. var opadunit="px";
  226. var oheightunit="px";
  227. var owid