/*			     GLOBAL RESOURCE FILE				*/
/*			       VERSION 0.5 BETA					*/
/*		      Copyright © 2002-2006, Gareth Q. Barrett			*/
/*			  garethqbarrett @ gmail.com				*/
/*		    Leased for use by BarrettMedia.com.au			*/

function body(){document.write('<body topmargin="'+globalBodyTopMargin+'" leftmargin="'+globalBodyLeftMargin+'" bgcolor="'+globalBodyBackgroundColor+'" background="'+globalBodyBackgroundImage+'" bgproperties="'+globalBodyBackgroundImageProperties+'" link="'+globalBodyLinkColor+'" alink="'+globalBodyActiveLinkColor+'" vlink="'+globalBodyVisitedLinkColor+'">')}
function mainpanel(){document.write('<table width="'+mainPageWidth+'" height="'+mainPageHeight+'" cellspacing="'+mainPageCellSpacing+'" cellpadding="'+mainPageCellPadding+'" bgcolor="'+mainPageBackgroundColor+'" background="'+mainPageBackgroundImage+'" align="'+mainPageAlign+'" border="'+mainPageBorder+'" bordercolor="'+mainPageBorderColor+'">')}
function toppanel(){document.write('<td width="'+topPanelWidth+'" height="'+topPanelHeight+'" bgcolor="'+topPanelBackgroundColor+'" background="'+topPanelBackgroundImage+'" valign="'+topPanelVerticalAlign+'" align="'+topPanelAlign+'" colspan="'+topPanelColumnSpan+'">')}
function leftpanel(){document.write('<td width="'+leftPanelWidth+'" height="'+leftPanelHeight+'" bgcolor="'+leftPanelBackgroundColor+'" background="'+leftPanelBackgroundImage+'" valign="'+leftPanelVerticalAlign+'" align="'+leftPanelAlign+'">')}
function centerpanel(){document.write('<td width="'+centerPanelWidth+'" height="'+centerPanelHeight+'" bgcolor="'+centerPanelBackgroundColor+'" background="'+centerPanelBackgroundImage+'" valign="'+centerPanelVerticalAlign+'" align="'+centerPanelAlign+'">')}
function rightpanel(){document.write('<td width="'+rightPanelWidth+'" height="'+rightPanelHeight+'" bgcolor="'+rightPanelBackgroundColor+'" background="'+rightPanelBackgroundImage+'" valign="'+rightPanelVerticalAlign+'" align="'+rightPanelAlign+'">')}
function bottompanel(){document.write('<td width="'+bottomPanelWidth+'" height="'+bottomPanelHeight+'" bgcolor="'+bottomPanelBackgroundColor+'" background="'+bottomPanelBackgroundImage+'" valign="'+bottomPanelVerticalAlign+'" align="'+bottomPanelAlign+'" colspan="'+bottomPanelColumnSpan+'">')}
function rowstart(){document.write('<tr>')}
function rowend(){document.write('</tr>')}
function panelend(){document.write('</td>')}
function pageend(){document.write('</table>')}
function styles(){document.write(""+
'<style><!--'+
'font  { font-family: '+globalFontFamily+'; font-size: '+globalFontSize+'; color: '+globalFontColor+'; text-align: '+globalFontAlign+' }'+
'p     { font-family: '+globalFontFamily+'; font-size: '+globalFontSize+'; color: '+globalFontColor+'; text-align: '+globalFontAlign+' }'+
'table { font-family: '+globalFontFamily+'; font-size: '+globalFontSize+'; color: '+globalFontColor+'; text-align: '+globalFontAlign+' }'+
'li    { font-family: '+globalFontFamily+'; font-size: '+globalFontSize+'; color: '+globalFontColor+'; text-align: '+globalFontAlign+'; text-indent: '+globalListIndent+'; list-style-type: '+globalListBulletStyle+'; margin-left: '+globalListMarginLeft+'; margin-right: '+globalListMarginRight+'; margin-top: '+globalListMarginTop+'; margin-bottom: '+globalListMarginBottom+' }'+
'ol    { font-family: '+globalFontFamily+'; font-size: '+globalFontSize+'; color: '+globalFontColor+'; text-align: '+globalFontAlign+'; text-indent: '+globalListIndent+'; list-style-type: '+globalListBulletStyle+'; margin-left: '+globalListMarginLeft+'; margin-right: '+globalListMarginRight+'; margin-top: '+globalListMarginTop+'; margin-bottom: '+globalListMarginBottom+' }'+
'ul    { font-family: '+globalFontFamily+'; font-size: '+globalFontSize+'; color: '+globalFontColor+'; text-align: '+globalFontAlign+'; text-indent: '+globalListIndent+'; list-style-type: '+globalListBulletStyle+'; margin-left: '+globalListMarginLeft+'; margin-right: '+globalListMarginRight+'; margin-top: '+globalListMarginTop+'; margin-bottom: '+globalListMarginBottom+' }'+
'h1    { font-family: '+globalFontFamily+'; font-size: '+globalHeaderSize+'; color: '+globalFontColor+'; font-weight: bold; text-align: '+globalHeaderFontAlign+'}'+
'h2    { font-family: '+globalFontFamily+'; font-size: '+globalSubHeaderSize+'; color: '+globalFontColor+'; font-weight: bold; text-align: '+globalSubHeaderFontAlign+'}'+
'h3    { font-family: '+globalFontFamily+'; font-size: '+globalSubHeaderSize+'; color: '+globalFontColor+'; font-weight: bold; text-align: '+globalSubHeaderFontAlign+'}'+
'body  { background-position: '+globalBackgroundImagePosition+'; background-repeat: '+globalBackgroundImageRepeat+'; scrollbar-face-color: '+globalScrollBarFaceColor+'; scrollbar-arrow-color: '+globalScrollBarArrowColor+'; scrollbar-base-color: '+globalScrollBarBaseColor+'; scrollbar-track-color: '+globalScrollBarTrackColor+'; scrollbar-darkshadow-color: '+globalScrollBarDarkShadowColor+'}'+
'//--></style>')}

