var fullPath = document.location.href.toLowerCase();
var c = '/';
if(-1 == fullPath.indexOf('/'))	c='\\';
var part = fullPath.split(c);
var len = part.length;
var protocol = part[0];
var _baseref_ = protocol+c;
if(len > 2)	for(i = 1; i<len-2; i++)	_baseref_ += part[i]+c;
var _account_ = part[len-2];
var page = part[len-1];
var isIndex = page == 'index.htm' ? true : false;

var baseref = _baseref_ + _account_ + '/' + page;
document.writeln('<base href="'+baseref+'">');
// Wanted Our Firm to come up oin Google with Kell Moore in the Title. It was not doing this previously
if (document.title != "Our Firm | Kell Moore Solicitors - Albury Wodonga - Solicitors, Lawyers")
	document.title += ' | '+_client_ + ' |';

function head()	{
with(document)	{
writeln('<table width="100%"><tr><td>');
writeln('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
writeln('  codebase="http://active.macromedia.com/flash4/cabs/swflash.cab#version=4,0,0,0"');
writeln('  id="contact" width="560" height="120">');
writeln('  <param name="movie" value="/images/banner.swf">');
writeln('  <param name="loop" value=false>');
writeln('  <param name="quality" value="high">');
writeln('  <param name="bgcolor" value="#101070">');
writeln('  <keepquiet name="contact" src="/images/banner.swf" loop="false" quality="high" bgcolor="#7fa5a5"');
writeln('    width="560" height="120"');
writeln('    type="application/x-shockwave-flash"');
writeln('    pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">');
writeln('  </embed>');
writeln('</object>');
writeln('</td><td align="right" valign="middle">');
writeln('<br>');
if(_address2_)	writeln(_address2_+'<br>');
if(_post_)	writeln('Postal Address: '+_post_+'<br>');
if(_dx_)	writeln('Document Exchange: '+_dx_+'<BR>');
if(_phone_)	writeln('Phone: '+_phone_+' ');
if(_fax_)	writeln('Fax: '+_fax_+' ');
if(_mobile_)	writeln('Mobile: '+_mobile_+' ');
if(_email_)	writeln('<br>email: <a href="mailto:'+_email_+'">'+_email_+'</a>');
writeln('</td></tr></table>');
}
}

var adminVar = null;
function popup(url)
{
adminVar=window.open(url,'adWin','width=340,height=200,top=0,left=0,resizable=1,scrollbars=1,menubar=0,location=0');
adminVar.focus();
}

var url = new Array(
//'Home','home','_self',
'  Our Firm  ','firm','_self',
'  Areas of Law  ','services','_self',
'  History   ','history','_self',
//'Business','business','_self',
//'Search','search','_self',
'  Contact  ','contact','_self',
'  Links  ','links','_self'
//'Test','test','_self',
//'Accounts','http://www2.kellmoore.com.au/contact/account.htm','_self'
);


function menu()		{

for(var i = 0; i<url.length; i+=3)
{

if(url[i+1].substr(0,4) == 'http')
	document.write('<A href="'+url[i+1]+'" target="'+url[i+2]+'">'+url[i]+'</a>');
else
	{
	if(_account_ == url[i+1])
		document.write('<A class=hilite href="'+_baseref_+url[i+1]+'/index.htm" target="'+url[i+2]+'">'+url[i]+'</a>');
	else
		document.write('<A href="'+_baseref_+url[i+1]+'/index.htm" target="'+url[i+2]+'">'+url[i]+'</a>');
	}
}


}


function footer()	{
with(document)	{
writeln('<a href="http://www.awbillboard.com.au/category/14/Barristers-Solicitors/kellmooresolicitors.htm" target="_blank">FIND US ON THE ALBURY WODONGA BILLBOARD</a></br>');
if(_address1_)	writeln(_address1_+'<br>');
if(_address2_)	writeln(_address2_+'<br>');
if(_post_)	writeln('Postal Address: '+_post_+'<br>');
if(_phone_)	writeln('Phone: '+_phone_+' ');
if(_fax_)	writeln('Fax: '+_fax_+' ');
if(_mobile_)	writeln('Mobile: '+_mobile_+' ');
if(_email_)	writeln('<br>email: <a href="mailto:'+_email_+'">'+_email_+'</a>');
writeln('<div class=screenonly><br><br>Copyright &copy; 2009 <a href="http://www.beetletech.com.au" target="new">BeetleTech</a>. All rights reserved.</div>');
}
}



function left()
{

}

function right()
{
with(document)	{
writeln('<img src="../images/blank.jpg" width=150 height=317 border=0 style="margin:5px">')
}
}


function redundant()	{
for(var i = 0; i<url.length; i+=3)
{
if(url[i+1].substr(0,4) == 'http')
document.write('| <A href="'+url[i+1]+'" target="'+url[i+2]+'">'+url[i]+'</a> ');
else
document.write('| <A href="'+_baseref_+url[i+1]+'/index.htm" target="'+url[i+2]+'">'+url[i]+'</a> ');
}

document.writeln('| <a href="javascript:scrollTo(0,0)">Top of Page</a> |');
}


_loaded_ = true;
