// <JavaScript id="standard.js"> generates the top of the page for GO Software's web site

function ShowTop(TextImg, Header, SubHdr,MoreImg)
{
var ylw="yellow"
var whi="white"

days = new Array(7);
months = new Array(12);
days[1] = "Sunday";
days[2] = "Monday";
days[3] = "Tuesday"; 
days[4] = "Wednesday";
days[5] = "Thursday";
days[6] = "Friday";
days[7] = "Saturday";
months[1] = "January";
months[2] = "February";
months[3] = "March";
months[4] = "April";
months[5] = "May";
months[6] = "June";
months[7] = "July";
months[8] = "August";
months[9] = "September";
months[10] = "October"; 
months[11] = "November";
months[12] = "December";
today = new Date(); 
day = days[today.getDay()+1];
month = months[today.getMonth()+1];
date = today.getDate();
year=today.getYear(); 
if (today.getMinutes()<10) {time=today.getHours()+":0"+today.getMinutes()} else {time=today.getHours()+":"+today.getMinutes()};
if (year < 20) year = year+2000;
if (year < 2000) year = year+1900;
hours= today.getHours();
minutes= today.getMinutes();
seconds= today.getSeconds();
time = ""+((hours < 10) ? "0" : "") + hours;
time = time + ((minutes < 10) ? ":0" : ":") + minutes;
if (hours<20) {if (hours<17) {if (hours<12) {greet="Morning"} else {greet="Afternoon"}} else {greet="Evening"}} else {greet="Night"};

document.writeln('<a name=top></a>');
document.writeln('<table border=1 cellspacing=0 cellpadding=0 cols=2 align=center height=1000>');
document.writeln('<tr><td valign=top width=100 bgcolor="ivory">'); <!-- was #4169E1 -->
document.writeln('    <center>');
document.writeln('      <font face=arial size=2 color=#ffffff>');
document.writeln('      <a href="index.htm">Home</a><br>');
document.writeln('      <hr color="#FF1493">');
document.writeln('      <font face=arial size=1 color="#ffffff">');
document.writeln('      <a href="rentmstr.htm">RentMaster</a><br>');
document.writeln('      <a href="broker.htm">AusBroker</a><br>');
document.writeln('      <a href="mortgage.htm">Mortgage</a><br>');
document.writeln('      <a href="payroll.htm">Payroll</a><br>');
document.writeln('      <a href="pmiats.htm">PMI-ATS</a><br>');
document.writeln('      <a href="nursing.htm">Nursing</a><br>');
document.writeln('      <a href="acctng.htm">Accounting</a><br>');
document.writeln('      <a href="video.htm">VideoTape</a><br>');
document.writeln('      <a href="ccw.htm">Fund Manage</a><br>');
document.writeln('      <a href="skydive.htm">Club Members</a><br>');
document.writeln('      <a href="air-cond.htm">Air Conditioner</a><br>');
document.writeln('      <a href="pawnmstr.htm">Pawnshop</a><br>');
document.writeln('      <a href="res-clin.htm">Clinics</a><br>');
document.writeln('      <a href="website.htm">Web Design</a><br>');
document.writeln('      <hr color=#FF1493>');
document.writeln('      <a href="profile.htm">Profile</a><br>');
document.writeln('      <a href="download.htm">DownLoads</a><br>');
document.writeln('      <a href="GO_Remote.htm">Remote Support</a><br>');
document.writeln('      <a href="mailto:sales@gosoftware.com.au">Email Us</a><br>');
document.writeln('      <a href="links.htm">Links</a><br>');
document.writeln('      <a href="faq.htm">F.A.Q.</a><br>');
document.writeln('      <a href="lookup.htm">Lookup Tables</a><br>');
document.writeln('      <a href="backup.htm">Backup</a><br>');
document.writeln('      <a href="internet.htm">Internet</a><br>');
document.writeln('      <a href="network.htm">Network</a><br>');
document.writeln('      <a href="problem.htm">Request Help</a><br>');
document.writeln('      <a href="response.htm">Sales Query</a><br>');
document.writeln('      <a href="register.htm">Register</a><br>');
document.writeln('      <a href="hardware.htm">Hardware</a><br>');
document.writeln('      <a href="phone.htm">Phones</a><br>');
document.writeln('      <a href="Recycle.htm">Recycling</a><br>');
document.writeln('      <a href="sitemap.htm">Site Map</a><br>');
document.writeln('      <hr color="#FF1493">');
document.writeln('      To print a web page from this site use the PRINT option from the top of each page');
document.writeln('    </font>');
document.writeln('    </center>');
document.writeln('</td><td valign=top background="images/6a.gif">');
document.writeln('<table align=center border=0 cellspacing=0 cols=3 background="images/6a.gif">');
document.writeln('  <tr>');
document.writeln('    <td width=110>');
document.writeln('      <a href="JavaScript:window.print()">');
document.writeln('        <img id="picwizard" src="http://www.gosoftware.com.au/images/wizard.gif" border="0" alt="Wizard">');
document.writeln('      </a>');
document.writeln('    </td>');
document.writeln('    <td align=center>');
if (TextImg>"") {
document.writeln('      <img src="'+TextImg+'" width=480 height=80>');
if (Header>"") document.writeln('      <br>');
};
if (Header>"") document.writeln('      <font face="arial" color=blue Size=6><b>'+Header+'</b>');
document.writeln('      <font face="arial" color=blue size=4><br><i><b>'+SubHdr+'</b></i><br>');
document.writeln('    </td>');
document.writeln('    <td width=110>');
if (ShowTop.arguments[3]>"") document.writeln('      <img align=right src="'+ShowTop.arguments[3]+'" border="0" alt="'+ShowTop.arguments[3]+'">');
document.writeln('    </td>');
document.writeln('  </tr>');
document.writeln('  <tr bgcolor="#ivory" height=1 link=white vlink=white>'); <!-- was #4169E1 -->
document.writeln('    <td> </td>');
document.writeln('    <td align=center>');
document.writeln('      <font face=arial size=-1 color=white>| ');
document.writeln('      <a href="JavaScript:window.print()">Print</a> |');
document.writeln('      <a href="#bottom">Bottom</a> | ');
document.writeln('      <a href="http://gosoftware.com.au/index.htm">Home</a> | ');
document.writeln('      <a href="download.htm">Downloads</a> | ');
document.writeln('      <a href="http://gosoftware.com.au/faq.htm">F.A.Q.</a> | ');
document.writeln('      <a href="http://gosoftware.com.au/GO_Remote.htm">Remote</a> | ');
document.writeln('      <a href="http://westech.gosoftware.com.au">Westech</a> | ');
document.writeln('      <a href="mailto:sales@gosoftware.com.au">Email Us</a> | ');
document.writeln('      <a href="JavaScript:window.history.back()">Back</a> | ');
document.writeln('    </td>');
document.writeln('    <td> </td>');
document.writeln('  </tr>');
document.writeln('  <tr>');
document.writeln('    <td> </td>');
document.writeln('      <td align=center>');
document.writeln('        <font size=-1 face="Arial, Helvetica, sans-serif" color=blue>');
document.writeln('         Good '+greet+' on ' +day+', '+month+' '+date+', '+year+' @ '+time);
if (hours <4 || hours>23) document.writeln("<br>Go to bed! It's late!!!!");
if (hours>=4 && hours<8) document.writeln("<br>You're up early!!!!");
document.writeln('      </font>');
document.writeln('    </td>');
document.writeln('    <td> </td>');
document.writeln('  </tr>');
document.writeln('</table>');
document.writeln('<hr color=red>');
}

