   if (window != top) top.location.href = location.href;
   //_editor_url = "http://www.download3000.com/htmlarea/";                      // URL to htmlarea files
   //var win_ie_ver = parseFloat(navigator.appVersion.split("MSIE")[1]); 
   //if (navigator.userAgent.indexOf('Mac')        >= 0) { win_ie_ver = 0; } 
   //if (navigator.userAgent.indexOf('Windows CE') >= 0) { win_ie_ver = 0; } 
   //if (navigator.userAgent.indexOf('Opera')      >= 0) { win_ie_ver = 0; } 
   //if (win_ie_ver >= 5.5) { 
   // document.write('<scr' + 'ipt src="' + _editor_url + 'editor.js"'); 
   // document.write(' language="Javascript1.2"></scr' + 'ipt>'); 
   //} else { document.write('<scr'+'ipt>function editor_generate() { return false; }</scr'+'ipt>'); } 
   function MenuOver(obj) {
     //obj.style.backgroundImage='url("images/back_over.gif")' ;
   }
   function MenuOut(obj) {
     //obj.style.backgroundImage='url("images/back.gif")' ;
   }
   var nm=navigator.appName;
   NS=((nm.indexOf("Netscape")>-1||nm.indexOf("Netscape")>-1)?1:0);
   var IE4 = (document.all);
   function Homepage(th) { 
     th.style.behavior="url(#default#homepage)"; 
     th.setHomePage("http://www.softgrab.com") 
   }
   function addfavorite() {
     if (IE4) { 
        window.external.AddFavorite(location.href, document.title);
     }
     if (NS) { 
       alert(" For Netscape users, please press Ctrl+D to add this page to your bookmarks.");    
     }
   }
   
   function imagePopup(url){
      if(typeof(url)!="object"){
          window._w = window.open("","","width=30,height=30,scrollbars=no,resizable=yes");
          window._w.document.open();
          window._w.document.write('<html><body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0"><center><table height="100%"><tr><td align="center" valign="middle"><a href="javascript:window.close();"><img alt="Click here to close" border="0" src="'+url+'" onLoad="opener.imagePopup(this);"></a><br><a href="javascript:window.close();"><font style="FONT-FAMILY: verdana,Arial; FONT-SIZE: 11px; color:#0058a5;"><b>Click here to close</font></b></a></td></tr></table></center></body></html>');
          window._w.document.close();
          }
      else{
          if(document.layers)
              window._w.resizeTo(url.width,url.height);
          else
              window._w.resizeTo(url.width+25,url.height+60);
          }
   }
   
   function correctsize(size) {
    document.all["p_size"].value=size;
   } 
   