// original content taken from Nic's JavaScript Page with permission
// lack of these three lines will result in copyright infringment
// made by: Nic's JavaScript Page - http://www.javascript-page.com

var currentdate = 0;
var core = 0;

function initArray() {

this.length = initArray.arguments.length;
  for (var i = 0; i < this.length; i++) {
  this[i] = initArray.arguments[i];
  }
}

link = new initArray(  // MAKE SURE EVERY LINE ENDS WITH A COMMA, EXCEPT FOR THE FINAL LINE
"/content/Shipping_Information/1021",
"/content/Shipping_Information/1021"
);


//September 22, 2009 - catids
//22 sleep mask, 23 pin cusions, 24 toliet paper, 25 utin burrito, 26 necklace, 27 accessories, 28 potty fairy


image = new initArray(  // MAKE SURE EVERY LINE ENDS WITH A COMMA, EXCEPT FOR THE FINAL LINE
"4_92xmail_avion_Free_Shipping.jpg",
"4_92xmail_avion_Free_Shipping.jpg"
);

text = new initArray(  // MAKE SURE EVERY LINE ENDS WITH A COMMA, EXCEPT FOR THE FINAL LINE
"Enjoy Free Shipping on Domestic orders over $100.00",
"Limited time only. Free Shipping on Domestic orders over $100.00"
);

var currentdate = new Date();
var core = currentdate.getSeconds() % image.length;
var ranlink  = link[core];
var ranimage = image[core];
var rantext  = text[core];

document.write('<div style=\"background:transparent url(../images/main/'+ranimage+') no-repeat center center\"><a href=\"' +ranlink+ '\" class=\"noborder\"><img src=\"images/main/smallborder.gif\" class="mainimg" width="92" height="92" alt=\"'+rantext+'\"></a></div>');