	$(function(){
	
	 $('.external').attr('target', '_blank');	// class for external link replace for "_blank" it's passed W3C

	 $('.home').click(function(){
		window.location = 'index.php';
	  });

	   $('#register_button').click(function(){
		window.location = 'register.php';
	  });

	   $('#howto_button').click(function(){
		window.location = 'How-to-write-a-good-resume.php';
	  });
	   $('#whatis_button').click(function(){
		window.location = 'What-is-SpongResume.php';
	  });
		$('#aboutspong_button').click(function(){
		window.location = 'About-SpongResume.php';
	  });
	   $('#tipandhelp_button').click(function(){
		window.location = 'tips.php';
	  });
	  //	$('#getstartnow_button,#startnow_button,#register_button,#register_button2').click(function(){
	  //        window.location = 'register.php';	//Get Started Now!
	  //      });
	  $('#advertise_button').click(function(){
		window.location = 'advertise.php';	// Advertise
	  });
	  $('#partner_button').click(function(){
		window.location = 'partner.php';    // Partner
	  });
	  $('#contactus_button,#contactus_button2').click(function(){
		window.location = 'contactus.php';    // Contact Us
	  });
	  $('#privacy_button').click(function(){
		window.location = 'privacy.php';	// Privacy Policy
	  });
	  $('#term_button').click(function(){
		window.location = 'term.php';	// Terms of Use
	  });
	  $('#sitemap_button').click(function(){
		window.location = 'sitemap.php';	// Site Map
	  });
	  
	  $('#selectprofile_button').click(function(){
		window.location = 'selectprofile.php';     // selectprofile
	  });
	  $('#myaccount_button').click(function(){
		window.location = 'myaccount.php';	 // my Account
	  });
      
      $('#myaccount_button2').click(function(){
        window.location = 'myaccount.php';     // my Account
      });

	  $('#setnewpassword_button').click(function(){
		window.location = 'setnewpassword.php';     // setnewpassword
	  });

	  $('#logout_button').click(function(){
		if(confirm("Do you want to Sign Out ?")) { 
			window.location = 'modules/logout.php?lang='+button.lang;			
		} else {
			return false;
		}           
	  });
	  
	  
	});
				 
