function openwin(winname)
{
		var op=window.open(winname, 'db1', 'height=380, width=550, scrollbars=0');
}
function openwinBig(winname)
{
		var op=window.open(winname, 'db1', 'height=380, width=570, scrollbars=0');
}
function openmap()
{
		var op=window.open('map.html', 'map1', 'height=365, width=415, scrollbars=0');
}
function homeflash()
{
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="204" height="456"><param name="movie" value="includes/left_col_2.swf" /><param name="quality" value="high" /><embed src="includes/left_col_2.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="204" height="456"></embed></object>');
	}

var crossobj;
var contentheight;
var Mdiv='';
function AssignObj(div)
{
	if(div)
	{
		if (iens6){
		crossobj=document.getElementById(div);
		contentheight=crossobj.offsetHeight;
		}
		else if (ns4){
		crossobj=document.nscontainer.document.nscontent;
		contentheight=crossobj.clip.Height;
		}
	}
}
function movedown(div){

	if(Mdiv!=div)
	{
		AssignObj(div);
		Mdiv=div;
	}

	if (window.moveupvar) clearTimeout(moveupvar)
	if (iens6&&parseInt(crossobj.style.top)>=(contentheight*(-1)+200))
	crossobj.style.top=parseInt(crossobj.style.top)-speed+"px"
	else if (ns4&&crossobj.top>=(contentheight*(-1)+200))
	crossobj.top-=speed;
	movedownvar=setTimeout("movedown()",20);
	
	}

	function moveup(div){

	if(Mdiv!=div)
	{
		AssignObj(div);
		Mdiv=div;
	}

	if (window.movedownvar) clearTimeout(movedownvar)
	if (iens6&&parseInt(crossobj.style.top)<=0)
	crossobj.style.top=parseInt(crossobj.style.top)+speed+"px"
	else if (ns4&&crossobj.top<=0)
	crossobj.top+=speed;
	moveupvar=setTimeout("moveup()",20);
	}

	function stopscroll(div){

	if(Mdiv!=div)
	{
		AssignObj(div);
		Mdiv=div;
	}

	if (window.moveupvar) clearTimeout(moveupvar)
	if (window.movedownvar) clearTimeout(movedownvar)
	}