<!--
/* 	Bournville Community Website
	created by David Smith 
	Copyright 2003
	www.bournville-web.net
	email: david@bournville-web.net
	
	If you make use of this script please 
	leave in this header note, provide a 
	link to and acknowledge 
	www.Bournville-Web.net
	
	file created 04-October-03

        Kids Korner functions

*/

var curs=1;

function set_cursor() {
  if(mie6() == true) {
    document.body.style.cursor = "url('../images/starfish.ani')";
    document.anchors[0].style.cursor = "url('../images/add.ani')";
    //var cur_style=document.anchors[0].style.cursor;
    //document.anchors[1].style.cursor=cur_style;
    //document.anchors[2].style.cursor=cur_style;
  }
  else {
    document.body.style.cursor = "auto";
    document.anchors[0].style.cursor = "hand";
  };
}

function change_cursor(cnt){
  if(mie6() == true) {
    if (cnt==0) {     
      document.body.style.cursor = "url('../images/starfish.ani')";
    }
    if (cnt==1) {
      document.body.style.cursor = "url('../images/hbird.ani')";  
      //document.anchors[0].style.cursor = "url('../images/hbird2.ani')"; 
    }
    if (cnt==2) {
      document.body.style.cursor = "url('../images/bug.ani')";
      //document.anchors[0].style.cursor = "url('../images/bug2.ani')"; 
    }
    if  (cnt==3) {     document.body.style.cursor = "url('../images/dino.ani')";
      //document.anchors[0].style.cursor = "url('../images/dino2.ani')"; 
    }
    if  (cnt==4) {   document.body.style.cursor = "url('../images/snake.ani')";
      //document.anchors[0].style.cursor = "url('../images/snake2.ani')"; 
    }
    if  (cnt==5) { 
      document.body.style.cursor = "url('../images/flower.ani')";
      //document.anchors[0].style.cursor = "url('../images/flower2.ani')"; 
    }
    if  (cnt==6) { 
      window.alert("Sorry, No More Pointers !!");
    }
//var cur_style=document.anchors[0].style.cursor;
//document.anchors[1].style.cursor=cur_style;
//document.anchors[2].style.cursor=cur_style;
  }
  else window.alert("Sorry, your browser does not support this feature, you need MS IE6.");
}

function check_form(){
  if (document.add_site.why.value=="" || document.add_site.why.value==null || document.add_site.why.value=="- type here -"){
    if(!confirm('You have not enetered a website yet! \n\nDo you want to send this?\n\nClick OK to continue and add a website or cancel to send.')) {
      document.add_site.submit();
      return true;
    }
  }
  else {
    document.add_site.submit();
    return true;
  }
}

function check_input(e){
  if (e.value=='- type here -'){
    e.value='';
  }
}

function check_textarea(e){
  if (e.value=='- type here -'){
    e.value='';
  }
}

function windowOpener(http_addr) {
   var NewWinposX=10;
   var NewWinposY=10;
   httpWindow=window.open(http_addr,'NewWindow',config='height=500,width=530,toolbar=yes,menubar=no,scrollbars=yes,resizable=yes,location=no,directories=no, status=yes')
   //newWindow.moveTo(NewWinposX,NewWinposY);
  httpWindow.focus();
}
-->