/***********************************************
* AnyLink CSS Menu script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var enableanchorlink=0 //Enable or disable the anchor link when clicked on? (1=e, 0=d)
var hidemenu_onclick=1 //hide menu when user clicks within menu? (1=yes, 0=no)

/////No further editting needed

var ie5=document.all
var ns6=document.getElementById&&!document.all

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}

function showhide(obj, e, visible, hidden){
if (ie5||ns6)
dropmenuobj.style.left=dropmenuobj.style.top=-500
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie5 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
}
else{
var topedge=ie5 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie5 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
}
}
return edgeoffset
}

function bizdropdownmenu(obj, e, dropmenuID){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
if (typeof dropmenuobj!="undefined") //hide previous menu
dropmenuobj.style.visibility="hidden"
clearhidemenu()
if (ie5||ns6){
obj.onmouseout=delayhidemenu
dropmenuobj=document.getElementById(dropmenuID)
if (hidemenu_onclick) dropmenuobj.onclick=function(){dropmenuobj.style.visibility='hidden'}
dropmenuobj.onmouseover=clearhidemenu
dropmenuobj.onmouseout=ie5? function(){ dynamichide(event)} : function(event){ dynamichide(event)}
showhide(dropmenuobj.style, e, "visible", "hidden")
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
}
return bizclickreturnvalue()
}

function bizclickreturnvalue(){
if ((ie5||ns6) && !enableanchorlink) return false
else return true
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function dynamichide(e){
if (ie5&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}

function delayhidemenu(){
delayhide=setTimeout("dropmenuobj.style.visibility='hidden'",disappeardelay)
}

function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}


function fntopmenu()
{
var str="";
str+="<TABLE width='780'  height='21' align=center  background='astrology_horoscopes_images/nav_wider_bk.gif'>";
str+="<TBODY><TR><TD style='TEXT-ALIGN: left;'>";
str+="<A class='toplevel' href='http://www.findyourfate.com/' target='_blank'> &nbsp;Home</A>";
str+="<A class='toplevel' href='http://www.findyourfate.com/sitemap/sitemap.htm' target='_blank'>&nbsp;Site Map</A>"; 
str+="<A onmouseover='bizdropdownmenu(this, event, 1)' href='http://www.findyourfate.com/about.htm' target='_blank' class='toplevel'>&nbsp;About Us&nbsp;<IMG  src='astrology_horoscopes_images/arrow1.gif' border='0' > </A>";
str+="<DIV class='menu' id=1>";
 str+="<A href='http://www.findyourfate.com/about.htm' target='_blank'>Who we are</A>";
str+="<A href='http://www.findyourfate.com/contact.html'  target='_blank'>Contact Us</A>";
str+="<A href='http://www.findyourfate.com/feedback.html' target='_blank'>Feed Back</A>";
str+="<A href='http://www.findyourfate.com/terms.htm#privacy' target='_blank'>Privacy Policy</A></DIV>";
str+="<A class='toplevel' onMouseOver='bizdropdownmenu(this, event, 2)'  href='javascript:addbookmark()' target='_blank'>&nbsp;Book Mark&nbsp;<IMG alt='' src='astrology_horoscopes_images/arrow1.gif' border='0' ></A>";
str+="<DIV class='menu' id=2>";
str+="<A href='javascript:addbookmark()'>&nbsp;Add to Favorites</A>";
str+="<a href='http://del.icio.us/post?url='http://www.findyourfate.com' target='_blank'>";
str+="<img border='0' width='16' height='16' src='http://www.findyourfate.com/model/images/viewprofile_clip_image001.gif' alt='Add this page to Del.icio.us' align='absmiddle'/>&nbsp; Del.icio.us</a>";
str+="<a href='http://digg.com/submit?phase=2&amp;url=http://www.findyourfate.com' target='_blank'>";
str+="<img border='0' width='16' height='16' src='http://www.findyourfate.com/model/images/viewprofile_clip_image002.gif' alt='Add this page to Digg it' align='absmiddle'/>&nbsp;Digg.com</a>";
str+="<a href='http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http://www.findyourfate.com/' target='_blank'><img border='0' width='16' height='16' src='http://www.findyourfate.com/model/images/viewprofile_clip_image004.gif' alt='Add this page to Google' align='absmiddle'/>&nbsp;Google.com</a>";
str+="<a href='http://www.stumbleupon.com/submit?url=http://www.findyourfate.com/' target='_blank'><img border='0' width='16' height='16' src='http://www.findyourfate.com/model/images/viewprofile_clip_image009.gif' alt='Add this page to StumbleUpon' align='absmiddle'/>&nbsp;Stumbleupon.com</a>"
str+="<a href='http://myweb2.search.yahoo.com/myresults/bookmarklet?t=Yueyue%20on%20findyourfate.com&amp;u=http://www.findyourfate.com' target='_blank'><img border='0' width='16' height='16' src='http://www.findyourfate.com/model/images/viewprofile_clip_image010.gif' alt='Add this page to Yahoo MyWeb' align='absmiddle'/>&nbsp;Yahoo.com</a>";
str+=" <a href='http://www.facebook.com/sharer.php?u=http://www.findyourfate.com/model/viewprofile.asp?model-id=1249' target='_blank'><img border='0' width='16' height='16' src='http://www.findyourfate.com/model/images/viewprofile_clip_image012.gif' alt='Add this page to Facebook'  align='absmiddle'/>&nbsp;Facebook.com</a>";
str+="<a href='http://reddit.com/submit?url=http://www.findyourfate.com/model/viewprofile.asp?model-id=1249' target='_blank'><img border='0' width='16' height='16' src='http://www.findyourfate.com/model/images/viewprofile_clip_image007.gif' alt='Add this page to Reddit'  align='absmiddle'/>&nbsp;Reddit.com</a></DIV>";
str+="<A class='toplevel' href='javascript:popupm()'>&nbsp;Tell a Friend</A>";
str+="<A class='toplevel' onMouseOver='bizdropdownmenu(this, event, 3)' href='http://www.findyourfate.com/verify.jsp' target='_blank'>&nbsp;My Account&nbsp;<IMG alt='' src='astrology_horoscopes_images/arrow1.gif' border=0 > </A> ";
str+="<DIV class=menu id=3>";
str+="<A href='services.htm'>Member Features</a>";
str+="<a href='http://www.findyourfate.com/faq/faq.htm' target='_blank'>Subscribers / FAQ</a>";
str+="<a href='http://www.findyourfate.com/terms.htm#privacy' target='_blank'>Privacy Policy &amp; Terms</a>";
str+="<a href='http://www.findyourfate.com/verify.jsp' target='_blank'>My Profile</a>";
str+="<a href='http://www.findyourfate.com/terms.htm' target='_blank'>Become a Member</a></DIV>";

/*str+="<A class=toplevel href='http://www.findyourfate.com/mobile/home.html' target='_blank'>&nbsp;Mobile Version </A>";*/

