
//save time from writing href tags for images
//do onmouseover so we can have the cursor style for users sake
//pass the elm to style, the page to go to, and if you want it to be a new tab, than pass true otherwise dont
function linkTo(elm,page,targetAttr){
	elm.style.cursor = "pointer";
	elm.onclick = function(){ 
		if(targetAttr == true){
			window.open(page);
		} else {
			window.location.href = page; 
		}
	}
}
