ie = false;

function screenshot(imgName, path, format) {

	format = (format)? format : '.jpg'

	if (path) {
		path = path;
	} else {
		path = document.location.toString();
		for (var i = (path.length - 1); i > 0; i--) {
			if (path.charAt(i) == '/') {
				path = path.substring(0, i + 1);
				break;
			}
		}
	}

	imgName = path + imgName;

	sOnclick = "window.open('/inc/d_screenshot.shtml?" + imgName + format + "','i','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=750 ,height=580')"
	
	document.write('<a href="javascript:void(null)" onclick="' + sOnclick + '"><img src=' + imgName + '_s' + format + '></a> ')
}


if (document.all) {
		ie = true; ns = false 
		}
		
function print() {

	if (ie) {
		contentString = "<font face=arial size=2>Reprinted from <b>www.SharkyExtreme.com</b> an <b>Internet.com</b> site.<hr size=1 noshade><br><center><a href='http://adforce.imgis.com/?adlink|2.0|2|121422|1|1|ADFORCE;loc=300;' target=_top><img src='http://adforce.imgis.com/?adserv|2.0|2|121422|1|1|ADFORCE;loc=300;' border=0 width=468 height=60></a></center><p>" + page.innerHTML
		formatString = "<link rel='stylesheet' type='text/css' href='/inc/print.html'><script>$ArtN = ''; function h() {} function p() {} function m() {} function screenshot() { }</script>"
		PrintMe = window.open("",'PrintMe','width=520,height=280,menubar=no,scrollbars=yes,toolbar=no,location=no,status=no,resizable=yes')
		PrintMe.document.open()
		PrintMe.document.write(formatString + contentString + "<hr size=1 noshade>Copyright © 1999, 2000 internet.com Corporation. All Rights Reserved.")
		PrintMe.document.close()
		PrintMe.window.print()
		ClosePrint = setInterval("PrintMe.close(); clearInterval(ClosePrint)", 8000)
	}
}
