function addbookmark()
{
bookmarkurl="http://www.findyourfate.com"
bookmarktitle="Find your Fate"

if (document.all)
window.external.AddFavorite(bookmarkurl,bookmarktitle)
}

function fngemflash()
{
	///alert("df");
var str="";
str+="<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0' width='15' height='15' title='gem stones'>";
str+="<param name='movie' value='http://www.findyourfate.com/astrology_horoscopes_images/gemstone.swf'>";
str+="<param name='quality' value='high'>";
str+="<embed src='http://www.findyourfate.com/astrology_horoscopes_images/gemstone.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='15' height='15'>";
str+="</embed>";
str+="</object>";
document.write(str);
}

function fnnumflash()
{
var str="";
str+="<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0' name='numerology' width='250' height='250' id='numerology' title='numerology - numeroscopes'>";
str+="<param name='movie' value='http://www.findyourfate.com/astrology_horoscopes_images/numerology.swf'>";
str+="<param name='quality' value='high'>";
str+="<embed src='http://www.findyourfate.com/astrology_horoscopes_images/numerology.swf' width='250' height='250' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' name='numerology'>";
str+="</embed>";
str+="</object>";
document.write(str);
}

function fngemshopflash()
{
var str="";
str+="<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0' name='gemstones birthstone' width='75' height='70' id='gemstones birthstone' title='gemstones'>";
str+="<param name='movie' value='http://www.findyourfate.com/astrology_horoscopes_images/gemstones.swf' ref>";
str+="<param name='quality' value='High'>";
str+="<param name='_cx' value='1984'>";
str+="<param name='_cy' value='1852'>";
str+="<param name='FlashVars' value>";
str+="<param name='Src' ref value='http://www.findyourfate.com/astrology_horoscopes_images/gemstones.swf'>";
str+="<param name='WMode' value='Window'>";
str+="<param name='Play' value='-1'>";
str+="<param name='Loop' value='-1'>";
str+="<param name='SAlign' value>";
str+="<param name='Menu' value='-1'>";
str+="<param name='Base' value>";
str+="<param name='AllowScriptAccess' value>";
str+="<param name='Scale' value='ShowAll'>";
str+="<param name='DeviceFont' value='0'>";
str+="<param name='EmbedMovie' value='0'>";
str+="<param name='BGColor' value>";
str+="<param name='SWRemote' value>";
str+="<param name='MovieData' value>";
str+="<param name='SeamlessTabbing' value='1'>";
str+="<param name='Profile' value='0'>";
str+="<param name='ProfileAddress' value>";
str+="<param name='ProfilePort' value='0'>";
str+="<param name='AllowNetworking' value='all'>";
str+="<param name='AllowFullScreen' value='false'>";
str+="<embed src='http://www.findyourfate.com/astrology_horoscopes_images/gemstones.swf' width='75' height='70' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' name='gemstones birthstone'>";
str+="</embed>";
str+="</object>";
document.write(str);
}


