// JavaScript Document
// GRAZITTI TEAM 05Sep11 Replaced all $ with jq
//
jq(document).ready(function() {
	jq('#reply-title').hide();
	jq('.comment-notes').hide();
	jq('.form-allowed-tags').hide();
	jq('.widget-title').hide();
});

function gotoPage(iPageNumber, strFormId) {
	jq('#'+strFormId).append('<input type="hidden" id="PAGE" name="page" value="' + iPageNumber + '" />');
	jq('#'+strFormId).submit();
}

function getCatPosts() {
	iCat = jq('#categories').val();
	jq('#arch_cat').submit();
}

function getArchives() {
//	jq('#arch_cat').action = jq('#archives').val();
	//jq('#arch_cat').submit();
	window.location.href = jq('#archives').val();
}

function getPostByTag(tag) {
	/*jq('#tag').append('<input type="hidden" id="tag" name="tag" value="' + tag + '" />');
	jq('#tag').submit();*/
	window.location.href = tag;
}
