
function addbookmark()
{
bookmarkurl="http://www.findyourfate.com"
bookmarktitle="Find your Fate"

if (document.all)
window.external.AddFavorite(bookmarkurl,bookmarktitle)
}


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 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 sndReq(imageid,countid) {

    http.open('get', 'connect.asp?imageid='+imageid+'&countid='+countid);
    http.onreadystatechange = handleResponse;
    http.send(null);
}

function sndReq7() {
var m=document.thisform.month.value;
var d=document.thisform.date1.value;
    http.open('get', 'connect.asp?month3='+m+'&day3='+d);
    http.onreadystatechange = handleResponse2;
    http.send(null);
}

function sndReq8(imageid,countid) {
    http.open('get', 'connect.asp?imageid3='+imageid+'&countid3='+countid);
    http.onreadystatechange = handleResponse1;
    http.send(null);
}

function sndReq3(imageid,countid) {
    http.open('get', 'connect.asp?imageid1='+imageid+'&countid1='+countid);
    http.onreadystatechange = handleResponse11;
    http.send(null);
}

function sndReq5(imageid,countid) {
    http.open('get', 'connect.asp?imageid2='+imageid+'&countid2='+countid);
    http.onreadystatechange = handleResponse2;
    http.send(null);
}


function sndReqhome() {
    http.open('get', 'connect.asp?mode=display');
    http.onreadystatechange = handleResponse4;
    http.send(null);
}
function sndReq11() {
var now=new Date();
var a1=now.getMonth()+1;
var d1=now.getDate();
    http.open('get','connect.asp?month='+a1+'&day='+d1);
    http.onreadystatechange = handleResponse1;
    http.send(null);
}

function sndReq12() {
var now=new Date();
var a=now.getMonth()+1;
var d=now.getDate();

    http.open('get','connect.asp?month1='+a+'&day1='+d);
    http.onreadystatechange = handleResponse2;
    http.send(null);
}

function sndReq2(monthid,dayid) {

    http.open('get','connect.asp?month='+monthid+'&day='+dayid);
    http.onreadystatechange = handleResponse1;
    http.send(null);
}

function sndReq4(monthid,dayid) {

    http.open('get','connect.asp?month1='+monthid+'&day1='+dayid);
    http.onreadystatechange = handleResponse2;
    http.send(null);
}


function handleResponse() {
    if(http.readyState == 4){
        var response = http.responseText;
        var update = new Array();
        if(response.indexOf('|' != -1)) {
            update = response.split('|');
			document.getElementById("image_id1").style.display = "none";
			document.getElementById("image_id").innerHTML =  update[0];
			document.getElementById("image_id").style.display = "block";
        }
    }
}

function handleResponse4() {
    if(http.readyState == 4){
        var response = http.responseText;
        var update = new Array();
        if(response.indexOf('|' != -1)) {
            update = response.split('|');
			document.getElementById("image_id1").style.display = "block";
			document.getElementById("image_id1").innerHTML =  update[0];
			 document.getElementById("image_id").style.display = "none";
			 
			 
        }
    }
}

function handleResponse1() {
    if(http.readyState == 4){
        var response = http.responseText;
        var update = new Array();
        if(response.indexOf('|' != -1)) {
            update = response.split('|');
			document.getElementById("image_id1").style.display = "none";
			document.getElementById("image_id3").style.display = "none";
			document.getElementById("image_id33").style.display = "none";
			document.getElementById("image_id").style.display = "none";
			  if (document.layers) document.layers['image_id4'].visibility = "show"
else if (document.all) document.all['image_id4'].style.visibility = "visible"
else if (document.getElementById) document.getElementById("image_id4").style.visibility = "visible"
			  document.getElementById("image_id4").innerHTML =  update[0]; 
			  document.getElementById("image_id6").style.display = "none";
        }
    }
}

