document.write("<style type=\"text/css\">\r\n.cswmDock{display:none;position:relative;top:0px;left:0px;border:dotted #000000 1px;padding:0px;width:100%;}\r\n.cswmButtons{position:relative;z-index:999;top:0px;left:0px;background-color:#d4d0c8;border-top: solid #d4d0c8 1px;border-left: solid #d4d0c8 1px;border-bottom: solid #ffffff 1px;border-right: solid #ffffff 1px;padding:0px;cursor:default;width:auto;}\r\n.cswmInnerBorder{background-color:#d4d0c8;border-top: solid #ffffff 1px;border-left: solid #ffffff 1px;border-bottom: solid #808080 1px;border-right: solid #808080 1px;padding:0px;width:100%;}\r\n.cswmButton{background-color:#d4d0c8;border-top: solid #d4d0c8 1px;border-left: solid #d4d0c8 1px;border-bottom: solid #d4d0c8 1px;border-right: solid #d4d0c8 1px;color:#000000;font-family:\"MS Sans Serif\", Arial, Helvetica, Tahoma, sans-serif;font-size:11px;font-style:normal;text-decoration:none;font-weight:normal;text-align:center;padding-top:4px;padding-bottom:4px;padding-left:6px;padding-right:6px;}\r\n.cswmHandle{background-color:#d4d0c8;border-top: solid #ffffff 1px;border-left: solid #ffffff 1px;border-bottom: solid #808080 1px;border-right: solid #808080 1px;cursor:move;width:3px;}\r\n.cswmNNDck{position:absolute;border:outset #808080 1px;width:100%;color:#d0d0d0;font-family:\"MS Sans Serif\", Arial, Helvetica, Tahoma, sans-serif;font-size:11px;font-style:normal;text-decoration:none;font-weight:normal;text-align:center;text-decoration:none;padding:3px;}\r\n.cswmNNBtns{position:absolute;}\r\n.cswmNNBtn{border-style:outset;border-color:#d4d0c8;border-width:1px;}\r\n.cswmNNBtnTxt{color:#000000;font-family:\"MS Sans Serif\", Arial, Helvetica, Tahoma, sans-serif;font-size:11px;font-style:normal;text-decoration:none;font-weight:normal;text-align:center;padding:3px;}\r\n.cswmNNHnd{color:#000000;font-family:\"MS Sans Serif\", Arial, Helvetica, Tahoma, sans-serif;font-size:11px;font-style:normal;text-decoration:none;font-weight:normal;text-align:center;padding:3px;}\r\n.cswmItem {font-family:\"MS Sans Serif\", Arial, Helvetica, Tahoma, sans-serif; font-size:11px; font-weight:normal; font-style:normal; color:#000000; text-decoration:none; padding:3 10 3 10}\r\n.cswmItemOn {font-family:\"MS Sans Serif\", Arial, Helvetica, Tahoma, sans-serif; font-size:11px; font-weight:normal; font-style:normal; color:#ffffff; text-decoration:none; padding:3 10 3 10}\r\n.cswmExpand {cursor:default}\r\n.cswmPopupBox {cursor:default; position:absolute; left:-500; display:none; z-index:1999}\r\n.cswmDisabled {color:#808080}\r\n</style>");


var ddTI="";
var ddClkd=-1;
var cswmPI=new Array();
var cswmPx=new Array();
var cswmPy=new Array();
var cswmNH=new Array();
var cswmPW=0;
var cswmPH=0;
var cswmSPnt="";
var cswmDir="";
var cswmMB=0;
var cswmSI="";
var cswmSE=new Object();
var cswmSEL=0;
var cswmSET=0;
var cswmSEH=0;
var cswmSEW=0;
var cswmBW=0;
var cswmBH=0;
var cswmAR=0;
var cswmAB=0;
var cswmSLA=0;
var cswmSTA=0;
var cswmExIS=new Image();cswmExIS.src="";
var cswmExdIS=new Image();cswmExdIS.src="";
var cswmCTH=true;
var cswmXOff=0;
var cswmYOff=0;
var cswmFP=0;
var cswmSH=false;
var cswmSTI=0;

function cswmT(ms){if(ms!="off"){if(cswmCTH!=0){ddTI=setTimeout("cswmHP(0);",ms);}}else{clearTimeout(ddTI);}}

function cswmST(l,g,i){if(i){cswmSTI = setTimeout("cswmHP("+l+");cswmSP("+g+",'"+i+"');",350);}else if(l){cswmSTI = setTimeout("cswmHP("+l+");",350);}else{clearTimeout(cswmSTI);}}

