CSStateArray=new Object;CSCookieArray=new Object;CSCookieValArray=new Object;function CSWriteCookie(action){var name="DFT"+action[1];var hrs=action[2];var path=action[3];var domain=action[4];var secure=action[5];var exp=new Date((new Date()).getTime()+hrs * 3600000);var cookieVal="";for(var prop in CSCookieArray){if(("DFT"+CSCookieArray[prop])==name){if(cookieVal !="")cookieVal+="&";cookieVal+=prop+":"+escape(CSStateArray[prop]);}}
if(hrs !=0)
cookieVal+=";expires="+exp.toGMTString();if(path !="")
cookieVal+=";path="+path;if(domain !="")
cookieVal+=";domain="+domain;if(secure==true)
cookieVal+=";secure";document.cookie=name+'='+cookieVal;}
function CSReadCookie(action){var name="DFT"+action[1];var cookies=document.cookie;if(cookies=="")return;var start=cookies.indexOf(name);if(start==-1)return;start+=name.length+1;var end=cookies.indexOf(";", start);if(end==-1)end=cookies.length;var cookieVal=cookies.substring(start, end);var arr=cookieVal.split('&');for(var i=0;i < arr.length;i++){var a=arr[i].split(':');CSStateArray[a[0]]=unescape(a[1]);}}
function CSDefineState(action){CSCookieArray[action[1]]=action[3];}
function CSSetState(action){CSStateArray[action[1]]=action[2];}
function CSInitState(action){if(typeof(CSStateArray[action[1]])=="undefined")
CSStateArray[action[1]]=action[2];}
function CSCheckState(action){var obj1=CSStateArray[action[1]];var obj2=action[2];if(typeof(obj1)=="object"){for(var i=0;i<obj1.length;i++){if(obj1[i] !=obj2[i])
return false;}
return true;}
var res;var op=action[3];if(op=="==")res=(CSStateArray[action[1]]==action[2]);else if(op=="!=")res=(CSStateArray[action[1]] !=action[2]);else if(op==">" )res=(CSStateArray[action[1]] >  action[2]);else if(op==">=")res=(CSStateArray[action[1]] >=action[2]);else if(op=="<" )res=(CSStateArray[action[1]] <  action[2]);else if(op=="<=")res=(CSStateArray[action[1]] <=action[2]);return res;}
CSAg=window.navigator.userAgent;CSBVers=parseInt(CSAg.charAt(CSAg.indexOf("/")+1),10);CSIsW3CDOM=((document.getElementById)&& !(IsIE()&&CSBVers<6))? true : false;function IsIE(){return CSAg.indexOf("MSIE")> 0;}
function CSIEStyl(s){return document.all.tags("div")[s].style;}
function CSNSStyl(s){if (CSIsW3CDOM)return document.getElementById(s).style;else return CSFindElement(s,0);}
CSIImg=false;function CSInitImgID(){if (!CSIImg && document.images){for (var i=0;i<document.images.length;i++){if (!document.images[i].id)document.images[i].id=document.images[i].name;}CSIImg=true;}}
function CSFindElement(n,ly){if (CSBVers<4)return document[n];if (CSIsW3CDOM){CSInitImgID();return(document.getElementById(n));}
var curDoc=ly?ly.document:document;var elem=curDoc[n];if (!elem){for (var i=0;i<curDoc.layers.length;i++){elem=CSFindElement(n,curDoc.layers[i]);if (elem)return elem;}}
return elem;}
function CSGetImage(n){if(document.images){return ((!IsIE()&&CSBVers<5)?CSFindElement(n,0):document.images[n]);}else{return null;}}
CSDInit=false;function CSIDOM(){if (CSDInit)return;CSDInit=true;if(document.getElementsByTagName){var n=document.getElementsByTagName('DIV');for (var i=0;i<n.length;i++){CSICSS2Prop(n[i].id);}}}
function CSICSS2Prop(id){var n=document.getElementsByTagName('STYLE');for (var i=0;i<n.length;i++){var cn=n[i].childNodes;for (var j=0;j<cn.length;j++){CSSetCSS2Props(CSFetchStyle(cn[j].data, id),id);}}}
function CSFetchStyle(sc, id){var s=sc;while(s.indexOf("#")!=-1){s=s.substring(s.indexOf("#")+1,sc.length);if (s.substring(0,s.indexOf("{")).toUpperCase().indexOf(id.toUpperCase())!=-1)return(s.substring(s.indexOf("{")+1,s.indexOf("}")));}
return "";}
function CSGetStyleAttrValue (si, id, st){var s=si.toUpperCase();var myID=id.toUpperCase()+":";var id1=s.indexOf(myID,st);if (id1==-1)return "";var ch=s.charAt(id1-1);if (ch!=" " && ch!="\t" && ch!="\n" && ch!=";" && ch!="{")
return CSGetStyleAttrValue (si, id, id1+1);var start=id1+myID.length;ch=s.charAt(start);while(ch==" "||ch=="\t"||ch=="\n"){start++;ch=s.charAt(start);}
s=s.substring(start,si.length);var id2=s.indexOf(";");return ((id2==-1)?s:s.substring(0,id2));}
function CSSetCSS2Props(si, id){var el=document.getElementById(id);if (el==null)return;var style=document.getElementById(id).style;if (style){if (style.left=="")style.left=CSGetStyleAttrValue(si,"left",0);if (style.top=="")style.top=CSGetStyleAttrValue(si,"top",0);if (style.width=="")style.width=CSGetStyleAttrValue(si,"width",0);if (style.height=="")style.height=CSGetStyleAttrValue(si,"height",0);if (style.visibility=="")style.visibility=CSGetStyleAttrValue(si,"visibility",0);if (style.zIndex=="")style.zIndex=CSGetStyleAttrValue(si,"z-index",0);}}
function CSSetStyleVis(s,v){if (CSIsW3CDOM){CSIDOM();document.getElementById(s).style.visibility=(v==0)?"hidden":"visible";}
else if(IsIE())CSIEStyl(s).visibility=(v==0)?"hidden":"visible";else CSNSStyl(s).visibility=(v==0)?'hide':'show';}
function CSGetStyleVis(s){if (CSIsW3CDOM){CSIDOM();return(document.getElementById(s).style.visibility=="hidden")?0:1;}
else if(IsIE())return(CSIEStyl(s).visibility=="hidden")?0:1;else return(CSNSStyl(s).visibility=='hide')?0:1;}
CSInit=new Array;function CSScriptInit(){if(typeof(skipPage)!="undefined"){if(skipPage)return;}
idxArray=new Array;for(var i=0;i<CSInit.length;i++)
idxArray[i]=i;CSAction2(CSInit, idxArray);}
CSStopExecution=false;function CSAction(array){return CSAction2(CSAct, array);}
function CSAction2(fct, array){var result;for (var i=0;i<array.length;i++){if(CSStopExecution)return false;var aa=fct[array[i]];if (aa==null)return false;var ta=new Array;for(var j=1;j<aa.length;j++){if((aa[j]!=null)&&(typeof(aa[j])=="object")&&(aa[j].length==2)){if(aa[j][0]=="VAR"){ta[j]=CSStateArray[aa[j][1]];}
else{if(aa[j][0]=="ACT"){ta[j]=CSAction(new Array(new String(aa[j][1])));}
else ta[j]=aa[j];}}else ta[j]=aa[j];}
result=aa[0](ta);}
return result;}
CSAct=new Object;function CSClickReturn (){var bAgent=window.navigator.userAgent;var bAppName=window.navigator.appName;if ((bAppName.indexOf("Explorer")>=0)&& (bAgent.indexOf("Mozilla/3")>=0)&& (bAgent.indexOf("Mac")>=0))
return true;else return false;}
//  OpenPopUp 1.4 action by Nate Baldwin, www.mindpalette.com, copyright 2002
function MPOpenPopup(action){var posX=0;var posY=0;if (action[4]==true){posX=((screen.availWidth/2)-(action[2]/2));posY=((screen.availHeight/2)-(action[3]/2));}else{posX=action[12];posY=action[13];}
if (action[16]==true){posX=0;posY=0;action[2]=screen.availWidth;action[3]=screen.availHeight;}
for (i=5;i<12;i++){action[i]==true ? action[i]="yes" : action[i]="no";}
var windowOptions="";windowOptions+="width="+action[2];windowOptions+=",height="+action[3];windowOptions+=",resizable="+action[11];windowOptions+=",scrollbars="+action[5];windowOptions+=",menubar="+action[6];windowOptions+=",toolbar="+action[9];windowOptions+=",directories="+action[7];windowOptions+=",location="+action[10];windowOptions+=",status="+action[8];windowOptions+=",left="+posX;windowOptions+=",top="+posY;window.open(action[15], action[1], windowOptions);if (action[14] !="" && action[14] !="#" && action[14] !="(EmptyReference!)" && action[14] !="(Empty Reference!)")
window.location=action[14];}
//  © Copyright 2002 by Walter Blady
var ZSisNav4=navigator.appName.indexOf("Netscape")>=0 && parseInt(navigator.appVersion.charAt(0))==4;var ZSisIE4=navigator.appVersion.indexOf("MSIE 4")>=0;var ZSW3C=document.getElementById ? true : false;var ZSisNN6=navigator.userAgent.indexOf("Netscape6")>=0;var ZSisNN=navigator.userAgent.indexOf("Netscape")>=0;var ZScontObj, ZSclipObj, ZSprevObj=null, ZSprevMenu, ZSyloc=0, ZSxloc=0, ZSx, ZSy;var ZSscrollSpeed=0, ZSscrollDelay=0, ZSscrollSpeedHold, ZSrepeatScroll=0, ZSeaseOutLimit;var ZSscrollReduce, ZSAutoCloseDelay, ZSAutoOpenDelay, ZSeaseout, ZStimer, ZSmouseAutocloseTimer=0;var ZScustomBox, ZSscrollDirection;var W3CinitFlag=false, ZSscrollingBackFlag=false, ZSscrollOutFlag=false;ZSballoonText="";var i=setInterval("ZSshiftUp()", 1000);clearInterval(i);var ZSmenuArray=new Array(), ZSmenu;var ZSvis=(ZSW3C||ZSisIE4)? "visible" : "show";var ZShid=(ZSW3C||ZSisIE4)? "hidden" : "hide";function WBZipScroller(action){if (ZSVersion()){if (action[1].length > 0){var obj=ZSGetObject(action[1]);obj.onmouseover=ZSAutoCloseTimerQuit;obj.onmouseout=ZSAutoClose;}
clearTimeout(ZSmouseAutocloseTimer);ZSAutoOpenDelay=action[8];ZSAutoCloseDelay=action[9];ZSscrollDirection=action[4];if (action[2].length > 0){ZSclipObj=ZSGetObject(action[2]);if (ZSW3C||ZSisIE4)ZSclipObj.style.overflow="hidden";var isOn=false, showOne, stillOn=false;isOn=ZSisNav4 ? ZSclipObj.visibility==ZSvis : ZSclipObj.style.visibility==ZSvis;if (isOn)return;if (ZSprevObj && ZSclipObj !=ZSprevObj)ZSShowHide(ZSprevMenu, ZSprevObj.level, ZShid, false);ZSclipObj.onmouseover=ZSAutoCloseTimerQuit;ZSclipObj.onmouseout=ZSAutoClose;if (!W3CinitFlag && ZSW3C){var d=document.getElementsByTagName("div");var s=document.getElementsByTagName("style");for (var i=0;i < s.length;i++){var html=(s[i].innerHTML);var start=html.indexOf("!--")+3;var end=html.lastIndexOf("}")+1 - start;html=html.indexOf("!--")> -1 ? html.substr(start, end): html;html=html.replace(/^\s*/, "");html=html.replace(/:\s*#/g, ": ~");html=html.replace(/[\n\r]/g, "");var styleArray=html.split(/\s*\}\s*/);for (var j=0;j < styleArray.length;j++){var name=styleArray[j].substr(styleArray[j].search(/\w/), styleArray[j].search(/{/));name=name.replace(/[ \{].+/g, "")
for (var k=0;k < d.length;k++){var match=(name==d[k].id && name !="");if (match)break;}
if (styleArray[j] !="" && match){styleArray[j]=styleArray[j].replace(/\**#/, "");styleArray[j]=styleArray[j].replace(/~/g, "#");var styleName=styleArray[j].substr(0, styleArray[j].indexOf("{"));styleName=styleName.replace(/\s*/g, "");styleArray[j]=styleArray[j].toLowerCase();var t=eval("d."+styleName+".style");var divName=eval("d."+styleName+".id");var styleString=styleArray[j].replace(/^.*\{\s*/, "");styleString=styleString.replace(/\s*\}.*$|\s*\}.*\n.*$|\s*\}.*\r.*$/, "");styleString=styleString.replace(/\;$/, "");var divArray=styleString.split(/\;\s*/g);for (var k=0;k < divArray.length;k++){var propertyName=divArray[k].substr(0, divArray[k].indexOf(":"));var dash=propertyName.indexOf("-");if (dash > -1){var propertyName=propertyName.substr(0, dash)+propertyName.substr(dash+1, 1).toUpperCase()+propertyName.substr(dash+2, propertyName.length);}
var propertyValue=divArray[k].substr(divArray[k].indexOf(":"), divArray[k].length);propertyValue=propertyValue.replace(/:*(-->)*}*\n*/g, "");propertyValue=propertyValue.replace(/^\s*|\s*$/, "");if (ZSisNN6 && propertyValue.indexOf("(")> -1){propertyValue=propertyValue.replace(/auto|pt|pi|px|em|ex|mm|cm|in|%/g, "$& ");propertyValue=propertyValue.replace(/ \)/g, ")");}
t.name=divName;t[propertyName]=propertyValue;}}}}
W3CinitFlag=true;}
ZSeaseout=action[7] ? true : false;if (!ZSmenuArray[1])ZSmenuArray[1]=new Array();ZSmenu=ZSmenuArray[1];ZSprevObj=ZSclipObj;ZSprevMenu=ZSmenu;ZSclipObj.menu=0;ZSclipObj.level=1;ZScontObj=ZSGetObject(action[3]);ZScontObj.menu=0;ZScontObj.level=1;ZSclipObj.container=ZScontObj;ZSmenu[1]=ZSclipObj;ZSscrollDelay=action[5];ZSscrollSpeed=action[6];ZSscrollSpeedHold=ZSscrollSpeed;clearInterval(ZSrepeatScroll);if (ZSclipObj.container.xorig==null){if (ZSW3C){ZScontObj.boxWidth=parseInt(ZScontObj.style.width);ZScontObj.boxHeight=parseInt(ZScontObj.style.height);ZScontObj.boxTop=parseInt(ZScontObj.style.top);ZScontObj.boxLeft=parseInt(ZScontObj.style.left);ZSclipObj.boxWidth=parseInt(ZSclipObj.style.width);ZSclipObj.boxHeight=parseInt(ZSclipObj.style.height);}
else if (ZSisIE4){ZScontObj.boxWidth=ZScontObj.style.pixelWidth;ZScontObj.boxHeight=ZScontObj.style.pixelHeight;ZScontObj.boxTop=ZScontObj.style.pixelTop;ZScontObj.boxLeft=ZScontObj.style.pixelLeft;ZSclipObj.boxWidth=ZSclipObj.style.pixelWidth;ZSclipObj.boxHeight=ZSclipObj.style.pixelHeight;}
else{ZScontObj.boxWidth=ZScontObj.clip.width;ZScontObj.boxHeight=ZScontObj.clip.height;ZScontObj.boxTop=ZScontObj.top;ZScontObj.boxLeft=ZScontObj.left;ZSclipObj.boxWidth=ZSclipObj.clip.width;ZSclipObj.boxHeight=ZSclipObj.clip.height;}
ZSyloc=ZScontObj.boxTop;ZSxloc=ZScontObj.boxLeft;ZSclipObj.container.xorig=ZSxloc;ZSclipObj.container.yorig=ZSyloc;if (action[4]==0)ZSclipObj.container.ZSscrollBack=1;if (action[4]==1)ZSclipObj.container.ZSscrollBack=0;if (action[4]==2)ZSclipObj.container.ZSscrollBack=3;if (action[4]==3)ZSclipObj.container.ZSscrollBack=2;}
else{ZSxloc=ZSclipObj.container.xorig;ZSyloc=ZSclipObj.container.yorig;}
ZSx=0;ZSy=0;ZSShowHide(ZSmenu, ZSclipObj.level, ZSvis, true);var t1=setTimeout("ZSScroll(ZSscrollDirection)", ZSAutoOpenDelay);if (action[10] && !ZSscrollingBackFlag){ZStimer=setInterval("ZSAutoCloseCheck()", 1000);}}}
return;}
function ZSAutoCloseCheck(){if (ZSscrollOutFlag){clearInterval(ZStimer);ZSAutoClose();}
return;}
function ZSAutoClose(){ZSmouseAutocloseTimer=setTimeout("ZSAutoCloseFunc()", ZSAutoCloseDelay);return;}
function ZSAutoCloseFunc(){clearInterval(ZSrepeatScroll);ZSeaseout=false;ZSscrollingBackFlag=true;ZSx=ZSclipObj.container.xorig;ZSy=ZSclipObj.container.yorig;ZSScroll(ZSclipObj.container.ZSscrollBack);return;}
function ZSAutoCloseTimerQuit(){clearTimeout(ZSmouseAutocloseTimer);return;}
function ZSShowHide(menu, level, state, show){clearTimeout(ZSmouseAutocloseTimer);clearInterval(ZStimer);if (ZSW3C){for (var i=level;i < menu.length;i++){if (menu[i] !=null){menu[i].style.visibility=state;if (!show){ZSScrollTo(menu[i].container, menu[i].container.xorig, menu[i].container.yorig);}
var innerObjs=menu[level].getElementsByTagName("div");for (var j=0;j < innerObjs.length;j++){innerObjs[j].style.visibility=state;}}
if (show)break;}}
else if (ZSisIE4){for (var i=level;i < menu.length;i++){if (menu[i] !=null){menu[i].style.visibility=state;if (!show){ZSScrollTo(menu[i].container, menu[i].container.xorig, menu[i].container.yorig);}
for (var j=0;j < document.all[menu[i].id].children.length;j++){menu[i].children[j].style.visibility=state;}}
if (show)break;}}
else if (ZSisNav4){for (var i=level;i < menu.length;i++){if (menu[i] !=null){menu[i].visibility=state;if (!show){ZSScrollTo(menu[i].container, menu[i].container.xorig, menu[i].container.yorig);}
for (var j=0;j < menu[i].layers.length;j++){menu[i].layers[j].visibility=state;}}
if (show)break;}}
return;}
function ZSScroll(mode){ZSscrollSpeed=ZSscrollSpeedHold;ZSeaseOutLimit=ZSscrollSpeed+5;clearInterval(ZSrepeatScroll);if (mode==0)ZSrepeatScroll=setInterval("ZSSlideDown()", ZSscrollDelay);if (mode==1)ZSrepeatScroll=setInterval("ZSSlideUp()", ZSscrollDelay);if (mode==2)ZSrepeatScroll=setInterval("ZSSlideRight()", ZSscrollDelay);if (mode==3)ZSrepeatScroll=setInterval("ZSSlideLeft()", ZSscrollDelay);}
function ZSSlideDown(){if (ZSeaseout){ZSscrollSpeed=Math.abs(ZSyloc)<=ZSeaseOutLimit ? 1 : Math.round(ZSscrollSpeed);}
ZSyloc=(ZSyloc+ZSscrollSpeed <=ZSy)? ZSyloc+ZSscrollSpeed : ZSy;ZSScrollTo(ZScontObj, ZSxloc, ZSyloc);if (ZSyloc==ZSy){ZSHideBack();}
return;}
function ZSSlideUp(){if (ZSeaseout){ZSscrollSpeed=Math.abs(ZSyloc)<=ZSeaseOutLimit ? 1 : Math.round(ZSscrollSpeed);}
ZSyloc=(ZSyloc - ZSscrollSpeed >=ZSy)? ZSyloc - ZSscrollSpeed : ZSy;ZSScrollTo(ZScontObj, ZSxloc, ZSyloc);if (ZSyloc==ZSy){ZSHideBack();}
return;}
function ZSSlideRight(){if (ZSeaseout){ZSscrollSpeed=Math.abs(ZSxloc)<=ZSeaseOutLimit ? 1 : Math.round(ZSscrollSpeed);}
ZSxloc=(ZSxloc+ZSscrollSpeed <=ZSx)? ZSxloc+ZSscrollSpeed : ZSx;ZSScrollTo(ZScontObj, ZSxloc, ZSyloc);if (ZSxloc==ZSx){ZSHideBack();}
return;}
function ZSSlideLeft(){if (ZSeaseout){ZSscrollSpeed=Math.abs(ZSxloc)<=ZSeaseOutLimit ? 1 : Math.round(ZSscrollSpeed);}
ZSxloc=(ZSxloc - ZSscrollSpeed >=ZSx)? ZSxloc - ZSscrollSpeed : ZSx;ZSScrollTo(ZScontObj, ZSxloc, ZSyloc);if (ZSxloc==ZSx){ZSHideBack();}
return;}
function ZSHideBack(){clearInterval(ZSrepeatScroll);ZSscrollOutFlag=true;if (ZSscrollingBackFlag){ZSShowHide(ZSmenu, 1, ZShid, true);ZSscrollingBackFlag=false;ZSscrollOutFlag=false;}
return;}
function ZSScrollTo(obj, x, y){if (ZSW3C){obj.style.left=x+"px";obj.style.top=y+"px";}
else if (ZSisIE4){obj.style.pixelLeft=x;obj.style.pixelTop=y;}
else{obj.moveTo(x, y);}
return;}
function ZSGetObject(objName){var params;if (ZSW3C){params=eval('document.getElementById("'+objName+'")');}
else if (ZSisIE4){params=eval("document.all."+objName);}
else{params=ZSFindLayerObject(objName, 0);}
return params;}
function ZSFindLayerObject(layer, thisLayer){if (thisLayer){var thisDocument=thisLayer.document;}
else{var thisDocument=document;}
var layerObj=thisDocument[layer];if (layerObj){return layerObj;}
else{for (var i=0;i < thisDocument.layers.length;i++){layerObj=ZSFindLayerObject(layer, thisDocument.layers[i]);if (layerObj){break;}}}
return layerObj;}
function ZSVersion(){return true;}
//-->
function CSShowHide(action){if (action[1]=='')return;var type=action[2];if(type==0)CSSetStyleVis(action[1],0);else if(type==1)CSSetStyleVis(action[1],1);else if(type==2){if (CSGetStyleVis(action[1])==0)CSSetStyleVis(action[1],1);else CSSetStyleVis(action[1],0);}}
//  OpenPopUpLite 2.0.1 action by Nate Baldwin, www.mindpalette.com, copyright 2004
if (typeof MPStoreOpenWin2=="undefined")MPStoreOpenWin2=new Array();function MPOpenPopupLite(action){var posX=0;var posY=0;if (action[4]==true){posX=Math.round((screen.availWidth/2)-(action[2]/2));posY=Math.round((screen.availHeight/2)-(action[3]/2));}else{posX=action[12];posY=action[13];}
if (action[16]==true){posX=0;posY=0;action[2]=screen.availWidth;action[3]=screen.availHeight;}
for (i=5;i<12;i++){action[i]==true ? action[i]="yes" : action[i]="no";}
var windowOptions="";windowOptions+="width="+action[2];windowOptions+=",height="+action[3];windowOptions+=",resizable="+action[11];windowOptions+=",scrollbars="+action[5];windowOptions+=",menubar="+action[6];windowOptions+=",toolbar="+action[9];windowOptions+=",directories="+action[7];windowOptions+=",location="+action[10];windowOptions+=",status="+action[8];windowOptions+=",left="+posX;windowOptions+=",top="+posY;var thisPopup=window.open(action[15], action[1], windowOptions);MPStoreOpenWin2[action[1]]=thisPopup;if (action[14] !="" && action[14] !="#" && action[14] !="(EmptyReference!)" && action[14] !="(Empty Reference!)")
window.location=action[14];}

