var plg_tagsV2_cloud_box = new function()
{
	this.relasetShow = function( prefix )
	{
		var isDisplay = $('#'+prefix+'_moreRelated').css( 'display' );
		if( isDisplay == 'none' ) {
			$('#'+prefix+'_moreRelated').show();
		} else {
			$('#'+prefix+'_moreRelated').hide();
		}
		
	}
	this.combinShow = function()
	{
		var isDisplay = $('#moreCombin').css( 'display' );
		
		if( isDisplay == 'none' ) {
			$('#moreCombin').show();
		} else {
			$('#moreCombin').hide();
		}
		
	}
	
	this.boldBaseTag = function( prefix , word )
	{
		var _baseTag = $('#'+prefix+'_baseTag').val();
		$('#'+prefix+'_related a.inv').each(function(){
			var text = $(this).html();
			text = text.replace( eval( '/(.*)(' + _baseTag + ')(.*)/i') , '$1<font class="bld">' + word + '</font>$3' );
			$(this).html( text );
		});
	}
}
