

	//alert ("javascript.js has loaded...");
	

//	INITIALIZE

	var em_orig_width = new Array();
	var em_orig_height = new Array();





//	FUNCTIONS

	function kaxy_swf_grow ( the_id ) {
		
			//alert ("kaxy_swf_grow " + the_id);
		
	    if (isIE && isWin && !isOpera) {
	    
		//	Resize the Object tag...	
			var ob = document.getElementById("swf_" + the_id);
				
				//alert ("ob = " + ob);
				
			ob_orig_width = parseInt(ob.style.width) ? parseInt(ob.style.width) : parseInt(ob.width);
			ob_orig_height = parseInt(ob.style.height) ? parseInt(ob.style.height) : parseInt(ob.height);
			
			ob.width = ob_orig_width * 2;
			ob.height = ob_orig_height * 2;
			
			ob.style.width = (ob_orig_width * 2) + 'px';
			ob.style.height = (ob_orig_height * 2) + 'px';
			
				//alert ("ob_orig_width = " + ob_orig_width);
				
		} else {	
		
		//	Resize the Embed tag...
			var em = document.getElementsByName("swf_" + the_id);
			
				//alert ("em = " + em[0]);
				
			em_orig_width = parseInt(em[0].style.width) ? parseInt(em[0].style.width) : parseInt(em[0].width);
			em_orig_height = parseInt(em[0].style.height) ? parseInt(em[0].style.height) : parseInt(em[0].height);
			
			em[0].width = em_orig_width * 2;
			em[0].height = em_orig_height * 2;
			
			em[0].style.width = (em_orig_width * 2) + 'px';
			em[0].style.height = (em_orig_height * 2) + 'px';
			
				//alert ("em_orig_width = " + em_orig_width);
				
			return(1);
		}
	}
	
	
	
	function kaxy_swf_shrink ( the_id ) {
	
			//alert ("kaxy_swf_shrink " + the_id);
	
		if (isIE && isWin && !isOpera) {
		
		//	Resize the Object tag...	
			var ob = document.getElementById("swf_" + the_id);
				
				//alert ("ob = " + ob);
				
			ob_orig_width = parseInt(ob.style.width) ? parseInt(ob.style.width) : parseInt(ob.width);
			ob_orig_height = parseInt(ob.style.height) ? parseInt(ob.style.height) : parseInt(ob.height);
			
			ob.width = ob_orig_width / 2;
			ob.height = ob_orig_height / 2;
			
			ob.style.width = (ob_orig_width / 2) + 'px';
			ob.style.height = (ob_orig_height / 2) + 'px';
			
				//alert ("ob_orig_width = " + ob_orig_width);
				
		} else {	
		
		//	Resize the Embed tag...
			
			var em = document.getElementsByName("swf_" + the_id);
			
				//alert ("em = " + em[0]);
				
			em_orig_width = parseInt(em[0].style.width) ? parseInt(em[0].style.width) : parseInt(em[0].width);
			em_orig_height = parseInt(em[0].style.height) ? parseInt(em[0].style.height) : parseInt(em[0].height);
			
			em[0].width = em_orig_width / 2;
			em[0].height = em_orig_height / 2;
			
			em[0].style.width = (em_orig_width / 2) + 'px';
			em[0].style.height = (em_orig_height / 2) + 'px';
			
				//alert ("em_orig_width = " + em_orig_width);
				
			return(1);
		}
	}
	
	
	
	
	function kaxy_spam_kill(the_id) {
	
			//alert("kaxy_spam_kill(" + the_id + ")");
	
		//var the_swf = document.getElementById('object_' + the_id);
	   
	    if (isIE && isWin && !isOpera) {
		
			the_swf = window['swf_' + the_id];
		
		} else {
		
			the_swf = document['swf_' + the_id];
		}	
			
			//alert("the_swf = " + the_swf);
		
		the_swf.spam_killer_play();
	}
	
	
	
	function kaxy_spam_killed(the_id) {
	
			//alert("kaxy_spam_killed(" + the_id + ")");
		
		var ob = document.getElementById("result_" + the_id);
		
		ob.style.display = 'none';
	}