function cswmShow(id,srcid,relpos,offsetX,offsetY,fixedpos){
        clearTimeout(ddTI);
                if(ddClkd!=id){
                        cswmHP(0);
                        cswmSI=srcid;
                        cswmSPnt=relpos;
                        ddClkd=id;
                        cswmDir="right";
                        if(document.all["cswmPopup"+id]){
                                if(offsetX)cswmXOff=offsetX;
                                if(offsetY)cswmYOff=offsetY;
                                if(fixedpos)cswmFP=fixedpos;
                                if(document.all['cswmMenuButton'+id]){
                                        cswmButtonClickState=true;
                                }
                                cswmSP(id);
                        }
                }

}

function cswmHide(){
        ddTI=setTimeout("cswmHP(0);", 350);
}

function cswmHideNow(){cswmHP(0);}

function cswmHiI(id,l){var d;d=document;
var item=d.all['cswmItem'+id];if(!item){return;}else{item=d.all['cswmItem'+id];
var expand=d.all['cswmExpand'+id];
var expandIc=d.all['cswmExpandIc'+id];
var icoOn=d.all['cswmIcoOn'+id];}var bgco;try{bgco=item.getAttribute('cswmSelColor');}catch(e){bgco = false;}if(icoOn){d.all['cswmIco'+id].style.display='none';icoOn.style.display='inline';}item.style.color='#ffffff';expand.style.color='#ffffff';if(bgco){item.style.backgroundColor=bgco;expand.style.backgroundColor=bgco;}else{item.style.backgroundColor='#0a246a';expand.style.backgroundColor='#0a246a';}if(expandIc){expandIc.src=cswmExdIS.src;}cswmNHM(id,l);cswmNH[l-1]=id;}

function cswmNHM(id,l){if(cswmNH[l-1]!=id){var count=l-1;for(count=l-1;count<cswmNH.length;count++){cswmDiI(cswmNH[count]);}cswmNH.length=l;}}

function cswmDiI(id){var d;d=document;
var item=d.all['cswmItem'+id];if(!item){return;}else{item=d.all['cswmItem'+id];
var expand=d.all['cswmExpand'+id];
var expandIc=d.all['cswmExpandIc'+id];
var icoOn=d.all['cswmIcoOn'+id];}var bgco;try{bgco=item.getAttribute('cswmUnSelColor');}catch(e){bgco = false;}if(icoOn){d.all['cswmIco'+id].style.display='inline';icoOn.style.display='none';}item.style.color='#000000';expand.style.color='#000000';if(bgco){item.style.backgroundColor=bgco;expand.style.backgroundColor=bgco;}else{item.style.backgroundColor='#d4d0c8';expand.style.backgroundColor='#d4d0c8';}if(expandIc){expandIc.src=cswmExIS.src;}}