var menuItemName;
var menuItemLocation;
var subMenuItemName;
var subMenuItemLocation;
var textNavItemName;
var textNavItemLink;
var textNavItemFollow;

function placemenu(menuItemName, menuItemLocation){this.name=menuItemName;this.currentlocation=menuItemLocation;document.write('<script>menu'+name+'ImageOff= new Image();menu'+name+'ImageOff.src=imageFolderLocation+name+"off"+menuImageFileExtension;menu'+name+'ImageOn= new Image();menu'+name+'ImageOn.src=imageFolderLocation+name+"on"+menuImageFileExtension;</script>');document.write('<A href="'+name+'.html" onmouseover="document.images[');document.write("'"+name+"'");document.write('].src=menu'+name+'ImageOn.src"');if (currentMenuLocation!=currentlocation){document.write('onmouseout="document.images[');document.write("'"+name+"'");document.write('].src=menu'+name+'ImageOff.src"')}if (currentMenuLocation==currentlocation){document.write('onmouseout="document.images[');document.write("'"+name+"'");document.write('].src=menu'+name+'ImageOn.src"');}document.write('><IMG name="'+name+'" border="0"');if (currentMenuLocation!=currentlocation){document.write('src="'+imageFolderLocation+name+'off'+menuImageFileExtension+'"></A>')}if (currentMenuLocation==currentlocation){document.write('src="'+imageFolderLocation+name+'on'+menuImageFileExtension+'"></A>')}}

function placesubmenu(subMenuItemName, subMenuItemLocation){this.name=subMenuItemName;this.currentlocation=subMenuItemLocation;document.write('<script>subMenu'+name+'ImageOff= new Image();subMenu'+name+'ImageOff.src=imageFolderLocation+name+"off"+subMenuImageFileExtension;subMenu'+name+'ImageOn= new Image();subMenu'+name+'ImageOn.src=imageFolderLocation+name+"on"+subMenuImageFileExtension;</script>');document.write('<A href="'+name+'.html" onmouseover="document.images[');document.write("'"+name+"'");document.write('].src=subMenu'+name+'ImageOn.src"');if (currentSubMenuLocation!=currentlocation){document.write('onmouseout="document.images[');document.write("'"+name+"'");document.write('].src=subMenu'+name+'ImageOff.src"')}if (currentSubMenuLocation==currentlocation){document.write('onmouseout="document.images[');document.write("'"+name+"'");document.write('].src=subMenu'+name+'ImageOn.src"');}document.write('><IMG name="'+name+'" border="0"');if (currentSubMenuLocation!=currentlocation){document.write('src="'+imageFolderLocation+name+'off'+subMenuImageFileExtension+'"></A>')}if (currentSubMenuLocation==currentlocation){document.write('src="'+imageFolderLocation+name+'on'+subMenuImageFileExtension+'"></A>')}}

function placetextnavitem(textNavItemName, textNavItemLink, textNavItemFollow){
this.name=textNavItemName;
this.link=textNavItemLink;
this.follow=textNavItemFollow;
document.write('<a href="'+link+'.html">'+name+'</a> '+follow+' ')}


function copyright(){
document.write('Copyright '+copyrightDate+', '+copyrightOwner+'. '+copyrightExtra+'. <a href="http://'+copyrightWebsite+'">'+copyrightWebsite+'</a>')
}

function em(){
document.write('<a href="mailto:gareth@barrettmedia.com.au">E-mail</a>')
}



/* 				BarrettMedia.com.au Site Specific Code:: 				*/

function globalmenupanel(){
if (currentMenuLocation==1){
document.write('<script>leftpanel();</script><table cellspacing="0" cellpadding="0" border="0"><tr height="134"><td><img src="'+imageFolderLocation+'barrettmedia.gif" border=0 alt="Barrett Media"></td></tr>');}
if (currentMenuLocation!=1){
document.write('<script>leftpanel();</script><table cellspacing="0" cellpadding="0" 	border="0"><tr height="134"><td><a href="index.html"><img src="'+imageFolderLocation+'barrettmedia.gif" border=0 alt="Barrett Media - Home"></a></td></tr>');}

document.write('<tr height="12"><td></td></tr><tr height="20"><td><script>placemenu("videoproduction", 3);</script></td></tr><tr height="12"><td></td></tr><tr height="20"><td><script>placemenu("webmanagement", 2);</script></td></tr><tr height="12"><td></td></tr><tr height="20"><td><script>placemenu("newsandinformation", 6);</script></td></tr><tr height="12"><td></td></tr><tr><td><center><small><a href="mailto:gareth@barrettmedia.com.au">gareth@barrettmedia.com.au</a><br>Mob: +61 (0) 424 002 384<br>Tel: +61 (0) 2 9427 1441<br>Mail: P.O.Box 980, Lane Cove,<br>NSW, 2066, Australia</small></center></td></tr></table>')
}

function globaltextnavigator(){
document.write('<script>placetextnavitem("Home", "index", "|");placetextnavitem("Web Management", "webmanagement", "|");placetextnavitem("Video Production", "videoproduction", "|");placetextnavitem("News & Information", "newsandinformation", "");</script>')
}