
var ssrssimage=new Array()

var ssrotatetot=4

ssrssimage[1]=1
ssrssimage[2]=2
ssrssimage[3]=3
ssrssimage[4]=4



var tstylenum

var tstylenumber=new Array()

var tstylehtml=new Array()

var tevent


tstylenumber[9]="Y"
tstylehtml[9]='<b>Bands:</b> <select name="blindsbands" style="font-family:arial;font-size:9pt;">'
for(var i=2;i<=100;i++){
tstylehtml[9]+='<option value="'+i+'">'+i
}
tstylehtml[9]+='</select><BR><BR>'

tstylenumber[10]="Y"
tstylehtml[10]='<b>Bands:</b> <select name="blindsbands" style="font-family:arial;font-size:9pt;">'
for(var i=2;i<=100;i++){
tstylehtml[10]+='<option value="'+i+'">'+i
}
tstylehtml[10]+='</select><BR><BR>'

tstylenumber[11]="Y"
tstylehtml[11]='<b>Bands:</b> <select name="blindsbands" style="font-family:arial;font-size:9pt;">'
for(var i=2;i<=100;i++){
tstylehtml[11]+='<option value="'+i+'">'+i
}
tstylehtml[11]+='</select><BR><BR>'

tstylenumber[12]="Y"
tstylehtml[12]='<b>Bands:</b> <select name="blindsbands" style="font-family:arial;font-size:9pt;">'
for(var i=2;i<=100;i++){
tstylehtml[12]+='<option value="'+i+'">'+i
}
tstylehtml[12]+='</select><BR><BR>'


tstylenumber[13]="Y"
tstylehtml[13]='<b>Columns:</b> <select name="checkercols" style="font-family:arial;font-size:9pt;">'
for(var i=2;i<=100;i++){
tstylehtml[13]+='<option value="'+i+'">'+i
}
tstylehtml[13]+='</select> &nbsp;&nbsp;'
tstylehtml[13]+='<b>Rows:</b> <select name="checkerrows" style="font-family:arial;font-size:9pt;">'
for(var i=2;i<=100;i++){
tstylehtml[13]+='<option value="'+i+'">'+i
}
tstylehtml[13]+='</select><BR><BR>'


tstylenumber[14]="Y"
tstylehtml[14]='<b>Columns:</b> <select name="checkercols" style="font-family:arial;font-size:9pt;">'
for(var i=2;i<=100;i++){
tstylehtml[14]+='<option value="'+i+'">'+i
}
tstylehtml[14]+='</select> &nbsp;&nbsp;'
tstylehtml[14]+='<b>Rows:</b> <select name="checkerrows" style="font-family:arial;font-size:9pt;">'
for(var i=2;i<=100;i++){
tstylehtml[14]+='<option value="'+i+'">'+i
}
tstylehtml[14]+='</select><BR><BR>'

tstylenumber[15]="Y"
tstylehtml[15]='<b>Columns:</b> <select name="checkercols" style="font-family:arial;font-size:9pt;">'
for(var i=2;i<=100;i++){
tstylehtml[15]+='<option value="'+i+'">'+i
}
tstylehtml[15]+='</select> &nbsp;&nbsp;'
tstylehtml[15]+='<b>Rows:</b> <select name="checkerrows" style="font-family:arial;font-size:9pt;">'
for(var i=2;i<=100;i++){
tstylehtml[15]+='<option value="'+i+'">'+i
}
tstylehtml[15]+='</select><BR><BR>'

tstylenumber[16]="Y"
tstylehtml[16]='<b>Columns:</b> <select name="checkercols" style="font-family:arial;font-size:9pt;">'
for(var i=2;i<=100;i++){
tstylehtml[16]+='<option value="'+i+'">'+i
}
tstylehtml[16]+='</select> &nbsp;&nbsp;'
tstylehtml[16]+='<b>Rows:</b> <select name="checkerrows" style="font-family:arial;font-size:9pt;">'
for(var i=2;i<=100;i++){
tstylehtml[16]+='<option value="'+i+'">'+i
}
tstylehtml[16]+='</select><BR><BR>'


tstylenumber[17]="Y"
tstylehtml[17]='<b>Overlap Time:</b> <select name="overlaptime" style="font-family:arial;font-size:9pt;">'
tstylehtml[17]+='<option value="1">100%'
tstylehtml[17]+='<option value="0.9">90%'
tstylehtml[17]+='<option value="0.8">80%'
tstylehtml[17]+='<option value="0.7">70%'
tstylehtml[17]+='<option value="0.6">60%'
tstylehtml[17]+='<option value="0.5">50%'
tstylehtml[17]+='<option value="0.4">40%'
tstylehtml[17]+='<option value="0.3">30%'
tstylehtml[17]+='<option value="0.2">20%'
tstylehtml[17]+='<option value="0.1">10%'
tstylehtml[17]+='<option value="0">0%'
tstylehtml[17]+='</select> of transition duration<BR><BR>'


tstylenumber[18]="Y"
tstylehtml[18]='<b>Gradient Size:</b> <select name="gsize" style="font-family:arial;font-size:9pt;">'
tstylehtml[18]+='<option value="1">100%'
tstylehtml[18]+='<option value="0.9">90%'
tstylehtml[18]+='<option value="0.8">80%'
tstylehtml[18]+='<option value="0.7">70%'
tstylehtml[18]+='<option value="0.6">60%'
tstylehtml[18]+='<option value="0.5">50%'
tstylehtml[18]+='<option value="0.4">40%'
tstylehtml[18]+='<option value="0.3">30%'
tstylehtml[18]+='<option value="0.2">20%'
tstylehtml[18]+='<option value="0.1">10%'
tstylehtml[18]+='<option value="0">0%'
tstylehtml[18]+='</select> of the page<BR><BR>'

tstylenumber[19]="Y"
tstylehtml[19]='<b>Gradient Size:</b> <select name="gsize" style="font-family:arial;font-size:9pt;">'
tstylehtml[19]+='<option value="1">100%'
tstylehtml[19]+='<option value="0.9">90%'
tstylehtml[19]+='<option value="0.8">80%'
tstylehtml[19]+='<option value="0.7">70%'
tstylehtml[19]+='<option value="0.6">60%'
tstylehtml[19]+='<option value="0.5">50%'
tstylehtml[19]+='<option value="0.4">40%'
tstylehtml[19]+='<option value="0.3">30%'
tstylehtml[19]+='<option value="0.2">20%'
tstylehtml[19]+='<option value="0.1">10%'
tstylehtml[19]+='<option value="0">0%'
tstylehtml[19]+='</select> of the page<BR><BR>'