function cswmSP(id,itemid){
if(!itemid){if(cswmFP){cswmSEL=cswmXOff;cswmSET=cswmYOff;cswmSEH=1;cswmSEW=1;cswmFP=0;}else{if(!document.all[cswmSI]){return;}cswmSE=new Object(document.all[cswmSI]);
var cswmPrO=cswmSE;
var cswmPrT="";cswmSEL=cswmSE.offsetLeft+cswmXOff;cswmSET=cswmSE.offsetTop+cswmYOff;cswmSEH=cswmSE.offsetHeight;cswmSEW=cswmSE.offsetWidth;while(cswmPrT!="BODY"){cswmPrO=cswmPrO.offsetParent;if(cswmPrO.style.position=='absolute'){break;}cswmSEL+=cswmPrO.offsetLeft;cswmSET+=cswmPrO.offsetTop;cswmPrT=cswmPrO.tagName;}}document.all["cswmPopup"+id].style.display="block";cswmPW=document.all["cswmPopup"+id].clientWidth;cswmPH=document.all["cswmPopup"+id].clientHeight;cswmBW=document.body.clientWidth;cswmBH=document.body.clientHeight;cswmSLA=document.body.scrollLeft;cswmSTA=document.body.scrollTop;switch(cswmSPnt){case "above":cswmPx[cswmPx.length]=cswmSEL;cswmPy[cswmPy.length]=cswmSET-cswmPH;cswmCA();cswmCR();break;case "below":cswmPx[cswmPx.length]=cswmSEL;cswmPy[cswmPy.length]=cswmSET+cswmSEH;cswmCB();cswmCR();break;case "right":cswmPx[cswmPx.length]=cswmSEL+cswmSEW;cswmPy[cswmPy.length]=cswmSET;cswmCR();cswmCB();break;case "left":cswmPx[cswmPx.length]=cswmSEL-cswmPW;cswmPy[cswmPy.length]=cswmSET;cswmCL();cswmCB();cswmDir="left";break;}cswmXOff=0;cswmYOff=0;document.all["cswmPopup"+id].style.left=cswmPx[cswmPx.length-1];document.all["cswmPopup"+id].style.top=cswmPy[cswmPy.length-1];cswmPI[cswmPI.length]=id;}else{var d;d=document;cswmPx[cswmPx.length]=document.all["cswmPopup"+cswmPI[cswmPI.length-1]].clientWidth+cswmPx[cswmPx.length-1]-4;
var szPrE="";if(d.all["cswmItem"+itemid].parentElement.offsetTop==0){if(navigator.platform=="MacPPC"){var szPrE="parentElement.parentElement.";}else if(d.all["cswmItem"+itemid].parentElement.parentElement.parentElement.parentElement.className!="cswmPopupBox"){var szPrE="parentElement.parentElement.parentElement.";}}cswmPy[cswmPy.length]=eval("d.all[\"cswmItem"+itemid+"\"].parentElement."+szPrE+"offsetTop")+cswmPy[cswmPy.length-1];document.all["cswmPopup"+id].style.display="block";cswmPW=document.all["cswmPopup"+id].clientWidth;cswmPH=document.all["cswmPopup"+id].clientHeight;
var cswmPrW=document.all["cswmPopup"+cswmPI[cswmPI.length-1]].clientWidth;cswmAR=cswmBW-cswmPx[cswmPx.length-1]+cswmSLA;cswmAB=cswmBH-cswmPy[cswmPy.length-1]+cswmSTA;if(cswmPx[cswmPx.length-2]==cswmSLA){cswmDir="right";}if((cswmAR<cswmPW)||(cswmDir=="left")){cswmMB=(cswmPx[cswmPx.length-1]-cswmPW-cswmPrW)+8;if((cswmMB>=0)&&(cswmMB>cswmSLA)){cswmDir="left";}else{cswmMB=cswmSLA;}cswmPx[cswmPx.length-1]=cswmMB;}if(cswmAB<cswmPH){cswmMB=cswmPy[cswmPy.length-1]-(cswmPH-cswmAB);if(cswmMB<cswmSTA){cswmMB=cswmSTA;}cswmPy[cswmPy.length-1]=cswmMB;}document.all["cswmPopup"+id].style.left=cswmPx[cswmPx.length-1];document.all["cswmPopup"+id].style.top=cswmPy[cswmPy.length-1];cswmPI[cswmPI.length]=id;}if(navigator.platform!='MacPPC'){if(navigator.userAgent.indexOf('MSIE 5.0')<=0){cswmIFSH(id);}}}

function cswmHP(level){if(ddClkd==-1){return false;}else if(level==0){clearTimeout(cswmSTI);ddClkd=-1;
var id = cswmPI[0];
var count=0;for(count=0;count<cswmNH.length;count++){cswmDiI(cswmNH[count]);}cswmNH.length=0;if(document.all['cswmMenuButton'+id]){ddNormalButton("cswmMenuButton"+id);}cswmButtonClickState=false;}var count=level;for(count=level;count<cswmPI.length;count++){document.all["cswmPopup"+cswmPI[count]].style.display="none";if(document.all['cswmIFrame'+cswmPI[count]]){document.all['cswmIFrame'+cswmPI[count]].style.display='none';}}cswmPI.length=level;cswmPx.length=level;cswmPy.length=level;}

function cswmIFSH(id){if(document.readyState!='complete'){return false;}var ifr;if(!document.all['cswmIFrame'+id]){ifr="<iframe src=\"javascript:false;\" id=\"cswmIFrame" + id + "\" scrolling=\"no\" frameborder=\"0\" style=\"position:absolute;top:0x;left:0px;z-index:998;display:none\"></iframe>";document.all['cswmPopup'+cswmPI[cswmPI.length-1]].insertAdjacentHTML('beforeBegin',ifr);}if(document.all['cswmIFrame'+id]){ifr=document.all['cswmIFrame'+id].style;ifr.top=cswmPy[cswmPy.length-1];ifr.left=cswmPx[cswmPx.length-1];ifr.width=cswmPW;ifr.height=cswmPH;ifr.filter='progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)';ifr.display='block';}}

