// JavaScript Document

function loadFlash(id,w,h,file){
	getObject(id).innerHTML = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="'+w+'" height="'+h+'" id="Intro" align="middle"><param name="allowScriptAccess" value="sameDomain" /><param name="movie" value="'+file+'" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><embed src="'+file+'" quality="high" bgcolor="#000000" width="'+w+'" height="'+h+'" name="Intro" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>';
	
	
}

var pageID;
	var subPageID;
	
	function getObject(id){
		//	retrieve object
		//------------------------------
		if (document.getElementById){
		   OBJ = document.getElementById(id);
		}
		else if (document.all){
		   OBJ = document.all[id];
		}
		else if (document.layers){
			if (document.layers[id]){
				OBJ = document.layers[id];
			}
		}
		//	return object to caller
		//------------------------------
		return OBJ;
	}

	function setPage(pageID){		
			OBJ = getObject(pageID).firstChild;
			//OBJ.style["fontWeight"]="bold";	
			/*OBJ.style["filter"]="alpha(opacity=100)"; 
			OBJ.style["-moz-opacity"]= 1.0; 
			OBJ.style["opacity"]= 1.0;*/
			OBJ.style.color="#FFFFFF";
			
	}
	
	function setSubPage(subPageID){		
			OBJ = getObject(subPageID);
			OBJ.style["backgroundImage"]="url('images/leftNav_over.gif')";		
	}