	
	function initSite() {
		WindowAdjustment();
	}

	function WindowAdjustment() {
		//alert(window.sizeToContent());
		s = window.screen;
		
		if (s.width < 800 || s.availHeight < 650) {
			self.resizeTo(s.width,s.availHeight);
			self.moveTo(0,0);
		} else {
			myW = 800;
			myH = (document.height) ? document.height-155 : 700;
			self.resizeTo(myW,myH);
		}
		
		if(self != top) top.location=self.location;
			self.status='Thank you for visiting Footprints Productions';
		}
			
		if (window.attachEvent) {
	   	 	var clearElementProps = [
	   	     	'data',
	   	     	'onmouseover',
	   	     	'onmouseout',
	   	     	'onmousedown',
	   	     	'onmouseup',
	   	     	'ondblclick',
	   	     	'onclick',
	   	     	'onselectstart',
	   	     	'oncontextmenu'
	   	 	];

		    window.attachEvent("onunload", function() {
	   	     	var el;
	   	     	for(var d = document.all.length;d--;){
	   	         	el = document.all[d];
	   	         	for(var c = clearElementProps.length;c--;){
	   	             	el[clearElementProps[c]] = null;
	            	}
	        	}
	    	});
		}


	function openWin(url,name,features) {
		window.open(url,name,features);
	}
	
	function linkToShockwaveDownloadPage() {
		openWin('http://www.macromedia.com/shockwave/download/','popup','width=850,location=centre,directories=yes,status=yes,menubar=yes,toolbar=yes,scrollbars=yes,resizable=yes');
	}
	
	function goToInternalPage(page) {
		var myDest = (page == undefined) ? 'goals':page;
		myDest = './' + myDest + '.html';
		goURL(myDest);
		return;
	}
	
	function showCanadaSchedule() {
		openWin('http://canada.mastersprogram.org/schedule.html','popup','location=centre,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes');
	}
	
	function showTMPSite() {
		openWin('http://www.mastersprogram.org/','popup','location=centre,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes');
	}
	
	function showFPSite() {
		openWin('http://www.footprintsproductions.net/','popup','location=centre,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes');
		return false;
	}
	
	function answerQuestions() {
		openWin('/specs/specs_faq.html','popup','width=575,height=575,location=centre,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes');
	}
	
