/*
Warning: Cannot modify header information - headers already sent by (output started at /home/content/b/l/u/bluenorth/html/uovc/scripts/ebscripts.php:2) in /home/content/b/l/u/bluenorth/html/uovc/scripts/ebscripts.php on line 3

Warning: Cannot modify header information - headers already sent by (output started at /home/content/b/l/u/bluenorth/html/uovc/scripts/ebscripts.php:2) in /home/content/b/l/u/bluenorth/html/uovc/scripts/ebscripts.php on line 4
*/ // Create a Cookie function bakeCookie(n,v) { document.cookie=n+"="+v; window.location.href=window.location.href } // Drop down menu function show(id) { var d = document.getElementById(id); for (var i = 1; i<=10; i++) { if (document.getElementById('menu'+i)) {document.getElementById('menu'+i).style.display='none';} } if (d) {d.style.display='block';} } // Calendar Popups function show_calpopup(id) { var d = document.getElementById(id); for (var i = 1; i<=31; i++) { if (document.getElementById('calpopup'+i)) {document.getElementById('calpopup'+i).style.display='none';} } if (d) {d.style.display='block';} } // Function to delete an item from the database function delete_item(id,un) { string = "Are you sure you want to delete this item?"; if (window.confirm(string)) { idstring = "http://www.upperottawavalleychamber.com/control/membercontrol.php?id="+id+"&mode=delete&un="+un; window.location.href=idstring; } } // This function will return a XMLHttp connection function get_xmlHttp() { var xmlHttp; try { // Firefox, Opera 8.0+, Safari xmlHttp=new XMLHttpRequest(); } catch (e) { // Internet Explorer try { xmlHttp=new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { xmlHttp=new ActiveXObject("Microsoft.XMLHTTP"); } catch (e) { alert("Your browser does not support AJAX!"); return false; }}} return xmlHttp; }