// This file contains intellectual property and artistic creations
// by Dennis Sandow and is copyright 2000-2010 by the author.
// For use only on websites maintained by Dennis Sandow, or with
// specific permission.  Do not remove this notice.

var ddmTimeout=14000,remtmrIntK=90000;

function MirrorOfficialSite(){
  if ( ! isWeb || mySpecial ) return;
  gotMugDiv=1;
  if ( typeof noMenu != udf && noMenu ) gotMugDiv=0;
  if ( typeof isPrint != udf && isPrint ) gotMugDiv=0;
  if (gotMugDiv) {
    mugObj=document.getElementById("mug");
    setTimeout("mugObj.innerHTML=pinkBox+'<br>'",ddmTimeout+1000);
  };
  if (typeof pgTitle != udf && pgTitle) {
    banObj=document.getElementById("baner");
    if (typeof isPrint != udf && isPrint) { 
      newBanner='<center><span class=t24><b>Long Hill Township Legacy Website</span><br><span class=t16>'+pgTitle+'</b></span></center>'; 
      ddmTimeout=3000;
    } else {
      qscPix = new Image(); qscPix.src=pixPath+"qscendbanner.gif";
      newBanner='<img src='+pixPath+'qscendbanner.gif><br><span class=t16><b>'+pgTitle+'</b></span>';
    };
    setTimeout("banObj.innerHTML=newBanner",ddmTimeout+2000);
  };
};

var remtmr=remtmrInt='';
function returnReminder(lURL){
  if ( isWeb && lURL && lURL.indexOf('http') >=0 ) {
    if ( typeof remtmr != udf && remtmr ) {
      clearTimeout(remtmr); remtmr='';
    }; 
    remtmrInt=remtmrIntK;
    remtmr=setTimeout("reminder()",remtmrInt)
  };
};

function reminder(){
  dumpRemTmr=true;
  for (yy=0; yy<popA.length; yy++ ){
    if ( typeof popA[yy] == udf ) continue;
    if ( typeof popA[yy].closed != udf && popA[yy].closed ) continue;
    dumpRemTmr=false; break;
  };
  if ( dumpRemTmr ) return;
  alert("Don't forget to come back to the Long Hill Legacy Website");
  remtmrInt += remtmrIntK; remtmr=setTimeout("reminder()",remtmrInt)
  window.blur();
};

//compost.mas
CompostYear=2010; CompostMonthsAcross=4;
var CompostDates = '|410|417|424|501|515|522|605|612|619|626|724|821|911|925|1002|1016|1023|1030|1106|1113|1120||1204|'; //2010
var DemolitionDates = '|417|619|821|1016|1204|'; //2010

//recycal.mas
RecycleYear=2010; RecycleMonthsAcross=3;
var NoPickupDates = '|101|531|906|1125|1225|'; // 2010
var DoubleDates = '|909|'; // 2010
var NoteAt = '|1126^Stirling <b>AND MILLINGTON</b> Recycling|1224^Stirling <b>AND GILLETTE/MEYERSVILLE</b> Recycling|'; // 2010
var xWG = '|1321^Gl|'; // 2010
