function popup(o,l,I,i){if(!i){i='_popup'}
window.open(o.replace(/&amp;/g,'&'),i,'height='+I+',resizable=yes,scrollbars=yes, width='+l);return false}
function jumpto(){var l=prompt(jump_page,on_page);if(l!==null&&!isNaN(l)&&l>0){var i=(l-1)*per_page;if(base_url.indexOf('?')>=0){document.location.href=base_url.replace(/&amp;/g,'&')+'&start='+i}else if(i>0){var I=base_url.match(/\.[a-z0-9]+$/i);if(I!==null){document.location.href=base_url.replace(/\.[a-z0-9]+$/i,'')+seo_delim_start+i+I}
var o=base_url.match(/\/$/);if(o!==null){document.location.href=base_url+seo_static_pagination+i+seo_ext_pagination}}else{document.location.href=base_url}}}
function marklist(id,name,state){var parent=document.getElementById(id);if(!parent){eval('parent = document.'+id)}
if(!parent){return}
var rb=parent.getElementsByTagName('input');for(var r=0;r<rb.length;r++){if(rb[r].name.substr(0,name.length)==name){rb[r].checked=state}}}
function viewableArea(I,i){if(!I)return;if(!i){I=I.parentNode}
if(!I.vaHeight){I.vaHeight=I.offsetHeight;I.vaMaxHeight=I.style.maxHeight;I.style.height='auto';I.style.maxHeight='none';I.style.overflow='visible'}else{I.style.height=I.vaHeight+'px';I.style.overflow='auto';I.style.maxHeight=I.vaMaxHeight;I.vaHeight=false}}
function dE(I,l){var i=document.getElementById(I);if(!l){l=(i.style.display==''||i.style.display=='block')?-1:1}
i.style.display=(l==1)?'block':'none'}
function subPanels(o){var l,I,i;if(typeof(o)=='string'){show_panel=o}
for(l=0;l<panels.length;l++){I=document.getElementById(panels[l]);i=document.getElementById(panels[l]+'-tab');if(I){if(panels[l]==show_panel){I.style.display='block';if(i){i.className='activetab'}}else{I.style.display='none';if(i){i.className=''}}}}}
function printPage(){if(is_ie){printPreview()}else{window.print()}}
function displayBlocks(l,I,c){var O=(I.checked==true)?1:-1;if(c){O*=-1}
var i=document.getElementsByTagName("DIV");for(var o=0;o<i.length;o++){if(i[o].className.indexOf(l)==0){i[o].style.display=(O==1)?'none':'block'}}}
function selectCode(o){var l=o.parentNode.parentNode.getElementsByTagName('CODE')[0];if(window.getSelection){var I=window.getSelection();if(I.setBaseAndExtent){I.setBaseAndExtent(l,0,l,l.innerText.length-1)}
else{var i=document.createRange();i.selectNodeContents(l);I.removeAllRanges();I.addRange(i)}}
else if(document.getSelection){var I=document.getSelection(),i=document.createRange();i.selectNodeContents(l);I.removeAllRanges();I.addRange(i)}
else if(document.selection){var i=document.body.createTextRange();i.moveToElementText(l);i.select()}}
function play_qt_file(l){var i=l.GetRectangle();if(i){i=i.split(',');var O=parseInt(i[0]),v=parseInt(i[2]),c=parseInt(i[1]),C=parseInt(i[3]),o=(O<0)?(O*-1)+v:v-O;var I=(c<0)?(c*-1)+C:C-c}else{var o=200,I=0};l.width=o;l.height=I+16;l.SetControllerVisible(true);l.Play()}