<!--


var head="display:''"
imgA=new Image()
imgA.src="web/plus_sign.gif"
imgB=new Image()
imgB.src="web/minus_sign.gif"

var ns6=document.getElementById&&!document.all
var ie4=document.all&&navigator.userAgent.indexOf("Opera")==-1

function checkcontained(e){
var iscontained=0
cur=ns6? e.target : event.srcElement
i=0
if (cur.id=="foldheader")
iscontained=1
else
while (ns6&&cur.parentNode||(ie4&&cur.parentElement)){
if (cur.id=="foldheader"||cur.id=="foldinglist"){
iscontained=(cur.id=="foldheader")? 1 : 0
break
}
cur=ns6? cur.parentNode : cur.parentElement
}

if (iscontained){
var foldercontent=ns6? cur.nextSibling.nextSibling : cur.all.tags("UL")[0]
if (foldercontent.style.display=="none"){
foldercontent.style.display=""
cur.style.listStyleImage="url(web/minus_sign.gif)"
}
else{
foldercontent.style.display="none"
cur.style.listStyleImage="url(web/plus_sign.gif)"
}
}
}

if (ie4||ns6)
document.onclick=checkcontained

function expandTree(treeId) {
	var ul = document.getElementById(treeId);
	if (ul == null) { return false; }
	expandCollapseList(ul,nodeOpenClass);
}


function showImage (url, windowName, imageDescription, featureString, PDF_url) { 
     var win = window.open('', windowName, featureString);
     var html = ''; 
//     var widthFactor = 3
//     var heightFactor = 3
//     b = new Image();
//     b.src = url;
//     sw=b.width;
//     sh=b.height;
//     html += '<img src="' + url + '" width="' + sw*widthFactor + '" height="' + sh*heightFactor + '"'; 
     html += '<html><head>'; 
     html += '<title>' + imageDescription + '<\/title>'; 
     html += '<style type="text/css">html, body { padding: 0; margin: 0}'; 
     html += '<\/style>'; 	
     html += '<link rel="stylesheet" type="text/css" href="web\/styles.css">'
     html += '<\/head>'; 
     html += '<body><table border="0" width="100%" bgcolor="#FFFFFF" cellspacing="0" cellpadding="0">'
     html += '<tr><td><br><br>'; 
     html += '<center><strong><A href ="' + PDF_url + '" + Target="_blank" + >';
//     html += '<img src="' + url + '" width="40%" height="40%"'; 
     html += '<img src="' + url + '" width="375" height="342"'; 
     html += ' alt="' + imageDescription + '" align=middle>'; 
     html += '<BR><font size="6">' + imageDescription + '</font></A></strong><\/center>';
     html += '</td></tr><tr><td height="30">&nbsp;</td></tr><tr><td height="520">&nbsp;</td></tr></table>'
     html += '<\/body>'; 
     html += '<\/html>'; 
     win.document.open(); 
     win.document.write(html); 
     win.document.close(); 
   }




function showIDrop (Object, url, windowName, imageDescription, featureString, PDF_url) { 
     var win = window.open('', windowName, featureString); 
     var html = ''; 
//     var widthFactor = 3
//     var heightFactor = 3
//     b = new Image();
//     b.src = url;
//     sw=b.width;
//     sh=b.height;
//     html += '<img src="' + url + '" width="' + sw*widthFactor + '" height="' + sh*heightFactor + '"'; 
     html += '<html><head>'; 
     html += '<title>' + imageDescription + '<\/title>'; 
     html += '<style type="text/css">html, body { padding: 0; margin: 0}'; 
     html += '<\/style>'; 
     html += '<link rel="stylesheet" type="text/css" href="web\/styles.css">'
     html += '<\/head>'; 
     html += '<body><table border="0" width="100%" bgcolor="#FFFFFF" cellspacing="0" cellpadding="0">'
     html += '<tr><td><br><br>'; 
     html += '<center><strong><A href ="' + PDF_url + '" + Target="_blank" + >';
     html += '<object name="idrop" classid="clsid:21E0CB95-1198-4945-A3D2-4BF804295F78" width="375" height="342">';
     html += '<param name="background" value="images/web/background.jpg">';
     html += '<param name="proxyrect" value="0,0, 375, 342">';
     html += '<param name="griprect" value="0, 0, 375, 342">';
     html += '<param name="package" value="' + Object + '"/>';
     html += '<param name="validate" value="1">';
//     html += '<img src="' + url + '" width="40%" height="40%"'; 
     html += '<img src="' + url + '" width="375" height="342"'; 
     html += ' alt="' + imageDescription + '" align=middle>'; 
     html += '</object>';
     html += '<BR><font size="6">' + imageDescription + '</font></A></strong><\/center>';
     html += '</td></tr><tr><td height="30">&nbsp;</td></tr><tr><td height="520">&nbsp;</td></tr></table>'
     html += '<\/body>'; 
     html += '<\/html>'; 
     win.document.open(); 
     win.document.write(html); 
     win.document.close(); 
   }
//-->
