
	function popUp(URL) {
		day = new Date();
		id = day.getTime();
		eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=500,height=500,left = 710,top = 350');");
		}
		

	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_findObj(n, d) { //v4.01
	  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
	    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
	  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
	  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
	  if(!x && d.getElementById) x=d.getElementById(n); return x;
	}
	
	function MM_showHideLayers() { //v6.0
	  var i,p,v,obj,args=MM_showHideLayers.arguments;
	  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
	    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
	    obj.visibility=v; }
	}


	var listMenu = new FSMenu('listMenu', true, 'display', 'block', 'none');
	listMenu.cssLitClass = 'highlighted';
	listMenu.animations[listMenu.animations.length] = FSMenu.animFade;
	listMenu.animations[listMenu.animations.length] = FSMenu.animSwipeDown;
	var arrow = null;
	if (document.createElement && document.documentElement)
	{
	 arrow = document.createElement('span');
	 arrow.appendChild(document.createTextNode(''));
	
	 arrow.className = 'subind';
	}

	function colorActive(id){
		if(document.getElementById('a' + id) != null){
		var elm = document.getElementById('a' + id);
		elm.style.color = '#B66127';
		}
	}
	function showContainer(){
		var elm = document.getElementById('mainContainer');
		elm.style.visibility = "visible";
	}
	function rand(n){ 
	  return ( Math.floor ( Math.random ( ) * n + 1 ) ); 
	}
	
	function callTimeout(f,t){
	window.setTimeout(f,t);
	}
	
	function getRandomItems(a, n) {
	var b = new Array();
	var r;
	while( b.length < n ) {
		r = Math.round(Math.random()*a.length+1);
		for( var i=0; i<b.length; i++ ) 
			if( b[i] == r ) 
				r = null;
		if( r != null )
			b.push(r);
	}
	return b;
}
		
	function imgAppear() {
//new Fx.Style("myDiv1", "opacity").start(1.0);
	var nums = [1,3,4,5,6,7,8,9,10,11,12]; // array of numbers
	var faders = getRandomItems(nums, 5); // get 5 random pickings fr

	for(i=0;i<faders.length;i++){
		if (faders[i] != 2){
			$('img' + faders[i]).style.display='none';
		}
	}
	
	for(i=0;i<faders.length;i++){
		if (faders[i] != 2){
			callTimeout('Effect.Appear(\'img' + faders[i] + '\', {duration:.8})',i*1000);
			
			}
		}
	}
	
	var processingFade = false;
	var fadeCounter = -1;
	var currentMouseOver = '';
	
	function initFadeContainer(id){
		fadeCounter = 0;
		fadeContainer(id);
	}
	
	function fadeContainer(id){
	if(fadeCounter>=0 && fadeCounter<10){
		fadeCounter = fadeCounter + 1;
		window.setTimeout(function(){fadeContainer(id)},30);
		return false;
	}
	if(fadeCounter == 10){
		currentMouseOver = id;
		fadeCounter = 0;
		processingFade = true;
		fader('vision');
		fader('Navigation');
		fader('careerbox');
		fader('newsbox');
		fader('crumb');
		//var cont = document.getElementById('vision');
		//cont.style.opacity = '0.1';
		//cont.style.filter = 'alpha(opacity=10)';
		/*
		var cont2 = document.getElementById('Navigation');
		cont2.style.opacity = '0.1';
		cont2.style.filter = 'alpha(opacity=10)';
		var cont3 = document.getElementById('careerbox');
		cont3.style.opacity = '0.1';
		cont3.style.filter = 'alpha(opacity=10)';
		var cont4 = document.getElementById('newsbox');
		cont4.style.opacity = '0.1';
		cont4.style.filter = 'alpha(opacity=10)';
		var cont5 = document.getElementById('crumb');
		cont5.style.opacity = '0.1';
		cont5.style.filter = 'alpha(opacity=10)';
		*/
		var contList = '1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17';
		var contArray = contList.split(',');
		
		for(i=0;i<contArray.length;i++){
			if (contArray[i] == id || contArray[i] == 2)continue;
			//$('dlg' + contArray[i]).style.opacity = '0.1';
			// $('dlg' + contArray[i]).style.filter = 'alpha(opacity=10)';
			fader('dlg' + contArray[i]);
			
			processingFade = false; 
		}
	}
	
	
	}
	
	function removefadeContainer(){
	if(processingFade){
		window.setTimeout(removefadeContainer,100);
		return false;
	}
	if(currentMouseOver == ''){
		fadeCounter = -1;
	}
	
	var cont = document.getElementById('vision');
	if((!document.all && cont.style.opacity != '0.1' && cont.style.opacity != '') || (document.all && cont.style.filter != 'alpha(opacity=10)' && cont.style.filter != 'alpha(opacity=9.999999999999998)' && cont.style.filter != '')){
		window.setTimeout(removefadeContainer,100);
		return false;
	}
	cont.style.opacity = '';
	cont.style.filter = '';
	var cont2 = document.getElementById('Navigation');
	if((!document.all && cont2.style.opacity != '0.1' && cont2.style.opacity != '') || (document.all && cont2.style.filter != 'alpha(opacity=10)' && cont2.style.filter != 'alpha(opacity=9.999999999999998)' && cont2.style.filter != '')){
		window.setTimeout(removefadeContainer,100);
		return false;
	}
	cont2.style.opacity = '';
	cont2.style.filter = '';
	var cont3 = document.getElementById('careerbox');
	if((!document.all && cont3.style.opacity != '0.1' && cont3.style.opacity != '') || (document.all && cont3.style.filter != 'alpha(opacity=10)' && cont3.style.filter != 'alpha(opacity=9.999999999999998)' && cont3.style.filter != '')){
		window.setTimeout(removefadeContainer,100);
		return false;
	}
	cont3.style.opacity = '';
	cont3.style.filter = '';
	var cont4 = document.getElementById('newsbox');
	if((!document.all && cont4.style.opacity != '0.1' && cont4.style.opacity != '') || (document.all && cont4.style.filter != 'alpha(opacity=10)' && cont4.style.filter != 'alpha(opacity=9.999999999999998)' && cont4.style.filter != '')){
		window.setTimeout(removefadeContainer,100);
		return false;
	}
	cont4.style.opacity = '';
	cont4.style.filter = '';
	var cont5 = document.getElementById('crumb');
	if((!document.all && cont5.style.opacity != '0.1' && cont5.style.opacity != '') || (document.all && cont5.style.filter != 'alpha(opacity=10)' && cont5.style.filter != 'alpha(opacity=9.999999999999998)' && cont5.style.filter != '')){
		window.setTimeout(removefadeContainer,100);
		return false;
	}
	cont5.style.opacity = '';
	cont5.style.filter = '';
	
	var contList = '1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17';
	var contArray = contList.split(',');
	
	for(i=0;i<contArray.length;i++){
		if((!document.all && $('dlg' + contArray[i]).style.opacity != '0.1' && $('dlg' + contArray[i]).style.opacity != '') || (document.all && $('dlg' + contArray[i]).style.filter != 'alpha(opacity=10)' && $('dlg' + contArray[i]).style.filter != 'alpha(opacity=9.999999999999998)' && $('dlg' + contArray[i]).style.filter != '')){
			window.setTimeout(removefadeContainer,100);
			return false;
		}
		$('dlg' + contArray[i]).style.opacity = '';
		$('dlg' + contArray[i]).style.filter = '';
	
	}
	currentMouseOver = '';
	}
	