﻿// JScript File

 function newreg(){
 		location.href = 'main/registration.aspx?id=new';
    }
    function details(){
    		location.href = 'main/registration.aspx?update=1';
    }
    function maps(){
        location.href='maps/init_maps.asp';   
    }
    function lbs(){
    		location.href = 'main/cellphones.aspx';
    }
    function changepass(){
				location.href='main/password_change.aspx';
    }
    function home(){
    		location.href = 'web/default.aspx';
    }
    function updatesub(){
    		location.href = "main/product.aspx";
    }
    function updaterefs(){
    		location.href = "main/ref_list.aspx";
    }
    function password(){
								if (document.getElementById('tbcell').value == ''){
												alert("Please enter your cellphone number.");
								}else{
												location.href = 'main/password_send.aspx?cell=' + document.getElementById('tbcell').value;
								}
						}

    function gopage(mypage){
    		location.href = mypage;
    } 
    