function sttrack(url) {
var t = new Image(1,1);
t.src = "/stTrack.gif?URL=" + encodeURI(url) + "&TIME=" + new Date().getTime();
}

<!--
if (window!= top)
top.location.href=location.href
// -->

function mailpage()
{
mail_str = "mailto:?subject=Check out " + document.title;
mail_str += "&body=Check out " + document.title;
mail_str += "!  You can view it at, " + location.href; 
location.href = mail_str;
}

<!--

function jumpPage(newLoc){
	sttrack(newLoc);
	newPage = window.open("","newCam","toolbar=1,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,copyhistory=1,width=785,height=486,left=0,top=0,screenx=0,screeny=0");
	newPage.document.open();
	newPage.document.write("<html><head><title>My Town Live!</title></head>");
	newPage.document.write("<frameset rows='0,*' cols='*' frameborder='NO' bordercolor='#000000'>");
	newPage.document.write("<frame src='' border='0' scrolling='NO' noresize>");
	newPage.document.write("<frame src='" + newLoc + "' noresize>");
	newPage.document.write("</frameset>");
	newPage.document.write("</html>");
	newPage.document.close();
	newPage.focus()
}

function jumpPage2(newLoc){
	newPage = window.open("","newCam","toolbar=1,location=0,directories=0,status=0,menubar=1,scrollbars=1,resizable=1,copyhistory=1,width=790,height=440,left=0,top=0,screenx=0,screeny=0");
	newPage.document.open();
	newPage.document.write("<html><head><title>My Town Live!</title></head>");
	newPage.document.write("<frameset rows='90,*' cols='*' frameborder='NO' bordercolor='#000000'>");
	newPage.document.write("<frame src='my-town-frame.asp' border='0' scrolling='NO' noresize>");
	newPage.document.write("<frame src='" + newLoc + "' noresize>");
	newPage.document.write("</frameset>");
	newPage.document.write("</html>");
	newPage.document.close();
	newPage.focus()
}

//-->

var ns4=document.layers
var ie4=document.all
var ns6=document.getElementById&&!document.all

function showbox(){
crossobj=ns6? document.getElementById("showimage") : document.all.showimage
if (ie4||ns6)
crossobj.style.visibility="visible"
else if (ns4)
document.showimage.visibility="show"
}
function hidebox(){
crossobj=ns6? document.getElementById("showimage") : document.all.showimage
if (ie4||ns6)
crossobj.style.visibility="hidden"
else if (ns4)
document.showimage.visibility="hide"
}

if (document.images)
    window.name = "mtl";

function open_window1(url) {
mywin = window.open(url,"PinViewer1",'top=80, left=100, toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=500,height=400');
}

function open_window2(url) {
mywin = window.open(url,"PinViewer2",'top=100, left=100, toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=500,height=330');
}

function open_window3(url) {
mywin = window.open(url,"PinViewer3",'top=80, left=20, toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=600,height=380');
}

function open_window4(url) {
mywin = window.open(url,"PinViewer4",'top=30, left=200, toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=300,height=315');
}

function open_window5(url) {
mywin = window.open(url,"PinViewer1",'top=80, left=100, toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=600,height=300');
}

function show(panelID)
			{
				var panel = document.getElementById(panelID);
				if (panel != null)
				{
					(panel.style.visibility == "hidden")
					{
						panel.style.display = "block";
						panel.style.visibility = "visible";
					} 				}
}

function hide(panelID)
			{
				var panel = document.getElementById(panelID);
				if (panel != null)
				{
					(panel.style.visibility == "visible")
					{
						panel.style.display = "none";
						panel.style.visibility = "hidden";
					} 				}
}
