<cfsetting enablecfoutputonly="Yes">
<cfprocessingDirective pageencoding="utf-8">
<!--- @@Copyright: Daemon Pty Limited 2002-2008, http://www.daemon.com.au --->
<!--- @@License:
    This file is part of FarCry.

    FarCry is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    FarCry is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with FarCry.  If not, see <http://www.gnu.org/licenses/>.
--->
<!---
|| VERSION CONTROL ||
$Header:  $
$Author:  $
$Date:  $
$Name: $
$Revision:  $

|| DESCRIPTION || 
$Description: Admin header$
$TODO: additional attributes.onLoad not clearly defined -- should be param'd and documented GB 20031116 $

|| DEVELOPER ||
$Developer: Geoff Bowers (modius@daemon.com.au)$

|| ATTRIBUTES ||
$in: [title] page title for frame $
$in: [bCacheControl] output cache control headers; default true. $
--->
<cfimport taglib="/farcry/core/tags/misc/" prefix="misc">
<cfimport taglib="/farcry/core/tags/webskin/" prefix="skin">

<!--- exit tag if its been closed, ie don't run twice --->
<cfif thistag.executionmode eq "end">
	<cfexit method="exittag" />
</cfif>

<cfparam name="attributes.title" default="#application.config.general.siteTitle# :: Administration" type="string">
<cfparam name="attributes.bCacheControl" default="false" type="boolean">
<cfparam name="attributes.bDataRequestorJS" default="false" type="boolean">
<cfparam name="attributes.jsshowhide" default="" type="string">
<cfparam name="attributes.onLoad" type="string" default="">
<!--- i18n --->
<cfparam name="attributes.writingDir" type="string" default="ltr">
<cfparam name="attributes.userLanguage" type="string" default="en">
<cfparam name="attributes.style" type="string" default="">

<!--- Allow dynamic body class --->
<cfparam name="attributes.bodyclass" default="iframed-content">


<skin:loadCSS id="webtop" />

<skin:loadCSS id="farcry-form">
	<cfoutput>
	.uniForm .fieldset {
		margin:0 0 10px 0;
		padding:5px;
	}
	
	.uniForm .fieldset .legend {
		color:##324E7C;
		margin:0;
		padding:0px;
		font-size:107%;
	}
	
	.ctrlHolder {
		border:1px solid ##DFDFDF;
		border-width:1px 0 0 0;
		background:none;
		zoom:1;
	}
	
	.uniForm .ctrlHolder .label {
		font-weight: bold;
	}
	
	.uniForm .helpsection {
		margin:10px 0px;
		color:##324E7C;
	}
	
	.uniForm .buttonHolder{ text-align: right; margin:5px 0 10px 0;padding:5px;border:1px solid ##CCCCCC;border-width:1px 0px;background-color:##F4F4F4;}
	
	.uniForm .fc-button {padding:5px;margin-right:5px;}
	</cfoutput>
</skin:loadCSS>


<cfoutput>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
		<!---  apply cach control metadata as required --->
		</cfoutput><cfif attributes.bCacheControl><misc:cacheControl /></cfif><cfoutput>
		<meta content="text/html; charset=UTF-8" http-equiv="content-type" />
		<title>#attributes.title#</title>
</cfoutput>

<cfoutput>
<!--- TODO: review these Javascript requirements -- remove if possible GB20050520 
 setup javascript source --->
	<script type="text/javascript">
		//browser testing;
		var ns6 = document.getElementById && ! document.all;
		var ie5up = document.getElementById && document.all;  //ie5 ++
		
		function reloadTreeFrame(){
			// reload tree if not -- quick zoom -- option
			if (document.zoom.QuickZoom.options[document.zoom.QuickZoom.options.selectedIndex].value != '0') {
				window.frames.treeFrame.location.href = document.zoom.QuickZoom.options[document.zoom.QuickZoom.options.selectedIndex].value;
				return false;
			}
		}
	</script>

</cfoutput>

<cfoutput>
	</head>
<body class="#attributes.bodyclass#" style="#attributes.style#" <cfif len(attributes.onload)> onload="#attributes.onload#"</cfif>>
</cfoutput>
<cfsetting enablecfoutputonly="No">