msie = navigator.appVersion.indexOf("MSIE") != -1;

if (msie)
{
c4714          = new config();
c4714.prefix   = "y_tails4714";
c4714.image0       = "images/funstuff/snowflake-small1.gif";
c4714.image0width  ="13";
c4714.image0height ="15";
c4714.image1       = "";
c4714.image1width  ="** ERROR:java.io.IOException: imageTracker error::http://pagebuilder.yahoo.com/members/tools/pagebuilder/server/read/url/";
c4714.image1height ="** ERROR:java.io.IOException: imageTracker error::http://pagebuilder.yahoo.com/members/tools/pagebuilder/server/read/url/";
c4714.imageCount = 5;
c4714.positionX  = 3;
c4714.positionY  = 2;
c4714.posbump    = 5;
c4714.oldx       = new Array();
c4714.oldy       = new Array();
c4714.updateDelay = 3;
c4714.updateDelay = 15 * c4714.updateDelay;
c4714.uid        = 4714;
for (i=c4714.imageCount - 1;i>=0; i--) {
 writeImage(c4714.image0, c4714.prefix + i, 0, -c4714.image0height);
 setVisible(c4714.prefix + i, 0);
}
writeImage(c4714.image1, c4714.prefix + "top", 0, -c4714.image1height);
setVisible(c4714.prefix + "top", 0);
for (i=0;i<c4714.imageCount;i++) {
 c4714.oldx[i] = -c4714.image0height;
 c4714.oldy[i] = 0;
}
// get destination around cursor for both images
c4714.offset0x = -c4714.image0width + c4714.image0width * ((c4714.positionX - 1)/2) + (c4714.positionX - 2) * c4714.posbump;
c4714.offset1x = -c4714.image1width + c4714.image1width * ((c4714.positionX - 1)/2) + (c4714.positionX - 2) * c4714.posbump;
c4714.offset0y = -c4714.image0height + c4714.image0height * ((c4714.positionY - 1)/2) + (c4714.positionY - 2) * c4714.posbump;
c4714.offset1y = -c4714.image1height + c4714.image1height * ((c4714.positionY - 1)/2) + (c4714.positionY - 2) * c4714.posbump;
}

function updateTail(c) {
 if (cursorX + c.offset0x == getLayerX(c.prefix + (c.imageCount - 1)) && cursorY + c.offset0y == getLayerY(c.prefix + (c.imageCount - 1))) {
  for (i=c.imageCount-1;i>=0;i--) {  setVisible(c.prefix + i, 0); }
  if (c.image1 != "") {
   moveLayer(c.prefix + "top", cursorX + c.offset1x, cursorY + c.offset1y);
   setVisible(c.prefix + "top", 1);
  }
 } else {
  setVisible(c.prefix + "top", 0);
  for (i=c.imageCount-1;i>0;i--) {
   c.oldx[i] = c.oldx[i-1];
   c.oldy[i] = c.oldy[i-1];
  }
  c.oldx[0] = cursorX + c.offset0x;
  c.oldy[0] = cursorY + c.offset0y;
  for (i=0;i<c.imageCount;i++) {
   setVisible(c.prefix + i, 1);
   moveLayer(c.prefix + i, c.oldx[i], c.oldy[i]);
  }
 }
 setTimeout("updateTail(c" + c.uid + ")", c.updateDelay);
}
captureXY();



function jmpToIndex() 
{
	location.href="./index.html"
}