str+="<A class=toplevel href='http://findyourfate.com/love-experts/love-experts.html' target='_blank'>&nbsp;Love Reading </A>";

str+="<A class=toplevel onMouseOver='bizdropdownmenu(this, event, 4)'  href='http://www.findyourfate.com/services.htm' target='_blank'>&nbsp;Services&nbsp;<IMG  src='astrology_horoscopes_images/arrow1.gif' border=0 ></A> ";
str+="<DIV class=menu1 id=4>";
str+="<span class='menu2'>Astrology Services</span>";
str+="<A href='http://www.findyourfate.com/compatibility/match.jsp' target='_blank'>Compatibility Report </A>";
str+="<A href='http://www.findyourfate.com/dreams/interpret.jsp' target='_blank'>Dream Analysis</A>";
str+="<A href='http://www.findyourfate.com/palmistry/palmupload.jsp' target='_blank'>Palm Reading </A>";
str+="<A href='http://www.findyourfate.com/numerology/namechange.jsp' target='_blank'>Nameology</A>"; 
str+="<A href='http://www.findyourfate.com/numerology/babynames.jsp' target='_blank'>Baby names Consulation</A>"; 
str+="<A href='http://www.findyourfate.com/indianastro/relationship.jsp' target='_blank'>Match Making </A>";
str+="<A href='http://www.findyourfate.com/vaasthu/buildplan.jsp' target='_blank'>Vastu </A> ";
str+="<A href='http://www.findyourfate.com/indianastro/nadi.jsp' target='_blank'>Nadi Reading </A>";
str+="<A href='http://www.findyourfate.com/ask_a_question.jsp' target='_blank'>Ask Astrologers</A>";
str+="<span class='menu2'>Personal Services</span>";
str+="<A href='http://matrimonial.findyourfate.com' target='_blank'>Matrimonial</A>";
str+="<A href='http://dating.findyourfate.com' target='_blank'>Dating</A>";
str+="<A href='http://www.findyourfate.com/model/home.asp' target='_blank'>Book a Model</A>";
str+="<A href='http://www.findyourfate.com/shopping/gemshop.jsp' target='_blank'>Gems Shopping</A></DIV>";
str+="<A class=toplevel onMouseOver='bizdropdownmenu(this, event, 5)'  href='http://www.findyourfate.com' target='_blank'>&nbsp;Change Language&nbsp;<IMG  src='astrology_horoscopes_images/arrow1.gif' border=0 ></A> ";
str+="<DIV class=menu  id=5>";
str+="<a href='fyf_F.html' target='_self'><img src='astrology_horoscopes_images/fr.gif' border='0'>&nbsp;&nbsp;&nbsp;  French</a>";
str+="<a href='http://babelfish.altavista.com/babelfish/tr?doit=done&url=http://www.findyourfate.com/fyf.html&lp=en_ko' target='_blank'><img src='astrology_horoscopes_images/korea.jpg' border='0'>&nbsp;&nbsp;&nbsp; Korean</a>";
str+="<a href='http://findyourfate.com/fyf_S.html' target='_self'><img src='astrology_horoscopes_images/es.gif' border='0'>&nbsp;&nbsp;&nbsp; Spanish</a>";
str+="<a href='http://translate.google.com/translate?u=http://www.findyourfate.com&langpair=en|it&hl=en&ie=UTF8&oe=UTF8' target='_blank'><img src='astrology_horoscopes_images/it.gif' border='0'>&nbsp;&nbsp;&nbsp; Italian</a>";
str+="<a href='fyf_H.html'target='_self'><img src='astrology_horoscopes_images/ind.gif' border='0'>&nbsp;&nbsp;&nbsp;  Hindi</a>";
str+="<a href='http://babelfish.altavista.com/babelfish/tr?doit=done&url=http://www.findyourfate.com/fyf.html&lp=en_zh' target='_blank'><img src='astrology_horoscopes_images/china.jpg' border='0'>&nbsp;&nbsp;&nbsp; Chinese</a>";
str+="<a href='http://babelfish.altavista.com/babelfish/tr?doit=done&url=http://www.findyourfate.com/fyf.html&lp=en_ja' target='_blank'><img src='astrology_horoscopes_images/japan.jpg' border='0'>&nbsp;&nbsp;&nbsp;  Japanese</a>";
str+="<a href='http://translate.google.com/translate?u=http://www.findyourfate.com&langpair=en|de&hl=en&ie=UTF8&oe=UTF8' target='_blank'><img src='astrology_horoscopes_images/de.gif' border='0'>&nbsp;&nbsp;&nbsp; German</a></DIV>";

str+="<A class=toplevel href='http://www.findyourfate.com/forums' target='_blank'>&nbsp;Forum</A>";
str+="&nbsp;<A href='http://www.findyourfate.com/mobile/home.html' target='_blank'><img src='astrology_horoscopes_images/iphone.gif' border='0' alt='Love Horoscope - iphone - mobilephone'></A>";
str+=" </TD></TR></TBODY></TABLE>";
	  
	  document.write(str);
}