function ShowEnd()
{
document.writeln('    <hr>');
document.writeln('    <table align=center border=0 cellspacing=0 cols=1>');
document.writeln('      <tr>');
document.writeln('        <td align=center>');
document.writeln('        <font face="arial" color=blue size=1><b><center>');
//document.writeln("        Web Site at "+document.URL+" and YOUR IP address = "+<%=Request.ServerVariables("REMOTE_ADDR")%>+"<br>Last Modified on: "+document.lastModified+"<br>");
document.writeln("        Web Site at "+document.URL+"<br>Last Modified on: "+document.lastModified+"<br>");
document.writeln("        Viewed using "+navigator.appName+" version "+navigator.appVersion);
document.writeln('        <hr>');
document.writeln('        <font face="arial" color=blue size=2><b><center>');
document.writeln('        <table border=0 cellspacing=0 cellpadding=5>');
document.writeln('          <tr>');
document.writeln('            <td width=100 align=center valign=top>');
document.writeln('            <a href="mailto:'+PakEmail('sales','gosoftware','com.au')+'">');
document.writeln('              <img id="picemail" src="http://www.gosoftware.com.au/images/email2.gif" border="0" width=50 height= 31 alt="email: glyn roberts">');
document.writeln('            </a>');
document.writeln('            <a href="#top"><font face="arial" size=1 color=red><br><B>BACK TO THE</B><BR>');
document.writeln('            <img id="PicTop" SRC="http://www.gosoftware.com.au/images/top.gif" BORDER="0" ALT="Top"></a>');
document.writeln('          </td>');
document.writeln('          <td align=center valign=top>');                          
document.writeln('            <font face="arial" color=blue size=2><b>');
document.writeln('            To Contact Us:<br>');
document.writeln('            <font face="arial" color=blue size=4><b>');
document.writeln('            <img src="http://www.gosoftware.com.au/images/gosoft2.gif" width=50%><br>');
document.writeln('            <font face="arial" color=blue size=1><b>');
document.writeln('            ABN: 54-008-044-906 &nbsp; &nbsp; ACN: 008-044-906<br>');
document.writeln('            <font face="arial" color=blue size=2><b>');
document.writeln('            PO Box 273, Mitcham Shopping Centre, Mitcham &nbsp; 5062<br>');
document.writeln('            <font face="arial" color=blue size=1><b>');
document.writeln('            SOUTH AUSTRALIA<br>');
document.writeln('          </td>');
document.writeln('          <td width=160 align=center valign=top>');
document.writeln('            <font face="arial" color=blue size=1>');
document.writeln('            <b>Phone</b>: 0403-063-991<br>');
document.writeln('            <b>Fax</b>: +61 8 8219-0105<br><br>');
document.writeln('            <font face="arial" color=blue size=2>');
document.writeln('            <b>Email</b>: ');
GenEmail('Glyn','sales','gosoftware','com.au');
document.writeln('            <br>');
document.writeln('          </td>');
document.writeln('        </table>');
document.writeln('        <hr>');
document.writeln('        <a href="http://www.wholinks2me.com/" title="Click here to see who is linking to my site.">Who links to my website?</a>')
document.writeln('    <a name=bottom></a>');
document.writeln('        </td>');
document.writeln('      </tr>');
document.writeln('    </table>');
document.writeln('        </td>');
document.writeln('      </tr>');
document.writeln('    </table>');
}

