//<![CDATA[

// - sft.js

// -------------------------------------------------------------------
// -           Javascript Code for 10 weeks
// --------------------------------------------------------------------
<!--

function popPrivacy(privacyFile) {
	privacyWin = window.open(privacyFile,"pirivacyWin", "height=390,width=300,status=0,menubar=0,location=0,resizable=1,titlebar=0,scrollbars=0,top=100,left=300");
}
function popPrivacy2(privacyFile, myheight, mywidth, mytop, myleft) {
	privacyWin = window.open(privacyFile,"pirivacyWin", "height=" + myheight + ",width=" + mywidth + ",status=0,menubar=0,location=0,resizable=1,titlebar=0,scrollbars=1,top=" + mytop + ",left=100");
}

function popAudio(audioFile) {
	audioWin = window.open(audioFile,"audioWin", "height=510,width=640,status=0,menubar=0,location=0,resizable=1,titlebar=0,scrollbars=0,top=10,left=60");
}
function PrintPage(){
   if (window.print) 
    {
       window.print();
    }
    else
    {
       alert("I'm sorry, Your Web Browser does not support this print method. To print, close this window and select File>Print from your drop down menus.");
    }
}

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);


function MM_preloadImages() { //v3.0

  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();

    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)

    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}

}

 // ----------------------------------------------------------------------------------

/*
Disable right mouse click Script 
*/

var message ="\n         © Copyright 1999-2004 by Shamus Brown. All Rights Reserved.\n\nMaterial on this website is Copyrighted and may not be used without permission.       \n";
function click(e) {
  if (document.all) {
    if (event.button == 2) {
      alert(message);
      return false;
    }
  }
  if(document.layers) {
    if (e.which == 3) {
     alert(message);
     return false;
     }
    }
} 

//if (document.layers) {
 //   document.captureEvents(Event.MOUSEDOWN);
//}

//document.onmousedown=click;


//-->


function todaysDate() {

/*Current date script credit: 
JavaScript Kit (www.javascriptkit.com)
Over 200+ free scripts here!

Modified by Christina Hills
*/
var dayarray=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
var montharray=new Array("January","February","March","April","May","June","July","August","September","October","November","December");

var mydate=new Date();
var year=mydate.getYear();

var day=mydate.getDay();
var month=mydate.getMonth();
var daym=mydate.getDate();

var thedaytodayis = "";

	if (year < 1000)
	   year+=1900;
	   
	if (daym<10)
	   daym="0"+daym;

    thedaytodayis = " " + dayarray[day] + ", " + montharray[month] + " " + daym + ", " + year; 
	
	
	return (thedaytodayis);

}



function populateForm(passFormName) {
    // this will put in the hidden fields to the 1shoppingcart form
	passFormName.field2.value = window.location;
	
	passFormName.field3.value = todaysDate();
	return true;
}

//]]>
