var venue="loftsat";

document.write("<style type=\"text/css\"><!--\n");
document.write("BODY, TD, INPUT, SELECT, TEXTAREA {font-family:Arial,Helvetica,Sans-Serif;font-size:x-small}\n");
document.write("<!--BODY\n");
document.write("{body ;margin:0px;background-image:url('http://www.maxmoose.com.au/loft/backhot3.jpg');background-color:#38070A;color:#FFEE66;\n");

document.write(" scrollbar-3dLight-Color:#FFEE66;\n");
document.write(" scrollbar-Highlight-Color:#000000;\n");
document.write(" scrollbar-Face-Color:#880000;\n");
document.write(" scrollbar-Track-Color:#AC0018;\n");
document.write(" scrollbar-Shadow-Color:#FFEE66;\n");
document.write(" scrollbar-DarkShadow-Color:#000000;\n");
document.write(" scrollbar-Arrow-Color:#FFFFFF}\n");

document.write(".tdhd {text-align:right;COLOR:#0088FF;font:13px;font-weight=bold;}\n");
document.write(".t1 {COLOR:WHITE;font:11px;font-weight=bold;}\n");

document.write(".color1 {BACKGROUND:#AC0018;COLOR:#FFFFFF;border:solid 1px #FFEE66;font:10px arial;}\n");
document.write(".color2 {BACKGROUND:#FF8800;COLOR:#000000;border:3px ridge #FFEE66;font:9px arial;font-weight:bold;}\n");

document.write("a:link {color:#F8E508; text-decoration: underline;}\n");
document.write("a:visited {color:#F8BC08; text-decoration: none;}\n");
document.write("a:hover {color: #FFFF88; text-decoration: underline;}\n");
document.write("a:active {color: #0088FF; text-decoration: underline;}\n");
document.write("--></style>\n");


var FadeDurationMS=1000;
function SetOpacity(object,opacityPct)
{
  // IE.
  object.style.filter = 'alpha(opacity=' + opacityPct + ')';
  // Old mozilla and firefox
  object.style.MozOpacity = opacityPct/100;
  // Everything else.
  object.style.opacity = opacityPct/100;
}
function ChangeOpacity(id,msDuration,msStart,fromO,toO)
{
  var element=document.getElementById(id);
  var msNow = (new Date()).getTime();
  var opacity = fromO + (toO - fromO) * (msNow - msStart) / msDuration;
  if (opacity>=100)
  {
    SetOpacity(element,100);
    element.timer = undefined;
  }
  else if (opacity<=0)
  {
    SetOpacity(element,0);
    element.timer = undefined;
  }
  else 
  {
    SetOpacity(element,opacity);
    element.timer = window.setTimeout("ChangeOpacity('" + id + "'," + msDuration + "," + msStart + "," + fromO + "," + toO + ")",10);
  }
}
function FadeInImage(foregroundID,newImage,backgroundID)
{
  var foreground=document.getElementById(foregroundID);
  if (foreground.timer) window.clearTimeout(foreground.timer);
  if (backgroundID)
  {
    var background=document.getElementById(backgroundID);
    if (background)
    {
      if (background.src)
      {
        foreground.src = background.src; 
        SetOpacity(foreground,100);
      }
      background.src = newImage;
      background.style.backgroundImage = 'url(' + newImage + ')';
      background.style.backgroundRepeat = 'no-repeat';
      var startMS = (new Date()).getTime();
      foreground.timer = window.setTimeout("ChangeOpacity('" + foregroundID + "'," + FadeDurationMS + "," + startMS + ",100,0)",10);
    }
  } else {
    foreground.src = newImage;
  }
}
var slideCache = new Array();
function RunSlideShow(pictureID,backgroundID,imageFiles,displaySecs)
{
  var imageSeparator = imageFiles.indexOf(";");
  var nextImage = imageFiles.substring(0,imageSeparator);
  if (slideCache[nextImage] && slideCache[nextImage].loaded)
  {
    FadeInImage(pictureID,nextImage,backgroundID);
    var futureImages = imageFiles.substring(imageSeparator+1,imageFiles.length)
      + ';' + nextImage;
    setTimeout("RunSlideShow('"+pictureID+"','"+backgroundID+"','"+futureImages+"',"+displaySecs+")",
      displaySecs*1000);
    // Identify the next image to cache.
    imageSeparator = futureImages.indexOf(";");
    nextImage = futureImages.substring(0,imageSeparator);
  } else {
    setTimeout("RunSlideShow('"+pictureID+"','"+backgroundID+"','"+imageFiles+"',"+displaySecs+")",
      250);
  }
  // Cache the next image to improve performance.
  if (slideCache[nextImage] == null)
  {
    slideCache[nextImage] = new Image;
    slideCache[nextImage].loaded = false;
    slideCache[nextImage].onload = function(){this.loaded=true};
    slideCache[nextImage].src = nextImage;
  }
}


