<! Doctype HTML public "-// W3C // dtd xhtml 1.0 transitional // en" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML xmlns = "http://www.w3.org/1999/xhtml" XML: lang = "ZH-CN" lang = "ZH-CN">
<Head>
<Meta name = "verify-v1" content = "p4t6ffcjwxqmwz2eztyxvzmhlnwd0wlqoq6lbhn5y8 ="/>
<Title>
Policy file _ China Power Engineering Cost Information Network </title>
<Meta http-equiv = "Content-Type" content = "text/html; charset = gb2312"/>
<Meta http-equiv = "content-language" content = "gb2312"/>
<Meta name = "keywords" content = "power engineering cost, price information, materials, equipment, power engineering"/>
<Meta name = "Description" content = "Power Engineering Cost Information"/>
<Style type = "text/CSS">
*{
Margin: 0; padding: 0;
}
</Style>
</Head>
<Body>
<Div class = "cecmbody" id = "cecmpolicy">
<Div class = "leftclass">
<P> test </P>
<P> test </P>
<P> test </P> <p> test </P>
<Input type = "button" value = "Click here" onclick = "salert ('test result');"/>
</Div>
<Div class = "rightclass">
</Div>
</Div>
<SCRIPT type = "text/JavaScript" Language = "JavaScript">
// Author: daviv
// Blog: http://blog.163.com/jxdawei
// Date: 2006-10-27
// Email: jxdawei@gmail.com
Function salert (STR ){
VaR msgw, msgh, bordercolor;
Msgw = 400; // The width of the prompt window.
Msgh = 100; // The height of the prompt window.
Titleheight = 25 // The title height of the prompt window
Bordercolor = "#336699"; // specifies the border color of the prompt window.
Titlecolor = "#99 CCFF"; // The title Color of the prompt window
VaR swidth, sheight;
Swidth = Document. Body. offsetwidth;
Sheight = screen. height;
VaR bgobj = Document. createelement ("Div ");
Bgobj. setattribute ('id', 'bgdiv ');
Bgobj. style. Position = "absolute ";
Bgobj. style. Top = "0 ";
Bgobj. style. Background = "#777 ";
Bgobj. style. Filter = "progid: DXImageTransform. Microsoft. Alpha (style = 3, opacity = 25, finishopacity = 75 ";
Bgobj. style. Opacity = "0.6 ";
Bgobj. style. Left = "0 ";
Bgobj. style. width = swidth + "PX ";
Bgobj. style. Height = sheight + "PX ";
Bgobj. style. zindex = "10000 ";
Document. Body. appendchild (bgobj );
VaR msgobj = Document. createelement ("Div ")
Msgobj. setattribute ("ID", "msgdiv ");
Msgobj. setattribute ("align", "center ");
Msgobj. style. Background = "white ";
Msgobj. style. Border = "1px solid" + bordercolor;
Msgobj. style. Position = "absolute ";
Msgobj. style. Left = "50% ";
Msgobj. style. Top = "50% ";
Msgobj. style. font = "12px/1.6em verdana, Geneva, Arial, Helvetica, sans-serif ";
Msgobj. style. marginleft = "-225px ";
Msgobj. style. margintop = -7520.document.doc umentelement. scrolltop + "PX ";
Msgobj. style. width = msgw + "PX ";
Msgobj. style. Height = msgh + "PX ";
Msgobj. style. textalign = "center ";
Msgobj. style. lineheight = "25px ";
Msgobj. style. zindex = "10001 ";
VaR Title = Document. createelement ("H4 ");
Title. setattribute ("ID", "msgtitle ");
Title. setattribute ("align", "right ");
Title. style. Margin = "0 ";
Title. style. Padding = "3px ";
Title. style. Background = bordercolor;
Title. style. filter = "progid: DXImageTransform. microsoft. alpha (startx = 20, starty = 20, finishx = 100, finishy = 100, style = 1, opacity = 75, finishopacity = 100 );";
Title. style. Opacity = "0.75 ";
Title. style. Border = "1px solid" + bordercolor;
Title. style. Height = "18px ";
Title. style. font = "12px verdana, Geneva, Arial, Helvetica, sans-serif ";
Title. style. color = "white ";
Title. style. cursor = "Pointer ";
Title. innerhtml = "disabled ";
Title. onclick = function (){
Document. Body. removechild (bgobj );
Document. getelementbyid ("msgdiv"). removechild (title );
Document. Body. removechild (msgobj );
}
Document. Body. appendchild (msgobj );
Document. getelementbyid ("msgdiv"). appendchild (title );
VaR TXT = Document. createelement ("p ");
TXT. style. Margin = "1em 0"
TXT. setattribute ("ID", "msgtxt ");
TXT. innerhtml = STR;
Document. getelementbyid ("msgdiv"). appendchild (txt );
}
</SCRIPT>
</Body>
</Html>