function viewform_endicia(m) {
   var w = 1250;
   var h = 550;
   var scroll = 'yes';
   var settings;
   var LeftPosition;
   var TopPosition;
   var win;
        
   LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
   TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
  
   settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll;
   settings = settings + ',resizable=no,maximize=no,status=no,toolbar=no,directories=no,menubar=no,location=no';
          
   win = window.open(m, 'pre', settings);
   win.name = 'name';
   win.focus();
}




var popup = {

  handle: null,

  viewform :function (m) {
     var w = 400;
     var h = 320;
     var scroll = 'no';
     var settings;
     var LeftPosition;
     var TopPosition;
     var win;
          
     LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
     TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
    
     settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll;
     settings = settings + ',resizable=no,maximize=no,status=no,toolbar=no,directories=no,menubar=no,location=no';

     
     if (!this.handle)  {   
       win = window.open(m, 'pre', settings);
       win.name = 'name';
       win.focus();
       this.handle = win;
     } else {
       this.handle.document.location = m;
       this.handle.focus(); 
     }
  },

  clear_handle : function (){
     this.handle = null;
  }

}



function change_plan_op(id) { 
  text1 = document.getElementById(id).value;
  document.getElementById("signup_place").innerHTML =text1;
  return false;
}


function HideLinkProcess() {
   if(document.getElementById('process_now')){
      document.getElementById('process_now').style.display = "none";
   }
}
function ShowLinkProcess() {
   if(document.getElementById('process_now')){
      document.getElementById('process_now').style.display = "block";
   }
}

