	function showPic(whichpic) {
  	if (document.getElementById) {
    document.getElementById('placeholder').src = whichpic.href;
    if (whichpic.title) {
      document.getElementById('desc').childNodes[0].nodeValue = whichpic.title;
    } else {
      document.getElementById('desc').childNodes[0].nodeValue = whichpic.childNodes[0].nodeValue;
    }
    return false;
  	} else {
  	return true;
  	}
	}

	var previousToggle=null;
	function toggleMe(a){
  	var e=document.getElementById(a);
  	if(!e)return true;
  	if(e.style.display=="none"){
    e.style.display="block";
    if(previousToggle)previousToggle.style.display="none";
    previousToggle=e;
  	}
  	return true;
	}


	var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
	function myFlash_DoFSCommand(command, args)                {
	  var myFlashObj = InternetExplorer ? myFlash : document.myFlash;
	  if(args == "over"){
	  	document.getElementById("menu").style.zIndex = 3;
	  }else{
	  	document.getElementById("menu").style.zIndex = 1;
	  }
	}
	if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && 
	  navigator.userAgent.indexOf("Windows") 
	!= -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
	  document.write('<SCRIPT LANGUAGE=VBScript\> \n');
	  document.write('on error resume next \n');
	  document.write('Sub myFlash_FSCommand(ByVal command, ByVal args)\n');
	  document.write(' call myFlash_DoFSCommand(command, args)\n');
	  document.write('end sub\n');
	  document.write('</SCRIPT\> \n');
	} 
    	
	function CenterWindow(){

  		var myWidth = 0
  		if( typeof( window.innerWidth ) == 'number' ) {
    	//Non-IE
    	myWidth = window.innerWidth;
  	} else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ){
    //IE 6+ in 'standards compliant mode'
    myWidth = document.documentElement.clientWidth;
  	} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    //IE 4 compatible
    myWidth = document.body.clientWidth;
  	}
	document.getElementById('content').style.left = (myWidth*0.5) -415;
	}
	
	function MM_swapImgRestore() { //v3.0
  	var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
	}

	function MM_preloadImages() { //v3.0
  	var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
	}

	function MM_swapImage() { //v3.0
  	var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   	if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
	}
	
	
	
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
  return false;
}


