﻿/*
    Author: Mauricio Beltran
    Date: 5/5/2009
    Description: Functions required in the website
*/

function openExternalLink(strURL) {
    var bResponse = confirm('You are about to be redirected to an external website. Do you want to continue?');
    if (bResponse) { window.open(strURL); }
}

$(document).ready(function(){
   
	$("#dialog1").dialog({modal: true, autoOpen: false, width: 700 });
	$("#dialog2").dialog({modal: true, autoOpen: false, width: 700 });
	$("#dialog3").dialog({modal: true, autoOpen: false, width: 700 });
	
	
	
	$("a.js_dialog1").click(function(event){
		$("#dialog1").dialog('open');
	});
	$("a.js_dialog2").click(function(event){
		$("#dialog2").dialog('open');
	});
	$("a.js_dialog3").click(function(event){
		$("#dialog3").dialog('open');
	});

});
