home *** CD-ROM | disk | FTP | other *** search
- <!--
- // See KB article about changing this dynamic HTML
- dynamicanimAttr = "dynamicanimation"
- animCancel = "skipanim"
- fpanimationPrefix = "fpAnim"
- animateElements = new Array()
- currentElement = 0
- speed = 1
- stepsZoom = 8
- stepsWord = 8
- stepsFly = 17
- stepsSpiral = 16
- stepsSpiralWord = 19
- stepsElastic = 32
- steps = stepsZoom
- step = 0
- cornerPhase=0
- outEffect=0
- function remSuffix(str)
- {
- ind=str.indexOf("FP")
- str = str.substring(0,ind)
- return str
- }
- function dynAnimOut(el)
- {
- outEffect=1
- dynAnimation(el)
- outEffect=0
- }
- function dynAnimation(obj)
- {
- animateElements = new Array()
- var ms = navigator.appVersion.indexOf("MSIE")
- ie4 = (ms>0) && (parseInt(navigator.appVersion.substring(ms+5, ms+6)) >= 4)
- if(!ie4)
- {
- if((navigator.appName == "Netscape") &&
- (parseInt(navigator.appVersion.substring(0, 1)) >= 4))
- doc_els=document.layers
- else
- return
- }
- else
- doc_els=document.all
- if(outEffect && !ie4)
- return
- if(ie4)
- {
- for (index=document.all.length-1; index >= document.body.sourceIndex; index--)
- {
- el = document.all[index]
- if(outEffect && el != obj)
- continue
- if(outEffect)
- animationId = el.id.substring(9,el.id.length)
- else
- animationId = el.id.substring(6,el.id.length)
- animation=remSuffix(animationId)
- if(null != animation)
- {
- altcnt=0
- if( animation == "dropWord" ||
- animation == "flyTopRightWord" ||
- animation == "flyBottomRightWord" ||
- animation == "waveWords" ||
- animation == "hopWords")
- {
- ih = el.innerHTML
- outString = ""
- i1 = 0
- iend = ih.length
- while(true)
- {
- i2 = startWord(ih, i1)
- if(i2 == -1)
- i2 = iend
- outWord(ih, i1, i2, false, "", outEffect ? obj.id : el.id)
- if(i2 == iend)
- break
- i1 = i2
- i2 = endWord(ih, i1)
- if(i2 == -1)
- i2 = iend
- if (animation == "waveWord