/*
 * SimpleModal Basic Modal Dialog
 * http://www.ericmmartin.com/projects/simplemodal/
 * http://code.google.com/p/simplemodal/
 *
 * Copyright (c) 2009 Eric Martin - http://ericmmartin.com
 *
 * Licensed under the MIT license:
 *   http://www.opensource.org/licenses/mit-license.php
 *
 * Revision: $Id: basic.js 212 2009-09-03 05:33:44Z emartin24 $
 *
 */

$(document).ready(function () {
	$('#basic-modal input.basic, #others-login a.basic').click(function (e) {
		e.preventDefault();
		toggle('others-login');
		$('#basic-modal-content').modal();
		return;
	});
	$('#res-both-user a.res-basic').click(function (e) {
		e.preventDefault();
		toggle('res-both-user');
		$('#basic-modal-content2').modal();
		return;
	});
	$('div.regiter a.res-basic').click(function (e) {
		e.preventDefault();
		//toggle('res-both-user');
		$('#basic-modal-content2').modal();
		return;
	});
//	$('#send_melding').click(function (e) {
//		e.preventDefault();
//		toggle('send_melding_popup');
//		$("#send_melding_popup").modal({
//		    maxHeight:230,
//	        maxWidth: 600
//		});
//	});
});