/*
 * SimpleModal Basic Modal Dialog
 * http://www.ericmmartin.com/projects/simplemodal/
 * http://code.google.com/p/simplemodal/
 *
 * Copyright (c) 2010 Eric Martin - http://ericmmartin.com
 *
 * Licensed under the MIT license:
 *   http://www.opensource.org/licenses/mit-license.php
 *
 * Revision: $Id: basic.js 254 2010-07-23 05:14:44Z emartin24 $
 */

jQuery(function ($) {
	// Load dialog on page load
	//$('#basic-modal-content').modal();

	// Load dialog on click
	
	/*$('#basic-modal').click(function (e) {
		var src = "test.html";
		$.modal('<iframe src="' + src + '" height="800" width="830" style="border:1">', {
			closeHTML:"",
			containerCss:{
				backgroundColor:"#fff",
				borderColor:"#fff",
				width:500,
				padding:0,
				height:500
			},
			overlayClose:true
		});

		return false;
	});*/
	
		
	$('#job').click(function (e) {
		$.extend($.modal.defaults, {closeClass: "Close"});
	// Opening animations
	
	$('#jobdetail_div').modal({onOpen: function (dialog) {
	dialog.overlay.fadeIn('slow', function () {
		dialog.data.hide();
		dialog.container.fadeIn('slow', function () {
			dialog.data.slideDown('slow');
		});
	});
}, onClose: function (dialog) {

	dialog.data.fadeOut(300, function () {
		dialog.container.fadeOut(300, function () {
			dialog.overlay.fadeOut(300, function () {
				$.modal.close();
			});
		});
	});
}


}

);
		return false;
	});
	
	
	
	
});
