var WP__Image_1a={};

var WP__Image_1b={};

var WP__Image_1c={};

var WP__Button_1d={};

var WP__Content_1e={};

var WP__Prototype_Content_1a={};
var WP__Prototype_Text_1b={};



function setup_WP__Elements_1() {
 WP__Image_1a=document.createElement("div");
 WP__Image_1a.style.display="block";
 WP__Image_1a.style.background="transparent url(WP__Image_1a.png) repeat scroll top left";
 WP__Image_1a.style.height="100%";
 WP__Image_1a.style.width="100%";
 WP__Image_1a.style.position="absolute";
 WP__Image_1a.style.top="0px"; /*WP__Image_1a.style.bottom="px";*/
 WP__Image_1a.style.left="0px"; /*WP__Image_1a.style.right="px";*/
 WP__Image_1a.style.zIndex=10;
 document.body.appendChild(WP__Image_1a);
 /**/
 WP__Image_1b=document.createElement("div");
 /*WP__Image_1b.style.display="";*/
 WP__Image_1b.style.background="transparent url(WP__Image_1b.png) repeat scroll center";
 /*WP__Image_1b.style.height="";*/
 /*WP__Image_1b.style.width="";*/
 WP__Image_1b.style.position="absolute";
 /*WP__Image_1b.style.top="px";*/ /*WP__Image_1b.style.bottom="px";*/
 /*WP__Image_1b.style.left="px";*/ /*WP__Image_1b.style.right="px";*/
 WP__Image_1b.style.zIndex=WP__Image_1a.style.zIndex+1;
 WP__Image_1a.appendChild(WP__Image_1b);
 /**/
 WP__Image_1c=document.createElement("div");
 /*WP__Image_1c.style.display="";*/
 WP__Image_1c.style.background="transparent url(WP__Image_1c.png) no-repeat scroll center";
 WP__Image_1c.style.height="23px";
 WP__Image_1c.style.width="690px";
 WP__Image_1c.style.position="absolute";
 WP__Image_1c.style.top="12px"; /*WP__Image_1c.style.bottom="px";*/
 /*WP__Image_1c.style.left="px";*/ /*WP__Image_1c.style.right="px";*/
 WP__Image_1c.style.zIndex=WP__Image_1b.style.zIndex+1;
 WP__Image_1b.appendChild(WP__Image_1c);
 /**/
 WP__Button_1d=document.createElement("div");
 /*WP__Button_1d.onmouseover=function() { respond_WP__Button_1d("rollover") };*/
 /*WP__Button_1d.onmousedown=function() { respond_WP__Button_1d("clickdown") };*/
 WP__Button_1d.onclick=function() { respond_WP__Button_1d("click") };
 /*WP__Button_1d.onmouseup=function() { respond_WP__Button_1d("clickup") };*/
 /*WP__Button_1d.onmouseout=function() { respond_WP__Button_1d("rollout") };*/
 WP__Button_1d.setAttribute("tabindex", 0, 0);
// WP__Button_1d.setAttribute("hidefocus", true, 0);
 WP__Button_1d.style.cursor="pointer";
 /*WP__Button_1d.style.display="";*/
 WP__Button_1d.style.background="transparent url(WP__Button_1d.png) no-repeat scroll center";
 WP__Button_1d.style.height="15px";
 WP__Button_1d.style.width="270px";
 WP__Button_1d.style.position="absolute";
 /*WP__Button_1d.style.top="px";*/ WP__Button_1d.style.bottom="0px";
 /*WP__Button_1d.style.left="px";*/ WP__Button_1d.style.right="0px";
 WP__Button_1d.style.zIndex=WP__Image_1c.style.zIndex;
 WP__Image_1b.appendChild(WP__Button_1d);

 WP__Prototype_Content_1a=document.createElement("div");
 WP__Prototype_Content_1a.style.overflow="hidden";
 WP__Prototype_Content_1a.style.display="none";
 /*WP__Prototype_Content_1a.style.height="";*/
 WP__Prototype_Content_1a.style.width="1000px";
 WP__Prototype_Content_1a.style.position="absolute";
 /*WP__Prototype_Content_1a.style.top="px";*/ /*WP__Prototype_Content_1a.style.bottom="px";*/
 /*WP__Prototype_Content_1a.style.left="px";*/ /*WP__Prototype_Content_1a.style.right="px";*/
 WP__Prototype_Content_1a.style.zIndex=12;
 document.body.appendChild(WP__Prototype_Content_1a);
 /**/
 WP__Prototype_Text_1b=document.createElement("div");
 WP__Prototype_Text_1b.style.display="none";
 WP__Prototype_Text_1b.style.position="absolute";
 WP__Prototype_Text_1b.style.top="0px"; /*WP__Prototype_Text_1b.style.bottom="px";*/
 /*WP__Prototype_Text_1b.style.left="px";*/ /*WP__Prototype_Text_1b.style.right="px";*/
 WP__Prototype_Text_1b.style.zIndex=WP__Prototype_Content_1a.style.zIndex+1;
 document.body.appendChild(WP__Prototype_Text_1b);

 function respond_WP__Button_1d() {
  switch(arguments[0]) {
   case "rollover":

    break;
   case "clickdown":

    break;
   case "click":
    display_WP__Fragment("Copyright");

    break;
   case "clickup":

    break;
   case "rollout":

    break; } } }



