function mouseLeaves (element, evt) {
if (typeof evt.toElement != 'undefined' && evt.toElement && typeof element.contains != 'undefined') {
return !element.contains(evt.toElement);
}
else if (typeof evt.relatedTarget != 'undefined' && evt.relatedTarget) {
return !contains(element, evt.relatedTarget);
}
}

function contains (container, containee) {
while (containee) {
if (container == containee) {
return true;
}
containee = containee.parentNode;
}
return false;
}

function hideElement (element) {
if (element.style) {
$(element).fadeOut("200");
}
}

function hideAll () {
$(".iseemeDrop").fadeOut("200");
}


function showElement (element) {
if (element.style)
{
if (element.style.display == "block")
{
$(element).fadeOut("200");
}
else
{
$(element).fadeIn("200");
}
}
}

$(document).ready(function(){
$(".lowerBarEmail").replaceWith("<div class=\"lowerBarEmail\" style=\"z-index: 9270;\"><a href=\"http://store.yahoo.com/1myveryownname/#\" class=\"example8\"><img alt=\"Sign Up\" src=\"/lib/1myveryownname/ey-news-signup.jpg\"></a></div>");
var myHTML = $(".newsletter").html();
$(".newsletter").remove();
$("#inline_example1").remove();
$("#fade").before("<div style=\"display: none;\"><div id=\"inline_example1\"><div class=\"newsletter\">"+myHTML+"</div></div></div>");
});

