I need con1 to show active and be loaded onload of page.

this is my code to swap content. I am using a external php page to swap out content when the id of con1 con2 and so on our clicked.

I want to make con1 show onload of page and the link to show active but when you go to the page it only shows my div with no content till a link is clicked. once link is clicked it hovers shows active and works great.

here is my code

<script language="JavaScript" type="text/javascript">
$(document).ready(function() {
$("a.topnav").click(function() {


function swapContent(cv) {
var url = "content.php";
$.post(url,{contentVar: cv},function(data){