function DispImg(imagename)
{
PreView = window.open("graphics.htm,toolbar=0,location=0,status=0,menubar=0,width=640,height=480");
PreView.document.open();
PreView.document.writeln("<HTML>");
PreView.document.writeln("  <HEAD>");
PreView.document.writeln("    <TITLE>GO Software ScreenDump</TITLE>");
PreView.document.writeln("  </HEAD>");
PreView.document.writeln("  <BODY>");
PreView.document.writeln("    <CENTER>");
PreView.document.writeln("      <FORM>");
PreView.document.writeln("        <INPUT TYPE='button' VALUE='Close' onClick='window.close()'>");
PreView.document.writeln("        <INPUT TYPE='button' VALUE='Print' onClick='window.print()'>");
PreView.document.writeln("      </FORM>");
PreView.document.writeln("      <FONT SIZE=+1 face='arial' color=blue>");
PreView.document.writeln("        <B>" + imagename + "</B>");
PreView.document.writeln("      </FONT>");
PreView.document.writeln("      <HR>");
PreView.document.writeln("      <IMG SRC='" + imagename + "'>");
PreView.document.writeln("      <HR>");
PreView.document.writeln("    </CENTER>");
PreView.document.writeln("  </BODY>");
PreView.document.writeln("</HTML>");
PreView.document.close();
}

function MoveInDoc(Locn)
{
//document.url="#"+Locn
window.location=window.location+"#"+Locn;
//return document.URL+"#"+Locn // This sort of works but it returns navi-top.htm#Locn
//return "#"+Locn // This sort of works but it returns navi-top.htm#Locn
}

function PakEmail(part1,part2,part3) 
{
  if (part1>"")
  {
    if (part2>"")
    {
      return part1+"@"+part2+"."+part3
    }
    else
    {
      return "("+part1+")"
    }
  }
  else
  {
    return "(No Email Address)"
  }
}

function GenEmail(name1,part1,part2,part3)
{
if (name1=="") {name1=PakEmail(part1,part2,part3);}
document.write('<a href="mailto:'+PakEmail(part1,part2,part3)+'">'+name1+'</a>');
}

<!-- Original: Martin Webb (martin@irt.org) -->
<!-- This script and many more are available free online at The JavaScript Source!! http://javascript.internet.com -->
function right(e) {
if (navigator.appName == 'Netscape' && 
(e.which == 3 || e.which == 2))
{alert("Sorry, you do not have permission to right click.");return false}
else if (navigator.appName == 'Microsoft Internet Explorer' && 
(event.button == 2 || event.button == 3)) {alert("Sorry, you do not have permission to right click.");return false;}
return true;
}
//document.onmousedown=right;
//if (document.layers) {window.captureEvents(Event.MOUSEDOWN);window.onmousedown=right;}