tstylenumber[20]="Y"
tstylehtml[20]='<b>Gradient Size:</b> <select name="gsize" style="font-family:arial;font-size:9pt;">'
tstylehtml[20]+='<option value="1">100%'
tstylehtml[20]+='<option value="0.9">90%'
tstylehtml[20]+='<option value="0.8">80%'
tstylehtml[20]+='<option value="0.7">70%'
tstylehtml[20]+='<option value="0.6">60%'
tstylehtml[20]+='<option value="0.5">50%'
tstylehtml[20]+='<option value="0.4">40%'
tstylehtml[20]+='<option value="0.3">30%'
tstylehtml[20]+='<option value="0.2">20%'
tstylehtml[20]+='<option value="0.1">10%'
tstylehtml[20]+='<option value="0">0%'
tstylehtml[20]+='</select> of the page<BR><BR>'


tstylenumber[21]="Y"
tstylehtml[21]='<b>Gradient Size:</b> <select name="gsize" style="font-family:arial;font-size:9pt;">'
tstylehtml[21]+='<option value="1">100%'
tstylehtml[21]+='<option value="0.9">90%'
tstylehtml[21]+='<option value="0.8">80%'
tstylehtml[21]+='<option value="0.7">70%'
tstylehtml[21]+='<option value="0.6">60%'
tstylehtml[21]+='<option value="0.5">50%'
tstylehtml[21]+='<option value="0.4">40%'
tstylehtml[21]+='<option value="0.3">30%'
tstylehtml[21]+='<option value="0.2">20%'
tstylehtml[21]+='<option value="0.1">10%'
tstylehtml[21]+='<option value="0">0%'
tstylehtml[21]+='</select> of the page<BR><BR>'

tstylenumber[35]="Y"
tstylehtml[35]='<b>Maximum Pixelated Square Width:</b> <select name="maxpixwidth" style="font-family:arial;font-size:9pt;">'
for(var i=2;i<=50;i++){
tstylehtml[35]+='<option value="'+i+'">'+i
}
tstylehtml[35]+='</select> pixels<BR><BR>'


tstylenumber[42]="Y"
tstylehtml[42]='<b>Bands:</b> <select name="slidebands" style="font-family:arial;font-size:9pt;">'
for(var i=2;i<=100;i++){
tstylehtml[42]+='<option value="'+i+'">'+i
}
tstylehtml[42]+='</select><BR><BR>'


tstylenumber[43]="Y"
tstylehtml[43]='<b>Bands:</b> <select name="slidebands" style="font-family:arial;font-size:9pt;">'
for(var i=2;i<=100;i++){
tstylehtml[43]+='<option value="'+i+'">'+i
}
tstylehtml[43]+='</select><BR><BR>'


tstylenumber[44]="Y"
tstylehtml[44]='<b>Bands:</b> <select name="slidebands" style="font-family:arial;font-size:9pt;">'
for(var i=2;i<=100;i++){
tstylehtml[44]+='<option value="'+i+'">'+i
}
tstylehtml[44]+='</select><BR><BR>'


tstylenumber[48]="Y"
tstylehtml[48]='<b>Spiral Grid Columns:</b> <select name="spiralcols" style="font-family:arial;font-size:9pt;">'
for(var i=3;i<=100;i++){
tstylehtml[48]+='<option value="'+i+'">'+i
}
tstylehtml[48]+='</select><BR><BR>'
tstylehtml[48]+='<b>Spiral Grid Rows:</b> <select name="spiralrows" style="font-family:arial;font-size:9pt;">'
for(var i=3;i<=100;i++){
tstylehtml[48]+='<option value="'+i+'">'+i
}
tstylehtml[48]+='</select><BR><BR>'


tstylenumber[49]="Y"
tstylehtml[49]='<b>Rows:</b> <select name="spiralrows" style="font-family:arial;font-size:9pt;">'
for(var i=1;i<=100;i++){
tstylehtml[49]+='<option value="'+i+'">'+i
}
tstylehtml[49]+='</select><BR><BR>'


tstylenumber[50]="Y"
tstylehtml[50]='<b>Columns:</b> <select name="spiralcols" style="font-family:arial;font-size:9pt;">'
for(var i=1;i<=100;i++){
tstylehtml[50]+='<option value="'+i+'">'+i
}
tstylehtml[50]+='</select><BR><BR>'


tstylenumber[52]="Y"
tstylehtml[52]='<b>Rows:</b> <select name="spiralrows" style="font-family:arial;font-size:9pt;">'
for(var i=3;i<=100;i++){
tstylehtml[52]+='<option value="'+i+'">'+i
}
tstylehtml[52]+='</select><BR><BR>'


tstylenumber[53]="Y"
tstylehtml[53]='<b>Columns:</b> <select name="spiralcols" style="font-family:arial;font-size:9pt;">'
for(var i=3;i<=100;i++){
tstylehtml[53]+='<option value="'+i+'">'+i
}
tstylehtml[53]+='</select><BR><BR>'


tstylenumber[61]="Y"
tstylehtml[61]='<b>Wheel Spokes:</b> <select name="wheelspokes" style="font-family:arial;font-size:9pt;">'
for(var i=2;i<=20;i++){
tstylehtml[61]+='<option value="'+i+'">'+i
}
tstylehtml[61]+='</select><BR><BR>'


tstylenumber[62]="Y"
tstylehtml[62]='<b>ZigZag Grid Columns:</b> <select name="zigzagcols" style="font-family:arial;font-size:9pt;">'
for(var i=1;i<=100;i++){
tstylehtml[62]+='<option value="'+i+'">'+i
}
tstylehtml[62]+='</select><BR><BR>'
tstylehtml[62]+='<b>ZigZag Grid Rows:</b> <select name="zigzagrows" style="font-family:arial;font-size:9pt;">'
for(var i=1;i<=100;i++){
tstylehtml[62]+='<option value="'+i+'">'+i
}
tstylehtml[62]+='</select><BR><BR>'




var tduration
var tmotion, torientation
var tbands, tdirection
var tcols, trows
var toverlap
var tgradsize, twipestyle
var tirisstyle
var tmaxsquare
var tslidestyle
var tgridsizex, tgridsizey
var tstretchstyle
var tspokes

var ttypenum

var tranzstyle


var rtshow
var rtcode

