<!--
<!-- Hide JavaScript from older browsers
function printpage() {
	window.print();  
}

function openWin(URL,nWidth,nHeight) {
	MyWindow=window.open(URL,"Portfolio","toolbar=no,width="+nWidth+",height="+nHeight+",status=no,scrollbars=no,resize=no,menubar=no,dependent,innerHeight="+nHeight+",outerHeight="+nHeight);
}

function getWindowHeight() {
	var windowHeight = 0;
	if (typeof(window.innerHeight) == 'number') {
		windowHeight = window.innerHeight;
	}
	else {
		if (document.documentElement && document.documentElement.clientHeight) {
			windowHeight = document.documentElement.clientHeight;
		}
		else {
			if (document.body && document.body.clientHeight) {
				windowHeight = document.body.clientHeight;
			}
		}
	}
	return windowHeight;
}

function setJump() {
	if (document.getElementById) {
		var jumpElement = document.getElementById('jump');
		jumpElement.style.top = '20px';
	}
}

function setFooter() {
	if (document.getElementById) {
		var windowHeight = getWindowHeight();
		if (windowHeight > 0) {
			var headerHeight = document.getElementById('header').offsetHeight;
			var contentHeight = document.getElementById('content').offsetHeight;
			var footerElement = document.getElementById('footer');
			var footerHeight  = footerElement.offsetHeight;
			if (windowHeight - (headerHeight + contentHeight + footerHeight) >= 0) {
				footerElement.style.position = 'absolute';
				footerElement.style.visibility = 'visible';
				footerElement.style.top = ((windowHeight - footerHeight)-5) + 'px';
			}
			else {
				footerElement.style.visibility = 'hidden';
			}
		}
	}
}

function setFooter2() {
	if (document.getElementById) {
		var windowHeight = getWindowHeight();
		if (windowHeight > 0) {
			var headerHeight = document.getElementById('header').offsetHeight;
			var contentHeight = document.getElementById('content').offsetHeight;
			var footerElement = document.getElementById('footer');
			var footerHeight  = footerElement.offsetHeight;
			if (windowHeight - (headerHeight + contentHeight + footerHeight) >= 0) {
				footerElement.style.position = 'absolute';
				footerElement.style.visibility = 'visible';
				footerElement.style.top = ((windowHeight - footerHeight)-5) + 'px';
			}
			else {
				footerElement.style.visibility = 'hidden';
			}
		}
	}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

function email_friend_window(page_address){
	var page_address = escape(page_address);
	// deal with characters in url
	full_uri = "email_friend.php?url="+page_address;
	mywin = window.open(full_uri,'Email','width=400,height=500,locationbar=yes,scrollbars=yes');
}

//End Hiding JavaScript from older browsers-->
//-->