
function pop_up() {

	var wD = 380;
    var hG = 260;
    var url = '../../new/members/membership_application.php'
    var lF=($(document).width()/2) - (wD/2);
    var tP=($(document).height()/2) - (hG/2);
	
	tP = tP -280;
	
	
    var ht = '<div id="popup_overlay"></div><div id="overlay_container" style="left:'+lF;
    ht += 'px;top:'+tP+'px;width:'+wD+'px;height:'+hG+'px;">';		    
    ht += '<div style="padding: 10px; text-align:center"><br /><p class="popup_text">In order to proceed with the online membership application,the applicant should have the following compulsory documents in soft copy format.<br/>';
    ht += '<ol>'; 
    ht +='<li class= "popup_text">1.Leaving certificate or OR Character certificate issued by Royal College.</li>';
    ht +='<li class="popup_text">2.Passport size color photograph of the applicant.<br/><br />';
    ht +='</li></ol></p>';
    ht += '<br/><br/><a href="javascript: void(0)" id="cmd_rnp_ok" class="sub_btn" style="margin:0 15px 0 115px; ">Ok</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;';
    ht += '<a href="javascript: void(0)" id="cmd_rnp_cancel"  class="sub_btn">Cancel</a></div>';
      ht += '</div>';
    $("body").append(ht);

    $("#cmd_rnp_ok").click(function(){
    	clsrnppo();
    	document.location = url;
	     });
    $("#cmd_rnp_cancel").click(clsrnppo);
}


function clsrnppo(){
    $("#overlay_container").remove();
    $("#popup_overlay").remove();
}
