
function fnhomeban1()
{
//alert('test');	

//window.location.href="a.php";

 // alert('Handler for .click() called.');
return false;
}
function fnhomeban()
{
	//alert("test");
	jQuery(document).ready(function() { 
			
			 jQuery.blockUI({ 
				css: { width: '650px'},
				theme:     false, 
				draggable: true, // draggable option is only supported when jquery UI script is included
            	title:    jQuery('#hdnSiteHomeBann').val(), 
				css: { width: '650px',left:'238px',top:'15px'},
				message: jQuery('#homeban')
			}); 
		}); 	
	$('.blockOverlay').attr('title',jQuery('#hdnSiteClickto').val()).click($.unblockUI); 
	
}
function fnsignin()
{
		jQuery(document).ready(function() { 
			var strhiddusername_in = jQuery("#txthiddusername_in").val();	var strhiddpassword_in = jQuery("#txthiddpassword_in").val();	
			if(strhiddusername_in != jQuery("#txtusername_in").val()) {
			jQuery("#txtusername_in").val('');
			$('input:checkbox').removeAttr('checked'); }
			if(strhiddpassword_in != jQuery("#txtpassword_in").val()) {
			jQuery("#txtpassword_in").val(''); }
			jQuery("#error_signin").html('');
			 jQuery.blockUI({ 
				css: { width: '350px'},
				theme:     true, 
				draggable: true, // draggable option is only supported when jquery UI script is included
            	title:    jQuery('#hdnSiteSignIn').val(), 
				css: { backgroundColor: '#f00',width: '350px'},
				message: jQuery('#signin')
			}); 
		}); 	
	$('.blockOverlay').attr('title',jQuery('#hdnSiteClickto').val()).click($.unblockUI); 
	
}
function fnsignup()
{
		jQuery(document).ready(function() { 
			fnRefreshCaptcha();jQuery('#reg-register').show();
			jQuery("#txtemail").val('');jQuery("#txtusername").val('');jQuery("#txtpassword").val('');jQuery("#security_code").val('');$('input:checkbox').removeAttr('checked');
		jQuery("#error").html('');jQuery("#success_sp").html('');
			 jQuery.blockUI({ 
				theme:     true, 
				draggable: true, // draggable option is only supported when jquery UI script is included
            	title:    jQuery('#hdnSiteSignUp').val(), 
				message: jQuery('#signup')
			}); 
		}); 	
	$('.blockOverlay').attr('title',jQuery('#hdnSiteClickto').val()).click($.unblockUI); 
	
}
function fnforgotpass()
{
		jQuery(document).ready(function() { 
			jQuery("#txtemail_in").val('');jQuery("#success_fp").html('');jQuery("#error_fp").html('');
			 jQuery.blockUI({ 
				 theme:     true, 
				draggable: true, // draggable option is only supported when jquery UI script is included
            	title:    jQuery('#hdnSitePass').val(), 
				message: jQuery('#forgotpass')
			}); 
		}); 	
	$('.blockOverlay').attr('title',jQuery('#hdnSiteClickto').val()).click($.unblockUI); 
	
}





