// Popup Script
function popUp(url,width,height,scroll,winname,toolbar,location) {
if (!winname)
 winname = "win";
if (winname == '')
 winname = "win";
if (!toolbar)
 toolbar = 0;
if (!location)
 location = 0;
sealWin=window.open(url,winname,"toolbar="+toolbar+",location="+location+",directories=0,status=0,menubar=0,scrollbars="+scroll+",resizable=1,width="+width+",height="+height);
self.name = "mainWin";sealWin.focus();}

// Bookmark Site Script
function bookmarksite(title, url){
if (document.all)
window.external.AddFavorite(url, title);
else if (window.sidebar)
window.sidebar.addPanel(title, url, "")
}

// Jump Menu
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location=webpage_url+'Baby-Names/"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

// Close And Refresh Parent
function refreshParent() {
  window.opener.location.href = window.opener.location.href;
  if (window.opener.progressWindow)	
 {
    window.opener.progressWindow.close()
  }
  window.close();
}

// ValueClick Media INTERSTITIAL HEAD CODE v1.0
function FCx(x){
  var min=15; // minimum minutes between interstitials (needs to be >15)
  if(x.indexOf('get.media')>0){
    x=unescape(x.substring(x.indexOf('&url=')+5,x.length));
  }else{
    if(document.cookie.indexOf('CxIC=1')<=0){
      x='http://media.fastclick.net/w/get.media?sid=35810&m=5&tp=6&url='+escape(x);
      var date_ob=new Date();
      date_ob.setTime(date_ob.getTime()+min*1000*60);
      document.cookie='FCxIC=1; path=/; expires='+date_ob.toGMTString();
    }
  }
  return x
}
