﻿function blank(){document.search.search_field.value=""}

function addthis()
{
 var addth="";
 addth=window.open("http://www.addthis.com/bookmark.php?v=20","Sample");
}

function ssrf()
{
 var srf="";
 srf=window.open("http://www.safesurf.com","Sample");
}

function mycon()
{
 var myc="";
 myc=window.open("http://www.websitepromotek.com/certificate-powerfortunes.com.html","Sample");
}
function tww()
{
 var tw="";
 tw=window.open("http://www.speedyadverts.com/html/trust_worthy.html","Sample");
}

function rnk()
{
 var rk="";
 rk=window.open("http://scripts.ranking.com/data/details.aspx?theUrl=powerfortunes.com","Sample");
}

function ezine()
{
 var ezi="";
 srf=window.open("http://ezinearticles.com/?expert=Vineet_S","Sample");
}
function wtdg()
{
 var wtdg="";
 wtdg=window.open("http://www.iwatchdog.org","Sample");
}
function mcaf()
{
 var mcaf="";
 mcaf=window.open("http://www.siteadvisor.com/sites/powerfortunes.com/","Sample");
}
function yahoo()
{
 var yaho="";
 yaho=window.open("http://us.rd.yahoo.com/my/atm/powerfortunes.com/Astrology%20Feed/*http://add.my.yahoo.com/rss?url=http%3A//www.powerfortunes.com/xml/astrology-rss.xml","Sample");
}
function ccave()
{
 var ccav="";
 ccav=window.open("https://ccavenue.com/content/credit_card_processing.jsp","Sample");
}
function book()
{
 var url = "http://www.powerfortunes.com";
 var who = "powerfortunes.com astrology, tarot, fortune telling & lucky charms"
	if(document.all)
	window.external.AddFavorite(url,who)
	
}

function book2()
{
 var url = "http://www.powerfortunes.com/free-tarot-readings.html";
 var who = "powerfortunes.com free fortune telling"
	if(document.all)
	window.external.AddFavorite(url,who)
	
}

function book_abt()
{
 var url = "http://www.powerfortunes.com/aboutyantras.html";
 var who = "powerfortunes.com vedic talismans"
	if(document.all)
	window.external.AddFavorite(url,who)
	
}

function book_hor()
{
 var url = "http://www.powerfortunes.com/horoscope-astrology.html";
 var who = "powerfortunes.com astrology readings"
	if(document.all)
	window.external.AddFavorite(url,who)
	
}

function book_lck()
{
 var url = "http://www.powerfortunes.com/luckycharms.html";
 var who = "powerfortunes.com good luck charms"
	if(document.all)
	window.external.AddFavorite(url,who)
	
}

function book_ftn()
{
 var url = "http://www.powerfortunes.com/fortunetelling.html";
 var who = "powerfortunes.com fortune telling"
	if(document.all)
	window.external.AddFavorite(url,who)
	
}

function book_ftcds()
{
 var url = "http://www.powerfortunes.com/fortunetelling.html";
 var who = "powerfortunes.com fortune telling"
	if(document.all)
	window.external.AddFavorite(url,who)
	
}

function book_gyt()
{
 var url = "http://www.powerfortunes.com/gayatri-mantra.html";
 var who = "powerfortunes.com mantra mp3"
	if(document.all)
	window.external.AddFavorite(url,who)
	
}

function book_lky()
{
 var url = "http://www.powerfortunes.com/lucky-charms.html";
 var who = "powerfortunes.com lucky charms"
	if(document.all)
	window.external.AddFavorite(url,who)
	
}
function book_pwr()
{
 var url = "http://www.powerfortunes.com";
 var who = "powerfortunes.com astrology, tarot, fortune telling & lucky charms"
	if(document.all)
	window.external.AddFavorite(url,who)
	
}
function book_amu()
{
 var url = "http://www.powerfortunes.com/amulets.html";
 var who = "powerfortunes.com talismans, amulets, astrology, tarot & lucky charms"
	if(document.all)
	window.external.AddFavorite(url,who)
	
}



function valid_contact()

{		
	if(document.contact.name.value=='')
		{
			alert("Please enter your name");
			document.contact.name.value="First Name / Middle Name / Surname";
			document.contact.name.focus();
			return false;
		}
	
		if(document.contact.email.value=="")
		{	
			alert("Please enter your e-mail");
			document.contact.email.focus();
			return false;
		}
		a=document.contact.email.value;
		b=a.indexOf("@")
		if( b<0)
		{
			alert("Invalid Email Adddress")
			document.contact.email.focus();
			document.contact.email.select();
			return false;
		}
		g=a.indexOf(".")
		if( g<0)
		{
			alert("Invalid Email Adddress")
			document.contact.email.focus();
			document.contact.email.select();
			return false;
		}
		
		if (document.contact.countr.value=="Country")
		{
			alert('Select your country of location.');
			document.contact.countr.focus();
			return false;
		}

		if (document.contact.topic.value=="Select")
		{
			alert('Select an Appropriate Subject.');
			document.contact.topic.focus();
			return false;
		}

		if(document.contact.info.value=="")
		{
			alert("Please Enter your Message");
			document.contact.info.focus();
			return false;
		}
		
}