function tproc(ptype){

if(document.tranzform.TStyle.value){

tduration=document.tranzform.TDuration.value

//determine transition type
tranzstyle=document.tranzform.TStyle.value


if(tranzstyle>=1 && tranzstyle<=4){
ttypenum=1

if(tranzstyle==1){
tmotion="out"
torientation="vertical"

rtshow="Doors Opening - Vertical [duration="+tduration+"]"


}

if(tranzstyle==2){
tmotion="in"
torientation="vertical"

rtshow="Doors Closing - Vertical [duration="+tduration+"]"

}

if(tranzstyle==3){
tmotion="out"
torientation="horizontal"

rtshow="Doors Opening - Horizontal [duration="+tduration+"]"

}

if(tranzstyle==4){
tmotion="in"
torientation="horizontal"

rtshow="Doors Closing - Horizontal [duration="+tduration+"]"

}

tranztype="Barn(duration="+tduration+", motion='"+tmotion+"', orientation='"+torientation+"')"



}

if(tranzstyle>=5 && tranzstyle<=12){
ttypenum=2

if(tranzstyle==5){
tbands=1
tdirection="up"

rtshow="Wipe Up [duration="+tduration+"]"


}

if(tranzstyle==6){
tbands=1
tdirection="down"

rtshow="Wipe Down [duration="+tduration+"]"

}

if(tranzstyle==7){
tbands=1
tdirection="right"

rtshow="Wipe Right [duration="+tduration+"]"

}

if(tranzstyle==8){
tbands=1
tdirection="left"

rtshow="Wipe Left [duration="+tduration+"]"

}

if(tranzstyle==9){
tbands=document.tranzform.blindsbands.value
tdirection="up"

rtshow="Blinds - Up [duration="+tduration+", bands="+tbands+"]"

}

if(tranzstyle==10){
tbands=document.tranzform.blindsbands.value
tdirection="down"

rtshow="Blinds - Down [duration="+tduration+", bands="+tbands+"]"

}

if(tranzstyle==11){
tbands=document.tranzform.blindsbands.value
tdirection="right"

rtshow="Blinds - Right [duration="+tduration+", bands="+tbands+"]"

}

if(tranzstyle==12){
tbands=document.tranzform.blindsbands.value
tdirection="left"

rtshow="Blinds - Left [duration="+tduration+", bands="+tbands+"]"

}


tranztype="Blinds(duration="+tduration+", bands="+tbands+", direction='"+tdirection+"')"


}

if(tranzstyle>=13 && tranzstyle<=16){
ttypenum=3

tcols=document.tranzform.checkercols.value
trows=document.tranzform.checkerrows.value

if(tranzstyle==13){
tdirection="up"

rtshow="Checkerboard - Up [duration="+tduration+", cols="+tcols+", rows="+trows+"]"

}

if(tranzstyle==14){
tdirection="down"

rtshow="Checkerboard - Down [duration="+tduration+", cols="+tcols+", rows="+trows+"]"

}

if(tranzstyle==15){
tdirection="right"

rtshow="Checkerboard - Right [duration="+tduration+", cols="+tcols+", rows="+trows+"]"

}

if(tranzstyle==16){
tdirection="left"

rtshow="Checkerboard - Left [duration="+tduration+", cols="+tcols+", rows="+trows+"]"

}


tranztype="CheckerBoard(duration="+tduration+", squaresX="+tcols+", squaresY="+trows+", direction='"+tdirection+"')"



}



if(tranzstyle==17){
ttypenum=4

toverlap=document.tranzform.overlaptime.value
var overlist=document.tranzform.overlaptime
tover2=overlist.options[overlist.selectedIndex].text

rtshow="Fade [duration="+tduration+", overlap="+tover2+"]"

tranztype="Fade(duration="+tduration+", overlap="+toverlap+")"




}

if(tranzstyle>=18 && tranzstyle<=21){
ttypenum=5

tgradsize=document.tranzform.gsize.value

var gradlist=document.tranzform.gsize
tgsize2=gradlist.options[gradlist.selectedIndex].text


if(tranzstyle==18){
tmotion="reverse"
twipestyle=1

rtshow="GradientWipe - Up [duration="+tduration+", size="+tgsize2+"]"

}

if(tranzstyle==19){
tmotion="forward"
twipestyle="1"

rtshow="GradientWipe - Down [duration="+tduration+", size="+tgsize2+"]"

}

if(tranzstyle==20){
tmotion="forward"
twipestyle="0"

rtshow="GradientWipe - Right [duration="+tduration+", size="+tgsize2+"]"

}

if(tranzstyle==21){
tmotion="reverse"
twipestyle="0"

rtshow="GradientWipe - Left [duration="+tduration+", size="+tgsize2+"]"

}

tranztype="GradientWipe(duration="+tduration+", motion='"+tmotion+"', gradientSize="+tgradsize+", wipestyle="+twipestyle+")"



}

if(tranzstyle==22){
ttypenum=6

tranztype="Inset(duration="+tduration+")"

rtshow="Diagonal DownRight [duration="+tduration+"]"

}

if(tranzstyle>=23 && tranzstyle<=34){
ttypenum=7

if(tranzstyle==23){
tmotion="in"
tirisstyle="SQUARE"

rtshow="Box In [duration="+tduration+"]"

}

if(tranzstyle==24){
tmotion="out"
tirisstyle="SQUARE"

rtshow="Box Out [duration="+tduration+"]"

}

if(tranzstyle==25){
tmotion="in"
tirisstyle="CIRCLE"

rtshow="Circle In [duration="+tduration+"]"

}

if(tranzstyle==26){
tmotion="out"
tirisstyle="CIRCLE"

rtshow="Circle Out [duration="+tduration+"]"

}

if(tranzstyle==27){
tmotion="in"
tirisstyle="PLUS"

rtshow="Plus Sign In [duration="+tduration+"]"

}

if(tranzstyle==28){
tmotion="out"
tirisstyle="PLUS"

rtshow="Plus Sign Out [duration="+tduration+"]"

}

if(tranzstyle==29){
tmotion="in"
tirisstyle="CROSS"

rtshow="X-In [duration="+tduration+"]"

}

if(tranzstyle==30){
tmotion="out"
tirisstyle="CROSS"

rtshow="X-Out [duration="+tduration+"]"

}

if(tranzstyle==31){
tmotion="in"
tirisstyle="DIAMOND"

rtshow="Diamond In [duration="+tduration+"]"

}

if(tranzstyle==32){
tmotion="out"
tirisstyle="DIAMOND"

rtshow="Diamond Out [duration="+tduration+"]"

}

if(tranzstyle==33){
tmotion="in"
tirisstyle="STAR"

rtshow="Star In [duration="+tduration+"]"

}

if(tranzstyle==34){
tmotion="out"
tirisstyle="STAR"

rtshow="Star Out [duration="+tduration+"]"

}


tranztype="Iris(duration="+tduration+", motion='"+tmotion+"', irisStyle='"+tirisstyle+"')"


}

if(tranzstyle==35){
ttypenum=8

tmaxsquare=document.tranzform.maxpixwidth.value

rtshow="Pixelate [duration="+tduration+", max square width="+tmaxsquare+"]"

tranztype="Pixelate(duration="+tduration+", enabled='false', maxSquare="+tmaxsquare+")"


}

if(tranzstyle>=36 && tranzstyle<=38){
ttypenum=9

if(tranzstyle==36){
twipestyle="RADIAL"

rtshow="Radial WindowWipe [duration="+tduration+"]"

}

if(tranzstyle==37){
twipestyle="CLOCK"

rtshow="Clock WindowWipe [duration="+tduration+"]"

}

if(tranzstyle==38){
twipestyle="WEDGE"

rtshow="Wedge WindowWipe [duration="+tduration+"]"

}


tranztype="RadialWipe(duration="+tduration+", wipeStyle='"+twipestyle+"')"


}

if(tranzstyle>=39 && tranzstyle<=40){
ttypenum=10

if(tranzstyle==39){

rtshow="Random Lines - Horizontal [duration="+tduration+"]"
tranztype="RevealTrans(transition=21, duration="+tduration+")"

}

if(tranzstyle==40){

rtshow="Random Lines - Vertical [duration="+tduration+"]"
tranztype="RevealTrans(transition=22, duration="+tduration+")"

}



}

if(tranzstyle==41){
ttypenum=11

rtshow="Random Dissolve [duration="+tduration+"]"


tranztype="RandomDissolve(duration="+tduration+")"


}

if(tranzstyle>=42 && tranzstyle<=47){
ttypenum=12


if(tranzstyle==42){
tslidestyle="HIDE"
tbands=document.tranzform.slidebands.value

rtshow="Slice Out [duration="+tduration+", bands="+tbands+"]"

}

if(tranzstyle==43){
tslidestyle="PUSH"
tbands=document.tranzform.slidebands.value

rtshow="Slice In [duration="+tduration+", bands="+tbands+"]"

}

if(tranzstyle==44){
tslidestyle="SWAP"
tbands=document.tranzform.slidebands.value

rtshow="Slice Swap [duration="+tduration+", bands="+tbands+"]"

}

if(tranzstyle==45){
tslidestyle="HIDE"
tbands=1

rtshow="HideOut [duration="+tduration+"]"

}

if(tranzstyle==46){
tslidestyle="PUSH"
tbands=1

rtshow="PushAway [duration="+tduration+"]"

}

if(tranzstyle==47){
tslidestyle="SWAP"
tbands=1

rtshow="SwapOver [duration="+tduration+"]"

}



tranztype="Slide(duration="+tduration+", bands="+tbands+", slideStyle='"+tslidestyle+"')"

}

if(tranzstyle>=48 && tranzstyle<=53){
ttypenum=13

if(tranzstyle==48){
tgridsizex=document.tranzform.spiralcols.value
tgridsizey=document.tranzform.spiralrows.value

rtshow="Spiral [duration="+tduration+", cols="+tgridsizex+", rows="+tgridsizey+"]"

}

if(tranzstyle==49){
tgridsizex=1
tgridsizey=document.tranzform.spiralrows.value

rtshow="TopBottom [duration="+tduration+", rows="+tgridsizey+"]"

}

if(tranzstyle==50){
tgridsizex=document.tranzform.spiralcols.value
tgridsizey=1

rtshow="LeftRight [duration="+tduration+", cols="+tgridsizex+"]"

}

if(tranzstyle==51){
tgridsizex=2
tgridsizey=2

rtshow="QuadBlocks [duration="+tduration+"]"

}

if(tranzstyle==52){
tgridsizex=2
tgridsizey=document.tranzform.spiralrows.value

rtshow="Vertical Halves [duration="+tduration+", rows="+tgridsizey+"]"

}

if(tranzstyle==53){
tgridsizex=document.tranzform.spiralcols.value
tgridsizey=2

rtshow="Horizontal Halves [duration="+tduration+", cols="+tgridsizex+"]"

}



tranztype="Spiral(duration="+tduration+", gridSizeX="+tgridsizex+", gridSizeY="+tgridsizey+")"


}

if(tranzstyle>=54 && tranzstyle<=56){
ttypenum=14

if(tranzstyle==54){
tstretchstyle="PUSH"

rtshow="CubeTurn [duration="+tduration+"]"

}

if(tranzstyle==55){
tstretchstyle="HIDE"

rtshow="CoverUp [duration="+tduration+"]"

}

if(tranzstyle==56){
tstretchstyle="SPIN"

rtshow="StretchOut [duration="+tduration+"]"

}


tranztype="Stretch(duration="+tduration+", stretchStyle='"+tstretchstyle+"')"


}

if(tranzstyle>=57 && tranzstyle<=60){
ttypenum=15

if(tranzstyle==57){
tmotion="leftdown"

rtshow="Diagonal Saw - Left Down [duration="+tduration+"]"

}

if(tranzstyle==58){
tmotion="leftup"

rtshow="Diagonal Saw - Left Up [duration="+tduration+"]"

}

if(tranzstyle==59){
tmotion="rightdown"

rtshow="Diagonal Saw - Right Down [duration="+tduration+"]"

}

if(tranzstyle==60){
tmotion="rightup"

rtshow="Diagonal Saw - Right Up [duration="+tduration+"]"

}


tranztype="Strips(duration="+tduration+", motion='"+tmotion+"')"


}

if(tranzstyle==61){
ttypenum=16

tspokes=document.tranzform.wheelspokes.value

rtshow="Wheel Wipe [duration="+tduration+", spokes="+tspokes+"]"


tranztype="Wheel(duration="+tduration+", spokes="+tspokes+")"


}

if(tranzstyle==62){
ttypenum=17

tgridsizex=document.tranzform.zigzagcols.value
tgridsizey=document.tranzform.zigzagrows.value

rtshow="ZigZag [duration="+tduration+", cols="+tgridsizex+", rows="+tgridsizey+"]"


tranztype="ZigZag(duration="+tduration+", gridSizeX="+tgridsizex+", gridSizeY="+tgridsizey+")"



}







rtcode="progid:DXImageTransform.Microsoft."+tranztype


if(ptype=="prev"){
showprev()
}

if(ptype=="arot"){
addrotate()
}




}
else{
alert("Please select a Style first.")
}

}



