/**
  * UseNeXT Website
  * 
  * Provides javascript functions and triggers
  * 
  * @category        screen
  *
  * @author          Stefan Heckler <sh@dietaikonauten.com>
  * @copyright       Copyright (c) 2010 Stefan Heckler <http://www.dietaikonauten.com>
  * @version         $Id: un.js 40 2010-03-05 11:52:29Z sh $
  */

jQuery(document).ready(function(){
	
	// clear input value on focus, set back to default on blur
	var login_prev_val = "";
	$('.header-login .form-text').focus(function(){
		login_prev_val = $(this).val();
		$(this).val('');
	});
	
	$('.header-login .form-text').blur(function(){
		if($(this).val() == '') $(this).val(login_prev_val);
	});
});


function showSeal(){
	var source = document.getElementById('thawte-seal-source');
	var destination = document.getElementById('thawte-seal');
	
	if (source && destination){
		destination.innerHTML = source.innerHTML;
		source.parentNode.removeChild(source);
	}
}
	

