var r_validDigits = /^([0-9]+)$/ var r_validNumber = /^([-+]?([0-9]*\.)?[0-9]+)$/ var r_validChars = /^([0-9A-Za-z]+)$/ var r_validEmail = /^([0-9a-zA-Z]+[-._+&])*[0-9a-zA-Z]+@([-0-9a-zA-Z]+[.])+[a-zA-Z]{2,6}$/ //var r_validDate = /^(?=\d)(?:(?:31(?!.(?:0?[469]|11))|(?:30|29)(?!.0?2)|29(?=.0?2.(?:(?:(?:1[6-9]|[2-9]\d)?(?:0[48]|[2468][048]|[13579][26])|(?:(?:16|[2468][048]|[3579][26])00))))|(?:2[0-8]|1\d|0?[1-9]))([-./])(?:1[012]|0?[1-9])\1(?:1[6-9]|[2-9]\d)?\d\d)?(\x20?((0?[1-9]|1[012])(:[0-5]\d){0,2}(\x20[AP]M))|([01]\d|2[0-3])(:0-5]\d){1,2})?$/ function popup(s,x,y) { window.open(s, 'popup'+x, 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width='+x+',height='+y); } var show_menu_curr = ''; function show_menu_On(x) { t = document.getElementById('show_menu_'+x); if(t) t.className = 'show_menu show_menu_on'; } function show_menu_Off(x) { if(x!=show_menu_curr) { t = document.getElementById('show_menu_'+x); if(t) t.className = 'show_menu show_menu_off'; } } function show_menu_Set(x) { show_menu_curr = x; show_menu_On(x); } var show_series_menu_curr = ''; function show_series_menu_On(x) { t = document.getElementById('show_series_menu_'+x); if(t) t.className = 'show_series_menu show_series_menu_on'; } function show_series_menu_Off(x) { if(x!=show_series_menu_curr) { t = document.getElementById('show_series_menu_'+x); if(t) t.className = 'show_series_menu show_series_menu_off'; } } function show_series_menu_Set(x) { show_series_menu_curr = x; show_series_menu_On(x); } var show_browse_menu_curr = ''; function show_browse_menu_On(x) { t = document.getElementById('show_browse_menu_'+x); if(t) t.className = 'show_series_menu show_series_menu_on'; } function show_browse_menu_Off(x) { if(x!=show_browse_menu_curr) { t = document.getElementById('show_browse_menu_'+x); if(t) t.className = 'show_series_menu show_series_menu_off'; } } function show_browse_menu_Set(x) { show_browse_menu_curr = x; show_browse_menu_On(x); } function conf(s) { if(confirm('Are you sure?')) { window.open(s,'_self'); } } function checkImages() { for(i=0;i