<!--
function runfun()
{
var theTempVal = document.forms["frm1"].elements["aa"].value;
theArr = theTempVal.split("|");
var theActionVal = theArr[0];
var theSizeVal = theArr[1];
document.forms["frm1"].action = theActionVal;
document.forms["frm1"].elements["Size"].value = (theSizeVal);
return true;
}

/*
	faqarrayJ = Array(
					Array("1","question one"),
					Array("2","question two"),
					Array("3","question three")
					);
	alert(faqarrayJ[0][0]);
	alert(faqarrayJ[0][1]);
	*/
//------------------------------------------------------------
var	faqarrayJ = Array(
					Array("What is so unique about the Baby Nest Carrier?",
							"The My Baby Nest Carrier &trade; (Patent pending) was especially designed with newborns and premature babies in mind; providing unique support for nursing during the early stages of your baby's life.  Most importantly the Baby Nest Carrier is versatile and adaptable offering different positions, allowing continued use as your baby grows – up to 35 lbs. The Baby Nest Carrier is easy to wear and evenly distributes your baby's weight over the entire back and shoulders making it amazingly comfortable for the carrying parent.") ,
					Array("Is the Baby Nest Carrier Safe?",
							"The My Baby Nest Carrier &trade; is a soft, strong and flexible carrier designed without buckles for safety and absolute comfort.  The Baby Nest Carrier is manufactured from an innovative new fabric with rigorous strength and safety criteria including all double stitching. It is two solid loops of durable, high-strength material that cannot come untied by accident. <br> The My Baby Nest Carrier &trade; is designed to contour to your body; while your newborn is safely comforted by the warmth of your body and the beat of your heart.  Experts recommend that small children be held close and often as it promotes physical and emotional health for the child and the mother.") ,
					Array("Up until what age and weight can I use the Baby Nest Carrier?",
							"Our baby carrier is tested for quality and safety for babies from birth to 35lbs. ") ,
					Array("What is the largest size the My Baby Nest Carrier will fit?",
							"The Baby Nest Carrier can fit a carrying parent up to 6’4” 240lbs.") ,
					Array("What size should I buy?",
							"Please see our size chart  (link to the size chart).  Size is determined by height and weight of the carrying parent. If there is a size difference between users we recommend purchasing two carriers. If you are in-between sizes, we recommend you choose a larger size to allow for little shrinkage.") ,
					Array("Can my partner and I wear the same carrier?",
							"The Baby Nest Carrier is offered in sizes S-M, M-L, L-XL .Please refer to our size chart to determine if you and your partner can wear the same size carrier, or if it is beneficial for you to order two different size carriers. We strongly recommend that each user finds the right fit.") ,
					Array("How long will it take until I receive my order?",
							"We ship out orders received before noon CST Monday through Friday on the same day of ordering. All orders placed after noon CST will be processed and shipped the following business day. We offer the following four UPS shipping methods:<ul><li>Overnight delivery</li> <li> 2nd day air</li> <li> 3 day select</li> <li> Ground (4-5 business days)</li></ul> International Orders can take up to two weeks") ,
					Array("Is the My Baby Nest Carrier machine washable?",
							"Yes.  For optimal results, please follow these simple washing instructions: <br> Machine wash cold, wash with like colors only. Do not use chlorine bleach. Hang or tumble dry low. Make sure to wash separately before first use.") ,
					Array("Will the Baby Nest Carrier shrink after washing?",
							"The Baby Nest Carrier is created out of an innovative new flexible fabric and is NOT pre-shrunk. Accordingly, the carrier may shrink slightly after washing. However, the fabric will conform back to its original size.") ,
					Array("Where I can purchase the Baby Nest Carrier?",
							"Shop our online store (link to the store), call us at 1-877-MyBabyNest or visit one of our many national distributors (link to distributors).") ,
					Array("Can I use my Baby Nest Carrier right away with my newborn?",
							"Yes. The My Baby Nest Carrier &nbsp; was especially designed with newborns and premature babies in mind. The Baby Nest Carrier provides unique support for nursing during the early stages of your baby's life Our carrier is safe and secure for babies from birth to 35lbs. Please read all <a href='/Position.html'>instructions</a> and <a href='/Safety.html.html'>warnings</a> before using our carrier. Recommended for premature babies") ,
					Array("Can the Baby Nest Carrier be used for premature babies?",
							"Yes, it can. The My Baby Nest Carrier &trade; was especially designed with newborns and premature babies in mind.  The Carrier provides unique support for nursing during the early stages of your baby's life, Premature babies enter the world with fragile, easily over-stimulated nervous systems. Parents attempt to find the proper balance to provide their baby with the sensory nourishment he or she requires for optimal development, while simultaneously avoiding over stimulation. Infants that are carried in our Baby Nest Carrier experience the stimulating sounds, sights and smells that their parent experiences, while at the same time, being tightly swaddled in a secure and comfortable position, providing safety and assurance to the premature infant. Our carrier offers a gentle way of transitioning your baby from the calm environment of the womb to that of the outside world. Before using any baby carrier, always make sure you consult with your pediatrician regarding any health complications your premature  may be experiencing.") ,
					Array("Can the Baby Nest Carrier be used for babies and toddlers with special needs?",
							"Yes, it can. It is well known that children with developmental delays and special needs benefit from the extra stimulation of being carried close to the wearer, especially during the infant stage. The Baby Nest Carrier creates the ideal environment for development and growth. At the same time, it offers infants a tight swaddled, deep pressure input, providing security and assurance to infants with sensory integration dysfunction and other developmental disorders such as Autism and Cerebral Palsy. Studies have also shown the infants with hypotonia ( low muscle tone) are adversely affected by bay carriers that place their legs in excessive abduction (legs spread too far apart). With the Baby Nest Carrier, we have created a position where babies can still face forward and see the world while having their legs in a more developmentally appropriate posture.") ,
					Array("Do you ship internationally?",
							"Yes, we do.  Just enter the store (link to the store) and fill out an order.") ,
					Array("Is your website secure?",
							"Our website is hosted by Yahoo online stores and is secure for all online orders.") ,
					Array("Do you accept international retailers/distributors?",
							"Yes. Please contact us at <a href='http://store.babyktan.com/sizing.html'>Join Our Team</a> for more information about our wholesale program  ") ,
					Array("I want to order but do not want to hand my credit card information on the website?",
							"You can fax us your order to 1-877-692-2296 or call us at 1-877-MyBaby Nest.") ,
					Array("What is your return/exchange policy?",
							"You may return or exchange Baby Nest Carrier if you ordered your carrier through our <a href='/ReturnPolicy.html'>website</a> .<br><br>Please ship all returns/exchanges with your name, address, phone, and a note explaining the reason to:<br><br>NIT<br>Attn My Baby Nest - Returns<br>600 Bradley Hill Road<br>Blauvelt, NY 10913. ") 
					);

