<!--

function P7_setCSS(d, theStyle) { //v1.8 by PVII
  var expDays=parseInt(d),path = "/";
  var expdate = new Date();
  expdate.setTime(expdate.getTime() + (expDays*24*60*60*1000));
  document.cookie = "p7styler=" + escape (theStyle) + "; expires=" + expdate.toGMTString() +'; path=' + path;
  top.location.reload();
}

function P7_getCSS(a) { // v1.8 by PVII
  var i=0,j=0,e=0,theSheet="";
  a=a+"=",t="<",u="LINK";
  var alen=a.length,clen=document.cookie.length;
  while (i < clen) {
   j=i+alen;
   if(document.cookie.substring(i,j)==a) {
     e = document.cookie.indexOf(";",j);
     if (e==-1) {e=clen}
     theSheet = unescape(document.cookie.substring(j,e));
     document.write(t+u+' rel="stylesheet" type="text/css" href="' + theSheet + '">');
     break;}
   else {i=document.cookie.indexOf(" ",i)+1;
     if (i==0) break; } }
}
P7_getCSS('p7styler');

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function popUpMailing() {
window.open("mail1.htm","Window2","status=no,height=750,width=733,resizable=yes,left=100,top=100,scrollbars=yes");
}

function popUpGallery(galno) {
window.open("gallery.php?galid="+galno,"Window2","status=no,height=750,width=730,resizable=yes,left=50,top=50,scrollbars=no");
}

function swap(imgIndex) {
    document['imgMain'].src = aryImages[imgIndex];
}

-->