	
	function dothefocus() /*This function will make cursor to be  presented in logon name field */
	{
		
        document.loginform.txtlogin.focus();
	}
	
	function helpwin(opt){	// user is redirecting from signup page
	
		window.open(opt+"HelpDocs/QuickStart/QuickStart.pdf","","toolbars=0, Location=0, height=600, width=500,left=60,top=50,scrollbars=1,resizable=1");
	}
	
	function wopen1(){	// user click 'Tell A Friend' link
		
		window.open("tellafriend.php","", "width=550,height=550,left=30,top=30, scrollbars=yes");
	}
	
	function forgotpasswd(){	// user click 'Forgot Password' link
		
		window.open("forgotpassword.php","", "width=550,height=550,left=30,top=30, scrollbars=yes");
	}
		
	function browsercheck(){	// check whether user is using IE or not
		
		/*var bname=navigator.appName;
		
		var temp=navigator.appVersion.split("MSIE");
		
		var bver=parseInt(temp[1]);
	
		if(bname=="Microsoft Internet Explorer"){	// if user is using IE
			
			if(bver<6){	// version is < '6'
				
				alert("Microsoft Internet Explorer 6 and above is the only supported browser!");
				
				return false;
				
			}
			else{*/
				
			if(document.loginform.txtlogin.value==""){	// forgot to enter user name
					
					alert("Please enter your Mobi33 logon name");
					
					document.loginform.txtlogin.focus();
					
					document.getElementById('logon_name').style.color='#800000';
					
					return false;
			}
			if(document.loginform.txtpasswd.value==""){	// forgot to enter password
					
					alert("Please enter your Mobi33 password");
					
					document.loginform.txtpasswd.focus();
					
					document.getElementById('password').style.color='#800000';
					
					return false;
			}
			return true;
			/*}
		
		}else{
			
			alert("Microsoft Internet Explorer 6 and Above is the only supported browser!");
			
			return false;
		}*/
	
	
	}
	
	function favoris(opt) {	// add bookmark func

		if (navigator.appName != 'Microsoft Internet Explorer'){ 	
			var ua=navigator.userAgent.toLowerCase();
			var isKonq=(ua.indexOf('konqueror')!=-1);
			var isSafari=(ua.indexOf('safari')!=-1);
			var isFirefox=(ua.indexOf('firefox')!=-1);
			
			if(isKonq) {
				alert('You need to press CTRL + B to bookmark Snd2Phone Site.');
			} else if(isSafari) {
				alert('You need to press Command/Cmd + D to bookmark Snd2Phone Site.');    
			} else if(isFirefox) {
				window.sidebar.addPanel("Mobi33 Site",opt,""); 
			} else {
				alert('In order to bookmark this site you need to bookmark manually.');
			}
		}
		else { 
			window.external.AddFavorite(opt,"Mobi33 Site"); 
		}
	}
	
	function register_now(opt){	// user click register now button
		
			window.open(opt+"free_signup.php","_top");	
	}
