if (navigator.appVersion.indexOf("Mac")!=-1){
			function setCSS(css) {
				try {
					// append stylesheet to alter
					document.getElementsByTagName("head")[0].appendChild(css);
				} catch (e) {
					setTimeout(function(){setCSS(css)}, 100);
				}
			}
			
			// create CSS element to set up the page
			var css = document.createElement("link");
			css.setAttribute("href", "./css/mac.css");
			css.setAttribute("rel","stylesheet");
			css.setAttribute("type","text/css");
			
			// attempt to add the css and then keep trying till we do
			setCSS(css);
			css = null;
		
	}else{
		css = null;
	}
	
		if (navigator.appVersion.indexOf("Chrome/") != -1) {
		 function setCSS(css) {
					try {
						// append stylesheet to alter
						document.getElementsByTagName("head")[0].appendChild(css);
					} catch (e) {
						setTimeout(function(){setCSS(css)}, 100);
					}
				}
				
				// create CSS element to set up the page
				var css = document.createElement("link");
				css.setAttribute("href", "./css/chrome.css");
				css.setAttribute("rel","stylesheet");
				css.setAttribute("type","text/css");
				
				// attempt to add the css and then keep trying till we do
				setCSS(css);
				css = null;
			
		}else{
			css = null;
		}
$(document).ready(function(){
var ulist = jQuery("<ul></ul>");
jQuery(".photogallery table.photogalleryTable td").each(function(){
 ulist.append("<li>"+jQuery(this).html()+"</li>");
});
jQuery('.photogallery').append(ulist);
jQuery('.photogallery table.photogalleryTable').remove();

var ulist = jQuery("<ul></ul>");
jQuery(".gallerypage table.photogalleryTable td").each(function(){
 ulist.append("<li>"+jQuery(this).html()+"</li>");
});
jQuery('.gallerypage').append(ulist);
jQuery('.gallerypage table.photogalleryTable').remove();
});
	 
	 


