





































/* CDCOOKIES.JS - JavaScript Cookies Library (version 2.2)
** =====================================================
**  Copyright (c) 1999-2003 Cyber-dynamics Inc All Rights Reserved
**   www.cyber-dynamics.net .. info@cyber-dynamics.net
** Original cookie routines:
** Copyright 1999, Richard Scott (version 1.1). All rights reserved.
** Copyright 1997, Christopher Doemel (version 1.0). All rights reserved.
*/
var DateNow="",yre="",moe="",dye="",CDC="";getDates(6);
function areCookiesAccepted(gAlert){CDt=new Cookie("Dmmy");CDt.store("test");var CDt1=CDt.get();if(CDt1=="test") {return true}else{if (gAlert==1){alert ("Sorry. This site requires support for cookies.\nPlease enable cookies or upgrade your browser.\nThen refresh/reload this page. Thanks.") }return false;}}
function Cookie(name,expires,domain,path,isSecure) {path="/"; 
 this.name=name;this.expires=expires;this.domain=domain;this.path=path;
 this.isSecure=isSecure;if(this.expires){fixCookieDate(this.expires)}}
function fixCookieDate(theDate){ var testDate=new Date(0);var skew=testDate.getTime();if(skew>0){theDate.setTime(theDate.getTime()-skew);}}
function Cookie_get(){var theWholeCookie = document.cookie;var cookieStart = theWholeCookie.indexOf(this.name);if (cookieStart==-1){return "";}else{cookieStart+=this.name.length + 1}
var cookieEnd=theWholeCookie.indexOf(";", cookieStart);if (cookieEnd==-1){cookieEnd = theWholeCookie.length}var theCookie=theWholeCookie.substring(cookieStart, cookieEnd);return unescape(theCookie)}
function Cookie_store(string){document.cookie = this.name + "=" + escape(string) + ((this.expires) ? "; expires=" + this.expires.toGMTString() : "")+"; path=/" + ((this.domain) ? "; domain="  + this.domain : "") + ((this.isSecure) ? "; secure" : "");}
function Cookie_del(){document.cookie =  this.name + "=" + ((this.expires) ? "; expires=" + (new Date(0)).toGMTString() : "") +  "; path=/" + ((this.domain) ? "; domain=" + this.domain : "");}
new Cookie();  Cookie.prototype.store=Cookie_store; Cookie.prototype.get=Cookie_get; Cookie.prototype.del=Cookie_del;
function getDates(CookieLife){var now,yr,mo,dy,hh,mi; now=new Date();yr=now.getYear();if (yr<100){yr=yr+1900}if(yr<1999){yr=yr+100}mo=now.getMonth();dy=now.getDate();hh=now.getHours()+":";mi=now.getMinutes()+" ";
var Mnth; Mnth=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");if(hh.length<3){hh = "0"+hh}if(mi.length<3){mi = "0"+mi}DateNow=' '+dy+'-'+Mnth[mo]+'-'+yr+' '+hh+mi;
yre=yr;moe=mo+CookieLife+1;if(moe>12){moe=moe-12;yre=++yr};if(dy>28){dye=28}else{dye=dy};}
function getCookie(CookieName) {CDC = new Cookie(CookieName, new Date(yre, moe, dye));var CDgc=new Array;CDgc = CDC.get();return(CDgc);}
function saveCookie(cookieName,cookieValue,cookieLifeInMonths){getDates(cookieLifeInMonths);CDC=new Cookie(cookieName, new Date(yre, moe, dye));CDC.store(cookieValue);}


