
/*
	"Hemi" JavaScript Framework
	Engine for Web Applications 3.1
	Composite file "hemi.comp.js" release: 3.1.1
	Copyright 2002 - 2010. All Rights Reserved.
	Author: Stephen W. Cote
	Email: sw.cote@gmail.com
	Project: http://www.whitefrost.com/Hemi/
	BSD License: http://www.whitefrost.com/Hemi.license.txt
*/
(function(){H.namespace("css",H,{toggleStyleSheet:
function(s,b){var a=document.documentElement.getElementsByTagName("link"),i=0;for(;i<a.length;i++)if(a[i].getAttribute("title")==s)a[i].disabled=(!b);},StyleSheetMap:[],loadStyleSheet:
function(u,n){var _s=H.css.StyleSheetMap,o,s,l;if(!n)n=u;if(_s[n])return;if(location.protocol.match(/^http/i)&&!u.match(/^\//))u=H.hemi_base+u;if(typeof document.createStyleSheet!=D.U){o=document.createStyleSheet(u);if(o)_s[n]=o;}else{var s="@import url("+u+");";l=document.createElement("link");l.setAttribute("href",u);l.setAttribute("rel","stylesheet");document.getElementsByTagName("head")[0].appendChild(l);}},getAbsoluteTop:
function(o,r){return H.css.getAbsolutePosition(o,r,1);},getAbsoluteLeft:
function(o,r){return H.css.getAbsolutePosition(o,r,0);},getAbsolutePosition:
function(o,r,b){var c=o,i=0;while(c!=null&&(!r||r!=c)&&c.nodeName&&!c.nodeName.match(/body/i)){i+=(b?(c.offsetTop?c.offsetTop:0):(c.offsetLeft?c.offsetLeft:0));c=c.offsetParent;}return i;}});}());
/* End Hemi Framework 3.1 */