function cswmCR(){cswmAR=(cswmBW+cswmSLA)-cswmPx[cswmPx.length-1];if(cswmAR<cswmPW){if(cswmSPnt=="below"||cswmSPnt=="above"){cswmMB=cswmPx[cswmPx.length-1]-(cswmPW-cswmAR);if(cswmMB<0||cswmMB<cswmSLA){cswmMB=cswmSLA;}cswmPx[cswmPx.length-1]=cswmMB;}else{cswmMB=cswmSEL-cswmPW;if(cswmMB>=0){cswmPx[cswmPx.length-1]=cswmMB;}}}}

function cswmCL(){if(cswmPx[cswmPx.length-1]<(cswmSLA)){cswmPx[cswmPx.length-1]=cswmSEL+cswmSEW;cswmCR();}}

function cswmCB(){cswmAB=(cswmBH+cswmSTA)-cswmPy[cswmPy.length-1];if(cswmAB<cswmPH){if(cswmSPnt=="below"){cswmMB=cswmPy[cswmPy.length-1]-cswmPH-cswmSEH;if(cswmMB>=0){cswmPy[cswmPy.length-1]=cswmMB;}}else{cswmMB=cswmPy[cswmPy.length-1]-(cswmPH-cswmAB);if(cswmMB<0||cswmMB<cswmSTA){cswmMB=cswmSTA;}cswmPy[cswmPy.length-1]=cswmMB;}}}

function cswmCA(){if(cswmPy[cswmPy.length-1]<(cswmSTA)){cswmPy[cswmPy.length-1]=cswmSET+cswmSEH;cswmCB();}}

var cswmButtonClickState=false;
var cswmCurrentButtonId;
var cswmButtonsObj;
var cswmNeedPosInit=true;
var cswmDrag=false;
var cswmDragX;
var cswmDragY;
var cswmOnMouseMove="";
var cswmOnMouseUp="";
var cswmBodyCursor="";
var cswmDockObj;
var cswmIsDock=false;
var cswmDockSpace="";
var cswmTop=10;
var cswmLeft=10;
var cswmMBIF;
var cswmMBIFT;

function ddDownButton(id,gid){
        cswmCurrentButtonId=id;
        ddSunkenButton(id);
        if(gid){

                        cswmShow(gid, id, 'below', 2, 2);

        }
}

function ddSelectButton(id,gid){

        if(!cswmButtonClickState){
                ddRaisedButton(id);
        }else{
                ddNormalButton(cswmCurrentButtonId);
                clearTimeout(ddTI);
                ddDownButton(id,gid);
        }

}

//mouse over ,mouse click raising of buttons function
//------------------------------------------------------------------------------------------------
//------------------------------------------------------------------------------------------------
function ddUnSelectButton(id){if(!cswmButtonClickState){ddNormalButton(id);}else{cswmHide();}}

function ddRaisedButton(id){var obj = document.all(id).style;obj.borderTopColor = "#ffffff";obj.borderLeftColor = "#ffffff";obj.borderBottomColor = "#808080";obj.borderRightColor = "#808080";obj.backgroundColor = "#d4d0c8";obj.borderWidth='1px';obj.paddingBottom = "4px";obj.paddingTop = "4px";obj.paddingLeft = "6px";obj.paddingRight = "6px";obj.color = "#000000";}

function ddSunkenButton(id){var obj = document.all(id).style;obj.borderTopColor = "#808080";obj.borderLeftColor = "#808080";obj.borderBottomColor = "#ffffff";obj.borderRightColor = "#ffffff";obj.backgroundColor = "#d4d0c8";obj.borderWidth='1px';obj.paddingBottom = "3px";obj.paddingTop = "5px";obj.paddingLeft = "7px";obj.paddingRight = "5px";obj.color = "#000000";}

function ddNormalButton(id){var obj = document.all(id).style;obj.borderTopColor = "#d4d0c8";obj.borderLeftColor = "#d4d0c8";obj.borderBottomColor = "#d4d0c8";obj.borderRightColor = "#d4d0c8";obj.backgroundColor = "#d4d0c8";obj.borderWidth='0px';obj.paddingBottom = "5px";obj.paddingTop = "5px";obj.paddingLeft = "7px";obj.paddingRight = "7px";obj.color = "#000000";}

//------------------------------------------------------------------------------------------------
//------------------------------------------------------------------------------------------------
