/*   		20/04/2010  	coe.js  //-->
//confirm(self_url()+'\nstart of coe.js');

/******* Global Site Variables ********************************************/
var homeUrl	= 'coe.htm';
var baseUrl	= 'coepage1.htm';
var imgRoot	= 'images/';
var cssRoot	= 'styles/';
var jsRoot 	= 'script/';
docRoot 	= '';
//docPrint	= (printPrompt());
//docFooter	= 'crafted in australia using sustainable solutions';
$docText	= 'crafted in australia using sustainable solutions';
//$docText 	='<p><small>Citizens of Elysium<br /></small><p>';
$docFootTxt	= copyPrompt();
$altTxt		='<small> - Citizens of Elysium</small>';
var exit=false; 
var docTitle 	= document.title;
var docJs 	= jsRoot+'coe.js';
var docCss	= cssRoot+'coe.css';

var bColor 	= '#111111';  
var cColor 	= '#333333'; 	
var dColor 	= '#fffce4'; 	
var tColor 	= '#444444'; 	
var sColor 	= '#333333';  //table bgcolor
var hColor 	= '#777799';  //menu hilite bgcolor

/******* PreLoad Images *************************************************/
back_arrow = new Image(); 	back_arrow.src = imgRoot+'arrow_le.gif';
home1 	= new Image(); 	home1.src 	= imgRoot+'coelogo.gif';
home2 	= new Image(); 	home2.src 	= imgRoot+'coelogo2.gif';
prntlo 	= new Image();	prntlo.src = imgRoot+'print.gif';
toplo 	= new Image();	toplo.src 	= imgRoot+'home.gif';
email		= new Image();	email.src	= imgRoot+'coefooter.gif';
email2	= new Image();	email2.src	= imgRoot+'coefooter2.gif';
order		= new Image();	order.src	= imgRoot+'order.gif';
order2	= new Image();	order2.src	= imgRoot+'order2.gif';
purch	 	= new Image();	purch.src	= imgRoot+'purch.gif';
purch2	= new Image();	purch2.src	= imgRoot+'purch2.gif';
reset1	= new Image();	reset1.src	= imgRoot+'reset.gif';
reset2	= new Image();	reset2.src	= imgRoot+'reset2.gif';
send1	 	= new Image();	send1.src	= imgRoot+'send.gif';
send2	 	= new Image();	send2.src	= imgRoot+'send2.gif';
/************************************************************************/
$docAddress 	='<p><small>Workshop based in Melbourne, Australia</small></p>'
			+'<p><small>For more information and order queries please contact</small></p>'
			+'<p><small><b>Kat Ashworth</b>&nbsp;+61&nbsp;404&nbsp;085&nbsp;635</small></p>';
$docEmail 		= '<p><small>email: <a href="coeemail.htm?subject='+document.title+'" accesskey="c" title="email response form" target="main" onclick="parent.loadMenu2(\'coeemail\');">citizensofelysium&#64;gmail.com</a></small></p>';
$docWww 		= '<p><small><b>www:</b> <a href="http://citizensofelysium.com" target="_top" title="Citizens&nbsp;of&nbsp;Elysium">www.citizensofelysium.com</a></small></p>';
$docWWW 		= '<p style="font-size:11pt;"><a href="http://citizensofelysium.com" target="_top" title="Citizens&nbsp;of&nbsp;Elysium">www.citizensofelysium.com</a></p>';
$docTable 		= '<table class="panel" cellspacing="0" cellpadding="0" border="0"><tr valign="top"><td align="center">';
$docTablend 	= '</td></tr></table>';
$prnTable 		= '<table align="center" cellspacing="0" cellpadding="0" border="0"><tr><td bgcolor="#ffffff">';
$prnTablend	= '</td></tr></table>';

/************************************************************************/
function goHome(){parent.location=homeUrl;}
function copyPrompt()	{return('<small><nobr><font color="#cc3333">&copy;</font>&nbsp;Copyright&nbsp;'+is.year()+'</nobr> <nobr>Citizens of Elysium</nobr> <nobr>All rights reserved</nobr></small>');}
function printPrompt(){$pScript='&nbsp;<br />';if(!is.ns){$pScript='<span class="noprint"><a href="javascript:parent.prntPage()" title="Print this Page" ><small>Print this Page</small><img alt="Print this Page" src="'+prntlo.src+'" border="0" hspace="4" vspace="2" /></a><br /></span>';}return($pScript);}
function docEmail(){return('<p><small>email: <a href="coeemail.htm?subject='+document.title+'" accesskey="c" title="Go to Contact Page" target="main" onclick="parent.loadMenu2(\'coeemail\');">citizensofelysium&#64;gmail.com</a></small></p>');}
function emailPrompt(){$aScript='<a href="coeemail.htm?subject='+document.title+'" accesskey="c" title="Go to Contact Page" target="main" onclick="parent.loadMenu2(\'coeemail\');" onmouseover="eval(emailbutton.src=email2.src);" onmouseout="eval(emailbutton.src=email.src);"><img src="'+email.src+'" name="emailbutton" alt="Go to Contact Page" style="display:block;padding:0;" /></a>';return($aScript);}
function orderPrompt(){$oScript='<a href="coeorder.htm?subject='+document.title+'" accesskey="o" title="custom order form" target="main" onclick="parent.loadMenu2(\'coeorder\');" onmouseover="eval(orderbutton.src=order2.src);" onmouseout="eval(orderbutton.src=order.src);"><img src="'+order.src+'" name="orderbutton" alt="Custom Order Page" style="display:block;padding:0;" /></a><br />';return($oScript);}
function purchPrompt(){$uScript='<a href="coepurch.htm?subject='+document.title+'" accesskey="p" title="purchase order form" target="main" onclick="parent.loadMenu2(\'coepurch\');" onmouseover="eval(purchbutton.src=purch2.src);" onmouseout="eval(purchbutton.src=purch.src);"><img src="'+purch.src+'" name="purchbutton" alt="Purchase Order Page" style="display:block;padding:0;" /></a><br />';return($uScript);}

function rhome1(){
	if(document.layers){imgobj = (find_ns_object('images',arguments[0],arguments[1]));}
	else{imgobj = 'document.'+arguments[0];}
	eval(imgobj+'.src = home1.src');
	}

function rhome2(){
	if(document.layers){imgobj = (find_ns_object('images',arguments[0],arguments[1]));}
	else{imgobj = 'document.'+arguments[0];}
	eval(imgobj+'.src = home2.src');
	}

function getBodyHeight(){
	document.getElementById(arguments[0]).style.height=document.body.clientHeight+"px";
	if(is.screenAh()>document.body.clientHeight){document.getElementById(arguments[0]).style.height=is.screenAh()+"px";}
	}
//confirm('End of coe.js');