// BEGIN Screenshot



var nextadsettings=0


var newboxhtml=""

var scnum=0

var prevstart=0


function showprev(){


scnum++

if(scnum>ssrotatetot){
scnum=1
}


newboxhtml=""
newboxhtml+='<img src="scimage'+ssrssimage[scnum]+'.jpg" width=300 height=200 border=0></a>'



document.all.prevwindowbox2.style.filter=rtcode

document.all.prevwindowbox2.filters[0].apply();

document.all.prevwindowbox2.style.backgroundColor="#FFFFFF"
document.all.prevwindowbox2.innerHTML=newboxhtml

document.all.prevwindowbox2.filters[0].play();



}









var rotatelisttot=0
var srotatetot=0
var rotateshow=new Array()
var rotatecode=new Array

var newrrboxhtml

function addrotate(){

if(document.tranzform.TStyle.value){

rotatelisttot++
srotatetot=rotatelisttot

rotateshow[rotatelisttot]=rtshow
rotatecode[rotatelisttot]=rtcode

if(rotatelisttot>1){
srotatetot=1
}

newrrboxhtml='<select name="RRotation" size="'+srotatetot+'" style="font-family:arial;font-size:8pt;">\n'
for(var i=1;i<=rotatelisttot;i++){
newrrboxhtml+='<option value="'+i+'">'+rotateshow[i]+'\n'
}
newrrboxhtml+='</select> <input type=button value="Remove" style="font-family:arial;font-size:8pt;" onClick="remrotate()" title="Remove transition from the Random Rotation List" style="font-family:arial;font-size:9pt;background-color:#FFFFCC;"><BR><BR>'
document.all.rrbox.innerHTML=newrrboxhtml

}
else{
alert("Please select a style.")
}

}

