
function addmessage() {
alert ("Your order has been added to the cart.To 'Checkout' or 'Modify' your order click VIEW CART.");
return true
}


function validate(f)
{  
		   var x=0
           var display =' '
           
                           
		if (x==0)
			{
             if(f.email.value==0)
				{
					display="Email is required"
					x=1
                }
			}


		if(x==0)
			{ 
			 var theInput = f.email.value;
			 var sp1=0
             var at=0
             for (i=0;i< theInput.length;i++)
				{
					d= theInput.charAt(i)
					if (d == ' ')
					{sp1++}
					if (d == '@')
					{at++}
				}
			if ((sp1 > 0)||(at>1)||(at==0)) 
			    {
					display="This is not a valid email address"
					x=1
				}
	        }

		       if (display != ' ')
           {
            alert(display)

            return false
           }
}
function bookform()
{
popup =window.open("../../html/misc/insbook_testimonial.html","", "width=400,height=330,top=100, bottom=300, status=no,toolbar=no,menubar=no,scrollbars=yes")
}


function neti()
{
popup =window.open("../../html/misc/neti_testimonial.html","", "width=400,height=330,top=100, bottom=300, status=no,toolbar=no,menubar=no,scrollbars=yes")
}

function netitop()
{
popup =window.open("../../html/misc/testimonial.html","", "width=400,height=330,top=100, bottom=300, status=no,toolbar=no,menubar=no,scrollbar=yes")
}




function mailform()
{
window.open("../../html/misc/mail.html","","width=400,height=310,status=no,toolbar=no,menubar=no")
}

function growform()
{
window.open("../../html/misc/grow.html","","width=400,height=250,status=no,toolbar=no,menubar=no")
}

function recomendform()
{
window.open("../../html/misc/recomen.html","","width=400,height=250,status=no,toolbar=no,menubar=no")
}

function introductionform()
{
window.open("../../html/misc/introduction.html","","width=400,height=150,status=no,toolbar=no,menubar=no")
}

function postureform()
{
window.open("../../html/misc/posture.html","","width=400,height=150,status=no,toolbar=no,menubar=no")
}

function meditationform()
{
window.open("../../html/misc/meditation.html","","width=400,height=150,status=no,toolbar=no,menubar=no")
}

function breathingform()
{
window.open("../../html/misc/breathing.html","","width=400,height=150,status=no,toolbar=no,menubar=no")
}

function diseaseform()
{
window.open("../../gif/skeleton.gif","","width=330,height=380,status=no,toolbar=no,menubar=no")
}

function awardform()
{
window.open("../../html/misc/award.html","","width=400,height=200,status=no,toolbar=no,menubar=no")
}

function reviewsform()
{
window.open("../../html/misc/reviews.html","","width=400,height=400,status=no,toolbar=no,menubar=no,scrollbars=yes")
}

function offerform()
{
window.open("../../html/misc/offer.html","","width=380,height=400,status=no,toolbar=no,menubar=no top=210,bottom=100 ")
}

function MM_openBrWindow(theURL,winName,features) 
{ 
  popup =window.open(theURL,winName,features);
}

function testimonialsform()
{
popup =window.open("../../html/misc/testimonial.html","", "width=400,height=330,top=100, bottom=300, status=no,toolbar=no,menubar=no,scrollbar=yes")
}

function pot()
{
popup =window.open("../../html/misc/pot.html","ab","width=500,height=420,status=no,toolbar=no,menubar=no")
}

function faq()
{
popup =window.open("../../html/faq1.html","","width=450,height=500,status=no,toolbar=no,menubar=no top=0,bottom=300,scrollbars=yes")
}

function guarantee()
{
popup =window.open("../../html/misc/guarantee.html","","width=420,height=280,status=no,toolbar=no,menubar=no top=210,bottom=100, scrollbars=yes ")
}

function tooth()
{
popup=window.open("../../html/misc/toothtestimonial.html","","width=400,height=275,status=no,toolbar=no,menubar=no")
}

function copperform()
{
window.open("../../html/misc/importancecopper.html","about","width=400,height=450,status=no,toolbar=no,menubar=no")
}

function testi()
{
window.open("../../html/satisfaction.html","about","width=430,height=480, resizable=yes,status=no,toolbar=no,menubar=no, scrollbars=yes, top=20, left=10 ")
}
function serv()
{
window.open("../../html/serv.html","about","width=430,height=480,status=no,toolbar=no,menubar=no, scrollbars=yes top=20, left=10 ")
}

