/* 
flash requirements() 
~ onclick="function();return false"
*/
function privacy() {
    newwindow = window.open('privacy.php','privacy','"toolbar=no,address=no,left=100,top=100,status=no,width=350,height=400,scrollbars=yes,resizable=yes"')
}
function terms() {
    newwindow = window.open('terms.php','terms','"toolbar=no,address=no,left=100,top=100,status=no,width=350,height=400,scrollbars=yes,resizable=yes"')
}
function subscribe() {
    newwindow = window.open('subscribe.php','subscribe','"toolbar=no,address=no,left=100,top=100,status=no,width=350,height=400,scrollbars=yes,resizable=yes"')
}


/* 
Popup 
~ onclick="NewWindow(this.href,'name','300','400','yes');return false"
*/

var win= null;
function NewWindow(mypage,myname,w,h,scroll){
  var winl = (screen.width-w)/2;
  var wint = (screen.height-h)/2;
  var settings  ='height='+h+',';
      settings +='width='+w+',';
      settings +='top='+wint+',';
      settings +='left='+winl+',';
      settings +='scrollbars='+scroll+',';
      settings +='resizable=no';
  win=window.open(mypage,myname,settings);
  if(parseInt(navigator.appVersion) >= 4){win.window.focus();}
}



/* 
Rollover 
~ id="mouseovers"

var W3CDOM = (document.createElement && document.getElementsByTagName);

var mouseOvers = new Array();
var mouseOuts = new Array();

window.onload = init;

function init()
{
	if (!W3CDOM) return;
	var nav = document.getElementById('mouseovers');
	var imgs = nav.getElementsByTagName('img');
	for (var i=0;i<imgs.length;i++)
	{
		imgs[i].onmouseover = mouseGoesOver;
		imgs[i].onmouseout = mouseGoesOut;
		var suffix = imgs[i].src.substring(imgs[i].src.lastIndexOf('.'));
		mouseOuts[i] = new Image();
		mouseOuts[i].src = imgs[i].src;
		mouseOvers[i] = new Image();
		mouseOvers[i].src = imgs[i].src.substring(0,imgs[i].src.lastIndexOf('.')) + "_omo" + suffix;
		imgs[i].number = i;
	}
}

function mouseGoesOver()
{
	this.src = mouseOvers[this.number].src;
}

function mouseGoesOut()
{
	this.src = mouseOuts[this.number].src;
}
*/


