$(document).ready(function() {
	 
   /*$("input.text, textarea.text").focusFields("#d40000", 1, "#f3e784", );
	  $.ImageBox.init(
			{
				loaderSRC: './_ui/images/loading.gif',
				closeHTML: '<img src="./_ui/images/close.jpg" />'            
			}
		);                           */
	
	$("a.sections").click(function(){
	
	});                              
	
	$(".video_demo").click(function(){
		$('#ContentContainer_1').show();
		$('#Interactive').hide();
		$('#Interactive-expanded').show();
	});                              
	
	$(".swapexpand").click(function(){
		if($(this).attr('src') == '_ui/media/innerpages/contentlevel_2/expand.gif')
		{
			$(this).attr('src','_ui/media/innerpages/contentlevel_2/close.gif');
		}
		else
		{
			$(this).attr('src','_ui/media/innerpages/contentlevel_2/expand.gif');
		}
		
	});    

	$("input:text, textarea, input:password").each(function(){
		if(this.value == '')
			this.value = this.title;
	});
	$("input:text, textarea, input:password").click(function(){
		if(this.value == this.title)
			this.value = '';
	});
	$("input:text, textarea, input:password").blur(function(){
		if(this.value == '')
			this.value = this.title;
	});
	$("input:image, input:button, button:submit").click(function(){
		$(this.form.elements).each(function(){
			if(this.type =='text' || this.type =='textarea' || this.type =='password'){
				if(this.value == this.title && this.title != ''){
					this.value='';
				}
			}
		});
	});
 });
