	if (!window.Node) var Node =
	    {
	    	ELEMENT_NODE                :  1,
	    	ATTRIBUTE_NODE              :  2,
	    	TEXT_NODE                   :  3,
	    	CDATA_SECTION_NODE          :  4,
	    	ENTITY_REFERENCE_NODE       :  5,
	    	ENTITY_NODE                 :  6,
	    	PROCESSING_INSTRUCTION_NODE :  7,
	    	COMMENT_NODE                :  8,
	    	DOCUMENT_NODE               :  9,
	    	DOCUMENT_TYPE_NODE          : 10,
	    	DOCUMENT_FRAGMENT_NODE      : 11,
	    	NOTATION_NODE               : 12
		}
				
	
	function initSite() {
		WindowAdjustment();
	}

	function WindowAdjustment(o) {
		//alert(window.sizeToContent());
		if (o == undefined) {
			s = window.screen;
		} else {
			s = o.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 enterStudio() {
		// goURL('/.xyz');
	}
	
	function showSiteSpecifications() {
		openWin('/specs/specs.html','popup','width=450,height=475,location=centre,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes');
	}
	
	function linkToFAQs() { 
		openWin('./faq.html','popup','alwaysRaised=yes,width=575,height=575,location=centre,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes');
	}
	