function quicklinks()
{
var str="";
str+="<form name='thisForm'>";
str+="<div align='center'><select name='packages' onChange='javascript:fnpackages();' style='width:370px;font-family:Arial, Helvetica, sans-serif; font-size:12px; color:#000000;'>";
str+="<OPTion selected='selected' value='Click to find quick links ...'>Click to find quick links ...</option>";
str+="<option value='astronews'>Astrology News</option>";
str+="<option value='glossary'>Glossary</option>";
str+="<OPTGROUP label=Horoscopes>";
str+="<option value='daily'>Daily Horoscopes</option>";
str+="<option value='weekly'>Weekly Horoscopes</option>";
str+="<option value='monthly'>Monthly Horoscopes</option>";
str+="<option value='yearly'>Yearly Horoscopes</option>";
str+="<option value='horoscopehistroy'>Horoscopes-History</option></OPTGROUP>";
str+="<OPTGROUP label='Compatibility'>";
str+="<option value='lovematch'> Love Match </option>";
str+="<option value='zodiac'> Zodiac Compatibility </option>";
str+="<option value='moonsign'> Moonsign Compatibility </option></optgroup>";
str+="<OPTGROUP label='Sun Signs'>";
str+="<option value='aries'>Aries</option>";
str+="<option value='taurus'>Taurus</option>";
str+="<option value='gemini'>Gemini</option>";
str+="<option value='cancer'>Cancer</option>";
str+="<option value='leo'>Leo</option>";
str+="<option value='virgo'>Vigro</option>";
str+="<option value='libra'>Libra</option>";
str+="<option value='scorpio'>Scorpio</option>";
str+="<option value='sagittarius'>Sagittarius</option>";
str+="<option value='capricorn'>Capricorn</option>";
str+="<option value='aquarius'>Aquarius</option>";
str+="<option value='pisces'>Pisces</option></optgroup>";
str+="<optGROUP label='Gem stones'>";
str+="<option value='shopping'>Gems Shopping</option>";
str+="<option value='gemstones'>Gemstones A-Z</option></optgroup>";
str+="<optGROUP label=Death>";
str+="<option value='deathclock'>Death Clock</option>";
str+="<option value='deathwish'>Death Wish</option>";
str+="<option value='deatharticles'>Death Articles</option></optgroup>";
str+="<optGROUP label='Astrology'>";
str+="<option value='celebrity'>Celebrity</option>";
str+="<option value='astrology'>About Astrology</option>";
str+="<option value='zodiacproperties'>Zodiac Properties</option></optgroup>";
str+="<optGROUP label='Numerology'>";
str+="<option value='namechange'>Name Change</option>";
str+="<option value='babynames'>Baby Names</option>";
str+="<option value='namesdictionary'>Names Dictionary</option>";
str+="<option value='celebritybirth'>Celebrity Births</option>";
str+="<option value='celebritydeath'>Celebrity Deaths</option>";
str+="<optGROUP label='Indian Astrology'>";
str+="<option value='nadiastrology'>Nadi Astrology</option>";
str+="<option value='matchmaking'>Macth Making</option>";
str+="<option value='nakshatras'>Nakshatras</option>";
str+="<option value='auspiciousdays'>Auspicious days</option></optgroup>";
str+="<OPTGROUP label='Chinese Astrology'>";
str+="<option value='animalsigns'>Animal Signs</option>";
str+="<option value='fengshui'>Feng Shui</option></optgroup>";
str+="<OPTGROUP label='Personals'>";
str+="<option value='dating'>Dating</option>";
str+="<option value='modelling'>Modelling</option>";
str+="<option value='matrimonial'>Matrimonial</option></optgroup>";
str+="<option value='login'>Login</option>";
str+="<option value='subscribe'>Subscribe</option>";
str+="<option value='feedback'>Feedback / Enquiry</option>";
str+="<option value='sitemap'>Site Map</option>";
str+="<option value='ask'>Ask astrologer</option>";
str+="</select>";
str+="</div>";
str+="</form>";
document.write(str);
}

function signlist()
{
var str="";
str+="<form name='thisForm'>";
str+="<div align='center'><select name='packages' onChange='javascript:fnsigns();' style='width:300px;font-family:Arial, Helvetica, sans-serif; font-size:12px; color:#000000;'>";
str+="<OPTion selected='selected' value='Sun Signs ...'>... Sun Signs ...</option>";

//str+="<OPTGROUP label='Sun Signs'>";
str+="<option value='aries'>Aries</option>";
str+="<option value='taurus'>Taurus</option>";
str+="<option value='gemini'>Gemini</option>";
str+="<option value='cancer'>Cancer</option>";
str+="<option value='leo'>Leo</option>";
str+="<option value='virgo'>Vigro</option>";
str+="<option value='libra'>Libra</option>";
str+="<option value='scorpio'>Scorpio</option>";
str+="<option value='sagittarius'>Sagittarius</option>";
str+="<option value='capricorn'>Capricorn</option>";
str+="<option value='aquarius'>Aquarius</option>";
str+="<option value='pisces'>Pisces</option></optgroup>";

str+="</select>";
str+="</div>";
str+="</form>";
document.write(str);
}

