// JavaScript Document function bookmarksite(title, url){ if (document.all){ window.external.AddFavorite(url, title); }else if (window.sidebar){ window.sidebar.addPanel(title, url, "") } } function WindowPopup(pageURL,popupName,h,w,showScrolls) { window.open (pageURL, popupName, "width=" + w + ",height=" + h + ",screenX=20,screenY=20,left=20,top=20,resizable=yes,status=no,toolbar=no,scrollbars="+showScrolls); } function CountClick(galleryid){ var ajaxRequest; // The variable that makes Ajax possible! try{ // Opera 8.0+, Firefox, Safari ajaxRequest = new XMLHttpRequest(); } catch (e){ // Internet Explorer Browsers try{ ajaxRequest = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try{ ajaxRequest = new ActiveXObject("Microsoft.XMLHTTP"); } catch (e){ // Something went wrong //alert("Your browser broke!"); return false; } } } //count ajax hit var AjaxQueryString = "http://www.pinkems.com/ajax/counthits.php?id=" + galleryid; ajaxRequest.open("GET", AjaxQueryString, true); ajaxRequest.send(null); }