function MM_openBrWindow(theURL,winName,features){w=window.open(theURL,winName,features);if(w&&window.focus){w.focus()}return w}function popup(url){return MM_openBrWindow(url,'popup','scrollbars=yes,resizable=yes,width=450,height=500')}function popupSized(url,w,h){return MM_openBrWindow(url,'popup','scrollbars=yes,resizable=yes,width='+w+',height='+h)}function timePicker(target,time){return MM_openBrWindow('/_php/selectTime.php?datetime='+time+'&target='+target,'select','scrollbars=no,resizable=yes,width=300,height=300')}function datePicker(target,date){return MM_openBrWindow('/_php/selectDate.php?date='+date+'&target='+target,'select','scrollbars=no,resizable=yes,width=300,height=300')}function imagePicker(target,path,image){return MM_openBrWindow('/_php/selectImage.php?target='+target+'&path='+path+'&image='+image,'select','scrollbars=yes,resizable=yes,width=600,height=500')}$(document).ready(function(){$('.jsVisible').show();$('table.trMarker tbody tr').mouseover(function(){$(this).addClass('trOn')}).mouseout(function(){$(this).removeClass('trOn')});$('a.popup').click(function(){popup($(this).attr('href'));return false});$('.goBack').click(function(){history.back();return false});$('.windowClose').click(function(){window.close();return false});$('.windowCloseUpdate').click(function(){window.opener.location.reload(true);window.close();return false});$('.jqToggleCheckboxes').click(function(){var check=$(this).attr("checked");$(this).parents('form').find("input:checkbox").each(function(){$(this).attr("checked",check)})});if(jQuery.browser.mozilla&&parseInt(jQuery.browser.version)>=3){$('div.tabs a').css({'-mozBorderTopLeftRadius':'5px','-mozBorderTopRightRadius':'5px','borderTopLeftRadius':'5px','borderTopRightRadius':'5px'});$('.box').css({'-mozBorderRadius':'5px','borderRadius':'5px'})}});jQuery.cookie=function(name,value,options){if(typeof value!='undefined'){options=options||{};if(value===null){value='';options.expires=-1}var expires='';if(options.expires&&(typeof options.expires=='number'||options.expires.toUTCString)){var date;if(typeof options.expires=='number'){date=new Date();date.setTime(date.getTime()+(options.expires*24*60*60*1000))}else{date=options.expires}expires='; expires='+date.toUTCString()}var path=options.path?'; path='+(options.path):'';var domain=options.domain?'; domain='+(options.domain):'';var secure=options.secure?'; secure':'';document.cookie=[name,'=',encodeURIComponent(value),expires,path,domain,secure].join('')}else{var cookieValue=null;if(document.cookie&&document.cookie!=''){var cookies=document.cookie.split(';');for(var i=0;i<cookies.length;i++){var cookie=jQuery.trim(cookies[i]);if(cookie.substring(0,name.length+1)==(name+'=')){cookieValue=decodeURIComponent(cookie.substring(name.length+1));break}}}return cookieValue}};