ad = new Array

ad[1] = "roomhire~Venue/Room Finder<BR><FONT SIZE=1>choose a room yourself</FONT>|00FF00`66FF66";
ad[2] = "bustours~Nightclub Tours|FF0044`FF4488";
ad[3] = "cruises~Boat Cruises|0088FF`44CCFF";
ad[4] = "winerytours~Winery Tours|FF00FF`FF88FF";
ad[5] = "djhire~DJ Hire|FF8800`FFCC44";
ad[6] = "homebars~Mobile Bars & Kegs|88FF00`CCFF44";
//ad[7] = "hensbucks~Hens & Bucks Nights|FFFF00`FFFF88";
ad[7] = "partyhelp~Venue/Room Helper<BR><FONT SIZE=1>have someone suggest rooms for you</FONT>|FFFF00`FFFF88";
ad[8] = "more~More Party Options|00FFFF`88FFFF";
adcount=8;

messageNum=0;
//first message to be displayed in 3 seconds
setTimeout("messageChanger();", 3000);
//second message
function messageChanger(){
if (messageNum==0){
defaultStatus="Welcome to PARTY HQ";
messageNum=1;
}else{
defaultStatus="We make organising great parties easy!";
messageNum=0;
}
//Schedule the next message
setTimeout("messageChanger();", 3000);
}

document.write("<style type=\"text/css\"><!--\n");
document.write("BODY, TD, INPUT, SELECT, TEXTAREA {font:12px Tahoma;COLOR:#000066;}\n");
document.write("<!--BODY\n");
document.write("{body ;margin:0px;background-color:#000000;\n");
document.write(" scrollbar-3dLight-Color:#00FF00;\n");
document.write(" scrollbar-Highlight-Color:#000000;\n");
document.write(" scrollbar-Track-Color:#000000;\n");
document.write(" scrollbar-Face-Color:#333333;\n");
document.write(" scrollbar-Shadow-Color:#00FF00;\n");
document.write(" scrollbar-DarkShadow-Color:#000000;\n");
document.write(" scrollbar-Arrow-Color:#FF00FF}\n");

//document.write(".color1 {BACKGROUND:#333333;COLOR:#00FF88;border:solid 1px #00FF00;font-size:12px;}\n");
//document.write(".color1 {BACKGROUND:#000000;COLOR:#FF00BB;border:solid 1px #00FFFF;font-size:12px;}\n");
//document.write(".color1 {BACKGROUND:#000000;COLOR:#00FFFF;border:inset 2px #FF0088;font-size:12px;}\n");
document.write(".color1 {BACKGROUND:#77AAFF;COLOR:#000088;border:inset 2px #CC00CC;font-size:12px;}\n");
document.write(".color2 {BACKGROUND:#336633;COLOR:#00FFFF;border:3px ridge #CC00CC;font-size:12px;font-weight:bold;}\n");
document.write(".color3 {BACKGROUND:#336633;COLOR:#00FF88;border:3px ridge #00FF00;font-size:20px;font-weight:bold;}\n");
document.write(".color4 {BACKGROUND:#336633;COLOR:#00FF88;border:3px ridge #00FF00;font-size:9px;}\n");

document.write("H1 {COLOR:#006688;font-style:italic;}\n");
document.write("H3 {COLOR:#006688;font-style:italic;}\n");

document.write(".t1 {COLOR:#FF00FF;font-size:13px;font-weight:bold;text-align:right;}\n");
document.write(".t2 {COLOR:#FF00AA;font-size:11px;}\n");
document.write(".t3 {COLOR:#000066;font-size:13px;font-weight:bold;text-align:right;}\n");
document.write(".t4 {COLOR:#000066;font-size:11px;}\n");
document.write(".Top1 {COLOR:#FF8800;font-size:8px;}\n");
document.write(".tab1 {COLOR:#000066;padding-left:9px;padding-right:9px;text-align:justify;}\n");
document.write(".tab2 {padding-left:9px;padding-right:9px;text-align:center;}\n");
document.write(".tab3 {COLOR:#000000;text-align:center;font-size:10px;}\n");
document.write(".tab4 {COLOR:#FF8800;}\n");
document.write(".head {COLOR:#000000;padding-left:7px;padding-right:7px;font-size:18px;font-weight:bold;font-style:italic;}\n");

document.write("a.out:link {color:cyan;text-decoration:underline;}\n");
document.write("a.out:visited {text-decoration:underline;color:aqua;}\n");
document.write("a.out:hover {text-decoration:bold;color:yellow;}\n");
document.write("a.out:active {text-decoration:underline;color:red;}\n");

