/*
 * 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 236 2010-03-09 06:04:40Z emartin24 $
 *
 */

jQuery(function ($) {
	//TL - 2288
	$('#wintaxTl2288 a.link_tl2288').click(function (e) {
		var src = "tl2288.html";
		var thisWidth = 800;
		var thisHeight = 500;
		$.modal('<iframe src="' + src + '" height="'+thisHeight+'" width="'+thisWidth+'" style="border:0">', {
			closeHTML:"",
			containerCss:{
				backgroundColor:"#fafafa",
				borderColor:"#fff",
				//height:500,
				//width:800,
				padding:0
			},
			autoResize:true,
			overlayClose:true,
			escClose:true
		});
	});
	
	//TL - 3366
	$('#wintaxTl3366 a.link_tl3366').click(function (e) {
		var src = "tl3366.html";
		var thisWidth = 800;
		var thisHeight = 500;
		$.modal('<iframe src="' + src + '" height="'+thisHeight+'" width="'+thisWidth+'" style="border:0">', {
			closeHTML:"",
			containerCss:{
				backgroundColor:"#fafafa",
				borderColor:"#fff",
				//height:500,
				//width:800,
				padding:0
			},
			autoResize:true,
			overlayClose:true,
			escClose:true
		});
	});
	
	//TL - 5266
	$('#wintaxTl5266 a.link_tl5266').click(function (e) {
		var src = "tl5266.html";
		var thisWidth = 800;
		var thisHeight = 500;
		$.modal('<iframe src="' + src + '" height="'+thisHeight+'" width="'+thisWidth+'" style="border:0">', {
			closeHTML:"",
			containerCss:{
				backgroundColor:"#fafafa",
				borderColor:"#fff",
				//height:500,
				//width:800,
				padding:0
			},
			autoResize:true,
			overlayClose:true,
			escClose:true
		});
	});
	
	//TL - 7266
	$('#wintaxTl7266 a.link_tl7266').click(function (e) {
		var src = "tl7266.html";
		var thisWidth = 800;
		var thisHeight = 500;
		$.modal('<iframe src="' + src + '" height="'+thisHeight+'" width="'+thisWidth+'" style="border:0">', {
			closeHTML:"",
			containerCss:{
				backgroundColor:"#fafafa",
				borderColor:"#fff",
				//height:500,
				//width:800,
				padding:0
			},
			autoResize:true,
			overlayClose:true,
			escClose:true
		});
	});
	
});