var remon=0

function remrotate(){

var selectfnd=0

for(var i=0;i<document.tranzform.RRotation.length;i++){
if(document.tranzform.RRotation.options[i].selected){
selectfnd=1
}
}

if(selectfnd==1){

if(confirm("Click OK to REMOVE this transition from the Transition Rotation List")){

var a=0

var rrseltot=0

var rrlist=document.tranzform.RRotation
var removenum=rrlist.options[rrlist.selectedIndex].value

for(var i=1;i<=rotatelisttot;i++){
if(removenum==i){
rrseltot++
}
else{
a++
rotateshow[a]=rotateshow[i]
rotatecode[a]=rotatecode[i]
}
}

rotatelisttot--
srotatetot=rotatelisttot

if(rotatelisttot>1){
srotatetot=1
}


if(rotatelisttot==0){
document.all.rrbox.innerHTML="<i>[no transitions added to rotation yet]</i><BR><BR>"
}
else{

newrrboxhtml='<select name="RRotation" size="'+srotatetot+'" style="font-family:arial;font-size:8pt;">\n'
for(var i=1;i<=rotatelisttot;i++){
newrrboxhtml+='<option value="'+i+'">'+rotateshow[i]+'\n'
}
newrrboxhtml+='</select> <input type=button style="font-family:arial;font-size:8pt;" value="Remove" onClick="remrotate()" title="Remove transition from the Random Rotation List" style="font-family:arial;font-size:9pt;background-color:#FFFFCC;"><BR><BR>'
document.all.rrbox.innerHTML=newrrboxhtml
}


}


}
else{
alert("Please select a transition then click the Remove button.")
}

}


function tstyleselect(){
tstylenum=document.tranzform.TStyle.value
if(tstylenumber[tstylenum]=="Y"){
document.all.stylebox.innerHTML=tstylehtml[tstylenum]
}
else{
document.all.stylebox.innerHTML=""
}

}


var cooklines=""
var codetxt=""

var tzfreq

var vlist
var vcnt=0






var addeebgblack, addeebggray, addeebgred, addeebgorange, addeebgyellow, addeebgblue, addeebggreen
var addeebgpurple, addeebgpink, addeebghotpink, addeebggold, addeebgbrown, addeebgbeige, addeebgwhite

var addeelightred, addeelightorange, addeelightyellow, addeelightblue, addeelightgreen, addeelightlimegreen
var addeelightpurple, addeelighthotpink, addeelightgold, addeelightbrown

var addeecolorinvert, addeexray, addeeemboss, addeeengrave, addeegrayscale, addeemotionblur, addeewave, addeepixelated
var addee25trans, addee50trans, addee75trans, addeeflipv, addeefliph, addee90rotate, addee180rotate, addee270rotate

var eerot=new Array()
var eerotatetot=0


