var newimg=""; var oldimg="";
var ie5=document.all&&document.getElementById;
var ns6=document.getElementById&&!document.all;
function iecompattest(){
	return (!window.opera && document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body;	}
NS4 = (document.layers) ? true : false;
function getlinks(id)	{
	document.getElementById("cframe66").src="menu1.asp?id="+id;
	return false;	}
function rollover(obj)	{
	return false;	}
function opensite(url)	{
	parent.document.location.href=url;	}
function clickit(id)	{
	//document.getElementById("bbframe").style.display="";
	var img=document.getElementById("bbsn"+id).src;
	if (oldimg!=newimg)	{
		document.getElementById("bbsn"+oldimg).src="http://www.stitchnet.org/images/bbsn_"+oldimg+".png";	}
	if(img=="http://www.stitchnet.org/images/bbsn_"+id+".png")	{	
		newimg="a";	}
	else	{	newimg="";	}
	document.getElementById("bbsn"+id).src="http://www.stitchnet.org/images/bbsn"+newimg+"_"+id+".png";
	oldimg=id;
	if (id=="17")	{ 	
		document.getElementById("ddframe").src="facebook.asp";	}
	else {
		document.getElementById("ddframe").src="bartxt.asp?id="+id;	}
	}

