[common]
total_steps = 5

[step1]
insert_type = html

insert_where = currentSelect

insert_content = ``
<IMG id=Body1 src=""></IMG>``

[step2]
insert_type = script

insert_element = body

insert_element_id = 

insert_where = afterBegin

insert_content = ``
<SCRIPT>
 <!--
 var Light_X=20
 var Light_Y=20
 var Light_Z=40
 var xInc=10;
 var yInc=10;
 var r=125;
 var deg=0;
 var deg1;
 var rad;
 var conversion=(2*3.1415926)/360
 function movefilt()
 {
 Light_X=r+r*Math.cos(deg*conversion);
 Light_Y=r+r*Math.sin(deg*conversion);
 deg+=10;
 if(deg==360)
 deg=0;
 Body1.filters[0].moveLight(0,Light_X,Light_Y,Light_Z,1);
 mytimeout=setTimeout('movefilt()',100);
 }
 function go(){
 Body1.filters.light.addCone(Body1.width/2,Body1.height/2,0,Light_X,Light_Y,0,255,0,150,20);          Body1.filters.light.addAmbient(0,255,0,30)
 var x=0;
 movefilt();
 }
 </SCRIPT>``

[step3]
insert_type = inputdialog

insert_input_dialog_type = file

insert_element = img

insert_element_id = Body1

insert_attribute_key = src

[step4]
insert_type = style

insert_element = img

insert_element_id = Body1

insert_style_key = filter

insert_style_value = light()

[step5]
insert_type = attribute

insert_element = body

insert_attribute_key = onLoad

insert_attribute_value = go()



