(function(){var g,k,m,v,j=["http://cdn.sheknows.com/affiliate-partners/skin-min.css"],n=s("skaffbadge"),b=null,h=[["SheKnows.com",[["SK Home Page","http://www.sheknows.com"],["Entertainment","http://sheknows.com/channels/entertainment.htm"],["Parenting Tips","http://sheknows.com/channels/parenting.htm"],["Contests","http://www.sheknows.com/contests"],["Health & Beauty","http://www.sheknows.com/channels/beauty-and-style.htm"],["Food & Recipes","http://www.sheknows.com/channels/food-and-cooking.htm"],["Video Gallery","http://www.sheknows.com/channels/videos.htm"],["Love & Dating","http://www.sheknows.com/channels/love-and-sex.htm"],["Celebrity Photos","http://celebrityphotos.sheknows.com"],["CelebSalon","http://celebsalon.sheknows.com"],["Horoscopes","http://www.sheknows.com/daily-horoscope/"],["Message Boards","http://talk.sheknows.com"]]],["Family of Sites",[["pregnancyandbaby.com","http://pregnancyandbaby.sheknows.com/"],["babyhold.com","http://www.babyhold.com"],["babynamesocean.com","http://www.babynamesocean.com"],["babynamescountry.com","http://www.babynamescountry.com"],["babynamesfamily.com","http://www.babynamesfamily.com"],["celebritypregnancy.com","http://www.celebritypregnancy.com"],["chefmom.com","http://chefmom.com"],["childfun.com","http://www.childfun.com"],["coloringbookfun.com","http://www.coloringbookfun.com"],["danasdirt.com","http://danasdirt.com"],["divahairstyles.com","http://divahairstyles.com"],["doulanetwork.com","http://doulanetwork.com"],["epigee.org","http://epigee.org"],["familyoven.com","http://familyoven.com"],["FreeKidscraft.com","http://www.freekidscrafts.com"],["freeridegames.com","http://www.freeridegames.com"],["geoparent.com","http://geoparent.com"],["hairpedia.com","http://hairpedia.com/"],["hairstylelounge.com","http://hairstylelounge.sheknows.com"],["harrypotterfans.com","http://www.harrypotterfans.com"],["holidaynotes.com","http://www.holidaynotes.com"],["imnotobsessed.com","http://www.imnotobsessed.com"],["inomommy.com","http://www.inomommy.com"],["inyourkitchen.com","http://www.inyourkitchen.com"],["lovingyou.com","http://www.lovingyou.com"],["mainstreetmom.com","http://www.mainstreetmom.com"],["makingfriends.com","http://www.makingfriends.com"],["menuism.com","http://www.menuism.com"],["momsmenu.com","http://www.momsmenu.com"],["nowchic.com","http://www.nowchic.com"],["poemslovers.com","http://www.poemslovers.com"],["pointsandprizes.com","http://pointsandprizes.sheknows.com"],["pregnancyfashion.com","http://pregnancyfashion.com"],["realitytvmagazine.com","http://www.realitytvmagazine.com"],["realmomsguide.com","http://realmomsguide.sheknows.com"],["realitytvscoop.com","http://www.realitytvscoop.com"],["soapoperafan.com","http://www.soapoperafan.com"],["soaps.com","http://www.soaps.com"],["thesoapdispenser.com","http://www.thesoapdispenser.com"],["Topsecretrecipes.com","http://www.topsecretrecipes.com"],["thehollywoodgossip.com","http://www.thehollywoodgossip.com"],["totalhair.net","http://www.totalhair.net"],["wholesomebabyfood.com","http://www.wholesomebabyfood.com"]]]],f=[["VIDEOS & MORE","http://www.sheknows.com/channels/videos.htm"],["CELEB GOSSIP!","http://www.sheknows.com/channels/entertainment.htm"],["RUNAWAY EATING","http://www.sheknows.com/videos/food-and-cooking/51.htm"],["VIDEOS","http://www.sheknows.com/channels/videos.htm"],["HEALTHY RECIPES!","http://www.sheknows.com/channels/food-and-cooking.htm"],["HOLIDAY DECOR","http://www.sheknows.com/articles/everyday-life/hobbies/1468.htm"]];document.write('<form id="'+n+'" target="_parent" method="get"><div class="skaff-container"><a class="skaff-mainsite" href="http://www.sheknows.com" target="_blank">SheKnows.com</a><select class="skaff-affiliates"><option value="#">Select Topic / Site</option></select><div class="skaff-ticker"></div></div></form>');function o(y,x,z,w){var i=function(){z.apply(w||this,arguments)};y=(typeof y=="string")?u(y):y;if(y.attachEvent){y["e"+x+i]=i;y[x+i]=function(){y["e"+x+i](window.event)};y.attachEvent("on"+x,y[x+i])}else{y.addEventListener(x,i,false)}}function p(x,w,i){if(x.detachEvent){x.detachEvent("on"+w,x[w+i]);x[w+i]=null}else{x.removeEventListener(w,i,false)}}function u(i){return typeof i=="string"?document.getElementById(i):i}function e(w,i,x){u(w).style[i]=x}function t(w,x,i){if(typeof x!="string"&&x.tagName){this.element=x;x=s(this.element)}this.content=w;this.id=x;this.delay=i;o(window,"load",this.init,this)}t.prototype={element:null,mouseoverBol:0,index:1,elMain:null,elStage:null,_timer:null,init:function(){if(!this.element){this.element=u(this.id)}var z=this.content,B=this.id,i=this,y=this.element,A,x;function w(C){if(!A){A=document.createElement("div");A.className="skaff-ticker-tape"}var D=A.cloneNode(false);D.innerHTML=C;return D}y.className+=" skaff-ticker-container";this.elMain=w(this.format(0));this.elStage=w(this.format(1));y.appendChild(this.elMain);y.appendChild(this.elStage);this.elMaintop=parseInt(t.getCSSpadding(y),10);x=y.offsetWidth-(this.elMaintop*2)+"px";e(this.elMain,"width",x);e(this.elStage,"width",x);this.getinline(this.elMain,this.elStage);e(this.elStage,"visibility","visible");o(y,"mouseover",function(){this.mouseoverBol=1},this);o(y,"mouseout",function(){this.mouseoverBol=0},this);setTimeout(function(){i.animateup()},this.delay)},animateup:function(){var i=this;if(parseInt(this.elStage.style.top)>(this.elMaintop+5)){this.elMain.style.top=parseInt(this.elMain.style.top)-5+"px";this.elStage.style.top=parseInt(this.elStage.style.top)-5+"px";setTimeout(function(){i.animateup()},50)}else{this.getinline(this.elStage,this.elMain);this.swapdivs();setTimeout(function(){i.setmessage()},this.delay)}},swapdivs:function(){var i=this.elMain;this.elMain=this.elStage;this.elStage=i},getinline:function(w,i){w.style.top=this.elMaintop+"px";i.style.top=Math.max(w.parentNode.offsetHeight,w.offsetHeight)+"px"},setmessage:function(){var x=this;if(this.mouseoverBol==1){setTimeout(function(){x.setmessage()},100)}else{var y=this.index,w=this.content.length;this.index=(y+1>=w)?0:y+1;this.elStage.innerHTML=this.format(this.index);this.animateup()}},format:function(w){var x=this.content[w];return'<a href="'+x[1]+'"><strong>SHEKNOWS:</strong> '+x[0]+"</a>"}};t.getCSSpadding=function(i){if(i.currentStyle){return i.currentStyle.paddingTop}else{if(window.getComputedStyle){return window.getComputedStyle(i,"").getPropertyValue("padding-top")}else{return 0}}};function s(i,w){if(!s.counter){s.counter=0}if(typeof i=="string"){w=i;i=null}if(i&&i.id){return i.id}var x=(w||"skaffid")+"-"+(s.counter++);if(i){i.id=x}return x}if(document&&document.getElementsByTagName){var l=document.getElementsByTagName("head");if(l&&l.length>0){g=l[0]}}if(g){for(var q=0,r=j.length;q<r;q++){var a=document.createElement("link");a.href=j[q];a.type="text/css";a.rel="stylesheet";g.appendChild(a)}}b=u(n);k=b.firstChild;m=k.firstChild;v=m.nextSibling;new t(f,v.nextSibling,4000);v.onchange=function(){var i=this.value;if(i!="#"){b.action=i;b.submit()}};function c(z,y){for(var x=0,w=z.length;x<w;x++){d(z[x][0],z[x][1],y)}}function d(w,i,y){if(typeof i!="string"){var z=document.createElement("optgroup");z.label=w;c(i,z);y.appendChild(z)}else{var x=new Option(w,i);x.innerText=w;y.appendChild(x)}}c(h,v)})();