jQuery().ready(function(){
	
	$("#loading-data").hide();
	
	$(".tHtml").click(function(){
		$("#loading-data").show();
		$("#content").hide();
		$("#content").load("/fram_html.html",function(){
			$(this).show();
		});
			
	});

	$(".tJs").click(function(){
		$("#loading-data").show();
		$("#content").hide();
		$("#content").load("/fram_js.html",function(){
			$(this).show();
		});
	});

	$(".tPhp").click(function(){
		$("#loading-data").show();
		$("#content").hide();
		$("#content").load("/fram_php.html",function(){
			$(this).show();
		});
	});

	$(".tXml").click(function(){
		$("#loading-data").show();
		$("#content").hide();
		$("#content").load("/fram_xml.html",function(){
			$(this).show();
		});
	});

	$(".tBanner").click(function(){
		$("#loading-data").show();
		$("#content").hide();
		$("#content").load("/fram_banner.html",function(){
			$(this).show();
		});
	});

});

function kPopup(theURL,winName,posx,posy,width,height,features) {
	if (!winName.closed && winName.location) {
		winName.location.href = theURL;
	} else {
		var left,top = 0;
		if(posx=="right"){
			left = screen.width - width;
		} else if(posx=="center") {
			left = (screen.width - width)/2;
		} else {
			left = 0;
		}

		if(posy=="bottom") {
			top = screen.height - height;
		} else if(posy=="middle") {
			top = (screen.height - height)/2;
		} else {
			top = 0;
		}
		winName=window.open(theURL,winName,"width="+width+",height="+height+",left="+left+",top="+top+","+features);
		if (!winName.opener) {
			winName.opener = self;
		}
	}
	if (window.focus) {
		winName.focus();
	}
	return false;
}




