|
Home
For quarter of a century, Physi-Bill, Inc. has been providing medical billing and accounts receivable management services to physicians in the greater Chicagoland area.
Physi-bill.com ~
Site Info
Whois
Trace Route
RBL Check
Similar Sites:
physibill.com
|
|
Home
.top {
margin-bottom: 15px;
}
.messagebox{
position:absolute;
width:100px;
margin-left:30px;
border:1px solid #c93;
background:#ffc;
padding:3px;
}
.messageboxok{
position:absolute;
width:auto;
margin-left:30px;
border:1px solid #349534;
background:#C9FFCA;
padding:3px;
font-weight:bold;
color:#008000;
}
.messageboxerror{
position:absolute;
width:auto;
margin-left:30px;
border:1px solid #CC0000;
background:#F7CBCA;
padding:3px;
font-weight:bold;
color:#CC0000;
}
$(function() {
});
/* jQuery lightBox plugin - Gallery style */
#gallery {
background-color:transparent;
padding-top: 10px;
width: 100%;
}
#gallery ul { list-style: none; }
#gallery ul li {
display: inline;
}
#gallery ul img {
border: 1px solid white;
border-width: 5px;
z-index:200;
margin:5px;
}
#gallery ul a:hover img {
border: 1px solid white;
border-width: 5px;
color: #fff;
}
#gallery ul a:hover { color: #fff; }
$(document).ready(function() {
$('#gallery a').lightBox();
var isLoggedIn=0;var username=''; if(isLoggedIn ==1)
{
$("#menudiv").css("display","inline");
$("#msgbox").removeClass().text('').fadeIn("fast");
$("div#panel").slideUp("slow");
$("#toggle a").hide();
$("#userid").text("Hello " + username);
$("#loggedin").show("slow");
}
var p = $("#sidebars");
var position = p.position();
$('#logintab').css("margin-left",position.left);
$('#menudiv').css("margin-left",position.left+190);
$("#username").blur(function()
{
var isUserExist = $('input[name=isUserExist]');
isUserExist.val("0");
if($('input[name=username]').val().trim()=="")
{
$("#usermsgbox").removeClass().addClass('messagebox').text('').hide();
return;
}
//remove all the class add the messagebox classes and start fading
$("#usermsgbox").removeClass().addClass('messagebox').text('Checking...').fadeIn("slow");
//check the username exists or not from ajax
$.post("user_availability.php",{user_name:$("#username").val()} ,function(data)
{
if( data.trim()=="yes") //if username not avaiable
{
isUserExist.val("1");
$("#usermsgbox").fadeTo(200,0.1,function() //start fading the messagebox
{
//add message and change the class of the box and start fading
$(this).html('This User name Already exists').addClass('messageboxerror').fadeTo(900,1).idle(2000).fadeOut('slow');;
});
}
else
{
isUserExist.val("0");
$("#usermsgbox").fadeTo(200,0.1,function() //start fading the messagebox
{
//add message and change the class of the box and start fading
$(this).html('Username available to register').addClass('messageboxok').fadeTo(900,1).idle(2000).fadeOut('slow');;
});
}
});
});
$("#username").focus(function()
{
$("#usermsgbox").removeClass().addClass('messagebox').text('').hide();
$("#spanusername").text('')
return false;
});
$("#password").focus(function()
{
$("#spanpassword").text('')
return false;
});
$("#confirmpassword").focus(function()
{
$("#spanconfirmpassword").text('')
return false;
});
$("#fullname").focus(function()
{
$("#spanfullname").text('')
return false;
});
$("#email").focus(function()
{
$("#spanemail").text('')
return false;
});
$("#bt_submit").click(function() {
var name = $('input[name=username]');
var password = $('input[name=password]');
var confirmpassword = $('input[name=confirmpassword]');
var fullname = $('input[name=fullname]');
var email = $('input[name=email]');
var isUserExist = $('input[name=isUserExist]');
valid=1;
if (jQuery.trim(name.val())=='')
{
$("#spanusername").html(" User Name is Required").show();
valid=0;
}
else
{
if (!alphaNumericValidator(jQuery.trim(name.val())))
{
$("#spanusername").html(" User Name Should be Alpha Numeric").show();
valid=0;
}
}
if (jQuery.trim(isUserExist.val())=='1')
{
$("#spanusername").html(" User Name Already Exist").show();
valid=0;
}
if (jQuery.trim(password.val())=='')
{
$("#spanpassword").html(" Password is Required").show();
valid=0;
}
if (jQuery.trim(confirmpassword.val())=='')
{
$("#spanconfirmpassword").html(" Confirm Password is Required").show();
valid=0;
}
if (jQuery.trim(confirmpassword.val())!=jQuery.trim(password.val()))
{
$("#spanconfirmpassword").html(" Password & Confirm Password are not identical").show();
valid=0;
}
if (jQuery.trim(fullname.val())=='')
{
$("#spanfullname").html(" Full Name is Required").show();
valid=0;
}
if (jQuery.trim(email.val())=='')
{
$("#spanemail").html(" Email is Required").show();
valid=0;
}
else
{
if (isValidEmail(email.val())==false)
{
$("#spanemail").html(' Not a valid Email ID').show();
valid=0;
}
}
if(valid==1)
{
$('#loginform').attr('disabled', 'disabled');
$.post("user_register.php",{user_name:$("#username").val(),type: "register",password:$("#password").val(),email:$("#email").val()} ,function(data)
{
$("#loginform").removeAttr('disabled');
var result=jQuery.trim(data);
var isAdded=result.substring(0,1);
var result=result.substring(1);
if( isAdded=="1") //if username not avaiable
{
$.msgbox(result, {type: "info"});
$("#loggedin").hide("slow");
$("#userid").text("Hello Guest");
$("#menudiv").css("display","none");
$("#open").show();
$("#close").hide();
}
else
{
$.msgbox(result, {type: "error"});
}
});
}
return false;
});
$("#bt_login").click(function()
{
$("#msgbox").removeClass().addClass('messagebox').text('Checking...').fadeIn("slow");
$.post("user_availability.php",{user_name:$("#log").val(),type: "login",password:$("#pwd").val()} ,function(data)
{
$("div#panel").attr('disabled', 'disabled');
if( jQuery.trim(data)=="yes") //if username not avaiable
{
$("#menudiv").css("display","block")
$("#msgbox").removeClass().text('').fadeIn("fast");
$("div#panel").slideUp("slow");
$("#toggle a").hide();
$("#userid").text("Hello " + $("#log").val());
$("#loggedin").show("slow");
}
else
{
$("#menudiv").css("display","none");
$("#msgbox").fadeTo(200,0.1,function() //start fading the messagebox
{
//add message and change the class of the box and start fading
$(this).html('Invalid User Name / Password, Please try agin').addClass('messageboxerror').fadeTo(900,1).idle(2000).fadeOut('slow');
});
}
});
return false;
});
$.fn.idle = function(time)
{
var o = $(this);
o.queue(function()
{
setTimeout(function()
{
o.dequeue();
}, time);
});
return this; //****
}
$("#logout").click(function()
{
$.post("user_availability.php",{type: "logout"} ,function(data)
{
if( jQuery.trim(data)=="yes") //if username not avaiable
{
$("#loggedin").hide("slow");
$("#userid").text("Hello Guest");
$("#menudiv").css("display","none");
$("#open").show();
$("#close").hide();
}
});
return false;
});
});
function doSearch()
{
var txtSearchValue=document.getElementById('searchform_top_text').value;
if(txtSearchValue=="")
{
alert("Search value is empty");
}
else
{
window.open('search.php?field='+txtSearchValue,'mywindow','width=1024,height=600,scrollbars=yes')
}
return false;
}
Pandit Venkatramachar an eminent ayu physi born on the 11th march 1907 .HE was born as the first son of Ananthamma and Chennakeshavachar ,a traditional ay
Drvinaynpandit.com ~
Site Info
Whois
Trace Route
RBL Check
|
|
|
|