
$(document).ready(function() {
     $("#divStayTopright").css({"right":"0px","top":($(window).height()-$("#divStayTopright").height())/2 -120});
    
     $(window).scroll(function(){ 
         $("#divStayTopright").css({"top":($(window).scrollTop()+($(window).height()-$("#divStayTopright").height())/2 - 120),"display":""});
     }) ;
//     alert(($(window).height()-$("#divStayTopright").height())/2);
});
  
  
  
  function openEZPhoneCustomer(){
    window.open('about:blank', 'Popup_Window','width=460,height=410,menubar=no,toolbar=no,status=no,resizable=yes');
    document.forms.MyForm.clientURL.value=window.location;	
    document.forms.MyForm.target='Popup_Window';
    document.forms.MyForm.incomingCallType.value="VOICE";
    document.forms.MyForm.submit();
  }
  
  function openEZPhoneCustomer1(){
    window.open('about:blank', 'Popup_Window','width=460,height=410,menubar=no,toolbar=no,status=no,resizable=yes');
    document.forms.MyForm.clientURL.value=window.location;	
    document.forms.MyForm.target='Popup_Window';
    document.forms.MyForm.incomingCallType.value="TEXT";
    document.forms.MyForm.submit();
  }


function showdiv(num)
{
    if(num==1)
    {
        document.getElementById("divsmall").style.display="none";
        document.getElementById("divbig").style.display="";
    }
    else
    {
        document.getElementById("divsmall").style.display="";
        document.getElementById("divbig").style.display="none";
    }
}
