//[OPENPIC]

function openpic(title,url,lo,me,re,sc,st,to,closingtime,w,h,t,l)
{
 
var h=parseInt(h)+15;

 if(t<0 || l<0){l=Math.round((screen.availWidth-w)/2);t=Math.round((screen.availHeight-h)/2)-25;}
 aw=window.open('','','toolbar='+to+',menubar='+me+',scrollbars='+sc+',resizable='+re+',status='+st+',location='+lo+',width='+w+',height='+h+',top='+t+',left='+l);
 temp='<html><head><title>'+title+'<\/title><\/head><body style="margin:0;padding:0"><table cellspacing="0" cellpadding="0" style="width:100%;height:100%;background:#FFFFFF"><tr><td width="100%"><p align="center"><a href="javascript:window.close();"><img border="0" src="'+url+'"><\/a>';
 
 temp+='<tr><td height="100%"><p align="center" style="color:#000000;font: 9px Verdana;"><a href="javascript:window.close();">Close</a><\/td><\/tr>';

 temp+='<\/td><\/tr><\/table><\/body><\/HTML>';aw.document.write(temp);
 if (closingtime!=0) aw.setTimeout('window.close()',closingtime);
}

//[END]
//[TABLE-ROLLOVER]

var ns6=document.getElementById&&!document.all
var ie=document.all

function rollover_on(e,clr,type,r_ex,c_ex,table){
    el=ie?event.srcElement:e.target;
    if (el.tagName=="TABLE") return;
    while (el && (typeof el.cellIndex=='undefined')) {el=ie?el.parentElement:el=el.parentNode;}
    if (el)
    {
       if (el.tagName=="TABLE") return;
       if ((ie) || (el.parentNode.cells[1].cellIndex == 1)) {ci=el.cellIndex;} else {myCells=el.parentNode.cells;for(j=0; j<myCells.length; j++) {if(el== myCells[j]) ci=j;}}
       if (type=='TC' || type=='TRTC') {if (ci>0 || c_ex =='') {table.ci=ci;fc=(r_ex=='')?0:1;for(x=fc; x<table.rows.length;x++) table.rows[x].cells[ci].style.backgroundColor=clr;}}
       el=ie?event.srcElement:e.target;
       if (el.tagName=="TABLE") return;
       while(el.tagName!='TR' && el.tagName!="HTML") el=ns6?el.parentNode:el.parentElement;
       ri = el.rowIndex;
       if (type=='TRTC' || type=='TR') {if (r_ex=='' || ri>0) {table.ri=ri;fc=(c_ex=='')?0:1;for(x=fc; x<table.rows[ri].cells.length;x++)  table.rows[ri].cells[x].style.backgroundColor=clr;}}
       else if (type=='TD') {if((r_ex=='' || ri>0) && (c_ex=='' || ci>0)) {table.ri=ri;table.ci=ci;table.rows[ri].cells[ci].style.backgroundColor=clr;}}
    }
}

function rollover_off(e,clr,type,r_ex,c_ex,table){
    if ((type=='TC') || (type=='TRTC')){ if ((table.ci > 0) ||(c_ex=='')){fc=(r_ex=='')?0:1; for(x=fc; x<table.rows.length;x++) table.rows[x].cells[table.ci].style.backgroundColor=clr;}}
    if (type=='TRTC' || type=='TR') {if (table.rows[table.ri]) { fc=(c_ex=='')?0:1;for(x=fc; x<table.rows[table.ri].cells.length;x++) table.rows[table.ri].cells[x].style.backgroundColor=clr;}}
    if (type=='TD' && (table.rows[table.ri])){ table.rows[table.ri].cells[table.ci].style.backgroundColor=clr;}
}

//[END]
//[OPENHTML]

function openhtml(url,lo,me,re,sc,st,to,w,h,t,l)
{
 if(t<0 || l<0){l=Math.round((screen.availWidth-w)/2);t=Math.round((screen.availHeight-h)/2)-25;}
 aw=window.open(url,'_blank','toolbar='+to+',menubar='+me+',scrollbars='+sc+',resizable='+re+',status='+st+',location='+lo+',width='+w+',height='+h+',top='+t+',left='+l);
 aw.opener=self;aw.focus();return false;
}

//[END]
//[DROP_SCRIPT]

var b_el=null;var tog=false;
function ToggleBody(e_id,r){var b_state='none';var img=r+'images/expand.gif';if(tog&&(b_el!=null)&&(b_el.id!=e_id+"Body"))b_el.style.display='none';
if(document.getElementById){b_el=document.getElementById(e_id+"Body");u_img=document.getElementById(e_id+"Up");} else if(document.all){b_el=document.all[e_id+"Body"];u_img=document.all[e_id+"Up"];}
if(b_el!=null){if(b_el[0]){b_el=b_el[0];u_img=u_img[0];}if(b_el.style.display=="none"){img=r+"images/collapse.gif";b_state='block';}u_img.src=img;b_el.style.display=b_state;}return false;}

