function maximiseWin() {
  if (window.screen) {
   if(window.screenLeft > 5 || window.screenTop > 30) {
    var aw = screen.availWidth;
    var ah = screen.availHeight;
    parent.window.resizeTo(aw, ah);
    parent.window.moveTo(0, 0);

   }
  }
}

if (navigator.appName=='Microsoft Internet Explorer')
{
maximiseWin()
}


function bookmarkParentsfr()
{
netscape="Clique sur OK puis sur CTRL+D pour ajouter ce site à tes favoris."

if (navigator.appName=='Microsoft Internet Explorer')
{
window.external.AddFavorite('http://www.uptoten.com/parents.phtml?cl=fr&', 'UpToTen Parents - Des idées et des conseils gratuits.');
}
else if (navigator.appName=='Netscape')
{
alert(netscape);
}
}

function bookmarkParentsen()
{
netscape="First push OK and then hit CTRL+D to add a bookmark to this site."

if (navigator.appName=='Microsoft Internet Explorer')
{
window.external.AddFavorite('http://www.uptoten.com/parents.phtml?cl=en', 'UpToTen Parents - Practical ideas and advice.');
}
else if (navigator.appName=='Netscape')
{
alert(netscape);
}
}

function bookmarkIndexfr()
{
netscape="Clique sur OK puis sur CTRL+D pour ajouter ce site à tes favoris."

if (navigator.appName=='Microsoft Internet Explorer')
{
window.external.AddFavorite('http://www.uptoten.com/?cl=fr&', 'UpToTen.com - Le site ludo-rigolo-éducatif');
}
else if (navigator.appName=='Netscape')
{
alert(netscape);
}
}

function bookmarkIndexen()
{
netscape="First push OK and then hit CTRL+D to add a bookmark to this site."

if (navigator.appName=='Microsoft Internet Explorer')
{
window.external.AddFavorite('http://www.uptoten.com/?cl=en', 'UpToTen.com - the fun place to learn on-line');
}
else if (navigator.appName=='Netscape')
{
alert(netscape);
}
}

function bookmarkKidsfr()
{
netscape="Clique sur OK puis sur CTRL+D pour ajouter ce site à tes favoris."

if (navigator.appName=='Microsoft Internet Explorer')
{
window.external.AddFavorite('http://www.uptoten.com/home.phtml?cl=fr&', 'UpToTen Enfants - 600 jeux et activités. Gratuits.');
}
else if (navigator.appName=='Netscape')
{
alert(netscape);
}
}

function bookmarkKidsen()
{
netscape="First push OK and then hit CTRL+D to add a bookmark to this site."

if (navigator.appName=='Microsoft Internet Explorer')
{
window.external.AddFavorite('http://www.uptoten.com/home.phtml?cl=en', 'UpToTen Kids - 600 educational games and activities');
}
else if (navigator.appName=='Netscape')
{
alert(netscape);
}
}




function openUpToTenWindow(popwindowURL,windowWidth,windowHeight){
 var gallery_window=0
  if(!gallery_window || gallery_window.closed){
  }
  else{
   gallery_window.close();
  }
   gallery_window = window.open(popwindowURL, "gallery_window", "scrollbars=yes,toolbar=no,menubar=no,status=no,toolbar=no,resizable=yes,width="+windowWidth+",height="+windowHeight+",top="+0+",left="+0+"");
   gallery_window.focus();
}