///////// Macromedia Netscape Resize Script /////////
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

 ///////// OPEN POP-UP WINDOWS /////////
          function disclaimer()
          {
          var spec = window.open ("disclaimer.php","disclaimer","fullscreen=no,resizable=no,height=260,width=420,scrollbars=no");
          }

          function sendPage() {

	  var windowThingy = window.open('sendPage.php','polec','status=no, width=400, height=410 ,top=0, left=0, scrollbars=no');
			
	  }
	  
	  function sunSalutation()
          {
          var spec = window.open ("/sunSalutation/sunSalutation.php","sun","fullscreen=no,resizable=yes,height=400,width=550,scrollbars=yes");
          }
          
          function sunOne()
          {
          var spec = window.open ("/sunSalutation/sun1.php","sun1","fullscreen=no,resizable=yes,height=400,width=550,scrollbars=yes");
          }
          
          function sunTwo()
          {
          var spec = window.open ("/sunSalutation/sun2.php","sun2","fullscreen=no,resizable=yes,height=400,width=550,scrollbars=yes");
          }
          
          function sunThree()
          {
          var spec = window.open ("/sunSalutation/sun3.php","sun3","fullscreen=no,resizable=yes,height=400,width=550,scrollbars=yes");
          }
          
          function sunFour()
          {
          var spec = window.open ("/sunSalutation/sun4.php","sun4","fullscreen=no,resizable=yes,height=400,width=550,scrollbars=yes");
          }
          
          function sunFive()
          {
          var spec = window.open ("/sunSalutation/sun5.php","sun5","fullscreen=no,resizable=yes,height=400,width=550,scrollbars=yes");
          }
          
          function sunSix()
          {
          var spec = window.open ("/sunSalutation/sun6.php","sun6","fullscreen=no,resizable=yes,height=400,width=550,scrollbars=yes");
          }
          
          function sunSeven()
          {
          var spec = window.open ("/sunSalutation/sun7.php","sun7","fullscreen=no,resizable=yes,height=400,width=550,scrollbars=yes");
          }
          
          function sunEight()
          {
          var spec = window.open ("/sunSalutation/sun8.php","sun8","fullscreen=no,resizable=yes,height=400,width=550,scrollbars=yes");
          }
          
          function sunNine()
          {
          var spec = window.open ("/sunSalutation/sun9.php","sun9","fullscreen=no,resizable=yes,height=400,width=550,scrollbars=yes");
          }
          
          function sunTen()
          {
          var spec = window.open ("/sunSalutation/sun10.php","sun10","fullscreen=no,resizable=yes,height=400,width=550,scrollbars=yes");
          }
	  
///////// get url /////////

function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}

///////// form field highlight colour /////////
var highlightcolor="#FFFFFF"

var ns6=document.getElementById&&!document.all
var previous=''
var eventobj

//Regular expression to highlight only form elements
var intended=/INPUT|TEXTAREA|SELECT|OPTION/

//Function to check whether element clicked is form element
function checkel(which){
if (which.style&&intended.test(which.tagName)){
if (ns6&&eventobj.nodeType==3)
eventobj=eventobj.parentNode.parentNode
return true
}
else
return false
}

//Function to highlight form element
function highlight(e){
eventobj=ns6? e.target : event.srcElement
if (previous!=''){
if (checkel(previous))
previous.style.backgroundColor=''
previous=eventobj
if (checkel(eventobj))
eventobj.style.backgroundColor=highlightcolor
}
else{
if (checkel(eventobj))
eventobj.style.backgroundColor=highlightcolor
previous=eventobj
}
}

///////// no right click /////////
var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if 
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers) 
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

document.oncontextmenu=new Function("return false")

///////// status bar note /////////
var note = "ANITA McCANN ::: YOGA";
function statusbar()
{
  defaultStatus = note.substr()
}
statusbar();


///////// clear default form value /////////
function clearDefault(el) {
  if (el.defaultValue==el.value) el.value = ""
} 

