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_openBrWindow(theURL,winName,features) { //v2.0

  var myLocation = location.href;

  var newLoc;



  newLoc = theURL + "?REFERER=" + myLocation;

  window.open(newLoc,winName,features);

}

function show(name,src,caption) {
    if (document.images)
        document.images[name].src = src;
	if(caption)
		document.images[name].alt = caption;
}

function fillLabel(inField,inValue){
    if(inValue == ''){
	inValue = myCount + 1;
    }
    if(document.layers)    //NN4+
    {
       document.layers[inField].innerHTML = inValue;
    }
    else if(document.getElementById)      //gecko(NN6) + IE 5+
    {
        var obj = document.getElementById(inField);
        obj.innerHTML = inValue;
    }
    else if(document.all)       // IE 4
    {
        document.all[inField].innerHTML = inValue;
    }
}

function popUp(theURL,winName,features) {
       window.open(theURL,winName,features);
}