// Where to get images:
var cdn_path = '/bar/images/';

// Identify current site:
var hdpo = /hdporn/i.exec(location.hostname);
var amat = /amateur/i.exec(location.hostname);
var bdsm = /bdsm/i.exec(location.hostname);
var milf = /milf/i.exec(location.hostname);
var sens = /sens/i.exec(location.hostname);
var shem = /shem/i.exec(location.hostname);
var druk = /druk/i.exec(location.hostname);


var wah_menu_timer;

jQuery(document).ready( function(e) {
	// Build:
	jQuery('body').prepend('<div id="wah_bar" style="display:none;"></div><div id="wah_menu" style="display:none;"><div id="wah_menu_in"></div></div>');
	jQuery('#wah_bar').html('<div id="wah_container"></div>');
	jQuery('#wah_container').html('<div class="wah_links" id="wah_logo"></div><div class="wah_split"></div>'+
		'<a class="wah_links" id="wah_hdpo" target="_parent" href="http://www.hdporn.net/">HD Porn</a><div class="wah_split"></div>'+
		'<a class="wah_links" id="wah_bdsm" target="_parent" href="http://www.amateurporn.net/">Amateur Porn</a><div class="wah_split"></div>'+
		'<a class="wah_links" id="wah_bdsm" target="_parent" href="http://www.shemaleporn.net/">Shemale Porn</a><div class="wah_split"></div>' +
		'<a class="wah_links" id="wah_bdsm" target="_parent" href="http://www.retropornvideos.com/">Retro Porn</a><div class="wah_split"></div>' +
		'<a class="wah_links" id="wah_bdsm" target="_parent" href="http://www.bdsmkings.com/">BDSM Kings</a><div class="wah_split"></div>' +
		'<a class="wah_links" id="wah_bdsm" target="_parent" href="http://www.drunkgirls.net/">Drunk Girls</a><div class="wah_split"></div>' +
		'<a class="wah_links" id="wah_bdsm" target="_parent" href="http://www.ebonyporn.net/">Ebony Porn</a><div class="wah_split"></div>' +
		'<a class="wah_links" id="wah_bdsm" target="_parent" href="http://www.sensualdirect.com/" target="_blank">Sex Toys</a><div class="wah_split"></div>'

	)
	// Styles:
	jQuery('.wah_links').css({
		'color': '#ddd',
		'height': '26px',
		'line-height': '25px',
		'padding': '0 12px',
		'border': 'none',
		'outline': 'none',
		'float': 'left',
		'font-size': '11px',
		'text-decoration': 'none'
	});
	var links_active = {'background-color': '#333', 'cursor':'default' };
	var links_hover = {'background-color': '#333', 'color': '#ddd'};
	var links_blur = {'background-color': 'transparent','color': '#ddd'};
	jQuery('.wah_split').css({
		'background': 'transparent url('+ cdn_path + 'wah_split.png) no-repeat -10px 0',
		'float': 'left',
		'width': '1px',
		'height': '27px'
	});
	jQuery('#wah_bar').css({
		'position': 'relative',
		'background': 'transparent url('+ cdn_path + 'wah_back.png) repeat-x 0 0',
		'width': '100%',
		'height': '27px',
		'margin': '0',
		'overflow': 'hidden',
		'font-family': 'Arial,Helvetica,sans-serif'
	});
	jQuery('#wah_container').css({
		'position': 'relative',
		'margin': '0 auto',
		'width': '999px',
		'text-align': 'center'
	});
	jQuery('#wah_logo').css({
		'float': 'left',
		'background': 'transparent url('+ cdn_path + 'wah_logo.png) no-repeat 0 0',
		'width': '153px',
		'height': '27px',
		'margin-right': '5px'
	});
	jQuery('#wah_menu').css({
		'position': 'absolute',
		'top': '26px',
		'background-color': 'transparent',
		'margin': '0px',
		'padding': '1px 15px 15px 15px'
	});
	jQuery('#wah_menu_in').css({
		'position': 'relative',
		'background-color': '#2D2D2D',
		'text-align': 'left',
		'width': '112px',
		'margin': '0px',
		'padding': '6px 4px',
		'font-family': 'Arial,Helvetica,sans-serif'
	});



	jQuery('#wah_bar').show();
});
