// JavaScript Document

function popUp(URL) {

day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=yes,location=0,statusbar=0,menubar=0,resizable=0,width='+580+',height='+768);");
}

    function lightup(imageobject){
    if (navigator.appName.indexOf("Netscape")!=-1&&parseInt(navigator.appVersion)>=5)
    imageobject.style.MozOpacity=opacity/100
    else if (navigator.appName.indexOf("Microsoft")!=-1&&parseInt(navigator.appVersion)>=4)
    imageobject.filters.alpha.opacity=100
}

    function lightoff(imageobject){
    if (navigator.appName.indexOf("Netscape")!=-1&&parseInt(navigator.appVersion)>=5)
    imageobject.style.MozOpacity=opacity/100
    else if (navigator.appName.indexOf("Microsoft")!=-1&&parseInt(navigator.appVersion)>=4)
    imageobject.filters.alpha.opacity=40
}

    function underline(val){
	   var itm = document.getElementById(val);
	   itm.style.textDecoration="underline";
	   itm.style.color="#FFFFFF";
	   itm.style.backgroundColor="#14474A";
}

    function underlineOff(val){
	   var itm = document.getElementById(val);
	   itm.style.textDecoration="none";
	   itm.style.color="#333333";
	   itm.style.backgroundColor="#FFFFFF";
}


if ((navigator.appName.indexOf('Microsoft')+1)) {
document.write('<style type="text/css"> .opacity1 {filter:alpha(opacity=50)} .opacity2 {filter:alpha(opacity=100)} </style>'); }
if ((navigator.appName.indexOf('Netscape')+1)) {
document.write('<style type="text/css"> .opacity1 {-moz-opacity:0.5} .opacity2 {-moz-opacity:1} </style>'); }
else {
document.write(''); }


function show(val){
	   var val = document.getElementById(val);
	   var itm = document.getElementById("foto-" + val);
	   val.style.color="#FFFFFF";
	   val.style.backgroundColor="#14474A";
	   itm.style.display="block";
}