function getcode(){

vcnt=0
vlist="*** Incomplete Form Submission ***\n\nPlease complete the following:\n\n"



//validate form

if(!document.tranzform.tranzevent.value){
vcnt++
vlist+="... select an Event\n"
}


if(rotatelisttot==0){
vcnt++
vlist+="... add to the Transition Rotation List (Click on Transitions tab)\n"
}


if(vcnt>0){
alert(vlist)

}
else{

transtab.style.border="1px solid #808080"
typetab.style.border="1px solid #808080"
exiteffectstab.style.border="1px solid #808080"
getcodetab.style.border="1px solid #000000"

typetab.style.borderBottom="1px solid #000000"
transtab.style.borderBottom="1px solid #000000"
exiteffectstab.style.borderBottom="1px solid #000000"
getcodetab.style.borderBottom="2px solid #FFFF99"

typetab.style.zIndex=0
transtab.style.zIndex=0
exiteffectstab.style.zIndex=0
getcodetab.style.zIndex=2

transtab.style.backgroundColor="#DCDCDC"
typetab.style.backgroundColor="#DCDCDC"
exiteffectstab.style.backgroundColor="#DCDCDC"
getcodetab.style.backgroundColor="#FFFF99"

transtab.style.color="#808080"
typetab.style.color="#808080"
exiteffectstab.style.color="#808080"
getcodetab.style.color="#000000"

getcodebox.style.visibility="visible"
typebox.style.visibility="hidden"
transbox.style.visibility="hidden"
exiteffectsbox.style.visibility="hidden"







tevent=document.tranzform.tranzevent.value


// BEGIN Quick Pre-Exit Effects

if(document.tranzform.eebgblack.checked){
addeebgblack="Y"
eerotatetot++
eerot[eerotatetot]="document.body.style.background=\\\"\\\";document.body.style.backgroundColor=\\\"black\\\";"
}

if(document.tranzform.eebggray.checked){
addeebggray="Y"
eerotatetot++
eerot[eerotatetot]="document.body.style.background=\\\"\\\";document.body.style.backgroundColor=\\\"gray\\\";"
}

if(document.tranzform.eebgred.checked){
addeebgred="Y"
eerotatetot++
eerot[eerotatetot]="document.body.style.background=\\\"\\\";document.body.style.backgroundColor=\\\"red\\\";"
}

if(document.tranzform.eebgorange.checked){
addeebgorange="Y"
eerotatetot++
eerot[eerotatetot]="document.body.style.background=\\\"\\\";document.body.style.backgroundColor=\\\"orange\\\";"
}

if(document.tranzform.eebgyellow.checked){
addeebgyellow="Y"
eerotatetot++
eerot[eerotatetot]="document.body.style.background=\\\"\\\";document.body.style.backgroundColor=\\\"yellow\\\";"
}

if(document.tranzform.eebgblue.checked){
addeebgblue="Y"
eerotatetot++
eerot[eerotatetot]="document.body.style.background=\\\"\\\";document.body.style.backgroundColor=\\\"blue\\\";"
}

if(document.tranzform.eebggreen.checked){
addeebggreen="Y"
eerotatetot++
eerot[eerotatetot]="document.body.style.background=\\\"\\\";document.body.style.backgroundColor=\\\"green\\\";"
}

if(document.tranzform.eebgpurple.checked){
addeebgpurple="Y"
eerotatetot++
eerot[eerotatetot]="document.body.style.background=\\\"\\\";document.body.style.backgroundColor=\\\"purple\\\";"
}

if(document.tranzform.eebgpink.checked){
addeebgpink="Y"
eerotatetot++
eerot[eerotatetot]="document.body.style.background=\\\"\\\";document.body.style.backgroundColor=\\\"pink\\\";"
}

if(document.tranzform.eebghotpink.checked){
addeebghotpink="Y"
eerotatetot++
eerot[eerotatetot]="document.body.style.background=\\\"\\\";document.body.style.backgroundColor=\\\"hotpink\\\";"
}

if(document.tranzform.eebggold.checked){
addeebggold="Y"
eerotatetot++
eerot[eerotatetot]="document.body.style.background=\\\"\\\";document.body.style.backgroundColor=\\\"gold\\\";"
}

if(document.tranzform.eebgbrown.checked){
addeebgbrown="Y"
eerotatetot++
eerot[eerotatetot]="document.body.style.background=\\\"\\\";document.body.style.backgroundColor=\\\"brown\\\";"
}

if(document.tranzform.eebgbeige.checked){
addeebgbeige="Y"
eerotatetot++
eerot[eerotatetot]="document.body.style.background=\\\"\\\";document.body.style.backgroundColor=\\\"beige\\\";"
}

if(document.tranzform.eebgwhite.checked){
addeebgwhite="Y"
eerotatetot++
eerot[eerotatetot]="document.body.style.background=\\\"\\\";document.body.style.backgroundColor=\\\"white\\\";"
}

if(document.tranzform.eelightred.checked){
addeelightred="Y"
eerotatetot++
eerot[eerotatetot]="document.body.style.filter=\\\"progid:DXImageTransform.Microsoft.Light()\\\";document.body.filters.item(\\\"DXImageTransform.Microsoft.Light\\\").addAmbient(255,0,0,100);"
}

if(document.tranzform.eelightorange.checked){
addeelightorange="Y"
eerotatetot++
eerot[eerotatetot]="document.body.style.filter=\\\"progid:DXImageTransform.Microsoft.Light()\\\";document.body.filters.item(\\\"DXImageTransform.Microsoft.Light\\\").addAmbient(255,128,0,100);"
}

if(document.tranzform.eelightyellow.checked){
addeelightyellow="Y"
eerotatetot++
eerot[eerotatetot]="document.body.style.filter=\\\"progid:DXImageTransform.Microsoft.Light()\\\";document.body.filters.item(\\\"DXImageTransform.Microsoft.Light\\\").addAmbient(255,255,0,100);"
}

if(document.tranzform.eelightblue.checked){
addeelightblue="Y"
eerotatetot++
eerot[eerotatetot]="document.body.style.filter=\\\"progid:DXImageTransform.Microsoft.Light()\\\";document.body.filters.item(\\\"DXImageTransform.Microsoft.Light\\\").addAmbient(0,0,255,100);"
}

if(document.tranzform.eelightgreen.checked){
addeelightgreen="Y"
eerotatetot++
eerot[eerotatetot]="document.body.style.filter=\\\"progid:DXImageTransform.Microsoft.Light()\\\";document.body.filters.item(\\\"DXImageTransform.Microsoft.Light\\\").addAmbient(0,128,0,100);"
}

if(document.tranzform.eelightlimegreen.checked){
addeelightlimegreen="Y"
eerotatetot++
eerot[eerotatetot]="document.body.style.filter=\\\"progid:DXImageTransform.Microsoft.Light()\\\";document.body.filters.item(\\\"DXImageTransform.Microsoft.Light\\\").addAmbient(0,255,0,100);"
}

if(document.tranzform.eelightpurple.checked){
addeelightpurple="Y"
eerotatetot++
eerot[eerotatetot]="document.body.style.filter=\\\"progid:DXImageTransform.Microsoft.Light()\\\";document.body.filters.item(\\\"DXImageTransform.Microsoft.Light\\\").addAmbient(128,0,128,100);"
}

if(document.tranzform.eelighthotpink.checked){
addeelighthotpink="Y"
eerotatetot++
eerot[eerotatetot]="document.body.style.filter=\\\"progid:DXImageTransform.Microsoft.Light()\\\";document.body.filters.item(\\\"DXImageTransform.Microsoft.Light\\\").addAmbient(255,0,128,100);"
}

if(document.tranzform.eelightgold.checked){
addeelightgold="Y"
eerotatetot++
eerot[eerotatetot]="document.body.style.filter=\\\"progid:DXImageTransform.Microsoft.Light()\\\";document.body.filters.item(\\\"DXImageTransform.Microsoft.Light\\\").addAmbient(205,204,0,100);"
}

if(document.tranzform.eelightbrown.checked){
addeelightbrown="Y"
eerotatetot++
eerot[eerotatetot]="document.body.style.filter=\\\"progid:DXImageTransform.Microsoft.Light()\\\";document.body.filters.item(\\\"DXImageTransform.Microsoft.Light\\\").addAmbient(128,64,0,100);"
}



if(document.tranzform.eecolorinvert.checked){
addeecolorinvert="Y"
eerotatetot++
eerot[eerotatetot]="document.body.style.filter=\\\"progid:DXImageTransform.Microsoft.BasicImage(invert=1)\\\";"
}

if(document.tranzform.eexray.checked){
addeexray="Y"
eerotatetot++
eerot[eerotatetot]="document.body.style.filter=\\\"progid:DXImageTransform.Microsoft.BasicImage(XRay=1)\\\";"
}

if(document.tranzform.eeemboss.checked){
addeeemboss="Y"
eerotatetot++
eerot[eerotatetot]="document.body.style.filter=\\\"progid:DXImageTransform.Microsoft.Emboss()\\\";"
}

if(document.tranzform.eeengrave.checked){
addeeengrave="Y"
eerotatetot++
eerot[eerotatetot]="document.body.style.filter=\\\"progid:DXImageTransform.Microsoft.Engrave()\\\";"
}

if(document.tranzform.eegrayscale.checked){
addeegrayscale="Y"
eerotatetot++
eerot[eerotatetot]="document.body.style.filter=\\\"progid:DXImageTransform.Microsoft.BasicImage(grayScale=1)\\\";"
}

if(document.tranzform.eemotionblur.checked){
addeemotionblur="Y"
eerotatetot++
eerot[eerotatetot]="document.body.style.filter=\\\"progid:DXImageTransform.Microsoft.MotionBlur(strength=30, direction=45)\\\";"
}

if(document.tranzform.eewave.checked){
addeewave="Y"
eerotatetot++
eerot[eerotatetot]="document.body.style.filter=\\\"progid:DXImageTransform.Microsoft.Wave(freq=5, strength=30)\\\";"
}

if(document.tranzform.eepixelated.checked){
addeepixelated="Y"
eerotatetot++
eerot[eerotatetot]="document.body.style.filter=\\\"progid:DXImageTransform.Microsoft.Pixelate()\\\";"
}

if(document.tranzform.ee25trans.checked){
addee25trans="Y"
eerotatetot++
eerot[eerotatetot]="document.body.style.filter=\\\"progid:DXImageTransform.Microsoft.Alpha(opacity=75)\\\";"
}

if(document.tranzform.ee50trans.checked){
addee50trans="Y"
eerotatetot++
eerot[eerotatetot]="document.body.style.filter=\\\"progid:DXImageTransform.Microsoft.Alpha(opacity=50)\\\";"
}

if(document.tranzform.ee75trans.checked){
addee75trans="Y"
eerotatetot++
eerot[eerotatetot]="document.body.style.filter=\\\"progid:DXImageTransform.Microsoft.Alpha(opacity=25)\\\";"
}

if(document.tranzform.eeflipv.checked){
addeeflipv="Y"
eerotatetot++
eerot[eerotatetot]="document.body.style.filter=\\\"progid:DXImageTransform.Microsoft.BasicImage(mirror=1)\\\";"
}

if(document.tranzform.eefliph.checked){
addeefliph="Y"
eerotatetot++
eerot[eerotatetot]="document.body.style.filter=\\\"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)\\\";"
}

if(document.tranzform.ee90rotate.checked){
addee90rotate="Y"
eerotatetot++
eerot[eerotatetot]="document.body.style.filter=\\\"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)\\\";"
}

if(document.tranzform.ee180rotate.checked){
addee180rotate="Y"
eerotatetot++
eerot[eerotatetot]="document.body.style.filter=\\\"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)\\\";"
}

if(document.tranzform.ee270rotate.checked){
addee270rotate="Y"
eerotatetot++
eerot[eerotatetot]="document.body.style.filter=\\\"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)\\\";"
}


// END Quick Pre-Exit Effects




codetxt=""

codetxt+='\<script\>\n'

if(tevent=="Site-Enter"){
codetxt+='if(document.referrer.indexOf(document.domain)==-1){\n'
}

cooklines='function getCookieVal (offset) {\n'
cooklines+='var endstr = document.cookie.indexOf (";", offset);\n'
cooklines+='if (endstr == -1)\n'
cooklines+='endstr = document.cookie.length;\n'
cooklines+='return unescape(document.cookie.substring(offset, endstr));\n'
cooklines+='}\n'

cooklines+='function GetCookie (name) {\n'
cooklines+='var arg = name + "=";\n'
cooklines+='var alen = arg.length;\n'
cooklines+='var clen = document.cookie.length;\n'
cooklines+='var i = 0;\n'
cooklines+='while (i < clen) {\n'
cooklines+='var j = i + alen;\n'
cooklines+='if (document.cookie.substring(i, j) == arg)\n'
cooklines+='return getCookieVal (j);\n'
cooklines+='i = document.cookie.indexOf(" ", i) + 1;\n'
cooklines+='if (i == 0) break; \n'
cooklines+='}\n'
cooklines+='return null;\n'
cooklines+='}\n'



for(var i=0;i<document.tranzform.Freq.length;i++){
if(document.tranzform.Freq[i].checked){
tzfreq=i+1
}
}

var tnow=new Date()
var randckname="tz"+tnow.getTime()


codetxt+="var tzrotatetot="+rotatelisttot+"\n"
codetxt+="var tzrtot2=tzrotatetot-1\n"
codetxt+="var randtranz=Math.round(Math.random()*tzrtot2)+1\n"

codetxt+='var tzrtcode=new Array()\n'
for(var i=1;i<=rotatelisttot;i++){
codetxt+='tzrtcode['+i+']="'+rotatecode[i]+'"\n'
}

codetxt+='var browsversion=0\n'
codetxt+='if (navigator.appVersion.indexOf("MSIE")!=-1){\n'
codetxt+='temp=navigator.appVersion.split("MSIE")\n'
codetxt+='browsversion=parseFloat(temp[1])\n'
codetxt+='}\n'


if(eerotatetot>0){

codetxt+='var eelist=new Array()\n'
codetxt+="var eerotatetot="+eerotatetot+"\n"
codetxt+="var eertot2=eerotatetot-1\n"
codetxt+="var randee=Math.round(Math.random()*eertot2)+1\n"


for(var i=1;i<=eerotatetot;i++){
codetxt+='eelist['+i+']="'+eerot[i]+'"\n'
}

codetxt+='function eeapply(){\n'
codetxt+='eval(eelist[randee])\n'
codetxt+='}\n'


codetxt+='if (browsversion>=5.5){\n'
codetxt+='window.onunload=eeapply\n'
codetxt+='}\n'

}

var metat='&lt;META http-equiv="'+tevent+'" CONTENT="\'\+tzrtcode\[randtranz\]\+\'" /&gt;'

var entercode=""

entercode+='if (browsversion>=5.5){\n'

entercode+='document.body.style.filter=tzrtcode\[randtranz\]\n'
entercode+='document.body.filters[0].apply();document.body.filters[0].play();\n'

entercode+='}\n'



if(tzfreq!=1){
codetxt+=cooklines
codetxt+='var tzfreqcook=GetCookie("'+randckname+'")\n'

codetxt+='if(!tzfreqcook){\n'

if(tevent=="Page-Enter" || tevent=="Site-Enter"){
codetxt+=entercode
}
else{
codetxt+='document.write(\''+metat+'\')\n'
}

if(tzfreq==2){
codetxt+='document.cookie="'+randckname+'=Y"\n'
}

if(tzfreq==3){
var expdays=(document.tranzform.FDays.value)*86400
var exphours=(document.tranzform.FHours.value)*3600
var expminutes=(document.tranzform.FMinutes.value)*60
var expseconds=(document.tranzform.FSeconds.value)*1
var expall=expdays+exphours+expminutes+expseconds
codetxt+='var tzexp=new Date()\n'
codetxt+='var tzsometimefromnow=tzexp.getTime() + ('+expall+'*1000)\n'
codetxt+='tzexp.setTime(tzsometimefromnow)\n'
codetxt+='document.cookie="'+randckname+'=Y; expires="\+tzexp.toGMTString()\n'
}

codetxt+='}\n'

}
else{


if(tevent=="Page-Enter" || tevent=="Site-Enter"){
codetxt+=entercode
}
else{
codetxt+='document.write(\''+metat+'\')\n'
}



}

if(tevent=="Site-Enter"){
codetxt+='}\n'
}

codetxt+='\<\/script\>\n'










if(tevent=="Page-Enter"){
var metacodetxt='&lt;META http-equiv="Page-Enter" CONTENT="progid:DXImageTransform.Microsoft.Fade(duration=0)" /&gt;'
}

if(tevent=="Site-Enter"){
var metacodetxt='&lt;META http-equiv="Site-Enter" CONTENT="progid:DXImageTransform.Microsoft.Fade(duration=0)" /&gt;'
}

var tzcodehtml=""

tzcodehtml+='<font face="arial" style="font-size:12pt;">\n'
tzcodehtml+='<b>Code Installation Instructions:</b>\n'
tzcodehtml+='</font><BR>\n'
tzcodehtml+='\n'
tzcodehtml+='<BR><font face="arial" style="font-size:12pt;">\n'

if(tevent=="Page-Exit" || tevent=="Site-Exit"){

tzcodehtml+='Insert the following code within the HEAD tags \n'
tzcodehtml+='(&lt;HEAD&gt; &lt;/HEAD&gt;) on your web page.<BR><BR>\n'
tzcodehtml+='<center><textarea rows="5" cols="50" wrap=virtual onFocus=\'this.select()\'>\n'
tzcodehtml+=codetxt
tzcodehtml+='</textarea></center><BR><BR><BR>\n'

tzcodehtml+='<b>If you prefer to have less code</b> appear directly on your \n'
tzcodehtml+='web page, you can load this code via an external .js file.<BR><BR>\n'
tzcodehtml+='To do so, simply copy the above code [excluding the SCRIPT tags - copy only the portion between the SCRIPT tags (&lt;script&gt; &lt;/script&gt;)] then save the code in a separate file by itself. \n'
tzcodehtml+='The filename can be any name of your choice and should end with \n'
tzcodehtml+='a .js file extension. Example: <b>tranzcode.js</b><BR><BR>\n'
tzcodehtml+='Then insert only the following code within the HEAD tags \n'
tzcodehtml+='(&lt;HEAD&gt; &lt;/HEAD&gt;) on your web page.<BR><BR>\n'
tzcodehtml+='<center><input type=text value=\'&lt;script src="tranzcode.js"&gt;&lt;/script&gt;\' size=40 onFocus=\'this.select()\'></center><BR><BR>\n'
tzcodehtml+='<b>NOTE:</b> Be sure to upload the .js file to your site\'s server. \n'
tzcodehtml+='The .js filename within the quotes should be either the full or relative \n'
tzcodehtml+='web page location of the .js file where you stored the code.\n'

}



if(tevent=="Page-Enter" || tevent=="Site-Enter"){


tzcodehtml+='Insert the following code within the HEAD tags \n'
tzcodehtml+='(&lt;HEAD&gt; &lt;/HEAD&gt;) on your web page.<BR><BR>\n'
tzcodehtml+='<center><input type=text size=50 value=\''+metacodetxt+'\' onFocus=\'this.select()\'>\n'
tzcodehtml+='</center><BR><BR><BR>\n'

tzcodehtml+='Also, insert the following code right above the closing BODY tag \n'
tzcodehtml+='(&lt;/BODY&gt;) on your web page.<BR><BR>\n'
tzcodehtml+='<center><textarea rows="5" cols="50" wrap=virtual onFocus=\'this.select()\'>\n'
tzcodehtml+=codetxt
tzcodehtml+='</textarea></center><BR><BR><BR>\n'



tzcodehtml+='<b>If you prefer to have less code</b> appear directly on your \n'
tzcodehtml+='web page, you can load this code via an external .js file.<BR><BR>\n'
tzcodehtml+='To do so, simply copy the above code [excluding the SCRIPT tags - copy only the portion between the SCRIPT tags (&lt;script&gt; &lt;/script&gt;)] then save the code in a separate file by itself. \n'
tzcodehtml+='The filename can be any name of your choice and should end with \n'
tzcodehtml+='a .js file extension. Example: <b>tranzcode.js</b><BR><BR>\n'
tzcodehtml+='Then insert only the following code right above the closing BODY tag \n'
tzcodehtml+='(&lt;/BODY&gt;) on your web page.<BR><BR>\n'
tzcodehtml+='<center><input type=text value=\'&lt;script src="tranzcode.js"&gt;&lt;/script&gt;\' size=40 onFocus=\'this.select()\'></center><BR><BR>\n'
tzcodehtml+='<b>NOTE:</b> Be sure to upload the .js file to your site\'s server. \n'
tzcodehtml+='The .js filename within the quotes should be either the full or relative \n'
tzcodehtml+='web page location of the .js file where you stored the code.\n'


}


tzcodehtml+='<BR><BR><BR>\n'

tzcodehtml+='<font face="arial" style="font-size:9pt;">\n'

tzcodehtml+='<b>Time-Saving Tip:</b> Anytime you want to just edit the <b>duration</b> of \n'
tzcodehtml+='a transition effect, you can easily do so via a quick edit to the \n'
tzcodehtml+='above Javascript code.  \n'
tzcodehtml+='Simply find the lines in the above Javascript code that begin with <b>tzrtcode[</b>. These \n'
tzcodehtml+='lines list each of the transition effects that you added to the Rotation List. \n'
tzcodehtml+='To edit the duration for a transition, simply change the number after  \n'
tzcodehtml+='<b>duration=</b> to whatever number of seconds you want the duration to be. \n'

tzcodehtml+='<BR><BR><BR>\n'
tzcodehtml+='<b>Tip To Use If Your Page Has Large Embedded Files:</b><BR><BR>\n'
tzcodehtml+='For transitions shown during an Entrance event, if the web page \n'
tzcodehtml+='that you are installing the code on has lots of graphics or other \n'
tzcodehtml+='embedded files that prolong the page download time, your \n'
tzcodehtml+='transition effects will show better if you set a <b>longer duration</b> \n'
tzcodehtml+='for the transition.<BR><BR>\n'
tzcodehtml+='So if the transition effect doesn\'t seem to \n'
tzcodehtml+='show for as long as the duration that you set (most likely due to \n'
tzcodehtml+='a long download time for the page relative to the duration that you set), \n'
tzcodehtml+='simply follow the quick duration-editing instructions (from the above tip) \n'
tzcodehtml+='to increase the duration until it gives the display effect that you \n'
tzcodehtml+='desire.<BR><BR>\n'
tzcodehtml+='Also, be sure to take into account that visitors with high-speed \n'
tzcodehtml+='connections can see transition effects the best since even pages \n'
tzcodehtml+='with lots of embedded files load quickly \n'
tzcodehtml+='for them. But visitors using dial-up connections may experience \n'
tzcodehtml+='longer download times, which can compromise how the transition \n'
tzcodehtml+='effect is displayed to them if the page takes long to load.\n'


tzcodehtml+='</font>\n'



tzcodehtml+='</font>\n'


getcodepage.innerHTML=tzcodehtml



}
}
// END getcode function