function menu(){

document.write("<TABLE BGCOLOR=#38070A WIDTH=100% HEIGHT=20 STYLE=\"color:#E7E7E7;font-weight:bold;\"><TR ALIGN=CENTER>");


document.write("<TD><TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0><TR><TD><iframe src=\"../loft/fbl.htm\" scrolling=\"no\" frameborder=\"0\" WIDTH=55 HEIGHT=22 allowTransparency=\"true\"></iframe></TD><TD><A HREF=\"http://www.facebook.com/group.php?gid=29178579568\" TARGET=\"_blank\"><IMG SRC=\"../loft/ls.gif\" HEIGHT=22 WIDTH=22 BORDER=0 ALT=\"Loft Saturdays\"></A></TD><TD><FONT SIZE=1>&nbsp;on&nbsp;</FONT></TD><TD><A HREF=\"http://www.facebook.com\" TARGET=\"_blank\"><IMG SRC=\"../fb.gif\" HEIGHT=22 WIDTH=22 BORDER=0 ALT=\"Facebook\"></A></TD></TR></TABLE></TD>");


if (area == "hom"){document.write("<TD CLASS=\"t1\">Home</TD>");}
else{document.write("<TD CLASS=\"t1\"><A HREF=\"../loft/index.html\" onmouseover=\"window.status='Home';return true;\" onmouseout=\"window.status='';return true;\">Home</A></TD>");}

if (area == "gir"){document.write("<TD CLASS=\"t1\">Girls Nite</TD>");}
	else{document.write("<TD CLASS=\"t1\"><A HREF=\"../loft/girlsnight.htm\" onmouseover=\"window.status='Girls Night';return true;\" onmouseout=\"window.status='';return true;\">Girls Nite</A></TD>");}

//if (area == "anz"){document.write("<TD CLASS=\"t1\">ANZAC Eve</TD>");}
//else{document.write("<TD CLASS=\"t1\"><A HREF=\"../loft/anzac.htm\" onmouseover=\"window.status='ANZAC Eve';return true;\" onmouseout=\"window.status='';return true;\">ANZAC Eve</A></TD>");}

if (area == "abo"){document.write("<TD CLASS=\"t1\">About</TD>");}
else{document.write("<TD CLASS=\"t1\"><A HREF=\"../loft/about.htm\" onmouseover=\"window.status='About';return true;\" onmouseout=\"window.status='';return true;\">About</A></TD>");}

if (area == "fun"){document.write("<TD CLASS=\"t1\">B’days/Groups</TD>");}
else{document.write("<TD CLASS=\"t1\"><A HREF=\"../loft/functions.htm\" onmouseover=\"window.status='B’days/Functions';return true;\" onmouseout=\"window.status='';return true;\">B’days/Groups</A></TD>");}

//venue="hunkm";
//maxmoosemenu()
venue="loftsat";

//document.write("<TD CLASS=\"t1\"><A HREF=\"http://www.maxmoose.com.au/m/hunkmania/03.htm\" TARGET=\"_blank\" onmouseover=\"window.status='HunkMania';return true;\" onmouseout=\"window.status='';return true;\">HunkMania</A></TD>");

//if (area == "djs"){document.write("<TD CLASS=\"t1\">DJs</TD>");}
//else{document.write("<TD CLASS=\"t1\"><A HREF=\"../loft/djs.htm\" onmouseover=\"window.status='DJ Profiles';return true;\" onmouseout=\"window.status='';return true;\">DJs</A></TD>");}

//document.write("<TD CLASS=\"t1\"><A HREF=\"http://www.maxmoose.com.au/m/loft/01.htm\" TARGET=\"_blank\" onmouseover=\"window.status='Latest Emailout';return true;\" onmouseout=\"window.status='';return true;\">Emailout</A></TD>");

maxmoosemenu()

if (area == "gue"){document.write("<TD CLASS=\"t1\">Guestlist</TD>");}
//else{document.write("<TD CLASS=\"t1\"><A HREF=\"../loft/guestlist.cgi\" onmouseover=\"window.status='Guestlists';return true;\" onmouseout=\"window.status='';return true;\">Guestlist</A></TD>");}
else{document.write("<TD CLASS=\"t1\"><A HREF=\"../loft/guestlist.htm\" onmouseover=\"window.status='Guestlists';return true;\" onmouseout=\"window.status='';return true;\">Guestlist</A></TD>");}

document.write("<TD CLASS=\"t1\"><A HREF=\"http://www.maxmoose.com.au/maxframe.cgi?review/rsaloft.htm\" TARGET=\"_blank\" onmouseover=\"window.status='Gossip';return true;\" onmouseout=\"window.status='';return true;\">Gossip</A></TD>");

//document.write("<TD CLASS=\"t1\">Pics</TD>");
if (area == "pix"){document.write("<TD CLASS=\"t1\">Pics</TD>");}
else{document.write("<TD CLASS=\"t1\"><A HREF=\"../loft/photos.htm\" onmouseover=\"window.status='Pics';return true;\" onmouseout=\"window.status='';return true;\">Pics</A></TD>");}

if (area == "fac"){document.write("<TD CLASS=\"t1\">Facebook</TD>");}
else{document.write("<TD CLASS=\"t1\"><A HREF=\"../loft/facebook.htm\" onmouseover=\"window.status='Facebook';return true;\" onmouseout=\"window.status='';return true;\">Facebook</A></TD>");}

document.write("<TD CLASS=\"t1\"><A HREF=\"http://www.myspace.com/loftsaturday\" TARGET=\"_blank\" onmouseover=\"window.status='MySpace';return true;\" onmouseout=\"window.status='';return true;\">MySpace</A></TD>");

if (area == "pro"){document.write("<TD CLASS=\"t1\">Promoters Wanted</TD>");}
else{document.write("<TD CLASS=\"t1\"><A HREF=\"../loft/promoters.htm\" onmouseover=\"window.status='Promoters Wanted';return true;\" onmouseout=\"window.status='';return true;\">Promoters Wanted</A></TD>");}

//document.write("<TD CLASS=\"t1\">Members</TD>");

if (area == "con"){document.write("<TD CLASS=\"t1\">Contact</TD>");}
else{document.write("<TD CLASS=\"t1\"><A HREF=\"../loft/contact.htm\" onmouseover=\"window.status='Contact';return true;\" onmouseout=\"window.status='';return true;\">Contact</A></TD>");}

document.write("<TD><script type=\"text/javascript\" src=\"http://cdn.socialtwist.com/2009071721287/script.js\"></script><a class=\"st-taf\" href=\"http://tellafriend.socialtwist.com:80\" onclick=\"return false;\" style=\"border:0;padding:0;margin:0;\"><img alt=\"SocialTwist Tell-a-Friend\" style=\"border:0;padding:0;margin:0;\" src=\"http://images.socialtwist.com/2009071721287/button.png\" onmouseout=\"STTAFFUNC.hideHoverMap(this)\" onmouseover=\"STTAFFUNC.showHoverMap(this, '2009071721287', window.location, document.title)\" onclick=\"STTAFFUNC.cw(this, {id:'2009071721287', link: window.location, title: document.title });\"/></a></TD>");


document.write("</TR></TABLE>");

}



