//this is button for life help
function InitHook(anchor) {
//MSIE bug
document.getElementById('navlist').style.zIndex=2;
//find link
var link = document.getElementById('idMenuTopContact');
//new button
var new_contact = link.innerHTML;
//reassign contact us href
link.childNodes[0].href='javascript:show_contacts()';
//new text to button
new_contact=new_contact.replace(link.childNodes[0].innerHTML,'Email Us');
//layer
link.innerHTML+='<div id="contact_pulldown" style="background:#313131 none repeat scroll 0 0;border:1px solid black;left:120px;top:25px;padding:10px;position:absolute;z-index:1000;display:none" onmouseout="if (mouseReallyOut(this, event)) { hide_contacts(); }">'+new_contact+'<br/><iframe frameborder="0" id="live_help" src="http://personalizedpartyinvites.com/craftysyntax.html" style="border:0;width:500px;height:300px;padding-top:10px"></iframe></div>';
}

function mouseReallyOut(oThis, e) {
if (e.relatedTarget) {
return(e.relatedTarget != oThis && e.relatedTarget.parentNode != oThis);
}
return(e.toElement != oThis && e.toElement.parentNode != oThis);
}

function show_contacts(){
var ct = document.getElementById('contact_pulldown');
ct.style.display = "block";
}

function hide_contacts(){
setTimeout("really_hide_contacts();", 1000);
}

function really_hide_contacts(){
var ct = document.getElementById('contact_pulldown');
ct.style.display = "none";
} 


