jQuery.fn.corner = function(options) { 
	var settings = { 
		tl: { radius: 10 }, 
		tr: { radius: 10 }, 
		bl: { radius: 10 }, 
		br: { radius: 10 }, 
		antiAlias: true, 
		autoPad: true, 
		validTags: ["div"]
	}; 
	if ( options && typeof(options) != 'string' ) 
		jQuery.extend(settings, options); 

	return this.each( function() { 
		new curvyObject(settings,this).applyCorners(); 
		//new curvyCorners(settings, this ).applyCornersToAll(); 
	});
};
inceHeader = function(){
	jQuery('#hmain-top').css('height', '90px');
}
kalinHeader = function(){
	jQuery('#hmain-top').css('height', '118px');
}
noHeader = function(){
	jQuery('#hmain-top').css('height', '5px');
}
bannerToggle = function(){
	jQuery('#hmain-tl, #hmain-tr, #hmain-tc').toggle();
}
/*
hcToggle = function(){
jQuery('#block_sitemap, #block_help, #block_detailsearch').toggle();
}
*/
toInceHeader = function(){
	jQuery('#hmain-top').animate({height:'118px'}, {queue:false, duration: 500});
}
toKalinHeader = function(){
	jQuery('#hmain-top').animate({height:'118px'}, {queue:false, duration: 500 } );
}
toNoHeader = function(){
	jQuery('#hmain-top').animate({height:'5px'}, {queue:false, duration: 500});
}
minBanner = function(){
	jQuery('#hmain-tc').animate({height:'0px'}, {queue:false, duration: 500});
	jQuery('#hmain-tr').animate({height:'0px'}, {queue:false, duration: 500});
	jQuery('#hmain-tl').animate({height:'16px'}, {queue:false, duration: 500});
}
maxBanner = function(){
	jQuery('#hmain-tc').animate({height:'90px'}, {queue:false, duration: 500});
	jQuery('#hmain-tr').animate({height:'90px'}, {queue:false, duration: 500});
	jQuery('#hmain-tl').animate({height:'125px'}, {queue:false, duration: 500});
}
minHC = function() {
    jQuery('#block_hiddencontent').animate({ height: '140px' }, 500, displayContent);
}
maxHC = function() {
    jQuery('#block_hiddencontent').animate({ height: '1px' }, 500, hideContent);
}

displayContent = function(){
    jQuery(".package_block").show();
}

hideContent = function() {
    jQuery(".package_block").hide();
}


