Site = {
	start: function(){
		// check for slide show pro area and setup
		if( $('sspcont') ){
			Site.setSSP();
		}
		// check for client login form and setup events
		if( $('username') ){
			$('username').addEvent('focus', function(){Site.lfFocus()});
			$('username').addEvent('blur', function(){Site.lfBlur()});
		}
	},
	setSSP: function(){
		$$('#sspcont div')[0].parentNode.setStyle('width',$$('#sspcont div')[0].getStyle('width'));
		$$('#sspcont div')[0].parentNode.setStyle('height',$$('#sspcont div')[0].getStyle('height'));
		var myFO = { movie: "" + $$('#sspcont div')[0].id + ".swf", width:"" + $('sspcont').getStyle('width') + "", height:"" + $('sspcont').getStyle('height') + "", majorversion:"6", build:"0", wmode:"transparent", bgcolor:"#000000", id:"pageGallery" };
		UFO.create(myFO, "" + $$('#sspcont div')[0].id + "");
	},
	lfFocus: function(){
		if($('username').value = "enter username here"){
			$('username').value = "";
		} else {
				// nothing
		}
	},
	lfBlur: function(){
		var txt = $('username').value;
		if(txt.length <= 0){
			$('username').value = "enter username here";
		} else {
				// nothing
		}
	},
	nothing: 0
}
Window.addEvent('domready',Site.start);