<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script type="text/javascript" src="dialog.js"></script>
<script type="text/javascript">
document.write ("<link href='../skin/" + config.Skin + "/dialog.css' type='text/css' rel='stylesheet'>");
var sAction = "INSERT";
var sTitle = lang["DlgComInsert"];
var sel = dialogArguments.eWebEditor.document.selection.createRange();
sel.type = dialogArguments.eWebEditor.document.selection.type;
var oControl;
var sText = lang["DlgArtDefaultText"];
var sFontFamily = lang["DlgArtDefaultFamily"];
var sFontSize = "36";
var sFontUnit = "pt"
var sFontWeight = "normal";
var sFontStyle = "normal";
var sShapeID = "shape_x0000_i0001";
if (sel.type=="Control") {
oControl = sel.item(0);
if (oControl.tagName=="shape"){
if (oControl.textpath.string){
sAction = "MODI";
sTitle = lang["DlgComModify"];
var oTextPath = oControl.all.tags("textpath")(0);
sFontFamily = oTextPath.style.fontFamily;
sFontSize = oTextPath.style.fontSize;
if (sFontSize.substr(sFontSize.length-2)=="px"){
sFontUnit = "px";
}
sFontSize = parseInt(sFontSize);
if (isNaN(sFontSize)) {sFontSize = "36"}
sFontWeight = oTextPath.style.fontWeight;
sFontWeight = sFontWeight.toLowerCase();
if (sFontWeight!="bold") {sFontWeight="normal"}
sFontStyle = oTextPath.style.fontStyle;
sFontStyle = sFontStyle.toLowerCase();
if (sFontStyle!="italic") {sFontStyle="normal"}
sText = oTextPath.string;
sShapeID = "shape"+oControl.getAttribute("myid");
if (sShapeID=="") {sShapeID="shape_x0000_i0001"}
}
}
}
var aArts=new Array(
'<v:shapetype id=_x0000_t136 coordsize = "21600,21600" o:spt = "136" path = " m@7,0 l@8,0 m@5,21600 l@6,21600 e" adj = "10800"><v:formulas><v:f eqn = "sum #0 0 10800 "></v:f><v:f eqn = "prod #0 2 1 "></v:f><v:f eqn = "sum 21600 0 @1 "></v:f><v:f eqn = "sum 0 0 @2 "></v:f><v:f eqn = "sum 21600 0 @3 "></v:f><v:f eqn = "if @0 @3 0 "></v:f><v:f eqn = "if @0 21600 @1 "></v:f><v:f eqn = "if @0 0 @2 "></v:f><v:f eqn = "if @0 @4 21600 "></v:f><v:f eqn = "mid @5 @6 "></v:f><v:f eqn = "mid @8 @5 "></v:f><v:f eqn = "mid @7 @8 "></v:f><v:f eqn = "mid @6 @7 "></v:f><v:f eqn = "sum @6 0 @5 "></v:f></v:formulas><v:path o:connectangles="270,180,90,0" o:connectlocs="@9,0;@10,10800;@11,21600;@12,10800" textpathok = "t" o:connecttype = "custom"></v:path><v:textpath on = "t" fitshape = "t"></v:textpath><v:handles><v:h xrange="6629,14971" position="#0,bottomRight"></v:h></v:handles><o:lock shapetype="t" text="t" v:ext="edit"></o:lock></v:shapetype><v:shape myid=_x0000_i0001 style="WIDTH: 42pt; HEIGHT: 12pt" type = "#_x0000_t136" coordsize = "21600,21600"><v:shadow color = "#868686"></v:shadow><v:textpath style="FONT-SIZE: 12pt; v-text-kern: t" fitpath = "t" trim = "t" string = "WordArt"></v:textpath></v:shape>',
'<v:shapetype id=_x0000_t172 coordsize = "21600,21600" o:spt = "172" path = " m0@0 l21600,0 m0,21600 l21600@1 e" adj = "12000"><v:formulas><v:f eqn = "sum #0 0 0 "></v:f><v:f eqn = "sum 21600 0 @0 "></v:f><v:f eqn = "prod #0 1 2 "></v:f><v:f eqn = "sum @2 10800 0 "></v:f><v:f eqn = "prod @1 1 2 "></v:f><v:f eqn = "sum @4 10800 0 "></v:f></v:formulas><v:path o:connectangles="270,180,90,0" o:connectlocs="10800,@2;0,@3;10800,@5;21600,@4" textpathok = "t" o:connecttype = "custom"></v:path><v:textpath on = "t" fitshape = "t"></v:textpath><v:handles><v:h position="topLeft,#0" yrange="0,15429"></v:h></v:handles><o:lock shapetype="t" text="t" v:ext="edit"></o:lock></v:shapetype><v:shape myid=_x0000_i0002 style="WIDTH: 42pt; HEIGHT: 12pt" type = "#_x0000_t172" coordsize = "21600,21600" fillcolor = "black"><v:shadow color = "#868686"></v:shadow><v:textpath style="FONT-SIZE: 12pt; v-text-kern: t" fitpath = "t" trim = "t" string = "WordArt"></v:textpath></v:shape>',
'<v:shapetype id=_x0000_t144 coordsize = "21600,21600" o:spt = "144" path = " al10800,10800,10800,10800@2@14 e" adj = "11796480"><v:formulas><v:f eqn = "sum #1 0 0 "></v:f><v:f eqn = "sum #0 0 0 "></v:f><v:f eqn = "sum 0 0 #0 "></v:f><v:f eqn = "sumangle #0 0 180 "></v:f><v:f eqn = "sumangle #0 0 90 "></v:f><v:f eqn = "prod @4 2 1 "></v:f><v:f eqn = "sumangle #0 90 0 "></v:f><v:f eqn = "prod @6 2 1 "></v:f><v:f eqn = "abs #0 "></v:f><v:f eqn = "sumangle @8 0 90 "></v:f><v:f eqn = "if @9 @7 @5 "></v:f><v:f eqn = "sumangle @10 0 360 "></v:f><v:f eqn = "if @10 @11 @10 "></v:f><v:f eqn = "sumangle @12 0 360 "></v:f><v:f eqn = "if @12 @13 @12 "></v:f><v:f eqn = "sum 0 0 @14 "></v:f><v:f eqn = "sum 10800 0 0 "></v:f><v:f eqn = "cos 10800 #0 "></v:f><v:f eqn = "sin 10800 #0 "></v:f><v:f eqn = "sum @17 10800 0 "></v:f><v:f eqn = "sum @18 10800 0 "></v:f><v:f eqn = "sum 10800 0 @17 "></v:f><v:f eqn = "if @9 0 21600 "></v:f><v:f eqn = "sum 10800 0 @18 "></v:f></v:formulas><v:path o:connectlocs="10800,@22;@19,@20;@21,@20" textpathok = "t" o:connecttype = "custom"></v:path><v:textpath style="v-text-kern: t" on = "t" fitpath = "t"></v:textpath><v:handles><v:h position="@16,#0" polar="10800,10800"></v:h></v:handles><o:lock shapetype="t" text="t" v:ext="edit"></o:lock></v:shapetype><v:shape myid=_x0000_i0003 style="WIDTH: 42pt; HEIGHT: 12pt" type = "#_x0000_t144" coordsize = "21600,21600" fillcolor = "black"><v:shadow color = "#868686"></v:shadow><v:textpath style="FONT-SIZE: 12pt; fitshape = "t" trim = "t" string = "WordArt"></v:textpath></v:shape>',
'<v:shapetype id=_x0000_t161 coordsize = "21600,21600" o:spt = "161" path = " m0,0 c7200@0,14400@0,21600,0 m0,21600 c7200@1,14400@1,21600,21600 e" adj = "4050"><v:formulas><v:f eqn = "prod #0 4 3 "></v:f><v:f eqn = "sum 21600 0 @0 "></v:f><v:f eqn = "sum #0 0 0 "></v:f><v:f eqn = "sum 21600 0 #0 "></v:f></v:formulas><v:path o:connectangles="270,180,90,0" o:connectlocs="10800,@2;0,10800;10800,@3;21600,10800" textpathok = "t" o:connecttype = "custom"></v:path><v:textpath on = "t" fitshape = "t" xscale = "t"></v:textpath><v:handles><v:h position="center,#0" yrange="0,8100"></v:h></v:handles><o:lock shapetype="t" text="t" v:ext="edit"></o:lock></v:shapetype><v:shape myid=_x0000_i0004 style="WIDTH: 42pt; HEIGHT: 12pt" type = "#_x0000_t161" coordsize = "21600,21600" fillcolor = "black" adj = "5665"><v:shadow color = "#868686"></v:shadow><v:textpath style="FONT-SIZE: 12pt; v-text-kern: t" fitpath = "t" trim = "t" xscale = "f" string = "WordArt"></v:textpath></v:shape>',
'<v:shapetype id=_x0000_t175 coordsize = "21600,21600" o:spt = "175" path = " m0,0 qy10800@0,21600,0 m0@1 qy10800,21600,21600@1 e" adj = "3086"><v:formulas><v:f eqn = "sum #0 0 0 "></v:f><v:f eqn = "sum 21600 0 #0 "></v:f><v:f eqn = "prod @1 1 2 "></v:f><v:f eqn = "sum @2 10800 0 "></v:f></v:formulas><v:path o:connectangles="270,180,90,0" o:connectlocs="10800,@0;0,@2;10800,21600;21600,@2" textpathok = "t" o:connecttype = "custom"></v:path><v:textpath on = "t" fitshape = "t"></v:textpath><v:handles><v:h position="center,#0" yrange="0,7200"></v:h></v:handles><o:lock shapetype="t" text="t" v:ext="edit"></o:lock></v:shapetype><v:shape myid=_x0000_i0005 style="WIDTH: 42pt; HEIGHT: 12pt" type = "#_x0000_t175" coordsize = "21600,21600" fillcolor = "black" adj = "7200"><v:shadow color = "#868686"></v:shadow><v:textpath style="FONT-SIZE: 12pt; v-text-kern: t" fitpath = "t" trim = "t" string = "WordArt"></v:textpath></v:shape>',
'<v:shapetype id=_x0000_t136 coordsize = "21600,21600" o:spt = "136" path = " m@7,0 l@8,0 m@5,21600 l@6,21600 e" adj = "10800"><v:formulas><v:f eqn = "sum #0 0 10800 "></v:f><v:f eqn = "prod #0 2 1 "></v:f><v:f eqn = "sum 21600 0 @1 "></v:f><v:f eqn = "sum 0 0 @2 "></v:f><v:f eqn = "sum 21600 0 @3 "></v:f><v:f eqn = "if @0 @3 0 "></v:f><v:f eqn = "if @0 21600 @1 "></v:f><v:f eqn = "if @0 0 @2 "></v:f><v:f eqn = "if @0 @4 21600 "></v:f><v:f eqn = "mid @5 @6 "></v:f><v:f eqn = "mid @8 @5 "></v:f><v:f eqn = "mid @7 @8 "></v:f><v:f eqn = "mid @6 @7 "></v:f><v:f eqn = "sum @6 0 @5 "></v:f></v:formulas><v:path o:connectangles="270,180,90,0" o:connectlocs=