<!--var bVersion = parseInt(navigator.appVersion);  //get browser version number// functionsfunction open_contact_window() {  winWidth = 380;  winHeight = 240;  if (bVersion > 3) {  scrOffsetX = (screen.availWidth - winWidth)/2;  scrOffsetY = (screen.availHeight - winHeight)/2; }  else {  scrOffsetX = 10;  scrOffsetY = 10;  }    tdetails = 'toolbar=0,location=0,directories=0, status=0,menubar=0,scrollbars=0,resizable=0,width=' + winWidth + ',height=' + winHeight + ',innerwidth=' + winWidth + ',innerheight=' + winHeight + ',screenX=' + scrOffsetX + ',screenY=' + scrOffsetY + ',left=' + scrOffsetX + ',top=' + scrOffsetY;    kerpow = window.open("","",tdetails);   kerpow.document.open();    theHTML = "<html> <head> <title>c o n t a c t _ m e</title> </head>";  theHTML = theHTML + "<body bgcolor='#999999' text='#000000' link='#336666'>";  theHTML = theHTML + "<table cellpadding='20'> <tr> <td>";  theHTML = theHTML + "<p><font face='Helvetica, Arial, sans-serif' color='#000000' size='+2'><b>Richard Ross<br> <font color='#FFFFFF'>Contact Details</font></b></font></p>";        theHTML = theHTML + "<p><b><font face='Helvetica, Arial, sans-serif' color='#000000'>Richard is based in San Francisco</font></b>";	    theHTML = theHTML + "<p><b><font face='Helvetica, Arial, sans-serif' color='#000000'>email: <a href='mailto:portfolio@";     theHTML = theHTML + "wecurious.com'>portfolio@";  theHTML = theHTML + "wecurious.com</a><pr> </font></b>";    theHTML = theHTML + "<p><b><font face='Helvetica, Arial, sans-serif' color='#000000'>tel: 415.550.0668</font></b> </td> </tr> </table> </body> </html>";  kerpow.document.write(theHTML);  kerpow.document.close();  kerpow.focus();  }function open_window(url, x, y) {tdetails = 'toolbar=0,location=0,directories=0, status=0,menubar=0,scrollbars=0,resizable=0,width=' + x + ',height=' + y;kerpow1 = window.open(url,'kerpow',tdetails);if ( bVersion > 3) kerpow1.moveTo((screen.width - x)/2, (screen.height - y)/2);kerpow1.focus();}// browser checkvar isMinNS4 = (navigator.appName.indexOf("Netscape") >= 0 && parseFloat(navigator.appVersion) >= 4) ? 1 : 0;var isMinNS6 = (isMinNS4 && navigator.userAgent.indexOf("Gecko")>=0) ? 1 : 0;var isMinIE4 = (document.all) ? 1 : 0;var isMinIE5 = (isMinIE4 && navigator.appVersion.indexOf("5.")) >= 0 ? 1 : 0;var isDOM = (document.getElementById) ? 1 : 0;// functionsfunction open_image(imagesrc,imgwidth,imgheight) {	//<a href="/tomas/img/photos/covered-graf.jpg"//onClick="open_image(this.href,450,733);return false">image</a>	if (isMinNS4) {		// Mozilla and Netscape window size fix		winwidth = imgwidth + 4;		winheight = imgheight + 4;	} else {		winwidth = imgwidth;		winheight = imgheight;	}		var sX = (screen.width - winwidth) / 2;    var sY = (screen.height - winheight) / 2 - 30;	var wstring = "width=" + winwidth;	var hstring = "height=" + winheight;		var winParams = wstring + "," + hstring + ",left=" + sX  + ",top=" + sY  + ",toolbar=0,resizable=0,scrollbars=0,location=0,status=0";		kerpow=window.open("","",winParams);	kerpow.document.open();	kerpow.document.write('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"\r\t\t"http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">\r<html lang="en">\r<head>\r\t<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">\r\t<title>picture<\/title>\r<\/head>\r\r<body leftmargin="0" rightmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="#ffffff">\r\t<div style="text-align:center;"><a href="javascript:self.close();" title="click to close window"><img src="'+imagesrc+'" width="'+imgwidth+'" height="'+imgheight+'" border="0"><\/a><\/div>\r<\/body>\r<\/html>');	kerpow.document.close();}function open_movie(movsrc,movwidth,movheight) {		if (isMinNS4) {		// Mozilla and Netscape window size fix		var winwidth = movwidth + 4;		var winheight = movheight + 4;	} else {		var winwidth = movwidth;		var winheight = movheight;	}		// add pixels to the height for the controller bar	movheight += 16;	winheight += 32;		var sX = (screen.width - winwidth) / 2;    var sY = (screen.height - winheight) / 2 - 30;	var wstring = "width=" + winwidth;	var hstring = "height=" + winheight;		var winParams = wstring + "," + hstring + ",left=" + sX  + ",top=" + sY  + ",toolbar=0,resizable=0,scrollbars=0,location=0,status=1";		kerpow=window.open("","",winParams);	kerpow.document.open();	kerpow.document.write('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"\r\t\t"http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">\r<html lang="en">\r<head>\r\t<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">\r\t<title>movie<\/title>\r<\/head>\r\r<body leftmargin="0" rightmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="#ffffff">\r\t<div style="text-align:center;"><embed src="'+movsrc+'" width="'+movwidth+'" height="'+movheight+'"><\/embed><\/div>\r<\/body>\r<\/html>');	kerpow.document.close();}function open_page(url, x, y) {  scrOffsetX = (screen.availWidth - x)/2;  scrOffsetY = (screen.availHeight - y)/2;    tdetails = 'toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=auto,resizable=0,width=' + x + ',height=' + y + ',innerwidth=' + x + ',innerheight=' + y + ',screenX=' + scrOffsetX + ',screenY=' + scrOffsetY + ',left=' + scrOffsetX + ',top=' + scrOffsetY;  kerpow = window.open(url,'kerpow',tdetails);  kerpow.focus();}// -->
