﻿$(document).ready(function(){  
	if($.browser.version<='8.0'){			
		$('#dialog').dialog({		
			autoOpen: false,						
			resizable: true,
			position: 'center',
			width: 400
		});
		
		$('#whattoexpectdialog').dialog({
			autoOpen: false,			
			resizable: true,
			position: 'center',
			width: 400
		});
		
		$('#checkofflistdialog').dialog({
			autoOpen: false,			
			position: 'center',
			width: 700
		});
		
		$('#sampleagendadialog').dialog({
			autoOpen: false,			
			position: 'center',
			width: 700
		});
		
		$('#costdialog').dialog({		
			autoOpen: false,						
			resizable: true,
			position: 'center',
			width: 400
		});
	}
	else{
		$('#dialog').dialog({		
			autoOpen: false,
			show: 'blind',
			hide: 'blind',
			height: 250,
			width: 400,
			resizable: false,
			position: 'center'
		});
		
		$('#whattoexpectdialog').dialog({
			autoOpen: false,
			show: 'blind',
			hide: 'blind',
			height: 300,
			width: 400,
			resizable: false,
			position: 'center'
		});
		
		$('#checkofflistdialog').dialog({
			autoOpen: false,
			show: 'blind',
			hide: 'blind',
			height: 700,
			width: 700,
			position: 'center'
		});
		
		$('#sampleagendadialog').dialog({
			autoOpen: false,
			show: 'blind',
			hide: 'blind',
			width: 700,
			position: 'center'
		});
		
		$('#costdialog').dialog({		
			autoOpen: false,
			show: 'blind',
			hide: 'blind',
			height: 250,
			width: 400,
			resizable: false,
			position: 'center'
		});
	}
		
	$('#contact').click(function() {
		$('#dialog').dialog('open');
		return false;
	});		
	
	$('#whattoexpect').click(function() {
		$('#whattoexpectdialog').dialog('open');
		return false;
	});	
	
	$('#checkofflist').click(function() {
		$('#checkofflistdialog').dialog('open');
		return false;
	});
	
	$('#sampleagenda').click(function() {
		$('#sampleagendadialog').dialog('open');
		return false;
	});
	
	$('#cost').click(function() {
		$('#costdialog').dialog('open');
		return false;
	});
});