function top(){

document.write("<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100% HEIGHT=100%><TR><TD HEIGHT=10><TABLE WIDTH=100% BACKGROUND=\"http://www.maxmoose.com.au/loft/transe.png\" CELLPADDING=0 CELLSPACING=0>");

document.write("<TR><TD ALIGN=RIGHT><!--IMG SRC=\"minipass.jpg\"> Loft Saturday by:</TD-->");


document.write("<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0><TR><TD ALIGN=CENTER><A HREF=\"http://www.loftsaturday.com\"><IMG SRC=\"http://www.maxmoose.com.au/ourtime/toploftsat.gif\" HEIGHT=50 BORDER=0 ALT=\"Loft Saturday\"></A><FONT SIZE=1><BR>presented by</FONT><BR>");
document.write("<A HREF=\"http://www.ourtime.com.au\"><IMG SRC=\"http://www.maxmoose.com.au/ourtime/topourtime.gif\" HEIGHT=50 BORDER=0 ALT=\"Our Time Entertainment\"></A></TD></TR></TABLE></TD>");


//document.write("<TABLE BGCOLOR=#38070A WIDTH=100% HEIGHT=20 STYLE=\"color:#E7E7E7;font-weight:bold;\"><TR ALIGN=CENTER><TD><IMG SRC=\"http://www.maxmoose.com.au/ourtime/toploftsat.gif\"></TD></TR></TABLE>");


document.write("<TD ALIGN=CENTER><FONT FACE=\"Tahoma,Arial,Sans Serif\" SIZE=4 COLOR=BLUE>");

//document.write("<A HREF=\"http://www.ourtime.com.au\"><IMG SRC=\"http://www.maxmoose.com.au/ourtime/ourtime.png\" BORDER=0 ALT=\"Our Time Entertainment\"></A><CENTER><FONT FACE=\"Tahoma\" SIZE=1><BR></FONT><B>");
//document.write("MELBOURNE'S FINEST WEEKLY NIGHTCLUB EVENTS</B></CENTER><FONT FACE=\"Tahoma\" SIZE=1><BR></FONT>");



document.write("<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH=100%><TR><TD ALIGN=RIGHT>");
document.write("<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH=180 HEIGHT=121 BGCOLOR=BLACK><TR><TD>");

RunSlideShow("1p","b1p","http://www.moosemax.com/pics/tloftsat/110611DSC_0047.jpg;http://www.moosemax.com/pics/tloftsat/110604DSC_0074.jpg;http://www.moosemax.com/pics/tloftsat/110528DSC_0103.jpg;http://www.moosemax.com/pics/tloftsat/110521DSC_0066.jpg",2.9);
document.write("<div id=\"b1p\"><A HREF=\"http://www.loftsaturday.com/photos.htm\"><img alt=\"slide show\" src=\"http://www.moosemax.com/pics/tloftsat/110611DSC_0047.jpg\" width=\"180\" id=\"1p\" BORDER=0></a></div>");

document.write("</TD></TR></TABLE>");
document.write("</TD><TD WIDTH=335><IMG SRC=\"http://www.maxmoose.com.au/loft/header.jpg\" BORDER=0 WIDTH=335 HEIGHT=121 ALT=\"Loft Saturdays\"></TD><TD>");
document.write("<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH=180 HEIGHT=121 BGCOLOR=BLACK><TR><TD>");

RunSlideShow("2p","b2p","http://www.moosemax.com/pics/tloftsat/110521DSC_0075.jpg;http://www.moosemax.com/pics/tloftsat/110521DSC_0052.jpg;http://www.moosemax.com/pics/tloftsat/110514DSC_0022.jpg;http://www.moosemax.com/pics/tloftsat/110514DSC_0097.jpg",2.8);
document.write("<div id=\"b2p\"><A HREF=\"http://www.loftsaturday.com/photos.htm\"><img alt=\"slide show\" src=\"http://www.moosemax.com/pics/tloftsat/110521DSC_0075.jpg\" width=\"180\" id=\"2p\" BORDER=0></a></div>");

document.write("</TD></TR></TABLE>");
document.write("</TD></TR></TABLE>");



document.write("</FONT></TD>");

document.write("<TD ALIGN=CENTER>");

document.write("<A HREF=\"http://www.ourtime.com.au\"><IMG SRC=\"http://www.maxmoose.com.au/ourtime/topourtime.gif\" HEIGHT=50 BORDER=0 ALT=\"Our Time\"></A>");
document.write("<A HREF=\"http://www.loftsaturday.com\"><IMG SRC=\"http://www.maxmoose.com.au/ourtime/toploftsat.gif\" HEIGHT=50 BORDER=0 ALT=\"Loft Saturday\"></A>");
//document.write("<A HREF=\"http://www.sincitysaturday.com\"><IMG SRC=\"http://www.maxmoose.com.au/ourtime/topsincity.gif\" HEIGHT=50 BORDER=0 ALT=\"Sin City\"></A>");
document.write("<A HREF=\"http://www.boomevents.info\"><IMG SRC=\"http://www.maxmoose.com.au/ourtime/topboom.gif\" HEIGHT=50 BORDER=0 ALT=\"Boom Events\"></A><BR>");
document.write("<A HREF=\"http://www.melbournenightclubspubsdancemusicfestivals.com\" TARGET=\"_blank\"><IMG SRC=\"http://www.maxmoose.com.au/maxmoosenew1.gif\" HEIGHT=40 BORDER=0 ALT=\"Max Moose: Melbourne Nightclubs, Pubs & Dance Music Festivals\"></A>");
document.write("<A HREF=\"http://www.partyhq.com.au\" TARGET=\"_blank\"><IMG SRC=\"http://www.maxmoose.com.au/ourtime/toppartyhq.gif\" HEIGHT=40 BORDER=0 ALT=\"Party HQ\"></A>");

document.write("<!--TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0><TR><TD><iframe src=\"../loft/fbl.htm\" scrolling=\"no\" frameborder=\"0\" WIDTH=55 HEIGHT=22 allowTransparency=\"true\"></iframe></TD><TD><A HREF=\"http://www.facebook.com/group.php?gid=29178579568\" TARGET=\"_blank\"><IMG SRC=\"fbourtimesq.gif\" HEIGHT=22 WIDTH=22 BORDER=0 ALT=\"Our Time Entertainment\"></A></TD><TD><FONT SIZE=1>&nbsp;on&nbsp;</FONT></TD><TD><A HREF=\"http://www.facebook.com\" TARGET=\"_blank\"><IMG SRC=\"../fb.gif\" HEIGHT=22 WIDTH=22 BORDER=0 ALT=\"Facebook\"></A></TD></TR></TABLE-->");

document.write("</TD></TR>");

	
document.write("</TABLE></TD></TR><TR VALIGN=TOP><TD ALIGN=CENTER HEIGHT=25>\n");

menu()

//document.write("</TD></TR><TR><TD ALIGN=CENTER>There's a temporary problem with the more recent pics. They will be back online shortly.");

document.write("</TD></TR><TR VALIGN=TOP><TD ALIGN=CENTER><FONT FACE=\"Tahoma\" SIZE=1><BR></FONT><TABLE WIDTH=960 HEIGHT=100% CELLPADDING=0 CELLSPACING=0 BORDER=0><TR><TD BACKGROUND=\"http://www.maxmoose.com.au/loft/transg.png\" ALIGN=CENTER>");

document.write("<FONT COLOR=#00FF88 SIZE=6><B>Last Loft was Sat Oct 1. We've moved<BR>to the bigger & better Star Sat! (<A HREF=\"http://www.starsaturdays.com\">info</A>)</B></FONT><BR><BR>");

}



function bottom(){

document.write("</FONT></TD></TR></TABLE>");

if (area == "hom"){document.write("</FONT></TD></TR><TR VALIGN=BOTTOM><TD ALIGN=RIGHT><FONT SIZE=1>Website by <A HREF=\"http://www.maxmoose.com.au\" TARGET=\"_blank\"><FONT COLOR=RED>Max Moose</FONT></A>");}

document.write("</FONT></TD></TR><TR VALIGN=BOTTOM><TD HEIGHT=20 ALIGN=CENTER><FONT FACE=\"Tahoma\" SIZE=1><BR></FONT>");

menu()

document.write("</TD></TR></TABLE></FONT>");

}