document.write("a:link{text-decoration:underline;color:red;}\n");
document.write("a:active{text-decoration:underline;color:yellow;}\n"); 
document.write("a:visited{text-decoration:#880088;}\n");
document.write("a:hover{text-decoration:bold;color:blue;}\n");

document.write(".a1:link {color:#000000;text-decoration:none;}\n");
document.write(".a1:visited {color:#000000;text-decoration:none;}\n");
document.write(".a2:link {color:#000000;text-decoration:none;}\n");
document.write(".a2:visited {color:#000000;text-decoration:none;}\n");
document.write(".a2:hover {color:#000000;text-decoration:none;}\n");

for (var w=1;w <=adcount; ++w){
var string=ad[w] + "";
var split1=string.indexOf("~");
var split2=string.indexOf("|");
var split3=string.indexOf("`");
var file=string.substring(0,split1);
var name=string.substring(split1 + 1,split2);
var col=string.substring(split2 + 1,split3);
var cul=string.substring(split3 + 1,string.length);

var apart = "{background:#";var bpart = ";font:13px Trebuchet MS;color:#000000;font-weight:bold;}\n";document.write(".td"+file+""+apart+""+cul+""+bpart+"");
document.write(".tda"+file+""+apart+""+col+""+bpart+"");

}
document.write("--></style>\n");

document.write("<SCRIPT>var style=\"CLASS='color1'\";</SCRIPT>\n");




