/***********************************************
* ShowPic 
***********************************************/

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; 
	} 
}

/***********************************************
* PreloadPic
***********************************************/

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

/************************************************
* Open Browser Window
*************************************************/


function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

