comments problem

original code:
<script language="JavaScript" type="text/javascript">
function MM_swapImage() { //v3.0    
var i,j=0,x,a=MM_swapImage.arguments;   
document.MM_sr=new Array; 
for(i=0;i<(a.length-2);i+=3)
  if ((x=MM_findObj(a[i]))!=null){
    document.MM_sr[j++]=x;
    if(!x.oSrc) x.oSrc=x.src; 
    x.src=a[i+2];} 
  }  
</script>

result:
            <script language="JavaScript" type="text/javascript">function MM_swapImage() {
                //v3.0     var i,j=0,x,a=MM_swapImage.arguments;
                document.MM_sr=new Array;
                for(i=0;i<(a.length-2);i+=3)   if
                ((x=MM_findObj(a[i]))!=null){     document.MM_sr[j++]=x;
                if(!x.oSrc) x.oSrc=x.src;      x.src=a[i+2];}    }
              </script>

configuration:
WrapScriptlets: false
WrapSection: true
WrapAttVals: false
LiteralAttribs: false
tabsize: 4
IndentAttributes: true
spaces: 2
wraplen: 68
IndentContent: false
SmartIndent: false
RawOut: false
QuoteMarks: false
QuoteNbsp: true
WrapAttVals: false
IndentAttributes: true
EncloseBodyText: false
EncloseBlockText: false
LiteralAttribs: false

what plus I add?

Thanks!!

Lilian

P.D.: Obvious if use /* v3.0 */ is no problem, but it is not the idea

Received on Thursday, 20 February 2003 09:41:54 UTC