// Functon to Show out Busy Div
function showBusy(){
	$j('#ajax-content').block({
		message: '<h3>Processing</h3>',
		css: {border:'3px solid #000'}
	});
}

function updatePage(html){
	
	/*window.setTimeout( function(){*/
		$j('#ajax-content').html(html);
	/*}, 2)*/
	
	
}

$j(document).ready(function() {

	// $j.AJAX Example Request
	$j('.ajax-pag a').live('click', function(eve){
		eve.preventDefault();
		
		var link = $j(this).attr('href');
		
		$j.ajax({
			url: link,
			type: "GET",
			dataType: "html",
			/*beforeSend: function(){
				showBusy();
			},	*/
		  	success: function(html) {
		    	updatePage(html);
		 	}
		});		

	});	

	
});

/* for Cod4*/

function showBusy2(){
	$j('#ajax-content2').block({
		message: '<h3>Processing</h3>',
		css: {border:'3px solid #000'}
	});
}

function updatePage2(html){
	
	/*window.setTimeout( function(){*/
		$j('#ajax-content2').html(html);
	/*}, 2)*/
	
	
}

$j(document).ready(function() {

	// $j.AJAX Example Request
	$j('.ajax-pag2 a').live('click', function(eve){
		eve.preventDefault();
		
		var link = $j(this).attr('href');
		
		$j.ajax({
			url: link,
			type: "GET",
			dataType: "html",
			/*beforeSend: function(){
				showBusy2();
			},*/	
		  	success: function(html) {
		    	updatePage2(html);
		 	}
		});		

	});	

	
});

/* for sc2*/

function showBusy5(){
	$j('#ajax-content5').block({
		message: '<h3>Processing</h3>',
		css: {border:'3px solid #000'}
	});
}

function updatePage5(html){
	
	/*window.setTimeout( function(){*/
		$j('#ajax-content5').html(html);
	/*}, 2)*/
	
	
}

$j(document).ready(function() {

	// $j.AJAX Example Request
	$j('.ajax-pag5 a').live('click', function(eve){
		eve.preventDefault();
		
		var link = $j(this).attr('href');
		
		$j.ajax({
			url: link,
			type: "GET",
			dataType: "html",
			/*beforeSend: function(){
				showBusy5();
			},*/	
		  	success: function(html) {
		    	updatePage5(html);
		 	}
		});		

	});	

	
});

/* for mw2*/

function showBusy4(){
	$j('#ajax-content4').block({
		message: '<h3>Processing</h3>',
		css: {border:'3px solid #000'}
	});
}

function updatePage4(html){
	
	/*window.setTimeout( function(){*/
		$j('#ajax-content4').html(html);
	/*}, 2)*/
	
	
}

$j(document).ready(function() {

	// $j.AJAX Example Request
	$j('.ajax-pag4 a').live('click', function(eve){
		eve.preventDefault();
		
		var link = $j(this).attr('href');
		
		$j.ajax({
			url: link,
			type: "GET",
			dataType: "html",
			/*beforeSend: function(){
				showBusy4();
			},*/	
		  	success: function(html) {
		    	updatePage4(html);
		 	}
		});		

	});	

	
});

/* for tmn*/

function showBusy3(){
	$j('#ajax-content3').block({
		message: '<h3>Processing</h3>',
		css: {border:'3px solid #000'}
	});
}

function updatePage5(html){
	
	/*window.setTimeout( function(){*/
		$j('#ajax-content3').html(html);
	/*}, 2)*/
	
	
}

$j(document).ready(function() {

	// $j.AJAX Example Request
	$j('.ajax-pag3 a').live('click', function(eve){
		eve.preventDefault();
		
		var link = $j(this).attr('href');
		
		$j.ajax({
			url: link,
			type: "GET",
			dataType: "html",
			/*beforeSend: function(){
				showBusy3();
			},*/	
		  	success: function(html) {
		    	updatePage3(html);
		 	}
		});		

	});	

	
});