function fnsigns()
{
packages=document.thisForm.packages.value;
	 
	 
 	if (packages=="aries")
	{
	window.location.href="http://aries.findyourfate.com/";
	
	}
	if (packages=="taurus")
	{
	window.location.href="http://taurus.findyourfate.com/";
	
	}
	if (packages=="gemini")
	{
	window.location.href="http://gemini.findyourfate.com/";
	
	}
	if (packages=="leo")
	{
	window.location.href="http://leo.findyourfate.com/";
	
	}
	if (packages=="libra")
	{
	window.location.href="http://libra.findyourfate.com/";
	
	}
	if (packages=="virgo")
	{
	window.location.href="http://virgo.findyourfate.com/";
	
	}
	if (packages=="cancer")
	{
	window.location.href="http://cancer.findyourfate.com/";
	
	}
	if (packages=="capricorn")
	{
	window.location.href="http://capricorn.findyourfate.com/";
	
	}
	if (packages=="scorpio")
	{
	window.location.href="http://scorpio.findyourfate.com/";
	
	}
	if (packages=="pisces")
	{
	window.location.href="http://pisces.findyourfate.com/";
	
	}if (packages=="aquarius")
	{
	window.location.href="http://aquarius.findyourfate.com/";
	
	}if (packages=="sagittarius")
	{
	window.location.href="http://sagittarius.findyourfate.com/";
	
	}
	
	
	
	
	



}	


function createRequestObject() {
    var ro;
    var browser = navigator.appName;
    if(browser == "Microsoft Internet Explorer"){
        ro = new ActiveXObject("Microsoft.XMLHTTP");
    }else{
        ro = new XMLHttpRequest();
    }
    return ro;
}
 
var http = createRequestObject();
 
function sndReqhome() {
    http.open('get', 'connect.asp?mode=display');
    http.onreadystatechange = handleResponse1;
    http.send(null);
}
 
function sndReqY(m,d) {
 
 
    http.open('get','connect.asp?mode=preday&premon='+m+'&predt='+d);
    http.onreadystatechange = handleResponse1;
    http.send(null);
}
function sndReqT(m,d) {
 
 
    http.open('get','connect.asp?mode=nextday&nextmon='+m+'&nextdt='+d);
    http.onreadystatechange = handleResponse1;
    http.send(null);
}

function sndReq(m,cid)
{
    http.open('get', 'connect.asp?mode=navleftright&mon='+m+'&countid='+cid);
    http.onreadystatechange = handleResponse1;
    http.send(null);
}


function handleResponse1() {
    if(http.readyState == 4){
        var response = http.responseText;
        var update = new Array();
        if(response.indexOf('|' != -1)) {
            update = response.split('|');
			
			 
		  document.getElementById("image_id").style.display = "block";
 			  if (document.layers) document.layers['image_id'].visibility = "show"
else if (document.all) document.all['image_id'].style.visibility = "visible"
else if (document.getElementById) document.getElementById("image_id").style.visibility = "visible"
			  document.getElementById("image_id").innerHTML =  update[0];
			   
        }
    }
}


/* home page scrolling heading: current features*/
function astroart() 
{
	 

    http.open('get','curfeatures.asp');
    http.onreadystatechange = handleResponse22;
    http.send(null);
}


function handleResponse22() {
    if(http.readyState == 4){
        var response = http.responseText;
        var update = new Array();
        if(response.indexOf('|' != -1)) {
            update = response.split('|');
			 document.getElementById("cur").style.display = "block";
			  if (document.layers) document.layers['cur'].visibility = "show"
else if (document.all) document.all['cur'].style.visibility = "visible"
else if (document.getElementById) document.getElementById("cur").style.visibility = "visible"
			  document.getElementById("cur").innerHTML =  update[0]; 
        }
    }
}



/*home page horoscopes,panchang*/


function fnastro()
{
 
   http.open('get', 'insert.asp?mode=daily&sign=Aquarius');
    http.onreadystatechange = handleResponse111;
    http.send(null);
}


function handleResponse111()
{
    if(http.readyState == 4){
        var response = http.responseText;
        var update = new Array();
        if(response.indexOf('|' != -1)) {
            update = response.split('|');
			document.getElementById("as").style.display = "block";
			document.getElementById("astro").style.display = "block";
			document.getElementById("astro").innerHTML =  update[0];
        }
    }
}


function gemshop()
{
	http.open('get', 'insert.asp?mode=gemshop');
    http.onreadystatechange = handleResponse116;
    http.send(null);

}


