var noteShow=0;
function redirectNote(name,link){
	if(noteShow==1){
	$("#note-content").remove();
	}
	$('<div id="note-content"><div id="note-header"><div id="note-title">This promotion has expired.</div><div id="note-close"><a href="javascript:closeNote();"><img src="/images/note-close.gif" border="0"></a></div><div class="note-clear"></div></div><div id="note-message">'+name+' is still available with a 3 month, no questions asked, 100% money back guarantee. <a href="'+link+'">Click here to order securely now</a>. Or, read on for more information about '+name+'. A link to our secure order form is located at the bottom of this page.</div></div>').appendTo("#redirect-note");
setTimeout( "closeNote()", 8000);
}


function closeNote(){
	$("#note-content").slideUp('fast',function(){	
	$("#note-content").remove();noteShow=0;
	});	
}

$(window).load(function () {
  if(redirect){   
   
        redirectNote(redirect,redirectLink);
    
 }
});
