//[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]
//[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]
//[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;}
 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 width="'+w+'" border="0" src="'+url+'"><\/a>';
 
 temp+='<\/td><\/tr><\/table><\/body><\/HTML>';aw.document.write(temp);
 if (closingtime!=0) aw.setTimeout('window.close()',closingtime);
}

//[END]
//[BOOKMARKS_JS]

var bid,bim,t;
function sClo(){bid.style.display='none';}
function sCls(){if(typeof t!="undefined")clearTimeout(t);}
function sTim(){t=setTimeout("sClo()",1000);}
function sBkm(h,w,id){sCls();bim=document.getElementById('bim');bid=document.getElementById('bkf'+id);bid.style.display='block';cid=document.getElementById('bkc'+id);var tt=0,ll=0;do{tt+=cid.offsetTop||0;ll+=cid.offsetLeft||0;cid=cid.offsetParent;}while(cid);cw=document.body.clientWidth;if(typeof(window.innerWidth)=='number') ch=window.innerHeight;else if(document.documentElement && document.documentElement.clientHeight) ch=document.documentElement.clientHeight;else ch=document.body.clientHeight;st=document.documentElement.scrollTop;sl=document.documentElement.scrollLeft;if((tt-h-st)>0)bid.style.top='-'+(h+2)+'px';else bid.style.top=bim.height+'px';if((ll+w)>(cw-sl))bid.style.left='-'+(w-bim.width)+'px';else bid.style.left='0px';}

//[END]