function handleResponse116()
{
    if(http.readyState == 4){
        var response = http.responseText;
        var update = new Array();
        if(response.indexOf('|' != -1)) {
            update = response.split('|');
			document.getElementById("tab1").style.display = "none";
			document.getElementById("tab3").style.display = "none";
			document.getElementById("tab4").style.display = "none";
			document.getElementById("tab2").style.display = "block";
			document.getElementById("gemshop").style.display = "block";
 	 	    document.getElementById("gemshop").innerHTML =  update[0];
         }
    }
}


function fnShowCalendar1()
{
	var m=document.b.sign.value;
   http.open('get', 'insert.asp?mode=d&sign='+m);
    http.onreadystatechange = handleResponse112;
    http.send(null);
   
}


function handleResponse112()
{
    if(http.readyState == 4){
        var response = http.responseText;
        var update = new Array();
        if(response.indexOf('|' != -1)) {
            update = response.split('|');
			document.getElementById("as").style.display = "block";
			document.getElementById("astro").style.display = "none";
			document.getElementById("astro1").style.display = "block";
			document.getElementById("astro1").innerHTML =  update[0];
			document.getElementById("astro2").style.display = "block";
			document.getElementById("weekly1").style.display = "none";
			document.getElementById("weekly").style.display = "none";
			document.getElementById("monthly1").style.display = "none";
			document.getElementById("monthly").style.display = "none";
        }
    }
}

function fnShowCalendar2()
{
	var m=document.c.sign.value;
   http.open('get', 'insert.asp?mode=weekly&sign='+m);
    http.onreadystatechange = handleResponse102;
    http.send(null);
}


function handleResponse102()
{
    if(http.readyState == 4){
        var response = http.responseText;
        var update = new Array();
        if(response.indexOf('|' != -1)) {
            update = response.split('|');
			document.getElementById("as").style.display = "block";
			document.getElementById("astro").style.display = "none";
			document.getElementById("weekly1").style.display = "block";
			document.getElementById("weekly1").innerHTML =  update[0];
			document.getElementById("weekly").style.display = "block";
			document.getElementById("astro1").style.display = "none";
			document.getElementById("astro2").style.display = "none";
			document.getElementById("monthly1").style.display = "none";
			document.getElementById("monthly").style.display = "none";
        }
    }
}



function fnShowCalendar3()
{
	var m=document.d.sign.value;
   http.open('get', 'insert.asp?mode=monthly&sign='+m);
    http.onreadystatechange = handleResponse103;
    http.send(null);
}


function handleResponse103()
{
    if(http.readyState == 4){
        var response = http.responseText;
        var update = new Array();
        if(response.indexOf('|' != -1)) {
            update = response.split('|');
			document.getElementById("as").style.display = "block";
			document.getElementById("astro").style.display = "none";
			document.getElementById("weekly1").style.display = "none";
			document.getElementById("weekly").style.display = "none";
			document.getElementById("astro1").style.display = "none";
			document.getElementById("astro2").style.display = "none";
			document.getElementById("monthly1").style.display = "block";
			document.getElementById("monthly1").innerHTML =  update[0];
			document.getElementById("monthly").style.display = "block";
        }
    }
}




function astro()
{
	
	
 document.getElementById("tab1").style.backgroundColor="#000000"; 
 document.getElementById("tab2").style.backgroundColor= "#895929"; 
 document.getElementById("tab3").style.backgroundColor = "#895929";

   http.open('get', 'insert.asp?mode=daily&sign=Aquarius');
    http.onreadystatechange = handleResponse101;
    http.send(null);
}


function handleResponse101()
{
    if(http.readyState == 4){
        var response = http.responseText;
        var update = new Array();
        if(response.indexOf('|' != -1)) {
            update = response.split('|');
			
			document.getElementById("as").style.display = "block";
			document.getElementById("astro").style.display = "block";
			document.getElementById("astro").innerHTML =  update[0];
			document.getElementById("pan").style.display = "none";
			document.getElementById("astro2").style.display = "block";
			document.getElementById("astro1").style.display = "none";
			document.getElementById("num1").style.display = "none";
			document.getElementById("weekly1").style.display = "none";
			document.getElementById("weekly").style.display = "none";
			document.getElementById("monthly1").style.display = "none";
			document.getElementById("monthly").style.display = "none";
					
        }
    }
}

