// JavaScript Document


	// Subscription options

	$(function() {
				
		$("#mxm-details").dialog({
			bgiframe: true,
			autoOpen: false,
			height: 500,
			width: 500,
			modal: true,
			show: 'blind',
			hide: 'blind',
			buttons: {

				'Close': function() {
					$(this).dialog('close');
				}
			},
			close: function() {
			}
		});

		$("#ppd-details").dialog({
			bgiframe: true,
			autoOpen: false,
			height: 500,
			width: 500,
			modal: true,
			show: 'blind',
			hide: 'blind',
			buttons: {

				'Close': function() {
					$(this).dialog('close');
				}
			},
			close: function() {
			}
		});

		$("#ppc-details").dialog({
			bgiframe: true,
			autoOpen: false,
			height: 500,
			width: 500,
			modal: true,
			show: 'blind',
			hide: 'blind',
			buttons: {

				'Close': function() {
					$(this).dialog('close');
				}
			},
			close: function() {
			}
		});

	
		$('#get-mxm-details').click(function() {
			$('#mxm-details').dialog('open');
		})
		.hover(
			function(){ 
				$(this).addClass("ui-state-hover"); 
			},
			function(){ 
				$(this).removeClass("ui-state-hover"); 
			}
		).mousedown(function(){
			$(this).addClass("ui-state-active"); 
		})
		.mouseup(function(){
				$(this).removeClass("ui-state-active");
		});

		$('#get-ppd-details').click(function() {
			$('#ppd-details').dialog('open');
		})
		.hover(
			function(){ 
				$(this).addClass("ui-state-hover"); 
			},
			function(){ 
				$(this).removeClass("ui-state-hover"); 
			}
		).mousedown(function(){
			$(this).addClass("ui-state-active"); 
		})
		.mouseup(function(){
				$(this).removeClass("ui-state-active");
		});

		$('#get-ppc-details').click(function() {
			$('#ppc-details').dialog('open');
		})
		.hover(
			function(){ 
				$(this).addClass("ui-state-hover"); 
			},
			function(){ 
				$(this).removeClass("ui-state-hover"); 
			}
		).mousedown(function(){
			$(this).addClass("ui-state-active"); 
		})
		.mouseup(function(){
				$(this).removeClass("ui-state-active");
		});

	});


