var $ = jQuery.noConflict();
var flashNews = {
	site:null,
	act:null,
	style:null,
	active:false,
	inText:null,
	special:null,
	start:function(vidsSITE){
		var obj = this;
		obj.site = vidsSITE;
		if(obj.active) {
			obj.ele();
		}
		
	},
	genTxt:function(){
		var obj = this;
		obj.inText = '<span style="color: red; font-weight: bolder; font-style: italic; margin-right: 6px;">Just $1!!! </span><a href="http://girls-do-porn.com/one-dollar/" rel="nofollow" target="_blank">GirlsDoPorn.com</a> Join <span style="' + obj.special + '">TODAY!</span>';
	},
	ele:function(){
		var obj = this;
		switch(obj.site) {
			case 'imilfsHOME':
				obj.act = $('.blank');
				$('.blank').removeClass('delimiter');
				obj.style = 'text-align:center;font-size:18px;margin-bottom:6px;';
				obj.special = 'color:#bf1216';
				obj.genTxt();
				obj.displayNewsAFTER();
				break;
			case 'imilfsGallery':
				obj.act = $('#primary');
				obj.style = 'text-align:center;font-size:18px;margin-bottom:6px;';
				obj.special = 'color:#bf1216';
				obj.genTxt();
				obj.displayNewsPREPEND();
				break;
			case 'ipGAL1':
				obj.act = $('.central-section-content');
				obj.style = 'text-align:center;font-size:20px;margin-bottom:6px;';
				obj.special = 'color:#bf1216';
				obj.genTxt();
				obj.displayNewsPREPEND();
				break;
			case 'GNAKED':
				obj.act = $('header.masthead');
				obj.style = 'text-align:center;font-size:20px;margin-bottom:6px;';
				obj.special = 'color:#bf1216';
				obj.genTxt();
				obj.displayNewsAFTER();
				break;
			case 'buHOME':
				obj.act = $('#Contents');
				obj.style = 'text-align:center;font-size:20px;margin:8px 0px;';
				obj.special = 'color:#bf1216';
				obj.genTxt();
				obj.displayNewsBEFORE();
				break;
			case 'buGAL':
				obj.act = $('.center-block');
				obj.style = 'text-align:center;font-size:20px;margin:8px 0px;';
				obj.special = 'color:#bf1216';
				obj.genTxt();
				obj.displayNewsPREPEND();
				break;
			case 'nud3':
				obj.act = $('#content_editor');
				obj.style = 'text-align:center;font-size:20px;margin:8px 0px;';
				obj.special = 'color:#bf1216';
				obj.genTxt();
				obj.displayNewsAFTER();
				break;
			case 'BUFORUM':
				obj.act = $('#pagetitle');
				obj.style = 'text-align:center;font-size:20px;margin:8px 0px;';
				obj.special = 'color:#bf1216';
				obj.genTxt();
				obj.displayNewsAFTER();
				break;
				
		}
	},
	displayNewsAFTER:function(){
		var obj = this;
		obj.act.after('<p style="' + obj.style + '">' + obj.inText + '</p>');
	},
	displayNewsPREPEND:function(){
		var obj = this;
		obj.act.prepend('<p style="' + obj.style + '">' + obj.inText + '</p>');
	},
	displayNewsBEFORE:function(){
		var obj = this;
		obj.act.before('<p style="' + obj.style + '">' + obj.inText + '</p>');
	}

};