/*
	JavaScript Navigation/Header Include./
	Copyright © 2003 Specialized Systems. All rights reserved.
*/
//---------------------------------------------------------------------------
/*
Use COPYRIGHT variable from global.js
COPYRIGHT = 'Copyright © 2003 Specialized Systems. All rights reserved.'
*/
var base_site_cookie = 'specializedsystems'
var base_site_domain = 'http://webpages.charter.net/spcsys/'
var document_padding = 0
//---------------------------------------------------------------------------
function setdomain() {
	cook = new lib_Cookie()
	cook.set(base_site_cookie,lib_parsepath(this.location.href))
}
function getdomain() {
	var cook	= new lib_Cookie()
	var domain	= cook.get(base_site_cookie)
	return((domain) ? domain : base_site_domain)
}
function header(padding) {
	document_padding	= (padding) ? padding : 0
	var msg			= document.title
	//-------------------------------------------------------------------
	var buf = new String()
	buf += ''
	document.write(buf)
	return(0)
}
function footer(nowrite) {
	nowrite = (nowrite) ? true : false
	//-------------------------------------------------------------------
	if(nowrite)
		return(0)
	var buf = new String()
	buf += ''
	document.write(buf)
	return(0)
}
//---------------------------------------------------------------------------
function mywebstats() {
	if(window.location.protocol!='file:') {
		cname='mws'
		if(document.cookie.indexOf(cname)==-1){_u=1}else{_u=0}
		document.cookie = cname+'=true'
		var buf = new String()
		buf += '<img src="http://www.mywebstats.org/count.php?js=1&refer='+escape(document.referrer)+'&sw='+screen.width+'&sh='+screen.height+'&sc='+screen.colorDepth+'&uq='+_u+'&uid=2836" align="right" border="0" width="1" height="1" alt="" />'
		document.write(buf)
	}
}
function googleurchin() {
	var buf = new String()
	if(window.location.protocol=='http:'||window.location.protocol=='https:') {
		if(window.location.protocol=='http:')
			buf += '<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"><\/script>'
		if(window.location.protocol=='https:')
			buf += '<script src="https://ssl.google-analytics.com/urchin.js" type="text/javascript"><\/script>'
		buf += '<script>'
		buf += '	_uacct = "UA-1551005-1";'
		buf += '	urchinTracker();'
		buf += '</'+'script>'
	}
	document.write(buf)
	return(0)
} 
function statcounter() {
	//<script>if(window.location.protocol=='http:') {sc_project=924369;sc_invisible=1;sc_partition=7;sc_security="38b7a1e3";sc_remove_link=1;document.write('<script src="http://www.statcounter.com/counter/counter.js"><\/script>')}</script>
	if(window.location.protocol=='http:') {
		sc_project=924369
		sc_invisible=1
		sc_partition=7
		sc_security="38b7a1e3"
		sc_remove_link=1
		document.write('<script src="http://www.statcounter.com/counter/counter.js"><\/script>')
	}
}
//---------------------------------------------------------------------------
function getstats() {
	mywebstats()
	statcounter()
	googleurchin()
	return(0)
}
getstats()