function top(){
fA=new String(document.location)
fA=""+fA+"a";
fA=fA.replace(/\\/g,"|");
fA=fA.replace(/\//g,"|");
fB=fA;
fB=fB.substring((fB.lastIndexOf("|")+1),fB.length);
fC=fA;
fC=fC.replace("|"+fB+"","");
fC=fC.substring((fC.lastIndexOf("|")+1),fC.length);
BC="";CB="";
if (fB=="parties.htma"){BC="../";CB="on";}

for (var w=1;w <=adcount; ++w){
var string=ad[w] + "";
var split1=string.indexOf("~");
var file=string.substring(0,split1);
if (fB==""+file+".htma"){BC="../";}
}

if (fB=="events.htma"){BC="../";CB="off";}
if (fC=="hensnights" || fC=="bucksnights" || fC=="fundraisers" || fC=="homeparties" || fC=="hallparties" || fC=="tafeuniballs" || fC=="schoolformals" || fC=="newyearseve" || fC=="21stbirthdays" || fC=="birthdayparties"){BC="../";}
if (fC=="melbourne" || fC=="cgi-bin"){BC="../";}
if (fC=="workparties" || fC=="corporateevents" || fC=="officeparties"){BC="../";CB="off";}
document.write("<TABLE WIDTH=100% HEIGHT=100% CELLPADDING=0 CELLSPACING=0 BORDER=0><TR><TD WIDTH=300></TD><TD ALIGN=CENTER><TABLE WIDTH=1000 CELLPADDING=0 CELLSPACING=0 BORDER=0><TR><TD ALIGN=CENTER><TABLE WIDTH=700 CELLPADDING=0 CELLSPACING=0 BORDER=0>\n");
document.write("<TR><TD WIDTH=24></TD><TD WIDTH=161></TD><TD WIDTH=491></TD><TD WIDTH=24></TD></TR>\n");

if (fB=="a" || fB=="index.htma" || fB=="index.htmla" || fB=="contact.htma" || fB=="signup.htma" || fB=="thanks.htma"){
 document.write("<TR><TD COLSPAN=4 WIDTH=700 HEIGHT=34 BACKGROUND=\""+BC+"glowtopind.gif\">&nbsp;</TD></TR>\n");
}else{
 document.write("<TR><TD WIDTH=185 HEIGHT=131 ROWSPAN=2 COLSPAN=2><A HREF=\"parties.htm\"><IMG SRC=\""+BC+"partyhq.gif\" WIDTH=185 HEIGHT=131 BORDER=0 ALT=\"Party HQ\"></A></TD><TD WIDTH=515 HEIGHT=34 COLSPAN=2 BACKGROUND=\""+BC+"glowtop.gif\">&nbsp;</TD></TR>\n");
 document.write("<TR><TD HEIGHT=97 WIDTH=491 ALIGN=CENTER>\n");
 document.write("<P CLASS=\"Top1\">Home Parties • Work Parties • Hens Nights • Bucks Parties • 21st Birthdays • TAFE/Uni Balls • School Formals • Birthday • any party<BR><FONT SIZE=5 COLOR=YELLOW><B>\n");
 document.write("We make organising great parties easy!</B></FONT><BR>\n");
 document.write("DJ Hire • Nightclub Tours • Boat Cruises • Winery Tours • Mobile Bars & Kegs • Room/Venue Hire • and more</P>\n");
 document.write("<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH=100%><TR><TD WIDTH=5%><FORM NAME=\"myform\" ACTION=\"\" METHOD=\"GET\"></TD><TD CLASS=\"tab4\"><!-- WIDTH=340-->\n");

 if (BC=="../"){
  document.write("Section: ");
  state();
//  document.write("Category: ");
//  document.write("<SELECT NAME=\"event\" CLASS=color1>\n");
////  document.write("<OPTION VALUE=\"\">choose...\n");
//  document.write("<OPTION VALUE=\"parties\"");
//if (CB=="on"){document.write(" SELECTED");}
//  document.write(">Non-Corporate\n");
//  document.write("<OPTION VALUE=\"events\"");
//if (CB=="off"){document.write(" SELECTED");}
//  document.write(">Corporate\n");
//  document.write("</SELECT>\n");
  document.write("<!--INPUT TYPE=\"button\" NAME=\"button\" Value=\" Go \" onClick=\"javascript:chkform()\" CLASS=color4--></TD><TD></FORM></TD>");

  document.write("<TD WIDTH=12%></TD><TD ALIGN=RIGHT><!-- WIDTH=70--><A HREF=\"../signup.htm\" CLASS=\"out\"><!--FONT SIZE=1-->Receive our free newsletter (great deals)</FONT></A></TD><TD WIDTH=5%></TD></TR></TABLE>\n");

  document.write("<HR COLOR=#880088>\n");

 }

 document.write("</TD><TD WIDTH=24 HEIGHT=97 BACKGROUND=\""+BC+"glowright.gif\">&nbsp;</TD></TR>\n");
}
document.write("<TR><TD WIDTH=24 BACKGROUND=\""+BC+"glowleft.gif\" ALIGN=RIGHT>&nbsp;</TD><TD COLSPAN=2 WIDTH=652 ALIGN=CENTER>");

}



function bottom(){
document.write("</TD><TD WIDTH=24 BACKGROUND=\""+BC+"glowright.gif\">&nbsp;</TD></TR>\n");
document.write("<TR><TD COLSPAN=4 WIDTH=700 HEIGHT=34 BACKGROUND=\""+BC+"glowbottom.gif\">&nbsp;</TD></TR>\n");
document.write("</TABLE></TD><TD ALIGN=CENTER VALIGN=TOP><IMG SRC=\""+BC+"ad.gif\" WIDTH=300 HEIGHT=250 VSPACE=135 ALT=\"Sponsor goes here\"></TD></TR></TABLE></TD></TR></TABLE>\n");
}



function state(){

document.write("<SELECT NAME=\"state\" CLASS=color1>\n");
//document.write("<OPTION VALUE=\"\">choose...\n");

document.write("<OPTION VALUE=\"melbourne\"");
if (fC=="melbourne"){document.write(" SELECTED");}
document.write(">Vic\n");

//document.write("<OPTION VALUE=\"canberra\">ACT\n");
//document.write("NSW\n");
//document.write("NT\n");
//document.write("Qld\n");
//document.write("SA\n");
//document.write("Tas\n");
//document.write("WA\n");
document.write("</SELECT>\n");

}



function events(){

document.write("<SELECT NAME=\"events\" CLASS=color1>\n");
document.write("<OPTION VALUE=\"\">choose...</OPTION>\n<OPTION");
AB="homeparties";
if (fC==AB){document.write(" SELECTED");}
document.write(" VALUE=\""+AB+"\">Home Parties</OPTION>\n<OPTION");
AB="hallparties";
if (fC==AB){document.write(" SELECTED");}
document.write(" VALUE=\""+AB+"\">Hall Parties</OPTION>\n<OPTION");
AB="workparties";
if (fC==AB){document.write(" SELECTED");}
document.write(" VALUE=\""+AB+"\">Work Parties</OPTION>\n<OPTION");
AB="hensnights";
if (fC==AB){document.write(" SELECTED");}
document.write(" VALUE=\""+AB+"\">Hens Nights</OPTION>\n<OPTION");
AB="bucksnights";
if (fC==AB){document.write(" SELECTED");}
document.write(" VALUE=\""+AB+"\">Bucks Parties</OPTION>\n<OPTION");
AB="21stbirthdays";
if (fC==AB){document.write(" SELECTED");}
document.write(" VALUE=\""+AB+"\">21st Birthdays</OPTION>\n<OPTION");
AB="tafeuniballs";
if (fC==AB){document.write(" SELECTED");}
document.write(" VALUE=\""+AB+"\">TAFE/Uni Balls</OPTION>\n<OPTION");
AB="schoolformals";
if (fC==AB){document.write(" SELECTED");}
document.write(" VALUE=\""+AB+"\">New Years Eve</OPTION>\n<OPTION");
AB="newyearseve";
if (fC==AB){document.write(" SELECTED");}
document.write(" VALUE=\""+AB+"\">School Formals</OPTION>\n<OPTION");
AB="birthdayparties";
if (fC==AB){document.write(" SELECTED");}
document.write(" VALUE=\""+AB+"\">Birthday Parties</OPTION>\n<OPTION");
AB="corporateevents";
if (fC==AB){document.write(" SELECTED");}
document.write(" VALUE=\""+AB+"\">Corporate Events</OPTION>\n<OPTION");
AB="officeparties";
if (fC==AB){document.write(" SELECTED");}
document.write(" VALUE=\""+AB+"\">Office Parties</OPTION>\n<OPTION>Other</OPTION>\n");
document.write("</SELECT>\n");

}



function chkform(){

if (document.myform.state.value==""){alert("You must select a State.\n");}
else{
var BB="parties";
if (document.myform.events.value=="workparties"){var BB="events";}
if (document.myform.events.value=="corporateevents"){var BB="events";}
if (document.myform.events.value=="officeparties"){var BB="events";}
window.location.href="../"+document.myform.state.value+"/"+BB+".htm";
}

}



function index(){

document.write("<TABLE CELLPADDING=0 CELLSPACING=0 WIDTH=635><TR ALIGN=CENTER><!--TD><IMG SRC=\""+BC+"djhire.jpg\"></TD--><TD ROWSPAN=3><IMG SRC=\""+BC+"partyhqbig.gif\" HEIGHT=233 ALT=\"PARTY\n");
document.write("HQ\"></TD><!--TD><IMG SRC=\""+BC+"bustours.jpg\"></TD><TD><IMG SRC=\""+BC+"cruises.jpg\"></TD></TR><TR ALIGN=CENTER><TD><IMG SRC=\""+BC+"winerytours.jpg\"></TD><TD><IMG SRC=\""+BC+"partyhelp.jpg\"></TD><TD><IMG SRC=\""+BC+"homebars.jpg\"></TD></TR><TR ALIGN=CENTER><TD><IMG SRC=\""+BC+"karaoke.jpg\"></TD><TD><IMG SRC=\""+BC+"more.jpg\"></TD><TD><IMG SRC=\""+BC+"more3.jpg\"></TD--></TR></TABLE><FONT SIZE=1><FONT FACE=\"Tahoma\"><BR></FONT>\n");

document.write("<SPAN CLASS=\"tab4\">Home Parties • Work Parties • Hens Nights • Bucks Parties • 21st Birthdays • TAFE/Uni Balls • School Formals • Birthday Parties • any party<BR><FONT SIZE=5 COLOR=YELLOW><B>\n");

document.write("We make organising great parties easy!</B></FONT><BR>\n");

document.write("DJ Hire • Nightclub Tours • Boat Cruises • Winery Tours • Mobile Bars & Kegs • Room/Venue Hire • and more</SPAN><FONT FACE=\"Tahoma\"><BR><BR></FONT></FONT>\n");

document.write("<TABLE CELLPADDING=0 CELLSPACING=0 WIDTH=620 BGCOLOR=#00FF00 BACKGROUND=\""+BC+"glassback.gif\" STYLE=\"margin-top:8px;margin-bottom:5px;\">\n");

document.write("<TR VALIGN=TOP><TD><IMG SRC=\""+BC+"tl7.png\"></TD><TD ALIGN=RIGHT><IMG SRC=\""+BC+"tr7.png\"></TD></TR>\n");

document.write("<TR><TD CLASS=\"tab2\" COLSPAN=2>\n");

document.write("The guys behind PARTY HQ have thrown hundreds of awesome parties using bus, boat, DJ companies and more. This site connects you to the best. Anything you book here delivers the best party at the best price.<!--BR><IMG SRC=\""+BC+"s.gif\" HEIGHT=8><BR-->\n");

//document.write("<BR><BR>The guys behind PARTY HQ have thrown hundreds of awesome parties, using all sorts of<BR>companies (buses, boats, DJs, venues, etc). This site connects you to ones we regard as the<BR>best. Anything you book here will deliver the best service at the best price, without any hassles.<BR><IMG SRC=\""+BC+"s.gif\" HEIGHT=8><BR>\n");

document.write("\n");

document.write("<!--TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0>\n");
document.write("<TR ALIGN=CENTER><TD WIDTH=50%><FORM NAME=\"myform\" ACTION=\"\" METHOD=\"GET\"></TD><TD CLASS=\"tab3\">State*:</TD><TD CLASS=\"tab3\">Type of Event:</TD><TD WIDTH=50%></TD></TR>\n");
document.write("<TR ALIGN=CENTER><TD></TD><TD>");

state();

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

events();

document.write("</TD><TD></TD></TR><TR><TD COLSPAN=4 ALIGN=CENTER><INPUT TYPE=\"button\" NAME=\"button\" Value=\" Show Me My Party Options \" onClick=\"javascript:chkform()\" CLASS=color3></TD><TD></FORM></TD></TR></TABLE>\n");

document.write("<FONT SIZE=1>* Victoria only at this stage. Other States coming soon. <A HREF=\"../signup.htm\" CLASS=\"in\">Sign-up here</A> and we'll let you know when.</FONT-->\n");

document.write("</TD></TR><TR VALIGN=BOTTOM><TD><IMG SRC=\""+BC+"bl7.png\"></TD><TD ALIGN=RIGHT><IMG SRC=\""+BC+"br7.png\"></TD></TR>\n");

document.write("</TABLE>\n");


document.write("<FONT SIZE=1 FACE=\"Tahoma\"><BR></FONT><FONT COLOR=YELLOW><B>PARTY HQ will launch in Melbourne in coming days & in other States soon</B></FONT><BR>\n");

social();

document.write("<FONT COLOR=#00FF88><B><A HREF=\"../index.htm\">Sign up</A> so we can tell you when we're running...</B></FONT>\n");


}



function social(){

document.write("<script type=\"text/javascript\" src=\"http://cdn.socialtwist.com/2009071721296/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/2009071721296/button.png\" onmouseout=\"STTAFFUNC.hideHoverMap(this)\" onmouseover=\"STTAFFUNC.showHoverMap(this, '2009071721296', window.location, document.title)\" onclick=\"STTAFFUNC.cw(this, {id:'2009071721296', link: window.location, title: document.title });\"/></a><FONT SIZE=1 FACE=\"Tahoma\"><BR><BR></FONT>\n");

}



function infotop(){

if (BC=="../"){

fD=fB.replace(".htma","");

if (fC=="cgi-bin"){fD="roomhire";}


	if (fD=="roomTheLoft"){fD="roomhire";}


}

document.write("<TABLE CELLPADDING=0 CELLSPACING=0 WIDTH=620 HEIGHT=100 BGCOLOR=#00FF00 BACKGROUND=\"../glassback.gif\" STYLE=\"margin-top:8px;margin-bottom:5px;\">\n");
document.write("<TR VALIGN=TOP><TD><IMG SRC=\"../tl7.png\"></TD><TD ALIGN=RIGHT><IMG SRC=\"../tr7.png\"></TD></TR>\n");

document.write("<TR><TD CLASS=\"tab1\" ROWSPAN=3>\n");

document.write("<TABLE WIDTH=100%><TR><TD><IMG SRC=\"../"+fD+".jpg\"></TD><TD CLASS=\"head\" WIDTH=100%>\n");

document.write("<P ALIGN=RIGHT>\n");
social();
document.write("</P>\n");

}



function infotopb(){

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

}



function infobot(){

document.write("<A HREF=\"javascript:history.back(1)\" CLASS=\"in\">Back</A></TD>\n");



	if (fD=="roomhire"){document.write("<TD></TD></TR><TR></TR><TR></TR>\n");}else{





document.write("<TD><IMG SRC=\"../"+fD+"1.jpg\" VSPACE=5 HSPACE=7></TD></TR>\n");
document.write("<TR><TD><IMG SRC=\"../"+fD+"2.jpg\" VSPACE=5 HSPACE=7></TD></TR>\n");
document.write("<TR><TD><IMG SRC=\"../"+fD+"3.jpg\" VSPACE=5 HSPACE=7></TD></TR>\n");
	}
document.write("<TR VALIGN=BOTTOM><TD><IMG SRC=\"../bl7.png\"></TD><TD ALIGN=RIGHT><IMG SRC=\"../br7.png\"></TD></TR>\n");

document.write("</TABLE>\n");

}