function pack()
{
document.getElementById("tab1").style.display = "none";
document.getElementById("tab2").style.display = "none";
document.getElementById("tab3").style.display = "block";
document.getElementById("tab4").style.display = "none";

}


function dailyhoro()
{
document.getElementById("tab1").style.display = "none";
document.getElementById("tab2").style.display = "none";
document.getElementById("tab3").style.display = "none";
document.getElementById("tab4").style.display = "block";
}

function astro3()
{

document.getElementById("tab1").style.display = "block";
document.getElementById("tab2").style.display = "none";
document.getElementById("tab3").style.display = "none";
document.getElementById("tab4").style.display = "none";

}




function popupnum()
{
openWin = window.open("http://www.findyourfate.com/news.asp","myWindow","top=125,left=150,width=520,height=670,buttons=no,scrollbars=no,location=no,menubar=no,resizable=yes,status=no,directories=no,toolbar=no");
}
function popuppanchang()
{
openWin = window.open("./panchang/popup-today.asp","myWindow","top=125,left=150,width=600,height=550,buttons=no,scrollbars=no,location=no,menubar=no,resizable=no,status=no,directories=no,toolbar=no");
}
function popuppanchang2(d1)
{
openWin = window.open("./panchang/popup-panchang.asp?d="+d1,"myWindow","top=125,left=150,width=600,height=550,buttons=no,scrollbars=no,location=no,menubar=no,resizable=no,status=no,directories=no,toolbar=no");
}

function popuppanchang1() {
var m=document.thisform.m.value;
var d=document.thisform.d.value;
var y=document.thisform.y.value;

  http.open('get', 'insert.asp?mode=select&month='+m+'&day='+d+'&year='+y);
  http.onreadystatechange = handleResponse115;
  http.send(null);
}

function handleResponse115()
{
    if(http.readyState == 4){
        var response = http.responseText;
        var update = new Array();
        if(response.indexOf('|' != -1)) {
            update = response.split('|');
			document.getElementById("num1").style.display = "none";
			document.getElementById("as").style.display = "none";
			document.getElementById("pan").style.display = "block";
			document.getElementById("panchang1").style.display = "none";
			document.getElementById("panchang2").style.display = "block";
			document.getElementById("panchang2").innerHTML =  update[0];
			document.getElementById("panchang3").style.display = "block";
				
        }
    }
}



function num()
{
 document.getElementById("tab1").style.backgroundColor="#895929"; 
 document.getElementById("tab2").style.backgroundColor= "#000000"; 
 document.getElementById("tab3").style.backgroundColor = "#895929";
  http.open('get', 'insert.asp?mode=num');
  http.onreadystatechange = handleResponse113;
  http.send(null);
}

function handleResponse113()
{
    if(http.readyState == 4){
        var response = http.responseText;
        var update = new Array();
        if(response.indexOf('|' != -1)) {
            update = response.split('|');
			document.getElementById("pan").style.display = "none";
			document.getElementById("as").style.display = "none";
			document.getElementById("num1").style.display = "block";
			document.getElementById("num1").innerHTML =  update[0];
        }
    }
}

function panchang()
{
	
 document.getElementById("tab1").style.backgroundColor="#895929"; 
 document.getElementById("tab2").style.backgroundColor= "#895929"; 
 document.getElementById("tab3").style.backgroundColor = "#000000";

   http.open('get', 'insert.asp?mode=panchang');
   http.onreadystatechange = handleResponse114;
   http.send(null);
}



function handleResponse114()
{
    if(http.readyState == 4){
        var response = http.responseText;
        var update = new Array();
        if(response.indexOf('|' != -1)) {
            update = response.split('|');
			document.getElementById("num1").style.display = "none";
			document.getElementById("as").style.display = "none";
			document.getElementById("pan").style.display = "block";
			document.getElementById("panchang1").style.display = "block";
			document.getElementById("panchang1").innerHTML =  update[0];
			document.getElementById("panchang2").style.display = "none";
			document.getElementById("panchang3").style.display = "block";
        }
    }
}

 