function add_WP__Content_1() {
 var Index;
 var XML_Elements={};
 var Text_PlainText="";
 var Text_Copy={};

 XML_Elements=document.XML_Content_1.documentElement.getElementsByTagName("Text_PlainText");

 WP__Content_1e=WP__Prototype_Content_1a.cloneNode(false);
 document.body.appendChild(WP__Content_1e);

 for(Index=0; Index<XML_Elements.length; Index++) {
  Text_PlainText=XML_Elements[Index].hasChildNodes? XML_Elements[Index].firstChild.nodeValue:"";
  Text_Copy=WP__Prototype_Text_1b.cloneNode(false);
  Text_Copy.innerHTML='<pre class="WP__Text_1f" style="margin:0px">'+Text_PlainText+"</pre>";
  Text_Copy.style.display="block";
  WP__Content_1e.appendChild(Text_Copy); } }



function toggle_WP__Content_1() {
 switch(arguments[0]) {
  case "off":

   break;
  case "on":
   WP__Content_1e.style.display="block";

   break; } }



function toggle_WP__Elements_1() {
 switch(arguments[0]) {
  case "off":
   WP__Image_1c.style.display="none";

   break;
  case "on":
   WP__Image_1c.style.display="block";

   break; } }



function reflow_WP__Content_1() {
 WP__Content_1e.style.height=Math.max(WP__Content_1e.childNodes[0].offsetHeight, WP__Content_1e.childNodes[1].offsetHeight, WP__Content_1e.childNodes[2].offsetHeight, WP__Content_1e.childNodes[3].offsetHeight).toString()+"px";

 if(arguments[0]=="Today") {
  WP__Content_1e.style.top=document.body.Integer_Height<600? (600-15-20-parseInt(WP__Content_1e.style.height)).toString()+"px":(document.body.Integer_Height>150+768+12+12+23+30+parseInt(WP__Content_1e.style.height)+20+15? (150+768+12+12+23+30).toString()+"px":(document.body.Integer_Height-15-20-parseInt(WP__Content_1e.style.height)).toString()+"px");
  WP__Content_1e.style.left=document.body.Integer_Width<1000? "0px":((document.body.Integer_Width-parseInt(WP__Content_1e.style.width))/2).toString()+"px";
  WP__Content_1e.childNodes[0].style.left=((parseInt(WP__Content_1e.style.width)-(WP__Content_1e.childNodes[0].offsetWidth+WP__Content_1e.childNodes[1].offsetWidth+WP__Content_1e.childNodes[2].offsetWidth+WP__Content_1e.childNodes[3].offsetWidth+120))/2).toString()+"px"; }
 else {
  WP__Content_1e.style.top=document.body.Integer_Height<600? (600-15-20-parseInt(WP__Content_1e.style.height)).toString()+"px":(document.body.Integer_Height-15-20-parseInt(WP__Content_1e.style.height)).toString()+"px";
  WP__Content_1e.style.left="22px";
  WP__Content_1e.childNodes[0].style.left="0px"; }

 WP__Content_1e.childNodes[1].style.left=(parseInt(WP__Content_1e.childNodes[0].style.left)+WP__Content_1e.childNodes[0].offsetWidth+40).toString()+"px";
 WP__Content_1e.childNodes[2].style.left=(parseInt(WP__Content_1e.childNodes[1].style.left)+WP__Content_1e.childNodes[1].offsetWidth+40).toString()+"px";
 WP__Content_1e.childNodes[3].style.left=(parseInt(WP__Content_1e.childNodes[2].style.left)+WP__Content_1e.childNodes[2].offsetWidth+40).toString()+"px"; }



function reflow_WP__Elements_1() {
 if(arguments[0]=="Today") {
  WP__Image_1b.style.height=document.body.Integer_Height<150+768+12+12+parseInt(WP__Image_1c.style.height)+30+parseInt(WP__Content_1e.style.height)+20+parseInt(WP__Button_1d.style.height)? (12+parseInt(WP__Image_1c.style.height)+30+parseInt(WP__Content_1e.style.height)+20+parseInt(WP__Button_1d.style.height)).toString()+"px":(document.body.Integer_Height-150-768-12).toString()+"px";
  WP__Image_1b.style.width=document.body.Integer_Width<1024? "1000px":(document.body.Integer_Width>1048? "1024px":(document.body.Integer_Width-24).toString()+"px");
  WP__Image_1b.style.top=document.body.Integer_Height<600? (600-parseInt(WP__Image_1b.style.height)).toString()+"px":(document.body.Integer_Height-parseInt(WP__Image_1b.style.height)).toString()+"px";
  WP__Image_1b.style.left=document.body.Integer_Width<1000? "0px":((document.body.Integer_Width-parseInt(WP__Image_1b.style.width))/2).toString()+"px";

  WP__Image_1c.style.left=((parseInt(WP__Image_1b.style.width)-parseInt(WP__Image_1c.style.width))/2).toString()+"px"; }
 else {
  WP__Image_1b.style.height=(12+parseInt(WP__Content_1e.style.height)+20+parseInt(WP__Button_1d.style.height)).toString()+"px";
  WP__Image_1b.style.width=document.body.Integer_Width<1000? "1000px":document.body.Integer_Width.toString()+"px";
  WP__Image_1b.style.top=document.body.Integer_Height<600? (600-parseInt(WP__Image_1b.style.height)).toString()+"px":(document.body.Integer_Height-parseInt(WP__Image_1b.style.height)).toString()+"px";
  WP__Image_1b.style.left="0px"; } }