/*function powder()
{
popup =window.open("../../html/misc/powder.html","","width=350,height=130,status=no,toolbar=no,menubar=no")
}*/

function offerform()
{
window.open("../../html/misc/offer.html","about","width=380,height=400,status=no,toolbar=no,menubar=no top=210,bottom=100 ")
}

function potsize()
{
window.open("../../html/misc/potsize.html","about","width=350,height=200,status=no,toolbar=no,menubar=no top=210,bottom=100 ")
}

function fragrancesform()
{
window.open("../../html/misc/fragrance.html","about","width=450,height=300,status=no,toolbar=no,menubar=no top=100, left=200")
}

function eform()
{
popup =window.open("../../html/misc/enemadownload.html","","width=400,height=400,status=no,toolbar=no,menubar=no,vscrollbars=yes")
}

function jaggeryfo()
{
popup =window.open("../../html/misc/jaggery.html","","width=520,height=365,status=no,toolbar=no,menubar=no,top=0,left=100")
}

function pripopup()
{
window.open("../html/misc/privacypopup.html","privacypolicy","width=360,height=265,status=no,toolbar=no,menubar=no, target=_blank")
}
function ErropenWindow(theURL) { //v2.0
  window.open(theURL,'ErrorForm','width=550,height=450,top=90,left=10');
}
function mailopenWindow(theURL) { //v2.0
  window.open(theURL,'ErrorForm','width=550,height=420,top=90,left=10');
}
function cpmWindow(theURL) { //v2.0
  window.open(theURL,'ErrorForm','width=300,height=180,top=90,left=10');
}
function reqWindow(theURL) { //v2.0
  window.open(theURL,'ErrorForm','width=350,height=270,top=90,left=10');
}
function statsWindow(theURL) { //v2.0
  window.open(theURL,'ErrorForm','width=600,height=520,top=90,left=10,scrollbars=yes');
}
function yogavideowindow(theurl)


{ //v2.0
  window.open(theurl,'ErrorForm','width=420,height=300,top=100,left=225');
}
function pripopup1()

{
window.open("/html/misc/privacypopup.html","privacypolicy","width=360,height=265,status=no,toolbar=no,menubar=no, target=_blank")
}

function verysignmove()
{
window.status="https://digitalid.verisign.com/as2/38db7157666cb2309dca29974dd1d49f";
}
function verysignmoveout()
{
window.status="";
}

function openPrivacywindow(url, name) 
{
popupWin = window.open(url, name,'status=no,resize=yes,toolbar=no,scrollbars=no,width=360,height=265,top=20,left=10')
}

function typeOfpranayam(url, name) 
{
popupWin = window.open(url, name,'status=no,resize=yes,toolbar=no,scrollbars=no,width=400,height=450,top=20,left=10')
}

function fragrancesform()
{
window.open("../../html/misc/fragrance.html","about","width=450,height=300,status=no,toolbar=no,menubar=no top=100, left=200")
}

function openmudraswindow(url, name) 
{
popupWin = window.open(url, name,'status=no,resize=yes,toolbar=no,scrollbars=no,width=335,height=190,top=20,left=10')
}
function openmudrapregwindow(url, name) 
{
popupWin = window.open(url, name,'status=no,resize=yes,toolbar=no,scrollbars=yes,width=600,height=300,top=20,left=10')
}

function openPainting(url, name) 
{
popupWin = window.open(url, name,'status=no,resize=yes,toolbar=no,scrollbars=no,width=450,height=350,top=20,left=10')
}

function openGyanmudra(url, name) 
{
popupWin = window.open(url, name,'status=no,resize=yes,toolbar=no,scrollbars=no,width=390,height=320,top=20,left=10')
}
function swineflu1(theURL) { //v2.0
  window.open(theURL,'ErrorForm','width=550,height=220,top=90,left=10');
}
function pot_new()
{
popup =window.open("../../html/misc/pot_new.html","ab","width=500,height=420,status=no,toolbar=no,menubar=no")
}
function complete_kit()
{
popup =window.open("../../html/misc/complete_kit.html","ab","width=520,height=445,status=no,toolbar=no,menubar=no")
}
function bestoffer()
{
popup =window.open("../../html/misc/bestoffer.html","ab","width=520,height=445,status=no,toolbar=no,menubar=no")
}
function trivia(theURL) { //v2.0
  window.open(theURL,'ErrorForm','width=550,height=220,top=90,left=10');
}
function neticomp(theURL) { //v2.0
  window.open(theURL,'ErrorForm','width=550,height=280,top=90,left=10');
}
