<!----Main Banner Rotation--------

var myWidth = 0, myHeight = 0;
  if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
    myWidth = window.innerWidth;
    myHeight = window.innerHeight;
  } else {
    if( document.documentElement &&
        ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
      //IE 6+ in 'standards compliant mode'
      myWidth = document.documentElement.clientWidth;
      myHeight = document.documentElement.clientHeight;
    } else {
      if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
        //IE 4 compatible
        myWidth = document.body.clientWidth;
        myHeight = document.body.clientHeight;
      }
    }
  }

var winl = (myWidth - 624) / 2;
var wint = (myHeight - 600) / 2;

n=new Date();																					
//j=n.getSeconds();
m=n.getMilliseconds();
t=n.getSeconds();
b=m*.001;
j=t+b;

if      (j<15.0) document.write("<center><a href=\"http://www.meandthempetbakery.com\" target=\"_blank\"><img src=\"http://www.bigdogzllc.com/banners/ban1.gif\" alt=\"Great Pet Treats\" height=120 width=140 border=0></a>\n");
else if (j<30.0) document.write("<center><a href=\"http://www.bigdogzllc.com/advertise.htm\" target=\"_blank\"><img src=\"http://www.bigdogzllc.com/banners/ban2.gif\" alt=\"Advertise Here\" height=120 width=140 border=0></a>\n");
else if (j<45.0) document.write("<center><a href=\"http://www.meandthempetbakery.com\" target=\"_blank\"><img src=\"http://www.bigdogzllc.com/banners/ban1.gif\" alt=\"Great Pet Treats\" height=120 width=140 border=0></a>\n");
else if (j<60.0) document.write("<center><a href=\"http://www.bigdogzllc.com/advertise.htm\" target=\"_blank\"><img src=\"http://www.bigdogzllc.com/banners/ban2.gif\" alt=\"Advertise\" height=120 width=140 border=0></a>\n");
else           document.write("<center><a href=\"http://www.meandthempetbakery.com\" target=\"_blank\"><img src=\"http://wwwbigdogzllc.com/banners/ban1.gif\" alt=\"Great Pet Treats\" height=120 width=140 border=0></a>\n");
//----Banner Rotation-----End Hide from inferior browsers-----> 