function handleResponse11() {
    if(http.readyState == 4){
        var response = http.responseText;
        var update = new Array();
        if(response.indexOf('|' != -1)) {
            update = response.split('|');
			document.getElementById("image_id1").style.display = "none";
			document.getElementById("image_id3").style.display = "none";
			document.getElementById("image_id33").style.display = "none";
			document.getElementById("image_id").style.display = "none";
			document.getElementById("image_id4").style.display = "block";
			 document.getElementById("image_id5").style.display = "none";
			  document.getElementById("image_id4").innerHTML =  update[0]; 
			  document.getElementById("image_id6").style.display = "none";
        }
    }
}
function handleResponse2() {
    if(http.readyState == 4){
        var response = http.responseText;
        var update = new Array();
        if(response.indexOf('|' != -1)) {
            update = response.split('|');
			document.getElementById("image_id1").style.display = "none";
			document.getElementById("image_id3").style.display = "none";
			document.getElementById("image_id33").style.display = "none";
			document.getElementById("image_id").style.display = "none";
			 document.getElementById("image_id4").style.display = "none";
			 document.getElementById("image_id5").style.display = "block";
			  if (document.layers) document.layers['image_id5'].visibility = "show"
else if (document.all) document.all['image_id5'].style.visibility = "visible"
else if (document.getElementById) document.getElementById("image_id5").style.visibility = "visible"
			  document.getElementById("image_id5").innerHTML =  update[0];
			  document.getElementById("image_id6").style.display = "none";
        }
    }
}


function fnastro()
{

   http.open('get', 'insert.asp?mode=daily&sign=Aquarius');
    http.onreadystatechange = handleResponse111;
    http.send(null);
}

function astro3()
{

   document.getElementById("tab1").style.display = "block";
    document.getElementById("tab2").style.display = "none";
	 document.getElementById("tab3").style.display = "none";
				
}




function gemshop()
{
	http.open('get', 'insert.asp?mode=gemshop');
    http.onreadystatechange = handleResponse116;
    http.send(null);

}

function pack()
{
document.getElementById("tab1").style.display = "none";
    document.getElementById("tab2").style.display = "none";
	 document.getElementById("tab3").style.display = "block";
				
 
}


function fnShowCalendar1()
{
	var m=document.b.sign.value;
   http.open('get', 'insert.asp?mode=d&sign='+m);
    http.onreadystatechange = handleResponse112;
    http.send(null);
   
}

function fnShowCalendar2()
{
	var m=document.c.sign.value;
   http.open('get', 'insert.asp?mode=weekly&sign='+m);
    http.onreadystatechange = handleResponse102;
    http.send(null);
}
function fnShowCalendar3()
{
	var m=document.d.sign.value;
   http.open('get', 'insert.asp?mode=monthly&sign='+m);
    http.onreadystatechange = handleResponse103;
    http.send(null);
}


function astro()
{
   http.open('get', 'insert.asp?mode=daily&sign=Aquarius');
    http.onreadystatechange = handleResponse101;
    http.send(null);
}


function popupnum()
{
openWin = window.open("http://www.findyourfate.com/news.asp","myWindow","top=125,left=150,width=500,height=350,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 num()
{
  http.open('get', 'insert.asp?mode=num');
    http.onreadystatechange = handleResponse113;
    http.send(null);
}
function panchang()
{
   http.open('get', 'insert.asp?mode=panchang');
    http.onreadystatechange = handleResponse114;
    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 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("number").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 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 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 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 handleResponse118()
{
    if(http.readyState == 4){
        var response = http.responseText;
        var update = new Array();
        if(response.indexOf('|' != -1)) {
            update = response.split('|');
			document.getElementById("login").style.display = "block";
			 document.getElementById("login").innerHTML =  update[0];
			
        }
    }
}
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("number").style.display = "block";
				document.getElementById("num1").style.display = "block";
				 document.getElementById("num1").innerHTML =  update[0];
			
        }
    }
}


function handleResponse114()
{
    if(http.readyState == 4){
        var response = http.responseText;
        var update = new Array();
        if(response.indexOf('|' != -1)) {
            update = response.split('|');
			document.getElementById("number").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 handleResponse115()
{
    if(http.readyState == 4){
        var response = http.responseText;
        var update = new Array();
        if(response.indexOf('|' != -1)) {
            update = response.split('|');
			document.getElementById("number").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 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("tab2").style.display = "block";
				document.getElementById("gemshop").style.display = "block";
			 document.getElementById("gemshop").innerHTML =  update[0];
			
				
        }
    }
}




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=500,height=350,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=600,height=580,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=600,height=580,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=600,height=540,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=600,height=540,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=600,height=500,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=600,height=500,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();
}