//[END]
//[OPENPIC]

function openpic(title,url,lo,me,re,sc,st,to,closingtime,w,h,t,l)
{
 
var h=parseInt(h)+15;

 if(t<0 || l<0){l=Math.round((screen.availWidth-w)/2);t=Math.round((screen.availHeight-h)/2)-25;}
 aw=window.open('','','toolbar='+to+',menubar='+me+',scrollbars='+sc+',resizable='+re+',status='+st+',location='+lo+',width='+w+',height='+h+',top='+t+',left='+l);
 temp='<html><head><title>'+title+'<\/title><\/head><body style="margin:0;padding:0"><table cellspacing="0" cellpadding="0" style="width:100%;height:100%;background:#FFFFFF"><tr><td width="100%"><p align="center"><a href="javascript:window.close();"><img border="0" src="'+url+'"><\/a>';
 
 temp+='<tr><td height="100%"><p align="center" style="color:#000000;font: 9px Verdana;"><a href="javascript:window.close();">Close</a><\/td><\/tr>';

 temp+='<\/td><\/tr><\/table><\/body><\/HTML>';aw.document.write(temp);
 if (closingtime!=0) aw.setTimeout('window.close()',closingtime);
}

//[END]
//[TABLE-ROLLOVER]

var ns6=document.getElementById&&!document.all
var ie=document.all

function rollover_on(e,clr,type,r_ex,c_ex,table){
    el=ie?event.srcElement:e.target;
    if (el.tagName=="TABLE") return;
    while (el && (typeof el.cellIndex=='undefined')) {el=ie?el.parentElement:el=el.parentNode;}
    if (el)
    {
       if (el.tagName=="TABLE") return;
       if ((ie) || (el.parentNode.cells[1].cellIndex == 1)) {ci=el.cellIndex;} else {myCells=el.parentNode.cells;for(j=0; j<myCells.length; j++) {if(el== myCells[j]) ci=j;}}
       if (type=='TC' || type=='TRTC') {if (ci>0 || c_ex =='') {table.ci=ci;fc=(r_ex=='')?0:1;for(x=fc; x<table.rows.length;x++) table.rows[x].cells[ci].style.backgroundColor=clr;}}
       el=ie?event.srcElement:e.target;
       if (el.tagName=="TABLE") return;
       while(el.tagName!='TR' && el.tagName!="HTML") el=ns6?el.parentNode:el.parentElement;
       ri = el.rowIndex;
       if (type=='TRTC' || type=='TR') {if (r_ex=='' || ri>0) {table.ri=ri;fc=(c_ex=='')?0:1;for(x=fc; x<table.rows[ri].cells.length;x++)  table.rows[ri].cells[x].style.backgroundColor=clr;}}
       else if (type=='TD') {if((r_ex=='' || ri>0) && (c_ex=='' || ci>0)) {table.ri=ri;table.ci=ci;table.rows[ri].cells[ci].style.backgroundColor=clr;}}
    }
}

function rollover_off(e,clr,type,r_ex,c_ex,table){
    if ((type=='TC') || (type=='TRTC')){ if ((table.ci > 0) ||(c_ex=='')){fc=(r_ex=='')?0:1; for(x=fc; x<table.rows.length;x++) table.rows[x].cells[table.ci].style.backgroundColor=clr;}}
    if (type=='TRTC' || type=='TR') {if (table.rows[table.ri]) { fc=(c_ex=='')?0:1;for(x=fc; x<table.rows[table.ri].cells.length;x++) table.rows[table.ri].cells[x].style.backgroundColor=clr;}}
    if (type=='TD' && (table.rows[table.ri])){ table.rows[table.ri].cells[table.ci].style.backgroundColor=clr;}
}

//[END]
//[OPENHTML]

function openhtml(url,lo,me,re,sc,st,to,w,h,t,l)
{
 if(t<0 || l<0){l=Math.round((screen.availWidth-w)/2);t=Math.round((screen.availHeight-h)/2)-25;}
 aw=window.open(url,'_blank','toolbar='+to+',menubar='+me+',scrollbars='+sc+',resizable='+re+',status='+st+',location='+lo+',width='+w+',height='+h+',top='+t+',left='+l);
 aw.opener=self;aw.focus();return false;
}

//[END]
//[DROP_SCRIPT]

var b_el=null;var tog=false;
function ToggleBody(e_id,r){var b_state='none';var img=r+'images/expand.gif';if(tog&&(b_el!=null)&&(b_el.id!=e_id+"Body"))b_el.style.display='none';
if(document.getElementById){b_el=document.getElementById(e_id+"Body");u_img=document.getElementById(e_id+"Up");} else if(document.all){b_el=document.all[e_id+"Body"];u_img=document.all[e_id+"Up"];}
if(b_el!=null){if(b_el[0]){b_el=b_el[0];u_img=u_img[0];}if(b_el.style.display=="none"){img=r+"images/collapse.gif";b_state='block';}u_img.src=img;b_el.style.display=b_state;}return false;}

//[END]