function fnpackages()
{
packages=document.thisForm.packages.value;
	if (packages=="astronews")
	{
	window.location.href="http://www.findyourfate.com/astrology_news/astrology-news.htm";
	
	}
	if (packages=="glossary")
	{
	window.location.href="http://www.findyourfate.com/faq/glossary.htm";
	
	}
	if (packages=="daily")
	{
	window.location.href="http://horoscope.findyourfate.com/daily-horoscope.asp";
	
	}if (packages=="weekly")
	{
	window.location.href="http://horoscope.findyourfate.com/weekly-horoscope.asp";
	
	}if (packages=="monthly")
	{
	window.location.href="http://horoscope.findyourfate.com/monthly-horoscope.asp";
	
	}
	if (packages=="yearly")
	{
	window.location.href="http://horoscope.findyourfate.com/yearly-horoscope.asp";
	}
	if (packages=="horoscopeshistory")
	{
	window.location.href="http://horoscope.findyourfate.com/horoscope-history.htm";
	
	}if (packages=="lovematch")
	{
	window.location.href="http://www.findyourfate.com/compatibility/match.jsp";
	
	}if (packages=="zodiac")
	{
	window.location.href="http://www.findyourfate.com/compatibility/compatibility-home.asp";
	
	}if (packages=="moonsign")
	{
	window.location.href="http://www.findyourfate.com/moon-compatibility/moon-compat.html";
	
	}if (packages=="aries")
	{
	window.location.href="http://www.findyourfate.com/astrology/aries.htm";
	
	}if (packages=="taurus")
	{
	window.location.href="http://www.findyourfate.com/astrology/Taurus.htm";
	
	}if (packages=="gemini")
	{
	window.location.href="http://www.findyourfate.com/astrology/Gemini.htm";
	
	}if (packages=="leo")
	{
	window.location.href="http://www.findyourfate.com/astrology/leo.htm";
	
	}if (packages=="libra")
	{
	window.location.href="http://www.findyourfate.com/astrology/Libra.htm";
	
	}if (packages=="virgo")
	{
	window.location.href="http://www.findyourfate.com/astrology/Virgo.htm";
	
	}if (packages=="cancer")
	{
	window.location.href="http://www.findyourfate.com/astrology/Cancer.htm";
	
	}if (packages=="capricorn")
	{
	window.location.href="http://www.findyourfate.com/astrology/Capricorn.htm";
	
	}
	if (packages=="scorpio")
	{
	window.location.href="http://www.findyourfate.com/astrology/scorpio.htm";
	
	}
	if (packages=="pisces")
	{
	window.location.href="http://www.findyourfate.com/astrology/Pisces.htm";
	
	}if (packages=="aquarius")
	{
	window.location.href="http://www.findyourfate.com/astrology/Aquarius.htm";
	
	}if (packages=="sagittarius")
	{
	window.location.href="http://www.findyourfate.com/astrology/Sagittarius.htm";
	
	}if (packages=="shopping")
	{
	window.location.href="http://www.findyourfate.com/shopping/gemshop.jsp";
	
	}if (packages=="gemstones")
	{
	window.location.href="http://www.findyourfate.com/gemology/gemstones/gem-home.html";
	
	}
	if (packages=="deathclock")
	{
	window.location.href="http://www.findyourfate.com/deathmeter/deathmtr.html";
	
	}if (packages=="deathwish")
	{
	window.location.href="http://www.findyourfate.com/deathwish/deathwishhome.asp";
	
	}if (packages=="deatharticles")
	{
	window.location.href="http://www.findyourfate.com/deathmeter/articles/articlesondeath-homepage.asp";
	
	}if (packages=="celebrity")
	{
	window.location.href="http://www.findyourfate.com/astrology/celebrity/celebrity.htm";
	
	}if (packages=="astrology")
	{
	window.location.href="http://astrology.findyourfate.com/astrology.htm";
	
	}if (packages=="namechange")
	{
	window.location.href="http://www.findyourfate.com/numerology/namechange.jsp";
	
	}if (packages=="babynames")
	{
	window.location.href="http://www.findyourfate.com/numerology/babynames.jsp";
	
	}if (packages=="namesdictionary")
	{
	window.location.href="http://www.findyourfate.com/numerology/names_dictionary.html";
	
	}if (packages=="celebritybirth")
	{
	window.location.href="http://www.findyourfate.com/numerology/birthpage.asp";
	
	}if (packages=="celebritydeath")
	{
	window.location.href="http://www.findyourfate.com/deathmeter/deathpage.asp";
	
	}if (packages=="nadiastrology")
	{
	window.location.href="http://www.findyourfate.com/indianastro/nadi.jsp";
	
	}if (packages=="matchmaking")
	{
	window.location.href="http://www.findyourfate.com/indianastro/relationship.jsp";
	
	}if (packages=="nakshatras")
	{
	window.location.href="http://www.findyourfate.com/indianastro/nakshatras.htm";
	
	}if (packages=="auspiciousdays")
	{
	window.location.href="http://www.findyourfate.com/indianastro/auspicious-home.html";
	
	}if (packages=="animalsigns")
	{
	window.location.href="http://www.findyourfate.com/chineseastro/animal_sign.htm";
	
	}if (packages=="fengshui")
	{
	window.location.href="http://www.findyourfate.com/chineseastro/fengshui.htm";
	
	}
	if (packages=="dating")
	{
	window.location.href="http://dating.findyourfate.com";
	
	}
	if (packages=="modelling")
	{
	window.location.href="http://www.findyourfate.com/model/home.asp";
	
	}
	if (packages=="matrimonial")
	{
	window.location.href="http://matrimonial.findyourfate.com";
	
	}
	if (packages=="login")
	{
	window.location.href="http://www.findyourfate.com/login.jsp?id=1&&lk=login";
	
	}
	if (packages=="subscribe")
	{
	window.location.href="http://www.findyourfate.com/terms.htm";
	
	}
	if (packages=="feedback")
	{
	window.location.href="http://www.findyourfate.com/enquiry.htm";
	
	}
	if (packages=="ask")
	{
	window.location.href="http://www.findyourfate.com/faq/ask_a_question.htm";
	
	}
	if (packages=="zodiacproperties")
	{
	window.location.href="http://astrology.findyourfate.com/zodiac-properties.htm";
	}
	
	
	 if(packages=="sitemap")
{
 window.location.href="http://www.findyourfate.com/sitemap/sitemap.htm";
}

if (packages=="horoscopeshistory")
	{
	window.location.href="http://horoscope.findyourfate.com/horoscope-history.htm";
	
	}
}	