function showDivJ(id,num)
{
	var ttlval = id+"ttl";
	var cntval = id+"cnt";
	
	
	document.getElementById(ttlval).innerHTML = faqarrayJ[num][0];
	document.getElementById(cntval).innerHTML = faqarrayJ[num][1];
	document.getElementById(id).style.display="inline";
	document.getElementById(id).style.visibility="visible";
}

function prepareScrollJ()
{
var theOutputVar ="";
	for(i in faqarrayJ)
	{
	theOutputVar +=' <a href="javascript:;" class="top_link_2" onclick="showDivJ(';
	theOutputVar +=" 'apDiv1',"+ i +");";
	theOutputVar +='" >';
	theOutputVar +=faqarrayJ[i][0];
	theOutputVar +='</a><br />	'	;
	}
	document.getElementById("scroll").innerHTML = theOutputVar;
}

function prepareScrollJ2()
{
var theOutputVar ="";
	for(i in faqarrayJ)
	{
	theOutputVar +=' <a href="javascript:;" class="top_link_2" onclick="showDivJ(';
	theOutputVar +=" 'apDiv1',"+ i +");";
	theOutputVar +='" >';
	theOutputVar +=faqarrayJ[i][0];
	theOutputVar +='</a><br />	'	;
	}
	document.getElementById("scroll0Content").innerHTML = theOutputVar;
}


function MM_showHideLayers() { //v9.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) 
  with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

//----------------------------------- FAQ Scroll -------------------------------------------start ---
var stopVarJ;
var sbotVarJ;
function test1()
{
/*
for (a in document.getElementById("div1"))
{
	document.write (a +"<br>");
}
*/
var top = parseInt(document.getElementById("scroll").scrollTop);
var ntop = (top+2);
document.getElementById("scroll").scrollTop =ntop;
stopVarJ=setTimeout("test1()",100);
}

function test3()
{
clearTimeout(stopVarJ);
}
function test2()
{

var top = parseInt(document.getElementById("scroll").scrollTop);
var ntop = (top-2);
document.getElementById("scroll").scrollTop =ntop;
sbotVarJ=setTimeout("test2()",100);
}
function test4()
{
clearTimeout(sbotVarJ);
}
//----------------------------------- FAQ Scroll -------------------------------------------end ----

//-->

