//[OPENPIC]

function openpic(title,url,lo,me,re,sc,st,to,closingtime,w,h,t,l)
{
 
 if (t<0 || l<0){l=Math.round((screen.availWidth-w)/2);t=Math.round((screen.availHeight-h)/2)-25;}
 if (navigator.appName=='Netscape' && navigator.appVersion.substring(0,1)=='4')
 {
   aw=window.open('','','toolbar='+to+',menubar='+me+',scrollbars='+sc+',resizable='+re+',status='+st+',location='+lo+',width='+w+',height='+h+',top='+t+',left='+l);
   aw.document.location=url;
   return false;
 }
 else
 {
   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">';
   temp=temp+'<table border="0" cellspacing="0" cellpadding="0" style="width:100%;height:100%;background: #FFFFFF">';
   temp=temp+'<tr><td width="100%">';
   temp=temp+'<p align="center"><a href="javascript:window.close();"><img src="' + url + '" border="0"><\/a>';
   
   temp=temp+'<\/td><\/tr>';
   temp=temp+'<\/table>';
   temp=temp+'<\/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,excl){
el=ie? event.srcElement : e.target
if (el.tagName=="TABLE") return
while(el.tagName!=type && el.tagName!="HTML")  el=ns6? el.parentNode : el.parentElement
if (type=='TR') { if (el.id =='' || excl.indexOf(el.id) == -1) {   for(x=0; x<el.childNodes.length;x++)  if (el.childNodes[x].tagName == 'TD')  el.childNodes[x].style.backgroundColor=clr; }}
else { elr=ns6? el.parentNode : el.parentElement; if (elr.id =='' || excl.indexOf(elr.id) == -1)  el.style.backgroundColor=clr; } 
}

function rollover_off(e,clr,type,excl){
if (ie&&(event.fromElement.contains(event.toElement)||el.contains(event.toElement))||el.tagName=="TABLE") return
if (type=='TR') { if (el.id =='' || excl.indexOf(el.id) == -1) { for(x=0; x<el.childNodes.length;x++) {if (el.childNodes[x].tagName == 'TD') el.childNodes[x].style.backgroundColor=clr }}}
else if (ie&&e.toElement!=el||ns6&&e.relatedTarget!=el) {elr=ns6? el.parentNode : el.parentElement; if (elr.id =='' || excl.indexOf(elr.id) == -1)  el.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]