function popupm()
{
  var str="";
     str+=""+location.href+"";
openWin = window.open("http://www.findyourfate.com/mail.jsp?url="+str,"myWindow","top=50,left=50,width=550,height=450,buttons=no,location=no,menubar=no,resizable=no,status=no,directories=no,toolbar=no");
openWin.focus();
}


function popup(sign)
{
sign1= sign;
selVal=document.b.duration.value;

if (sign1=="")
        {
openWin = window.open("http://www.findyourfate.com/astrology/daily-horoscopes-today.asp?sign=Aquarius","myWindow","toolbars=no,directory=no,scrolling=no,scrollbars=yes,maximize=null,width=650,height=760,resizable=yes");

openWin.focus();
}
else
{
openWin = window.open("http://www.findyourfate.com/astrology/daily-horoscopes-today.asp?sign="+sign1,"myWindow","toolbars=no,directory=no,scrolling=no,scrollbars=yes,maximize=null,width=650,height=760,resizable=yes");

openWin.focus();
}
	
													
		}		
		
		
		function popupweekly(sign)
{
sign1= sign;
selVal=document.c.duration.value;

if (sign1=="")
        {
openWin = window.open("http://www.findyourfate.com/astrology/weekly-horoscopes.asp?sign="+sign1,"myWindow","toolbars=no,directory=no,scrolling=no,scrollbars=yes,maximize=null,width=650,height=760,resizable=yes");

openWin.focus();
}
else
{
openWin = window.open("http://www.findyourfate.com/astrology/weekly-horoscopes.asp?sign="+sign1,"myWindow","toolbars=no,directory=no,scrolling=no,scrollbars=yes,maximize=null,width=650,height=760,resizable=yes");

openWin.focus();
}
	
													
		}		
			
			function popupmonthly(sign)
{
sign1= sign;
selVal=document.d.duration.value;

if (sign1=="")
        {
openWin = window.open("astrology/popupmonthly-horoscopes.asp?sign="+sign1,"myWindow","toolbars=no,directory=no,scrolling=no,scrollbars=yes,maximize=null,width=650,height=760,resizable=yes");

openWin.focus();
}
else
{
openWin = window.open("astrology/popupmonthly-horoscopes.asp?sign="+sign1,"myWindow","toolbars=no,directory=no,scrolling=no,scrollbars=yes,maximize=null,width=650,height=760,resizable=yes");

openWin.focus();
}
	
													
		}		
				
				
				
				
				
