$(document).ready(function(){
	$('#cat').sSelect();
});

function click()
{  
	$("div[class*='click']").bind("mouseenter",function(){
		$(this).css('cursor', 'pointer');
		$(this).animate({opacity: 0.85}, 300);
		$(this).find("div:first").animate({opacity: 1}, 300);
//		$(this).css('background', $(this).find("div:first").css('background-color'));
	}).bind("mouseleave",function(){
		$(this).animate({opacity: 1}, 300);
		$(this).find("div:first").animate({opacity: 0.9}, 300);
	});

	$("div[class*='click']").click(function() {
		window.location = $(this).find("a").attr("href");
	});
};

function init()
{  
	$(document).ready(function() {  
//		$.ajaxSetup({cache: false});
//	    $('#primary').hide();
	});  

	$(window).load(function(){  
	    $('#primary').animate({opacity: 1}, 300);
	});

	$(".comment").find("a").each(function() {
		$(this).attr("target", "_blank");
	});
};

function checkform()
{
	if ((document.getElementById('url').value == 'Website') || (document.getElementById('url').value == 'http://Website'))
	{
		document.getElementById('url').value = '';
	}
};
