function openWindowEmail() {
popupWin=window.open('/friend.html','emailfriend','scrollbars=no,width=350,height=370,top=10,left=10')

		}

function create() {
  this.width = "";
  this.src = "";
  this.href = "";
  this.mouseover = "Visit our sponsor!";
  this.sponsor = "Visit our sponsor!";

}

Large = new Array();
Small = new Array();

for (var i = 0; i < 4; i++) {

  Large[i] = new create();
  Large[i].width = "468";
  Large[i].height = "60";

}

for (var i = 0; i < 2; i++) {
  Small[i] = new create();
  Small[i].width = "120";
  Small[i].height = "120";

}

Large[0].src = "/ads/walkmen2.gif";
Large[0].href = "http://www.thewalkmen.com";
Large[1].src = "/ads/walkmen2.gif";
Large[1].href = "http://www.thewalkmen.com";
Large[2].src = "/ads/mh.jpg";
Large[2].href = "http://www.mikeyshookup.com";
Large[3].src = "/ads/mh.jpg";
Large[3].href = "http://www.mikeyshookup.com";


Small[00].src = "http://www.freewilliamsburg.com/new/fcdbanner2.gif";
Small[00].href = "http://www.foodcourtdruids.com";
Small[01].src = "http://www.freewilliamsburg.com/new/fcdbanner2.gif";
Small[01].href = "http://www.foodcourtdruids.com";

var x = Math.floor(Math.random() * 1000) % 4; /*big ad number*/
var y = Math.floor(Math.random() * 1000) % 2; /*small ad number*/
var z = Math.floor(Math.random() * 1000) % 2; /*small ad number*/

while (y == z) {
 z = Math.floor(Math.random() * 1000) % 2; /*small ad number*/
}

var bigAdInfo = Large[x];
var smallAd1Info = Small[y];
var smallAd2Info = Small[z];

var bigAd = "<a href=\"" + bigAdInfo.href + "\" onMouseOver=\"self.status='" + bigAdInfo.mouseover + "'; return true\" onMouseOut=\"self.status=''\"><img src=\"" + bigAdInfo.src + "\" width=" + bigAdInfo.width + " height=" + bigAdInfo.height + " border=0></a>";

var smallAd1 = "<a href=\"" + smallAd1Info.href + "\" onMouseOver=\"self.status='" + smallAd1Info.mouseover + "'; return true\" onMouseOut=\"self.status=''\"><img src=\"" + smallAd1Info.src + "\" width=" + smallAd1Info.width + " height=" + smallAd1Info.height + " border=0></a>";

var smallAd2 = "<a href=\"" + smallAd2Info.href + "\" onMouseOver=\"self.status='" + smallAd2Info.mouseover + "'; return true\" onMouseOut=\"self.status=''\"><img src=\"" + smallAd2Info.src + "\" width=" + smallAd2Info.width + " height=" + smallAd2Info.height + " border=0></a>";

function showRemote() {self.name = "main"; var windowprops = "toolbar=0,location=0,directories=0,status=0, " +"menubar=0,scrollbars=0,resizable=0,width=370,height=330";OpenWindow = window.open("http://www.freewilliamsburg.com/rock.php", "remote", windowprops);}