function popIt3() {

    openWin = window.open("http://www.findyourfate.com/compatibility/index.htm","myWindow","top=75,left=150,width=520,height=432,buttons=no,scrollbars=no,location=no,menubar=no,resizable=no,status=no,directories=no,toolbar=no");

    openWin.focus();

}

function closeIt2() {

    openWin.close();

}

function popIt2() {

    openWin = window.open("http://www.findyourfate.com/compatibility/lovechart.html","myWindow","top=0,left=0,width=789,height=500,buttons=no,scrollbars=yes,location=no,menubar=no,resizable=yes,status=no,directories=no,toolbar=no");

    openWin.focus();

}

function closeIt3() {

    openWin.close();

}
function popIt1() {

    openWin = window.open("http://www.findyourfate.com/chineseastro/lunarcalender.html","myWindow","top=50,left=100,width=500,height=550,buttons=no,scrollbars=no,location=no,menubar=no,resizable=no,status=no,directories=no,toolbar=no");

    openWin.focus();

}

function closeIt1() {

    openWin.close();

}

function popupgems(str)
{
  
  if (str=="Blood-Stone")
  {
 
 window.location.href="http://www.findyourfate.com/gemology/gemstones/BloodStone.html"; 
}

 else if (str=="Cats-Eye")
  {
 
 window.location.href="http://www.findyourfate.com/gemology/gemstones/Cat%27s%20Eye.html"; 
}


else if (str=="Rainbow-Stone")
  {
 
 window.location.href="http://www.findyourfate.com/gemology/gemstones/gem-home.html"; 
}
else if (str=="Sun-Stone")
  {
 
 window.location.href="http://www.findyourfate.com/gemology/gemstones/Sunstone.html"; 
}
else if (str=="Star-Ruby")
  {
 
 window.location.href="http://www.findyourfate.com/gemology/gemstones/gem-home.html"; 
}
else if (str=="Tiger-Eye")
  {
 
 window.location.href="http://www.findyourfate.com/gemology/gemstones/Tiger%20eye.html"; 
}

else if (str=="Lemon-Quartz")
  {
 
 window.location.href="http://www.findyourfate.com/gemology/gemstones/gem-home.html"; 
}
else if (str=="Raw-Gems")
  {
 
 window.location.href="http://www.findyourfate.com/gemology/gemstones/gem-home.html"; 
}
else if (str=="Sand-Stone")
  {
 
 window.location.href="http://www.findyourfate.com/gemology/gemstones/gem-home.html"; 
}
else if (str=="Star-Sapphire")
  {
 
 window.location.href="http://www.findyourfate.com/gemology/gemstones/gem-home.html"; 
}
else if (str=="Diapside")
  {
 
 window.location.href="http://www.findyourfate.com/gemology/gemstones/Diopside.html"; 
}

else if (str=="Lapiz")
  {
 
 window.location.href="http://www.findyourfate.com/gemology/gemstones/LapisLazuli.html"; 
}
else if (str=="Onyx")
  {
 
 window.location.href="http://www.findyourfate.com/gemology/gemstones/gem-home.html"; 
}

else if (str=="Spectic")
  {
 
 window.location.href="http://www.findyourfate.com/gemology/gemstones/gem-home.html"; 
}
else if (str=="Peridot%20")
  {
 
 window.location.href="http://www.findyourfate.com/gemology/gemstones/Peridot.html"; 
}
else if (str=="Heliolite")
  {
 
 window.location.href="http://www.findyourfate.com/gemology/gemstones/gem-home.html"; 
}
else if (str=="Blue-Spinel")
  {
 
 window.location.href="http://www.findyourfate.com/gemology/gemstones/gem-home.html"; 
}
else
{
 window.location.href="http://www.findyourfate.com/gemology/gemstones/"+str+".html";
}


}


function knowyoursign()
{
	
openWin = window.open("astrology/knowyoursign.asp","myWindow","toolbars=no,directory=no,scrolling=no,scrollbars=no,maximize=null,width=600,height=440");
openWin.focus();
}
// JavaScript Document
